ASM addr [mne|dir]  - Call symbolic macro line assembler, with option to auto  
                      insert mnemonic/directive : Provides single line 
                      assembly/disassembly in main window.

   The assembler is a single pass version of ASMHC11 2.6 and thus supports 
the same mnemonics and directives. 
Symbols can be defined within ASM using the standard Motorola syntax. 
Alternatively, symbols from an (equate) file may be loaded using the INCL 
operand. Note that mnemonics must be preceded by at least one space following 
the '>' prompt, otherwise they are treated as labels The same text editing 
features are available as on the command line.

   The following keys provide additional features:
up arrow       	decrement prog counter by one.
down arrow     	increment prog counter by one.
enter          	move prog counter to next instruction boundary.
Esc       	Exit ASM and return to command line.

   In PCbug11 there is the ability to optionally specify on the command line, 
a mnemonic or directive. If this is done, the ASM command automatically inserts 
the mnemonic or directive, and immediately returns to the command line.
 
   This allows mnemonic insertion or ASM directives to be executed from within 
a macro, without any input from the user.

Usage:
ASM $100       		Assemble from memory address $100
ASM $100 INCA           Insert INCA instruction at memory address $100

ASM Error messages
   These are reported in the form of numbers the key to which is shown below
Error no.      Meaning
1	     Memory fault : 	Memory did not modify as expected
200	       Syntax : 	Illegal character in that context
202	       Syntax : 	Syntax error
204 	       Syntax : 	Label required (for EQU or SET)
212  	      Operand : 	Improper termination of operand field
213	      Operand : 	Illegal addressing mode for operand 
214  	      Address : 	Illegal forward reference
223	      Address : 	Invalid addressing mode for 68HC11 
234  	       Symbol : 	Redefined symbol
235	       Symbol : 	Undefined symbol
238  	       Symbol : 	Undefined operation 
320  	       Symbol : 	Error table overflow 
321  	       Symbol : 	Symbol table overflow 
250  	         Data : 	Displacement too large (normally branch)
251  	         Data : 	Value out of range
252  	         Data : 	Address too large for forced direct
255              Data : 	Division by zero
501  	         File : 	File not found

Return to summary