‫Welcome to the Alieu demonstration on the basis the reward for the set up we have we were using the
‫four digit 7st to display on the basis the board to show our inputs A and B.
‫We also are using two four digit 7st displays on a breadboard connected through a different to an 13:9
‫or four transistors with a 470 ohm transistor connected to the base to control each of the external
‫eight segments on the of this boy.
‫The 7 segment display externally is being controlled through the J B J.
‫Piedmont ports where the were the J.B. port is connecting and doing the digit select control and the
‫JPM on port it's connected through a 56 ohm resistor to control the individual segments rather to turn
‫them on or off.
‫We're also using the switch 0 is used to select and that is determining whether we're displaying or
‫controlling our segment A or B.
‫And both of these inputs A and B are displayed on 7st display on the bases 3 board in our switch one
‫is used to determine where we want to be adding or subtracting.
‫And then for our pushbuttons we have our push button right.
‫Is add or subtract one or push button down and add or subtract 10 or push button left to add or subtract
‫100.
‫And our center button is the exit queue the Alieu.
‫And we also have for opcode is which 14 13 is three digits termine what operation is going to be performed
‫on the Alieu.
‫So to start let's start setting a value.
‫So our select we have if we pull out to a one we're we're now showing our input on the cell and same
‫display on the basis clipboard.
‫So if we press or one or subtracting so we can do a negative number.
‫And if I switch it up we'll be adding.
‫So now we can go to positive numbers and I'll set my input a equal to 4.
‫Now for my input B I need to change my select pull that low.
‫So now you'll see we have a zero if I'm poor high for that showing that we have input or input B input
‫B.
‫We're going to have as an ad as well we can add.
‫Now we're going to make that a negative number.
‫So make that a negative 3.
‫So or to go through to several different commands.
‫We use several different opcode combinations.
‫If we go to the first combination of 000 then the value of a will be loaded onto the result register.
‫So maker up heads 0 0 and a C or a value will slacken quote high or as a four.
‫And if we press the center button we'll now see that the result Register has a value of four inside
‫of it.
‫If we go through 0 0 1 maigre up 0 0 1 press the select button.
‫Now see we have a negative 3 is if we go to our input B it's a negative 3 to 0 1 0.
‫This is going to take a plus be stored in the result register where a is a 4 and R B is a negative 3.
‫So April 4 was negative 3.
‫Gives a value of 1.
‫If we press our key button you'll see we get the value of one inside of her OP could register.
‫We're now going to 0 1 1 which would give us an A minus.
‫So we look at her essay by sliding up our slides which one are as a value for our B the negative 3.
‫So we take our 4 minus are negative 3 will give us the press or button a value of 7.
‫And if we also do a 1 0 0 1 0 0.
‫This will give us all zeros on her or on a result register suppressed in the exit queue.
‫We now Chrisette and by lowering all zeros in the last operation we have our opcodes is a 1 0 1 operation
‫which is going to take and put everything to a 1.
‫And since we're representing these values and signed notation it is going to be equal to a negative
‫one because all ones and twos complement form is a negative one.
‫So we're setting up code to 1 0 1 Pressing as a cue.
‫We now have the value of a negative one in our result register.
‫And this is a demonstration of the Alieu running on the basis three board.