Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

ARM assembler raspberry pi : using \' putty \' - It does not use bit in the code

ID: 3872125 • Letter: A

Question

ARM assembler raspberry pi : using ' putty '

- It does not use bit in the code

- we have covered : AND, ORR, EOR, CMP, CMN, TST, TEQ, SUB, SUBS, SUBGT, SUBGTS, BAL _exit, BL _doSomething, ADDEQ, LDR, =string, .ascii, .data, MOV R7, #1 ; MOV PC, LR

What command do i need to use to see the output? ./filename or echo $? ?

Thank you.

Program #2 lablbs Your task in this second program is to recreate the functionality of a switch statement. Assign the value 1, 2, or 3 to a register. Use the switch to print "Option 1", "Option 2", or "Option 3" to the screen. For simplicity you will hardcode the value in a register. Make sure to test for all cases. Save this program as lab1bs.

Explanation / Answer

Hello The Answer for your question is given below

as you asked for what command to be used to print or see the output

According to me you should use echo $ to print anything on the screen

especially you are using putty that means definetly you are goinf to connect to a linux environment

so you should use the command echo $ to see the output.

Hope This Helps, if you have any doubts Please comment i will get back to you, thank you and please thumbs up