From 46a097280329d359448919c01e7760b2776413a4 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Sun, 11 Oct 2020 23:09:08 -0600 Subject: [PATCH] passes quick test: xori --- test/test.S | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/test/test.S b/test/test.S index a6f5b37..1cb0f3c 100644 --- a/test/test.S +++ b/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