You need a code that loops that's all.Sample this one
mov ffffh, 0
inc ffffh ;memory location+1 until it's equal to one
je display_result ;if it has been looped continously until Y times
loop x_pow_y ;else it wiil loop
code for displaying result
Exapmle is 2 power 3
2 is moved ot ax, multipied by itself and ffffh incremented
until it is =3
x equ 2 y equ 3 /*declare the var*/ .code mov ax,01h mov bx,x mov cx,y loop1:mul bx loop loop1 /*ax will have the result... and if in case the result occupies more than 16 bits...then the higher word is in dx */ note: this program is written for 8086 machine......
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...