0

My problem is: I want to make a pow of 2 numbers in 8 bits and save the result in 16 bits, I can't use operations in 16 bits in the process, like "MUL BX" only 8 bits numbers and I should get results until 65535, I don't know how to do it without use MUL BX

org 100h 

mov cl, exp        ;9 
mov al, base       ;3

dec cl             

start:            
 mov bl,base
 mul bx            ;I can't use this
 loop inicio

mov result,ax      ;I should sabe result in 16 bits

int 20h

base db 3
exp db 9
result dw 0h

0 Answers0