Computer Hardware User's Guide
Normalization Using the NORM Instruction
5-38
Figure 5–18. Flowchart for NORM Instruction Operation
Test for special cases of
c
(
man
)
c
(
exp
) = –128
(1)
α(
man
) = 0
Test for special cases of
c
(
exp
)
(6)
c
(
exp
)
underflow
(7)
c
(
exp
) in
range
c
(
exp
) = –128
No change to
c
(
man
)
Set
c
to final result
c
= norm(α)
(8)
(9)
(3)
Sign-extended α(
man
) 1 bit
c
(
man
) = α(
man
) < < k
c
(
exp
) = α(
exp
) –k
(4)
k = # of leading
nonsignificant
sign bits
α
Remove most significant nonsign bit
(5)
Leading nonsignificant sign bits
(2)