Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

problem 1: If the code segment for an 8086 program begins at address 70400h, then what will be the content of cs register?

Supposing the same code base from what physical addresses will a code byte be fetched from if the instruction pointer contains 539Ch?

problem 2: What physical address is represented by:

a) 4370:561Eh
b) 7A32:0028h

problem 3: If the stack segment register comprises of 3000h and stack pointer comprises of 8434h, then what is the physical address of the top of the stack.

problem 4: prepare the assembly language statement by using the instruction set of 8086 which will perform the given operations:

a) Load number 7986h into BP register.
b) Copy the BP register content into SP register.
c) Load DS register with address 534Ch
d) Load the number F5H into AL register.

problem 5: describe the function of each assembler directive and instruction statement in the short program illustrated below:

DATA_HERE SEGMENT
NUM1 DB 01H
SUM DB ?
DATA_HERE ENDS
CODE_ HERE
ASSUME DS:DATA_HERE,CS:CODE_HERE
START : MOV AX,DATA_HERE  MOV DS,AX
 MOV AX,NUM1
 ADD AX,AX
 MOV SUM,AX
 INT 21H
CODE_HERE ENDS
 END

problem 6: prepare the ALP for the given:

a) Count the number of bits in double word which starts at memory location:

DS: 1234h that are 1. Place a count in the register AL.

b) Count the number of bytes between locations 60000h and 60100h which are an even number place the count in register BH.

c) Move every data byte from memory location 60000h to 600FFh to locations 60200h to 602FFH in reverse order. As the data is moved, count the number of bytes which are greater in magnitude than 7FH.let the register DX be used to hold the count.

d) Enter a string of characters via the keyboard. Save it in memory as an array and then reverse the string.

e) Display the factorial of three numbers. Solve the problem by using both macros and procedures.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M93387

Have any Question? 


Related Questions in Computer Engineering

In the water-jug puzzle we are given a 3-liter jug named

In the water-jug puzzle, we are given a 3-liter jug, named Three and a 4-liter jug named Four. Initially, Three and Four are empty. Either jug can be filled with water from a tap, T, and we can discard water from either ...

A manchester signal has a data rate of 100 kbps using

A Manchester signal has a data rate of 100 Kbps. Using Figure 4.8, calculate the value of the normalized energy (P) for frequencies at 0 Hz, 50 KHz, 100 KHz.

1 if you work for a financial service organization such as

1. If you work for a financial service organization such as a bank or credit union, which 1999 law affects your use of customer data? What other affects does it have? 2. What is the primary purpose of the USA PATRIOT Act ...

1 add a function to the binarysearchtree class that counts

1. Add a function to the BinarySearchTree class that counts the number of edges in a tree. 2. Rewrite Exercise 1 so that it stores the words from a text file. Display all the words in the file and the number of times the ...

The cost to become a member of a fitness center is as

The cost to become a member of a fitness center is as follows: The senior citizens discount is 30% If the membership is bought and paid for 12 or more months, the discount is 15% If more than five personal training sessi ...

Implement a class roachpopulation that simulates the growth

Implement a class RoachPopulation that simulates the growth of a roach population. The constructor takes the size of the initial roach population. The breed method simulates a period in which the roaches breed, which dou ...

1 why do optical signals used in fiber optic cables have a

1. Why do optical signals used in fiber optic cables have a very short wave length? 2. Can we say whether a signal is periodic or nonperiodic by just looking at its frequency domain plot? How? 3. Is the frequency domain ...

Investigate the random number generators built into three

Investigate the random number generators built into three of your favorite programming languages. Would you use these random number generators for cryptographic purposes? Using an existing cryptography library, write a s ...

Modeling urban form we have discussed how the segregation

Modeling urban form We have discussed how the Segregation model is one approach to modeling urban form. There are many different ABMs that capture various aspects of the creation of urban patterns. In NetLogo, the Urban ...

1 for a system without a dmz where is the best area in the

1. For a system without a DMZ, where is the best area in the network to install a honeypot? 2. Why are honeypots important to a network? Discuss the disadvantages of having a honeypot in the network. 3. Discuss three app ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen