Computer Science 010
Introduction to Computer Applications
Fall 2010, Siena College
Lecture 06: Architecture; File Formats; Analog/Digital Conversions
Date: Monday, September 27, 2010
Agenda
- Announcements
- Wrapping up the SIENAVAC example
- File formats: just more binary codes!
- Analog/Digital conversions
Lecture Assignment 06
Due at the start of class, Wednesday, September 29.
Please submit answers to these questions
in Blackboard by the start of class. We will discuss these questions at
the start of class, so no late submissions are accepted.
We discussed the SIENAVAC architecture in class. Suppose someone has
loaded the first several locations of SIENAVAC's memory with the
following data:
Addr | Contents |
00000 | 001 | 00101 |
00001 | 100 | 00101 |
00010 | 010 | 00011 |
00011 | 110 | 01101 |
00100 | 111 | 00011 |
00101 | 111 | 11111 |
00110 | 000 | 01010 |
|
- What SIENAVAC instruction is represented by each of
these values? For example, the instruction at memory location 00000
has an opcode of 001, which corresponds to LOAD, and the
remainder of the memory value, 00101, indicates that the value
LOADed should come from memory location 001012 = 510.
- Now suppose someone places the starting address of 0 into
SIENAVAC's PROG ADDR field, and presses "Start". Trace
through the execution of the program and indicate the final contents
of the ACCUMULATOR and any memory locations that change from
their initial values.
Links