From 3a7a1e54d36ad41adb07588af836ae8bf32af1bd Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 22 Sep 2022 16:11:51 -0700 Subject: [PATCH] apply pseudo-code corrections --- openpower/prefix_codes.mdwn | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/openpower/prefix_codes.mdwn b/openpower/prefix_codes.mdwn index 51575195b..f09760179 100644 --- a/openpower/prefix_codes.mdwn +++ b/openpower/prefix_codes.mdwn @@ -68,8 +68,7 @@ Pseudo-code: overflow <- 0 do while in_pos =u 64 then overflow <- 1 @@ -79,8 +78,7 @@ Pseudo-code: output[56 - 8 * out_byte:63 - 8 * out_byte] <- decoded decoded <- 1 out_byte <- out_byte + 1 - # XXX if one? if "imm"? - if one | (out_byte >=u 8) then + if imm | (out_byte >=u 8) then break RT <- output RS <- decoded_in_pos -- 2.30.2