00:00:00.000 Turn subtraction into addition For three minus five, invert the four-bit five and add one. Add that complement to three. The low four bits read as minus two in signed form. 00:00:14.833 One bit pattern can mean fourteen or minus two Read the pattern as unsigned and it is fourteen. Read it as signed and it is minus two. Since unsigned three is below five, borrow is high. 00:00:28.750 Use the fifth bit to detect borrow Zero extend A and the four-bit complement of B, then add one. A high fifth bit means the unsigned subtraction needed no borrow. Invert that bit for the borrow flag. 00:00:44.833 Signed overflow depends on the signs In the third row, the bits written as hex eight mean minus eight in signed form. Subtracting one crosses the lower limit. The four-bit result becomes seven and overflow is high.