mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-11-09 21:14:57 -07:00
passes quick test: xori
This commit is contained in:
parent
bbaf6f9141
commit
46a0972803
16
test/test.S
16
test/test.S
|
@ -8,8 +8,6 @@ _start:
|
||||||
# JAL
|
# JAL
|
||||||
# JALR
|
# JALR
|
||||||
|
|
||||||
# XORI
|
|
||||||
# ORI
|
|
||||||
# SLLI
|
# SLLI
|
||||||
# SRLI
|
# SRLI
|
||||||
# SRAI
|
# SRAI
|
||||||
|
@ -90,13 +88,13 @@ _start:
|
||||||
nop
|
nop
|
||||||
nop
|
nop
|
||||||
|
|
||||||
# # xori
|
# xori
|
||||||
# xori x12, x1, x2 # x12 = 0x01234876
|
xori x21, x2, 0x123 # x21 = 0xfffffedc
|
||||||
# xori x13, x1, x1 # x13 = 0x00000000
|
xori x22, x1, 0x788 # x22 = 0xfedcb001
|
||||||
# xori x14, x0, x2 # x14 = 0xffffffff
|
xori x23, x0, 0x788 # x23 = 0x00000788
|
||||||
# nop
|
nop
|
||||||
# nop
|
nop
|
||||||
# nop
|
nop
|
||||||
|
|
||||||
|
|
||||||
# counter and infinite loop
|
# counter and infinite loop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user