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

Rob wrote:
>> NOP was added to ARM BASIC about 15 years into its life.
>
> A* /$.LIBRARY.AB
> ARM BBC Basic V version 1.00 for ARM Sec ond Processor (C) Acorn 1986
>
>> P%=TOP:[NOP
> 0000C504          NOP

You will notice that you can type anything after the [ without generating an
error.

P%=TOP:[HELLO

comes back with :

0000C504          HELLO

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

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