Mixing basic and assembly


Closed Thread
Results 1 to 2 of 2
  1. #1
    ManInMotion's Avatar
    ManInMotion Guest

    Cool Mixing basic and assembly

    Hello,
    Does anyone know if there's a way of accessing variables defined in basic from asm defined sections of the code?
    Thanks in advance.

    file.bas
    W2 VAR WORD
    B5 VAR W2.HIGHBYTE

    ASM
    ;is there any way to access B5 or W2 from the ASM section of code
    ENDASM

  2. #2
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Lightbulb

    underscore "_", it's in your manual. Section 8.2.

Similar Threads

  1. decoding quadrature encoders
    By ice in forum mel PIC BASIC Pro
    Replies: 93
    Last Post: - 28th February 2017, 09:02
  2. Origin of Assembly Table
    By dksoba in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th February 2010, 19:34
  3. Assembly Language Conflict
    By NO2K in forum General
    Replies: 2
    Last Post: - 24th July 2007, 00:42
  4. from assembly to basic
    By shantanu in forum Off Topic
    Replies: 4
    Last Post: - 1st February 2007, 14:50
  5. using AND as an IF statement
    By dw_pic in forum mel PIC BASIC
    Replies: 27
    Last Post: - 8th June 2006, 18:05

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts