Login
Back to forumSee the full topicGo to last reply

Posted By

Mike
on 2002-10-04
 SNASM

Heres the basics from mine...

; Comment till end of line

ORG - No forward referencing allowed.
END - end of source file.

DB ,"String",...
DW ,
DS - reserve space

Label[:] equ
Label[:] set - can be redefined
Label[:] rb - reserve byte
Label[:] rw - reserve word

Label[:] - Set to current PC
@Label[:] - Local labels. Set to current PC,Valid until next "Label[:]"
RSSET [Expression] - if no expression, defaults to 0
INCLUDE - include a file for assembly
INCBIN - include a raw file

MESSAGE "Text",Expression,[...] - Like a BASIC print statement
MESSAGE 0 - Prints 0
MESSAGE "L1:",L2," L2:,L3 - Print L1: [Label] L2: [Label]

IF condition - Conditional assembly
ENDIF - End conditional assembly



Back to top


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon