18 lines
535 B
NASM
18 lines
535 B
NASM
; Test of instructions for the decompiler
|
|
;
|
|
; This file is intended to be assembled and then
|
|
; used as an input to a test that decompiles the
|
|
; binary back to the text version of the instructions
|
|
ADC #$ab ; ADC Immediate
|
|
ADC $ab ; ADC ZeroPage
|
|
ADC $ab,X ; ADC ZeroPageX
|
|
ADC $abcd ; ADC Absolute
|
|
ADC $abcd,X; ADC AbsoluteX
|
|
ADC $abcd,Y; ADC AbsoluteY
|
|
ADC ($ab,X); ADC IndirectX
|
|
ADC ($ab),Y; ADC IndirectY
|
|
|
|
AND #$ab ; AND Immediate
|
|
AND $ab ; AND ZeroPage
|
|
AND $ab,X ; AND ZeroPageX
|