C85Quiz1Prob-29F - 29 of register R7 to 0 and leave other...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC C85 2008F Problems for Quiz1 Nov. 5 in Tutorial. Chap. 7 7.1a, 7.2, 7.4, 7.14 Chap. 8 8.1, 8.2 Write ARM assembly code to set bit 5, bit 9, bit 12, bit 20 and bit 30 of register R5 to 1 and leave other bits unchanged. Write ARM assembly code to clear bit 6, bit 7, bit 11, bit 22 and bit
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 29 of register R7 to 0 and leave other bits unchanged. Write ARM assembly code to read (into two registers) two signed bytes from variables VAR1 and VAR1 in memory, add them and save to (byte) VAR3. If the sum is incorrect write -1 to byte VAR4. VAR3 = VAR1 + VAR2;...
View Full Document

This note was uploaded on 12/20/2010 for the course CSC CSCC85 taught by Professor Lorincz during the Spring '10 term at University of Toronto.

Ask a homework question - tutors are online