1765Re: [cosmacelf] Re: PseudoSam 18 Assembler To New Assembler
- Jan 1, 2004richardep20002000 wrote:
>Sounds good. The only question is why "#" for hex? If I recall
> OK the add is in 0xff,0Xff,0XFF,0efh,0EFH,#FF,0xFFFF,
> 327o,and 20O (that 20 letter O)
> All Work!!
correctly, the Motorola family micros (68xx) assemblers all use "#" for
immediate mode addressing. For example, LDAA #25 loads decimal 25 into
accumulator A. Motorola assemblers use "$" as the leading character to
indicate hexadecimal (i.e. $FF).
Lee A. Hart Ring the bells that still can ring
814 8th Ave. N. Forget your perfect offering
Sartell, MN 56377 USA There is a crack in everything
leeahart_at_earthlink.net That's how the light gets in - Leonard Cohen
- << Previous post in topic Next post in topic >>