projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb47caa
)
コマンド表出力テスト結果を修正
author
j8takagi
<j8takagi@nifty.com>
Fri, 26 Feb 2010 15:27:44 +0000
(
00:27
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Fri, 26 Feb 2010 15:27:44 +0000
(
00:27
+0900)
test/unit/print_cmdtype_code/0.txt
patch
|
blob
|
history
diff --git
a/test/unit/print_cmdtype_code/0.txt
b/test/unit/print_cmdtype_code/0.txt
index
34a0a04
..
53ad80d
100644
(file)
--- a/
test/unit/print_cmdtype_code/0.txt
+++ b/
test/unit/print_cmdtype_code/0.txt
@@
-1,38
+1,38
@@
-NOP 000 #0000
-LD 011 #1000
-ST 010 #1100
-LAD 010 #1200
-LD 020 #1400
ADDA 011 #2000
-SUBA 011 #2100
-ADDL 011 #2200
-SUBL 011 #2300
ADDA 020 #2400
-
SUBA 020 #25
00
+
ADDL 011 #22
00
ADDL 020 #2600
-SUBL 020 #2700
AND 011 #3000
-OR 011 #3100
-XOR 011 #3200
AND 020 #3400
-OR 020 #3500
-XOR 020 #3600
+CALL 030 #8000
CPA 011 #4000
-CPL 011 #4100
CPA 020 #4400
+CPL 011 #4100
CPL 020 #4500
-SLA 010 #5000
-SRA 010 #5100
-SLL 010 #5200
-SRL 010 #5300
JMI 030 #6100
JNZ 030 #6200
-JZE 030 #6300
-JUMP 030 #6400
-JPL 030 #6500
JOV 030 #6600
-PUSH 030 #7000
+JPL 030 #6500
+JUMP 030 #6400
+JZE 030 #6300
+LAD 010 #1200
+LD 011 #1000
+LD 020 #1400
+NOP 000 #0000
+OR 011 #3100
+OR 020 #3500
POP 040 #7100
-
CALL 030 #8
000
+
PUSH 030 #7
000
RET 000 #8100
+SLA 010 #5000
+SLL 010 #5200
+SRA 010 #5100
+SRL 010 #5300
+ST 010 #1100
+SUBA 011 #2100
+SUBA 020 #2500
+SUBL 011 #2300
+SUBL 020 #2700
SVC 030 #F000
+XOR 011 #3200
+XOR 020 #3600