I am completely new to the assembly and I have some question about registers still after searching through. currently I'm trying to divide a value over and over again by doing:
1.divide ax over bl (seems that remainder goes to ah, quotient goes to al)
2.move al(quotient) to ax
3.jump to 5 if ax is less or equal to 0
4.jump to 1
5.end
The problem occurs on instruction 2, as i'm trying to move 8 bit value into 16 bit value. Anybody have idea on how to solve the problem?
I am using emu8086 so the register has only x, h and l.