From 3288026204ff16d268f0040288077020a07bebd0 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Apr 2020 13:14:37 +0100 Subject: [PATCH] whoops missed modulo --- openpower/isa/stringldst.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpower/isa/stringldst.mdwn b/openpower/isa/stringldst.mdwn index 4ded1cd3a..c1f906947 100644 --- a/openpower/isa/stringldst.mdwn +++ b/openpower/isa/stringldst.mdwn @@ -11,7 +11,7 @@ X-Form i <- 32 do while n > 0 if i = 32 then - r <- r + 1 (mod 32) + r <- (r + 1) % 32 GPR(r) <- 0 GPR(r)[i:i+7] <- MEM(EA, 1) i <- i + 8 -- 2.30.2