From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-06-17 23:02:37
On Tue, Jun 17, 2003 at 01:18:52PM +0200, Piotr Fusik wrote: > Or operand prefixes: > lda z:0 ; 8-bit address > lda a:0 ; 16-bit > lda l:0 ; 24-bit > z: and a: are supported by xasm, but I think I've seen them in other > assemblers, too. Ok, I've implemented it this way, the only difference is that I've used f: for far (24 bit) adressing. Since the scanner is not context sensitive, above syntax means that you can no longer declare labels with the names 'z', 'a' and 'f'. For 'a' this has always been true, since it is used as (reserved) keyword for the accumulator. In general, it is not advisable to use one letter labels. Please note that the address size override doesn't change the address used, so using label: lda z:label will still fail, since label is not byte sized. This means that the z: prefix is currently useless, since the assembler will always use the smallest possible address size (maybe I should remove it). Please give the new feature a try and tell me if it works as expected. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-06-17 23:03:14 CEST