I had a quick question about assembler multiplication from tracing this sequence of steps (I tried to add in comments as well to show my thinking):
mov ax,0305h ; ax = 0305
mov cx,0204h ; cx = 0204
mul ch ; ch = 02, 03 * 02 would make ax = 0006
inc ax ; ax = 0007
div cl ; 0007 / 04 would make ax = 0301
Would 0301h be the correct new value for ax at the end of these steps? For some reason, the answer is 0302 but I am not sure why. I don't see how the quotient could be 02 at all.