else must be on separate line in pseudocode av.mdwn
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Jun 2022 16:11:59 +0000 (17:11 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Jun 2022 16:11:59 +0000 (17:11 +0100)
openpower/isa/av.mdwn

index 86c68a84c06196f7eec5ba9436c002121c29c242..6d13b90c1483ce68998dc5af5e7652bb3bf2d7c0 100644 (file)
@@ -178,7 +178,8 @@ BM2-Form
 
 Pseudo-code:
 
-    if _RB = 0 then mask <- [1] * XLEN else mask = (RB)
+    if _RB = 0 then mask <- [1] * XLEN
+    else mask = (RB)
     a1 <- (RA) & mask
     if mode[1] then a1 <- ¬ra
     mode2 <- mode[2:3]