Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code in Assembly language please. Verizon 10:06 AM @ 47%. CSC220-Assennbly Lab #6, Irvine Ch 7 You will submit 1 txt file to blackboard containing

Code in Assembly language please. image text in transcribed
Verizon 10:06 AM @ 47%. CSC220-Assennbly Lab #6, Irvine Ch 7 You will submit 1 txt file to blackboard containing the source code (assembly code) with your sample runs at the bottom "main" method (pseudo code) .codel For each of the following commands, first execute the command in hex and print the command and the result. Then execute it again in binary and print it. SHL, SHR, SAL, SAR (binary only) ROL, ROR, RCL, RCR (binary only) SHLD, SHRD (hex only) Note: Give the register an initial value of 10001101. The count you shift/rotate should be 2 Each time you execute another command, reset the value of the register. You can play around with other values, but what you submit to me in the lab should execute these values or I wll not grade it. See example output below Run one example each of the IMUL and IDIV commands and print the results. You can use dumpregs after each operation. Play around and try different numbers to see what you get. Check your carry and overflow flags. Grading Rubric (100 Points) All specified commands executed in binary (20 points) .Al specified command executed for hex (20 points) Every binary command is printed with the result (you can use writeBin) (20 points) Every hex command is printed with the result (you can use writeHex) (20 points) Neat Indenting (data section neatly aligned; body

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems An Application Oriented Approach Complete Version

Authors: Michael Kifer, Arthur Bernstein, Richard Lewis

2nd Edition

0321268458, 978-0321268457

More Books

Students also viewed these Databases questions

Question

=+How might these stem from country and regional cultures?

Answered: 1 week ago