Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Any help is appreciated please show what each instruction os doing in simple words. f Facebook CS CS301 ARM Lab armassembly language tutorial X AR
Any help is appreciated please show what each instruction os doing in simple words.
f Facebook CS CS301 ARM Lab armassembly language tutorial X AR > C O Not securel cs.uregina.ca.inks/class.info/301/ARM Mab.html Lab Assignment Write your first ARM assembly language program MyFirstARM.S. The program will execute the following instructions. You will run the program step by step. observe and answer the #x02 ; R2 - ? #ex02 ; R3 - ? Other examples to move immediate values MOV R5, #8x3210 R5 = ? MOVT RS, #Ox7654 ; R5 - ? HOV32 #0x87654321 R7 - 0x87654321 ; R7. ? ; RS . LOR ADD MOV32 ADOS R1, R2, R3 ; R1 = ? R3, #@xFFFFFFFF ; R3 = ? R1,R2,R3 ; R1 = ? ; specify Condition Code updates R1, R2, R3 R1 = ? ; specify Condition Code updates R4, #xFFFFFFFF ; R4 = ? R1, R2,R4 ; R1 - ? ; How did that aperation affect the flags in CPSR? R1, R2,R4 ; Please specify Condition Code updates ; and now what happened to the flags in the CPSR? MOV ADO ADOS R1,R2,* non poter NOY ADOS R2, #Ox00000002 R1, R2,14 ; R2 = ? ; R1 = ? ; again, what happened to the flags? HOV - HOV ADDS R2, #Ox00000001 R3, #Ox00000002 R1, R2,R3 ; R2 = ? ; R3 = ? ; R1 = ? ; Add some small numbers again ; and check the flags again...... ; Add numbers that will create an overflow HOV R2, #0x7FFFFFFF R2 = ? NOV R3, #Ox7FFFFFFF ; R3 = ? ADDS R1, R2, R3 ; R1 = ? ; Check the flags in the CPSR? You will hand in the following: 1 The print out of the screen shot of the program succefully builtStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started