Hi guys,
I'm in the process of learning assembly using this popular free simulator, I'm doing a piece of work that outputs ASCII to the VDU however I'm trying to perform some multiplication with MUL but have a problem
I have the value 6 stored in the AL register along with the value 3 in the BL register.
I'm trying to multiply this so I get 18 in the AL register with:
MUL al, bl
The returned value is 12, if I change the BL register value to 4, it does return 18 but isnt 3 X 6 = 18?, why will ASM only return 18 if I multiply by 4?
I'm in the process of learning assembly using this popular free simulator, I'm doing a piece of work that outputs ASCII to the VDU however I'm trying to perform some multiplication with MUL but have a problem
I have the value 6 stored in the AL register along with the value 3 in the BL register.
I'm trying to multiply this so I get 18 in the AL register with:
MUL al, bl
The returned value is 12, if I change the BL register value to 4, it does return 18 but isnt 3 X 6 = 18?, why will ASM only return 18 if I multiply by 4?