subject
Computers and Technology, 04.03.2022 17:10 lyn94

ARM, while ostensibly a RISC architecture, nevertheless has block move instructions, single instructions capable of loading and storing (respectively) multiple registers. The LDMIA (load multiple, increment after) instruction permits any combination of ARM’s (Thumb) 16 registers to be loaded from consecutive memory locations while the STMDB (store multiple, decrement before) instruction stores any combination of the registers to consecutive memory locations. (There are also LDMDB and STMIA instructions among others.) The registers do not need to be contiguous. The instruction below loads registers r3, r4, r5, and r9 from the memory location pointed to by r0, r0+4, r0+8, and r0+12 respectively. Then increments r0 by 16 (4 word of 4 bytes each). LDMIA ro, {r3, r4, r5, r9}

Required:
a. Identify a likely application for this capability. What would the LDMIA instruction be used for? What would the STMDB instruction be used for?
b. Ignoring any additional data path requirements, could this instruction be implemented on MIPS? Why or why not?

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 17:00
Anew author is in the process of negotiating a contract for a new romance novel. the publisher is offering three options. in the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. in the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. in the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. the author has some idea about the number of copies that will be sold and would like to have an estimate of the royal- ties generated under each option. write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. the program then outputs he royalties under each option and the best option the author could choose. (use appropriate named constants to store the special values such as royalty rates and fixed royalties.
Answers: 1
question
Computers and Technology, 25.06.2019 09:30
1. write a statement that declares a string variable named city. the variable should be initialized so it references an object with the string “san francisco”. a) assume that stringlength is an int variable. write a statement that stores the length of the string referenced by the city variable (declared in question1) in stringlength. b) assume that onechar is a char variable. write a statement that stores the first char- acter in the string referenced by the city variable (declared in question1) in onechar. c) assume that uppercity is a string reference variable. write a statement that stores the uppercase equivalent of the string referenced by the city variable (declared in question 1) in uppercity. d) assume that lowercity is a string reference variable. write a statement that stores the lowercase equivalent of the string referenced by the city variable (declared in question 1) in lowercity.
Answers: 3
question
Computers and Technology, 25.06.2019 10:30
Which of the following if statements uses a boolean condition to test: "if the item is on sale, you can buy it"? a: if( onsale < = "yes" ): b: if( onsale > = "yes" ): c: if( onsale == "yes" ): d: if( onsale ! = "yes" ):
Answers: 2
question
Computers and Technology, 26.06.2019 01:30
An explanation for question. b) i) — you ; -;
Answers: 1
You know the right answer?
ARM, while ostensibly a RISC architecture, nevertheless has block move instructions, single instruct...
Questions
question
Mathematics, 14.06.2021 23:00
question
Mathematics, 14.06.2021 23:00
question
Mathematics, 14.06.2021 23:00
question
Mathematics, 14.06.2021 23:00
question
Mathematics, 14.06.2021 23:00