Exam # 1 Review Info
The UCF 3402 handout on the RISC machine
-
all parts of the handout except the parts that deal specifically with Pass
2 (like the parts on External References and the parts on Object Code output
in pages 7, 8, 9)
-
be able to read the program code section of page 8 to the extent that you
understand what each section (.CONTS, .DATA, and .CODE)
is used for and what the assembler has to do with the declarations or instructions
within those sections. (Ignore the .EXTERN section) For example,
if I ask what an instruction like ADDI R4, R7, %1A3C does, you
should be able to tell me that it adds the hexidecimal value 1A3C
to the contents of register 7 and stores that result in register 4.
-
be able to use the table in the RISC Instruction handout (the RISChandout.xls
spreadsheet) and understand what the program code is doing. For example,
if I were to ask the above question about what ADDI R4, R7, %1A3C
does, you should be able to tell me how many operands ADDI has, which format
it uses and what it is doing, based on the table.
Chapter 1:
-
the differences between CISC and RISC architectures and any major advantages
or disadvantages of each (for example, but not limited to, number of registers,
general-purpose vs. special-use registers, fixed vs variable-length instruction
lengths, etc.)
-
any CISC-specific questions will refer to the SIC and SIC/XE machine on
pages 5-12
-
and RISC-specific questions will refer to the UCF 3402 handout
Chapter 2:
-
pages 44-54 on what assemblers do in pass1: data structures and algorithms,
output formats, terminology
ignore code on pages 45 & 47
-
pages 92-102, limited to the major differences between one-pass and multi-pass
assemblers. for example, what advantages/limitations do we have with one-pass
assemblers that we don't have with multi-pass?
-
addressing modes: (how they work, NOT the SIC syntax or the use of the
n, i, x, b, p, e bits)
see pages 6-10 and parts of 57-65 for general information on:
direct, indirect, indexed, based, PC-relative addressing