A86: Re: beginner needs help


[Prev][Next][Index][Thread]

A86: Re: beginner needs help



Why do you want to load the address of Bitmap into the value pointed to by
DE? Here is what you're doing:

Address of Bitmap
         |
        V
       HL -----> Value

The address of the bitmap is being stored into the value that HL is
pointing to.

----------
From: CAESAR.CAT@worldnet.att.net
To: assembly-86@lists.ticalc.org
Subject: A86: beginner needs help
Date: Saturday, September 20, 1997 2:57 PM

I need some help,

I get the following error messages when I assembly this code:

label not found (de)                                                       
                          unused data in MS byte of argument

code:

#include "asm86.h"
#include "ti86asm.inc"

.org _asm_exec_ram

Start
 call _clrLCD
 ld de,Bitmap
 ld (hl),de        ; here is where i get the error messages, why?
ret

Bitmap:
 .db %00000000
 .db %01111110
 .db %01100110
 .db %01100110
 .db %01111110
 .db %00000000

.end




please help me out.  Im not sure why i get these 2 error messages