Find out the content of program, Assembly Language

Assignment Help:

a- Trace the following program fragment and find out the content of ax after the

         the execution of the program.

        X db   5,7  -3,-9,4,-7,9

              Mov cx,  7

              Mov bx, offset  x

              Xor ax, ax

              Xor si, si

Next : add ax, [bx +si]

               inc si,

               Loop next

     b- Trace the following program fragment and find out the content of ax after the execution of the program.

mov     ax, 3

next:    add       ax, 2

cmp     ax, 13

jge          out

jmp    next

out:   ...............


Related Discussions:- Find out the content of program

Introduction to 80 x 86 assembly language, Using the windows32 framework, w...

Using the windows32 framework, write a complete 80x86 program for Programming Exercises 4.3 number 3, on pages 130-131 of the textbook. Follow all coding conventions mentioned in

Assembly language programming, Write an assembly language program that defi...

Write an assembly language program that defines symbolic constants for all seven days of the week

Aas-arithmetic instruction-microprocessor, AAS: ASCII Adjust AL After Subt...

AAS: ASCII Adjust AL After Subtraction AAS instruction correct the result in the AL register after subtracting operation of two unpacked ASCII operands. The result is in unpacked

Declare a constant in assembly language, Declare 1 constant. This can be do...

Declare 1 constant. This can be done just below the prototype section. Put the following divider above the constant section. ;************************ Constants ****************

Relocate program and data, ) What is the difference between re-locatable pr...

) What is the difference between re-locatable program and re-locatable data?

Operation system, Explain the basic method for implementing paging

Explain the basic method for implementing paging

Program translation sequence, Program Translation Sequence Developing ...

Program Translation Sequence Developing a software program to accomplish a particular task, the implementer chooses an appropriate language, develops the algorithm (a sequence

Counters, #question. counters using 8051.

#question. counters using 8051.

Write a mips program that reads a string from user input, Description Wr...

Description Write a MIPS program that reads a string from user input, reverse each word (defined as a sequence of English alphabetic letters or numeric digits without any punctu

Program for generate mips assembly code that runable on spim, Project Overv...

Project Overview In this series of projects you will write a compiler for a small subset of Pascal.  In this assignment, you will start writing the syntax analysis and code gen

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd