## More on logic

February 20th, 2007

To read more about the content of today’s lecture, check out Appendix B.1-3 on the CD that came with your book.

## Fluidic (water) computer!

February 16th, 2007

In support of my claim that all you need are switches and wires! Water computer

February 15th, 2007

Sections 3.1 through 3.6

## Quiz 1 Prep

February 12th, 2007

I know you’re all wondering about the quiz on Thursday. Here are some warmup questions to help you prepare. You may bring your books and any written/printed notes you want. No computers, phones, or friends.

Come to class on Tuesday with your questions about anything we’ve covered and I’ll do my best to make all things clear.

I have gotten very positive reviews for the help some class members are giving to others and I commend you. I’ll certainly take such reports into account when assigning grades.

## ASCII Chart

February 8th, 2007

You may find this useful for problem set 4. You can read off the hex value for any ASCII character by taking the first nibble from the first column and the second nibble from the top row. So, for this assignment, you’ll need to convert an ASCII digit, say ‘4′ with code 0×34 to the numerical value 4. Simply subtract the code for ‘0′ from it. So subtracting 0×30 from an ASCII digit will give you the numerical value of the digit. Likewise, if you want to go from a small number, say 5, to its ASCII representation, simply add 0×30 to it. 5 + 0×30 = 0×35.

 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI 1 DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US 2 SP ! “ # \$ % & ‘ ( ) * + , - . / 3 0 1 2 3 4 5 6 7 8 9 : ; < = > ? 4 @ A B C D E F G H I J K L M N O 5 P Q R S T U V W X Y Z [ \ ] ^ _ 6 ` a b c d e f g h i j k l m n o 7 p q r s t u v w x y z { | } ~ DEL

## Problem Set 4, More Programming

February 8th, 2007

In problem set 4 you’ll wrestle with writing your own programs and think about the various representations for numbers. Feel free to work together in small teams on this assignment but the work you turn in should be your own. Include in the comments at the top of your program the names of the other students on your team. This is due before class on Thursday 1 March.

You should email your answers to our TA. Attach the files for the 3 problems to your email along with examples from the simulator running it.

February 8th, 2007

Study sections 2.10 - 2.15

## Assemblers and Compilers

February 8th, 2007

Today we’ll look at the translation process from high-level languages to running programs. Lecture 8 slides.

## Test 1 next Thursday

February 7th, 2007

We’ll have our first test next Thursday on 15 February. It will cover the material in lectures 1 through 8. We’ll review for the test on Tuesday 13 February.

The test will be open book and notes.

## Stacks and Procedures

February 6th, 2007

Today we’ll look at how procedure calls are implemented in high-level languages. Lecture 7 slides.