Write one or more ARM instructions that will clear bits 20 to 25 inclusive in register r0. All the other bits of r0 should remain unchanged.

What will be an ideal response?


We could do this in many ways. You could set up a constant 0000001111110000000000000000000 = 0x03F00000
and use it as a mask with BIC. That is;


LDR r0, = 0x03F00000 ;set up the mask bits
BIC r1,r1,r0 ;clear bits with mask set to 1

Computer Science & Information Technology

You might also like to view...

NET does not include ________.

a) Web services b) DCOM c) a programming model d) servers, such as Windows Server 2003

Computer Science & Information Technology

Bold and Italic are examples of toggle command buttons

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following can best be described as the exploitation of a computer session in an attempt to gain unauthorized access to data?

A. DoS B. Session hijacking C. Null session D. Domain name kiting

Computer Science & Information Technology

Briefly describe what an object initializer does and give a specific example. When is the object initializer assignment made?

What will be an ideal response?

Computer Science & Information Technology