Lab 6.1
#3. Toggle back and forth between Symbolic and Binary modes, until you can see the correspondence between the two representations of the same information. Then answer the following questions.

A) At what address is the MUL X instruction stored? How is that address represented in binary?

Keep in mind, the accumulator on the PIPPIN page in binary mode never changes during the operation of the program. It stays eight digits of 0 at all times during execution of program. In symbolic mode it remains as 0.

On the PIPPIN page, the section of the map marked PC represents what your computer is doing?

If so, then the PC is instructed to add 2 to a number in symbolic mode. It adds 2 to the number, in this case 0, shoves it into ram, does not operation (NOP) follows a route to the IR does no operation and goes to the Decoder. From their it goes to the MUX multiplier and adds 2 to the number, makes a 2 and goes to ram, gives a 2 and follows the route back to the IR (interpretor?) does no operation, goes to the Decoder and routes through the MUX and adds to to that number and gives a 4. This in turn is an endless loop adding two to the progressive number until it reaches 126. It keeps going but nothing else happens after that.

In Binary mode, it starts with the 8 digits of 0 routes through the ram at 00000000, plus 00000000 and routes on its' way to the IR. It then adds 10 to the number 00000000, and goes on its' way to the Decoder. Routes through the MUX adds 10 to 00000000 and makes it 00000010. It then routes to ram at 00000010 adds 00000000 and heads on to the IR 00000010 plus 00000000 is sent to the Decoder throught the MUX and gets the next number (10) and adds that to the number making it 00000100 through address 00001110 plus 00000000 and routes on its' way to the IR, routes through the Decoder, goes to the MUX and adds 10 to 0000100 and makes it 00001000 and constantly does this loop until it gets to 128.

The MEMORY CELL ADDRESS location would be 00001110 00000000, the same as always in the IR, 00001110 00000000. Goes to the Decoder.


B) What is the binary operation code that corresponds to the symbolic instruction LOD?

The binary operation code that corresponds to the instruction LOD is 00000100.


C) How is the number 2 represented in binary? The number 2 is represented in binary as 0010.
D) At what address is variable Y stored, and how is that address represented in binary? Y represents memory location 10000001.
E) Answer question d, this time for variable X. X represents memory location 00000110.
F) Answer question d, this time for variable W. W is represents memory location 00000101.
G) What are the binary operation codes corresponding to the symbolic PIPPIN instructions ADD? MUL? STO? The symbolic PIPPIN codes for ADD is 00000000 into memory location X to accumulator, the symbolic instruction for MUL is symbolically notated A*X--->, multipy accumulator by X. The Accumulator now contains twice Y's value. The binary representation for Y, 10000001 gets loaded twice X, 00000101.
Counter Return to index