How to do this in ASM?


Results 1 to 11 of 11

Threaded View

  1. #1
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429

    Default How to do this in ASM?

    Can someone tell me how I could write assembly that does the same as the following line would in PBP:

    array[index]=my_data.Byte0

    assuming that the variables are already declared as follows:

    array VAR BYTE[12]
    index VAR BYTE
    my_data VAR WORD

    I was trying to work out an ASM equiv but came up empty.

    *edit* Its for a 16F84A
    Last edited by Kamikaze47; - 18th November 2005 at 22:33.

Similar Threads

  1. PBP, ASM and LST files
    By HenrikOlsson in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th January 2010, 13:43
  2. ASM help
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 21st October 2009, 03:08
  3. ASM or PBP First?
    By mackrackit in forum Off Topic
    Replies: 4
    Last Post: - 10th October 2009, 12:08
  4. Serial Output - for an ASM numb
    By scomi85 in forum Serial
    Replies: 0
    Last Post: - 1st March 2009, 10:13
  5. Problem using ASM instruction
    By ewandeur in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd April 2008, 15:26

Members who have read this thread : 0

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