quiz5 - a) movs b) adds c) cmps d) stos e) scas f) copys g)...

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

View Full Document Right Arrow Icon
CS 220: Computer Systems II: Architecture and Programming Fall 2009 - Section A0 Quiz #5 - 2009/11/11 Name: ______________________________ ================================================================================ 1: if "var" is declared as "const int var;": a) int * const b) const int * const c) int const * d) int const ** e) int * const * const f) const int ** const g) int * h) int i) const int ================================================================================ 2: Circle which one (1) of the following is the 80386 string instruction which is designed to compare one area of memory to another:
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a) movs b) adds c) cmps d) stos e) scas f) copys g) mov h) .string ================================================================================ 3: Circle which one (1) of the following is the number of independent additions a single "paddd" instruction will perform: a) 1 b) 2 c) 3 d) 4 e) 5 f) 6 g) 7 h) 8 i) 10 j) 12 k) 16 l) 20 m) 24 n) 32 o) 48 p) 64 ================================================================================ 4: Compute the following sums using 8-bit signed saturation arithmetic (answers must be in hexadecimal): 0x40 0x80 0x80 0xC0 0xFF + 0x40 + 0x40 + 0x80 + 0xC0 + 0x01 ====== ====== ====== ====== ======...
View Full Document

This note was uploaded on 04/20/2010 for the course CS 220 taught by Professor Greene during the Spring '08 term at Binghamton.

Ask a homework question - tutors are online