Question

Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and...

Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and give a simple example of the .asm complete program code that you have compiled. Just keep the code simple with not much program description. Put your code in a program and make sure it compiles then copy it. Do some research, using articles other than your textbook would be great also. Please write the code s well or a screenshot also just write on any one either shift or rotate or multiplication

Homework Answers

Answer #1

Shift Instructions : The main purpose of the shift instruction is move or shift a operand to the left or to the right bit by bit.

The shift instruction is used to move the register directly by the instructions-

1. Logical Shift Right (LSR).

2. Logical Shift Left (LSL)

3. Arithmetic shift right. (ASR)

4. Rotate right (ROR)

5. Rotate right with extend. (RRX)

Simple program to add two number in assembly language programming :

dosseg:
.model small
.stack 100h
.data
.code
main proc
mov bl, 78
mov cl, 76
add bl,cl
mov dl, bl
mov ah, 2
int 21h
mov ah,4ch
int 21h

main endp
end main

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and...
Use 25 to 50 words to discuss one of the Shift, Rotate, Multiplication, Division Instructions and give a simple example of the .asm complete program code that you have compiled. Just keep the code simple with not much program description. Put your code in a program and make sure it compiles then copy it.  Do some research, using articles other than your textbook would be great also.
HIMT 345 Homework 06: Iteration Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm...
HIMT 345 Homework 06: Iteration Overview: Examine PyCharm’s “Introduction to Python” samples for Loops. Use PyCharm to work along with a worked exercise from Chapter 5. Use two different looping strategies for different purposes. Prior Task Completion: 1. Read Chapter 05. 2. View Chapter 05’s video notes. 3. As you view the video, work along with each code sample in PyCharm using the Ch 5 Iteration PPT Code Samples.zip. Important: Do not skip the process of following along with the...
1. Read the following instructions on 'How to Repair an Electric Fan' which are written in...
1. Read the following instructions on 'How to Repair an Electric Fan' which are written in three different parts before answering the question given. The instructions below are considered ineffective as they are not following the effective instructions strategy. 1 Turn your fan on to make sure that the motor works. Plug your fan in and turn it on to the highest power setting. If the fan blades move a little or it starts to turn, the motor is probably...
You will write a program that loops until the user selects 0 to exit. In the...
You will write a program that loops until the user selects 0 to exit. In the loop the user interactively selects a menu choice to compress or decompress a file. There are three menu options: Option 0: allows the user to exit the program. Option 1: allows the user to compress the specified input file and store the result in an output file. Option 2: allows the user to decompress the specified input file and store the result in an...
Cpp Task: Create a class called Mixed. Objects of type Mixed will store and manage rational...
Cpp Task: Create a class called Mixed. Objects of type Mixed will store and manage rational numbers in a mixed number format (integer part and a fraction part). Details and Requirements Your class must allow for storage of rational numbers in a mixed number format. Remember that a mixed number consists of an integer part and a fraction part (like 3 1/2 – “three and one-half”). The Mixed class must allow for both positive and negative mixed number values. A...
I did already posted this question before, I did get the answer but i am not...
I did already posted this question before, I did get the answer but i am not satisfied with the answer i did the code as a solution not the description as my solution, so i am reposting this question again. Please send me the code as my solution not the description In this project, build a simple Unix shell. The shell is the heart of the command-line interface, and thus is central to the Unix/C programming environment. Mastering use of...
As you saw from the lab PowerPoint slides last week, you will be doing a research...
As you saw from the lab PowerPoint slides last week, you will be doing a research study looking at ‘Aggression Priming” for your first paper. For this week’s discussion, I want you to discuss with your group what you think this study is about. What is the hypothesis? What theory does it come from? What do you predict will happen (do you expect something different than the hypothesis in the researcher instructions? If so, what and why?)? Do you think...
I've posted this question like 3 times now and I can't seem to find someone that...
I've posted this question like 3 times now and I can't seem to find someone that is able to answer it. Please can someone help me code this? Thank you!! Programming Project #4 – Programmer Jones and the Temple of Gloom Part 1 The stack data structure plays a pivotal role in the design of computer games. Any algorithm that requires the user to retrace their steps is a perfect candidate for using a stack. In this simple game you...
Strings The example program below, with a few notes following, shows how strings work in C++....
Strings The example program below, with a few notes following, shows how strings work in C++. Example 1: #include <iostream> using namespace std; int main() { string s="eggplant"; string t="okra"; cout<<s[2]<<endl; cout<< s.length()<<endl; ​//prints 8 cout<<s.substr(1,4)<<endl; ​//prints ggpl...kind of like a slice, but the second num is the length of the piece cout<<s+t<<endl; //concatenates: prints eggplantokra cout<<s+"a"<<endl; cout<<s.append("a")<<endl; ​//prints eggplanta: see Note 1 below //cout<<s.append(t[1])<<endl; ​//an error; see Note 1 cout<<s.append(t.substr(1,1))<<endl; ​//prints eggplantak; see Note 1 cout<<s.find("gg")<<endl; if (s.find("gg")!=-1) cout<<"found...
Table 6.6 Fan Satisfaction Survey Results (250 Respondents) (Numbers in table are the number of respondents...
Table 6.6 Fan Satisfaction Survey Results (250 Respondents) (Numbers in table are the number of respondents giving a particular grade.) Questionnaire Item OVERALL GRADE A B C D F Total Game Day Parking 90 105 45 5 5 250 Traffic 50 85 48 52 15 250 Seating 45 30 115 35 25 250 Entertainment 160 35 26 10 19 250 Printed Program 66 34 98 22 30 250 Tickets Pricing 105 104 16 15 10 250 Season Ticket Plans 75...