Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

https://www.rapidtables.com/tools/notepad.html could anyone help me with fill in the blanks from thisassembly code. I have pasted a link above if that does not workplease see

https://www.rapidtables.com/tools/notepad.html

could anyone help me with "fill in the blanks" from thisassembly code. I have pasted a link above if that does not workplease see the code below to determine the blanks.

GPIO_PORTD_DATA_R EQU 0x400073FC
GPIO_PORTD_DIR_R EQU 0 x40007400
GPIO_PORTD_DEN_R EQU 0 x4000751C
GPIO_PORTD_AMSEL_R EQU 0 x40007528
GPIO_PORTB_DATA_R EQU 0x400053FC
GPIO_PORTB_DIR_R EQU 0 x40005400
GPIO_PORTB_DEN_R EQU 0 x4000551C
SYSCTL_RCGCGPIO_R EQU 0 x400FE608
AREA | . t e x t | , CODE, READONLY, ALIGN=2
EXPORT __main
__main
LDR R0 , =PortConfiguration
BLX R0
LDR R1 , =GPIO_PORTD_DATA_R
RunForever
LDR R2 , [________]
STR R2 , [________]
B R u nFo r ev e r
P o r t C o n f i g u r a t i o n
; Po r t B i n i t i a l i z a t i o n s f i r s t
LDR R0 , =_________________
LDR R1 , [ R0 ]
ORR R1 , R1 , #0x02
STR R1 , [ R0 ]
NOP
NOP
NOP
NOP
LDR R0 , =GPIO_PORTB_DIR_R
LDR R1 , [ R0 ]
ORR R1 , R1 , #0x______________
STR R1 , [ R0 ]
LDR R0 , =GPIO_PORTB_DEN_R
LDR R1 , [ R0 ]
ORR R1 , R1 , #0x______________
STR R1 , [ R0 ]
; Po r t D i n i t i a l i z a t i o n s
LDR R0 , =_________________
LDR R1 , [ R0 ]
ORR R1 , R1 , #0x08
STR R1 , [ R0 ]
NOP
NOP
NOP
NOP
LDR R0 , =GPIO_PORTD_DIR_R
LDR R1 , [ R0 ]
BIC R1 , R1 , #0x______________
STR R1 , [ R0 ]
LDR R0 , =GPIO_PORTD_AMSEL_R
LDR R1 , [ R0 ]
BIC R1 , R1 , #0x______________
STR R1 , [ R0 ]
LDR R0 , =GPIO_PORTD_DEN_R
LDR R1 , [ R0 ]
ORR R1 , R1 , #0x______________
STR R1 , [ R0 ]
BX LR
EXPORT S y s t e m I n i t
S y s t e m I n i t
BX LR
ALIGN
END

Step by Step Solution

3.51 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

Sure I can help you fill in the blanks in the assembly code Heres the completed code with the missin... 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

Managerial Accounting for Managers

Authors: Eric Noreen, Peter Brewer, Ray Garrison

2nd edition

978-0077403485, 77403487, 73527130, 978-0073527130

More Books

Students also viewed these Programming questions

Question

Describe Hartleys seven varieties of pleasure.

Answered: 1 week ago

Question

What are three different techniques to report on agile projects?

Answered: 1 week ago

Question

What are tire main limitations of stopwatch time study?

Answered: 1 week ago