subject

For the following code sequence, fill in the instructions or operands that are missing from the code sequence and marked with '(number)' - there are 5 blanks; label your answer 1, 2, 3, 4, 5.
; ; counts the number of times a character occurs in a string
; ; and store value on "result"
; ; character -- stored at x6000
; ; string -- stored at x7000
; ; result -- stored at x8000
.orig x3000
nmchr and r0,r0,#0
ld r1,afile ; ; r1 has address of the string (file in memory)
ldi 1 ; ; r2 has the value of the character
not r2,r2
2 r2,r2,#1 ; ; 2's complement of character
aloop ldr r3,r1,#0
3 stop ; ; leave loop on zero word
add r3,r3,r2
brnp nocount
add 4
nocount add r1,r1,#1
5 aloop
stop sti r0,acount ; ; count is stored
halt
achar .fill x6000
afile .fill x7000
acount .fill x8000
.end

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 09:00
Howard is designing a chair swing ride. the swing ropes are 5 meters long, and in full swing they tilt in an angle of 29Β° outside chairs to be 2.75 m above the ground in full swing.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Quic which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
Kou converged his word document to a powerpoint document. when he received the powerpoint, he was missing material. which most likely explains why the material was missing? a it did not have a proper heading b he incorrectly copied and pasted it c he did not save his document properly d there was not enough space in powerpoint
Answers: 1
question
Computers and Technology, 25.06.2019 07:20
Acompany's intranet is set up on this type of server. application communication print web
Answers: 1
You know the right answer?
For the following code sequence, fill in the instructions or operands that are missing from the code...
Questions
question
Mathematics, 27.01.2021 23:10
question
Mathematics, 27.01.2021 23:10
question
Mathematics, 27.01.2021 23:10
question
Mathematics, 27.01.2021 23:10
question
History, 27.01.2021 23:10
Questions on the website: 13722363