overflow <- 1
else
result <- DIVS(dividend, divisor)
- if (result[32:63] = 0) then
- RT[32:63] <- result[0:31]
+ if (result[0:31] = 0) then
+ RT[32:63] <- result[32:63]
RT[0:31] <- undefined[0:31]
overflow <- 0
else
else
result <- dividend / divisor
if (RA) < (RB) then
- RT[32:63] <- result[0:31]
+ RT[32:63] <- result[32:63]
RT[0:31] <- undefined[0:31]
overflow <- 0
else
overflow <- 1
else
result <- DIVS(dividend, divisor)
- if result[64:127] = 0x0000_0000_0000_0000 then
- RT <- result[63:127]
+ if result[0:64] = 0x0000_0000_0000_0000 then
+ RT <- result[0:63]
overflow <- 0
else
overflow <- 1
else
result <- dividend / divisor
if (RA) < (RB) then
- RT <- result[63:127]
+ RT <- result[0:63]
overflow <- 0
else
overflow <- 1