目录
bcdf A
C AC
C
AC
bit T bit[4] H4, L4 AC = (A[3:0] > 9 or AC == 1) ? 1 : 0 {T, L4} = AC ? A[3:0] + 6 : A[3:0] {T, H4} = A[7:4] + T C = ({T, H4} > 9 or C == 1) ? 1 : 0 H4 = C ? H4 + 6 : H4 A = {H4, L4}
对累加器A进行BCD调整,结果存回累加器A;