<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Wed, 17 Nov 2010 16:58:31 -0000
From   : jon@... (Jon Welch)
Subject: Hints'n'Tips: Assembling non-ARM code on ARM BASIC

Jon wrote:

> No opcode is generated so NOP or HELLO aren't valid mnemonics.

Out of interest, the only mnemonics in ARM BASIC Ver 1.00 are :

SWI ADC ADD AND BIC CMN
CMP EOR MOV MVN ORR RSB RSC SBC
SUB TEQ TST LDR STR LDM STM OPT

10 P% = TOP
20 [
30 NOP
40 ]

generates :

No such mnemonic at line 30

The space between 30 and NOP seems to be important. Without the space, the
NOP is accepted as before but without generating an opcode.

Jon.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>