RagnarokD1
Programmer
I'm trying to add and multiply. EX: [N1+N2*N3]
First multiply N2 and N3.
Second add N1 and the result of N2*N3.
BTW this is on Assembly Language MASM.
Here is some of the code for perform calculation section.
mov ax,N2
mul bl
mov ax,N3
mov X1,ax
add ax,N1
mov Sum,ax ;save the result
But the code doesn't work. I need help badly here.
First multiply N2 and N3.
Second add N1 and the result of N2*N3.
BTW this is on Assembly Language MASM.
Here is some of the code for perform calculation section.
mov ax,N2
mul bl
mov ax,N3
mov X1,ax
add ax,N1
mov Sum,ax ;save the result
But the code doesn't work. I need help badly here.