22 lines
470 B
Text
22 lines
470 B
Text
; A trivial file exercising the d8 assembler subset implemented so far
|
|
|
|
; Copying and distribution of this file, with or without modification,
|
|
; are permitted in any medium without royalty provided the copyright
|
|
; notice and this notice are preserved. This file is offered as-is,
|
|
; without any warranty.
|
|
NOP
|
|
NoP
|
|
noP
|
|
|
|
start:
|
|
LDIB 0
|
|
STAB ledloc
|
|
LDIB 0ffh
|
|
STAB ledloc
|
|
JMP start
|
|
|
|
ledloc equ $123
|
|
|
|
LDAB @X
|
|
LDAB @X, 0
|
|
LDAB @X, 19
|