cancel
Showing results for 
Search instead for 
Did you mean: 

How using the 16-bit adressing RAM

marco32
Associate II
Posted on October 30, 2003 at 05:58

How using the 16-bit adressing RAM

2 REPLIES 2
marco32
Associate II
Posted on October 29, 2003 at 09:53

I use the ST72C334 with 512 bytes RAM.

The assembler gives error when i using the 16 bytes adressing RAM.

Error 84: Byte Size label has val > 255! (need WORDS?) '.buffout'

When i intialise buffout as words, i get other errors

Error 54: Can't match Addressing mode ' CLR buffout'

So, how can i use the 16 bit adressing RAM like a 8 bit adressing RAM?

Moppie
sjo
Associate II
Posted on October 30, 2003 at 05:58

If you look at the info on clr function, it only works for short addressing.

The way to clear the variable would be:

clr A

ld buffout, A

Not all functions support the long addressing mode.

Regards

sjo