Initial checkin of DSP 56k VHDL code.
This commit is contained in:
15
vhdl/dsp56k/asm/test_alu/test_subr.asm
Normal file
15
vhdl/dsp56k/asm/test_alu/test_subr.asm
Normal file
@@ -0,0 +1,15 @@
|
||||
move #>0,a0
|
||||
move #>1,a1
|
||||
clr b
|
||||
move #>1,b0
|
||||
; set only carry bit
|
||||
andi #$00,ccr
|
||||
ori #$01,ccr
|
||||
subr a,b
|
||||
move #>$800000,a1
|
||||
move #>$80,b2
|
||||
subr a,b
|
||||
clr b
|
||||
move #>$80,b2
|
||||
move #>$1,a1
|
||||
subr a,b
|
||||
Reference in New Issue
Block a user