Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write an assembly code which can call function in a loop
with al value from 0 to 9

Answer Posted / pk

xor ax, ax
loop1:
call foo
inc al
cmp ax, 10
jb loop1

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example of a combined addressing mode instruction?

920


explain the flow of a typical instruction word

1189


Can you name the different types of processor?

1092


Why subroutine used in programs?

1113


explain the different types of control flags for the 8086?

922


What was is the primary usage of a 8085 microprocessor?

994


What is a stack pointer register?

960


Given a circuit, draw its exact timing response?

3655


Device density on a microprocessor/chip?

1068


What is the difference between 8085 and 8086 in microprocessor?

1018


In case of DVD, the speed is referred in terms of n X. Here what does X refers to

1036


What is program counter in 8085?

1042


State the order of interrupts priority wise (lower to higher)?

954


What location code memory space and data memory space begins?

2051


What is the distinguishing feature of db and ab?

1684