Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The University of Alabama in Huntsville ECE Department CPE 2 2 1 0 1 Spring 2 0 2 1 ARM Basics Due February 1 8

The University of Alabama in Huntsville
ECE Department
CPE 22101
Spring 2021
ARM Basics
Due February 18,2021
1.0(20),2.0(5),3.0(15),4.0(5),5.0(20),6.0(15),7.0(30) All assembly language programs must run without errors on the simulator
1.0 For each of the following 8-bit operations, calculate the values of the C,Z,V, and N flags.
(a)1010_1101+1010_1101
(b)1111_1111+0100_0001
(c)0110_0100-1110_1101
(d)00101111+01101111
(e)0100_1000-1110_1001
2.0 If R1=01010011000111100001111000001111 and R2=00000000111111111100111100001111, what is the value of R3 after executing ORR R3, R1, R2?
3.0 If R1=0AC895362 and R2=8, what is the value of RO after each of the following instructions has been executed (assume that each instruction uses the same data)?
(a) ADD R0, R1, R1, LSL #4
(b) ADD R0, R1, R1, ASR #8
(c) ADD R0, R1, R1, ROR #7
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions