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

Part 1find a recent article or video describing the

Part 1 Find a recent article or video describing the competition between two or more businesses. And describe in 2-5 sentences on the following: 1 The competing businesses and they sell 2 Which company you believe is win ...

Creating a new sales and inventory management system for

Creating a new sales and inventory management system for pet supply store. System allows 1) sales orders to be entered by clerk, 2) total price calculated and 3) inventory updated. Sales may be in person or over the phon ...

Given an example of broadcast usage in the network and data

Given an example of broadcast usage in the network and data link layers. For each case, (1) name the protocol that utilizing the broadcast, (2) the reason why the broadcast rather that unicast is used, and (3) how the fa ...

Rewrite exercise 2 using the sortedlist classexercise

Rewrite Exercise 2 using the SortedList class. Exercise 2 Write a program that stores names and phone numbers from a text file in a dictionary, with the name being the key. Write a method that does a reverse lookup, that ...

Design an algorithm that accepts as input a decimal number

Design an algorithm that accepts as input a decimal number and converts it to the binary-coded decimal (bcd) representation. In the bcd scheme each digit is represented by a 4-bit binary code.

Using the floor plan of a building you are familiar with

Using the floor plan of a building you are familiar with, design an electronic monitoring plan that includes closed-circuit television, burglar alarms with appropriate sensors, fire detectors, and fire suppression and ph ...

1 write a program that reads in babynamestxt and produces

1. Write a program that reads in babynames.txt and produces two files boynames.txt and girlnames.txt, separating the data for the boys and girls. 2. Write a program that reads a file in the same format as babynames.txt a ...

Consider the task of writing a program that plays tictactoe

Consider the task of writing a program that plays TicTacToe against a human opponent. A user interface TicTacToeUI reads the user's moves and displays the computer's moves and the board. A class TicTacToeStrategy determi ...

Assignmentgame scissors rock paper write a program that

Assignment (Game: scissors, rock, paper) Write a program that plays the popular scissor-rock-paper game. (A scissor can cut a paper, a rock can knock a scissor, and a paper can wrap a rock.) The program randomly generate ...

1 how do you discover syntax errors how do you discover

1. How do you discover syntax errors? How do you discover logic errors? 2. Write three versions of the HelloPrinter.java program that have different compile-time errors. Write a version that has a run-time error.

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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