Hi every one..
Please.. I need a program to calculate X power Y by assembely language.. Please friends help me .
:-|
Close Friends
0
Newbie Poster
Recommended Answers
Jump to PostYou need a code that loops that's all.Sample this one
.....
mov ffffh, 0
label x_pow_y
mov ax,2
mul ax,2
inc ffffh ;memory location+1 until it's equal to one
cmp [ffffh],y
je display_result ;if it has been looped continously until Y times
loop x_pow_y ;else it wiil loop
............
code …
All 4 Replies
SamY
6
Junior Poster in Training
mostafadotnet
18
Junior Poster
andor
25
Posting Whiz in Training
lakshmi.1987
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.