Loading ...
Sorry, an error occurred while loading the content.

1765Re: [cosmacelf] Re: PseudoSam 18 Assembler To New Assembler

Expand Messages
  • Lee Hart
    Jan 1, 2004
      richardep20002000 wrote:
      >
      > OK the add is in 0xff,0Xff,0XFF,0efh,0EFH,#FF,0xFFFF,
      > 327o,and 20O (that 20 letter O)
      >
      > All Work!!

      Sounds good. The only question is why "#" for hex? If I recall
      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
    • Show all 14 messages in this topic