mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-12-25 18:46:53 -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
|
||||
# JALR
|
||||
|
||||
# XORI
|
||||
# ORI
|
||||
# SLLI
|
||||
# SRLI
|
||||
# SRAI
|
||||
|
@ -90,13 +88,13 @@ _start:
|
|||
nop
|
||||
nop
|
||||
|
||||
# # xori
|
||||
# xori x12, x1, x2 # x12 = 0x01234876
|
||||
# xori x13, x1, x1 # x13 = 0x00000000
|
||||
# xori x14, x0, x2 # x14 = 0xffffffff
|
||||
# nop
|
||||
# nop
|
||||
# nop
|
||||
# xori
|
||||
xori x21, x2, 0x123 # x21 = 0xfffffedc
|
||||
xori x22, x1, 0x788 # x22 = 0xfedcb001
|
||||
xori x23, x0, 0x788 # x23 = 0x00000788
|
||||
nop
|
||||
nop
|
||||
nop
|
||||
|
||||
|
||||
# counter and infinite loop
|
||||
|
|
Loading…
Reference in New Issue
Block a user