

![]()


This course explores the foundational concepts of computer architecture and assembly language programming. Students will examine the structure, organization, and functioning of modern computer systems, including topics such as data representation, processor architectures, memory hierarchies, input/output mechanisms, and instruction set architectures. Emphasis is placed on understanding how hardware and software interact at the machine level, enabling efficient program execution. Through hands-on labs and practical exercises, students will develop proficiency in assembly language programming, fostering a deeper appreciation for low-level computing concepts and their critical role in system performance and application development.
Recommended Textbook
Assembly Language for x86 Processors 7th Edition by Kip R. Irvine
Available Study Resources on Quizplus
17 Chapters
255 Verified Questions
255 Flashcards
Source URL: https://quizplus.com/study-set/3977 Page 2

Available Study Resources on Quizplus for this Chatper
14 Verified Questions
14 Flashcards
Source URL: https://quizplus.com/quiz/79902
Sample Questions
Q1) The 8-bit two's complement of binary 00000010 is 11111110.
A)True
B)False
Answer: True
Q2) Suppose there is a virtual machine containing levels V1 and V2,where V2 is above V1 in the machine hierarchy.The programs written in language V2 can be executed by a program running at level V1.
A)True
B)False
Answer: True
Q3) A compiler decodes and executes one program statement at a time.
A)True
B)False Answer: False
Q4) The sum of all powers of 2 from 20 to 28 is 511.
A)True
B)False
Answer: True
To view all questions and flashcards with answers, click on the resource link above.
Page 3

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79901
Sample Questions
Q1) In 64-bit mode,you can use three more general-purpose registers than in 32-bit mode.
A)True
B)False
Answer: False
Q2) Requests from hardware devices are called "interrrupts".
A)True
B)False Answer: True
Q3) The MMX register names are just different names for registers in the floating-point unit.
A)True
B)False Answer: True
Q4) The arithmetic logic unit performs addition,subtraction,multiplication,and division operations.
A)True
B)False Answer: True
To view all questions and flashcards with answers, click on the resource link above. Page 4
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79900
Sample Questions
Q1) The listing file is generated by the linker.
A)True
B)False
Answer: False
Q2) The SDWORD directive is used when defining signed 32-bit integers.
A)True
B)False
Answer: False
Q3) The EQU directive permits a constant to be redefined at any point in a program.
A)True
B)False
Answer: False
Q4) A listing file contains a copy of the program's source code,with line numbers,the numeric address of each instruction,and a symbol table.Optionally,it may display the machine code bytes for the program.
A)True
B)False
Answer: True

Page 5
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79899
Sample Questions
Q1) The EIP register can be the source operand of a MOV,ADD,or SUB instruction.
A)True
B)False
Q2) The format for the ADD instruction is: MOV source,destination
A)True
B)False
Q3) The SUB instruction requires the source operand to be no larger than the destination operand.
A)True
B)False
Q4) The MOVSX instruction can use a variable as the source operand.
A)True
B)False
Q5) When you move a 16-bit constant or an 8-bit constant into a 64-bit register,the upper bits of the destination operand are cleared.
A)True
B)False
Q6) The SAHF instruction copies the CPU status flags to the AH register.
A)True
B)False Page 6
To view all questions and flashcards with answers, click on the resource link above.
Page 7
Available Study Resources on Quizplus for this Chatper
16 Verified Questions
16 Flashcards
Source URL: https://quizplus.com/quiz/79898
Sample Questions
Q1) In a stack,the first value pushed on a stack is the last one to be removed.
A)True
B)False
Q2) The runtime stack is supported by the computer's processor.
A)True
B)False
Q3) The runtime stack is the same as the stack abstract data type (ADT).
A)True
B)False
Q4) The RET instruction pops the value pointed to by EBP off the stack into the instruction pointer..
A)True
B)False
Q5) The RandomRange procedure always produces a random integer between 0 and 0FFFFFFFFh
A)True
B)False
Q6) The WriteDec procedure does not display a plus sign. A)True
B)False

Page 8
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79897
Sample Questions
Q1) The JAE instruction jumps if the (unsigned)first operand is greater than or equal to the (unsigned)second operand.
A)True
B)False
Q2) The JECXZ instruction jumps to a target label when the CX register is equal to zero.
A)True
B)False
Q3) The TEST instruction always alters the destination operand.
A)True
B)False
Q4) The XOR instruction can be used to generate the two's complement of an integer.
A)True
B)False
Q5) ANDing an operand with 1 sets the zero flag if the operand was originally an even number.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 9

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79896
Sample Questions
Q1) The SAR instruction is suitable for signed integers.
A)True
B)False
Q2) When the MUL BL instruction executes,the upper half of the product ends up in the AH register.
A)True
B)False
Q3) The hexadecimal values of DX and AX after the following instructions have executed are DX=0005 and AX=0000.
mov dx,5000h
mov ax,20h
mul dx
A)True
B)False
Q4) The MUL instruction sets the Carry flag if the upper half of the product is not equal to zero.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 10

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79895
Sample Questions
Q1) The C calling convention requires the calling program to reset the stack pointer after the subroutine has returned.
A)True B)False
Q2) The following is a valid LOCAL declaration: LOCAL LastName:BYTE(25)
A)True B)False
Q3) Arrays are usually passed by reference when calling subroutines.
A)True B)False
Q4) Stack parameters are usually expressed as positive offsets from ESP. A)True B)False
Q5) The following is a valid LOCAL declaration: LOCAL index:DWORD A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 11

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79894
Sample Questions
Q1) The MOVSW instruction copies a word from the location addressed by ESI to the location addressed by EDI.
A)True
B)False
Q2) The CMPSW instruction uses memory pointed to by EDI as the source operand.
A)True
B)False
Q3) If an O(n<sup>2</sup>)sorting algorithm requires 0.2 seconds to sort an array of 1,000 elements,it will require 200 seconds to sort 10,000 elements.
A)True
B)False
Q4) The EDX and ECX registers can be combined in a based-indexed operand. A)True
B)False
Q5) The REPNE prefix repeats an instruction while the Zero flag is set,and ECX is greater than zero.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 12

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79893
Sample Questions
Q1) The IFNDIF directive permits assembly if two arguments are equal. A)True B)False
Q2) A structure variable cannot be declared inside another structure. A)True B)False
Q3) The following statements create five uninitialized DWORD variables in which each variable name is a member of the following list: monday,tuesday,wednesday,thursday,friday: FOR varName,<monday,tuesday,wednesday,thursday,friday> DWORD varName <> ENDM
A)True B)False
Q4) The IFNOTB directive permits assembly if its argument is not blank. A)True B)False
Q5) An array can be declared as a structure member. A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 13

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79892
Sample Questions
Q1) When you call the ReadFile function,you must pass a pointer to a string containing the filename.
A)True
B)False
Q2) The SetConsoleTextAttribute function can be used to change the color of text that has already been written to the screen buffer.
A)True
B)False
Q3) A application programming interface (API)includes functions,data types and constants.
A)True
B)False
Q4) The Win32 ReadConsoleInput function reads character input from the console buffer,but does not remove the characters from the buffer.
A)True
B)False
Q5) The LPSTR data type in the Win32 API is a 32-bit pointer to a character string. A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 14
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79891
Sample Questions
Q1) The FCOMI instruction compares two floating-point values and sets the Zero,Parity,and Carry flags according to the result of the comparison.
A)True
B)False
Q2) The binary floating-point number 111.0001 is equivalent to decimal 7 1/8.
A)True
B)False
Q3) Not all values between 0 and 1 can be represented by a single-precision significand,but all such values can be represented by an extended-precision significand.
A)True
B)False
Q4) The single-precision real representation of zero contains zeros in the mantissa and ones in the exponent.
A)True
B)False
Q5) In a single-precision real number,the exponent uses 7 bits.
A)True
B)False

15
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79890
Sample Questions
Q1) A language's calling convention includes a list of which registers must be preserved by called procedures.
A)True B)False
Q2) In Visual C++,an inline statement can refer to labels outside the __asm block.
A)True
B)False
Q3) A language's calling convention does not include the order in which parameters are passed.
A)True
B)False
Q4) In Visual C++,the PTR directive cannot be used in inline assembly code.
A)True B)False
Q5) The "C" specifier in extern declarations of procedures called from C++ tells the compiler to avoid decorating (changing)the procdure name.
A)True B)False
To view all questions and flashcards with answers, click on the resource link above. Page 16

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79889
Sample Questions
Q1) The device names for parallel printer port 1 are both PRN and LPT1.
A)True
B)False
Q2) MS-DOS services are handled by INT 21h.
A)True
B)False
Q3) Video services are handled by INT 16h.
A)True
B)False
Q4) When a MS-DOS function needs to access the computer's hardware,it calls a function in the BIOS.
A)True
B)False
Q5) MS-DOS function calls are also called interrupts because they use the INT instruction.
A)True
B)False
Q6) Video memory begins at offset 00100h in the IBM-PC's memory. A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 17
Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79888
Sample Questions
Q1) The FAT32 file system allows the setting of permissions on individual files and folders.
A)True
B)False
Q2) Each read-write head in a disk drive moves independently of the other read/write heads.
A)True
B)False
Q3) The NTFS file system supports Unicode filenames,but FAT32 does not.
A)True
B)False
Q4) A track contains multiple sectors.
A)True
B)False
Q5) A hard disk partition can be divided into multiple volumes.
A)True
B)False
Q6) A sector contains multiple cylinders.
A)True
B)False

Page 18
To view all questions and flashcards with answers, click on the resource link above.

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79887
Sample Questions
Q1) The INT 8h service routine retrieves the keyboard scan code and looks up the corresponding ASCII code.
A)True
B)False
Q2) INT 16h permits characters to be redirected,so input can be read from a file.
A)True
B)False
Q3) Character colors use 4 bits for the foreground color,and 4 bits for the background color.Blinking is controlled by a 9<sup>th</sup> bit that is not part of the attribute byte.
A)True
B)False
Q4) MS-Windows cannot run MS-DOS programs in full-screen mode. A)True B)False
Q5) The fastest way to write characters to the video display is by calling INT 10h. A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 19

Available Study Resources on Quizplus for this Chatper
15 Verified Questions
15 Flashcards
Source URL: https://quizplus.com/quiz/79886
Sample Questions
Q1) The Speaker Demo Program uses the IN instruction to turn the speaker on.
A)True
B)False
Q2) All COM programs use the small memory model.
A)True
B)False
Q3) The CLASS type in a segment definition makes it possible to combine two segments having different names.
A)True
B)False
Q4) When an interrupt executes,an address in the Exception Process Table is used to locate the interrrupt handler.
A)True
B)False
Q5) Port-based I/O uses the IN and OUT instructions to read and write data to specific numbered locations.
A)True
B)False
To view all questions and flashcards with answers, click on the resource link above. Page 20