﻿1
00:00:04,280 --> 00:00:11,420
‫Welcome to the Alieu demonstration on the basis the reward for the set up we have we were using the

2
00:00:11,420 --> 00:00:18,400
‫four digit 7st to display on the basis the board to show our inputs A and B.

3
00:00:18,590 --> 00:00:28,070
‫We also are using two four digit 7st displays on a breadboard connected through a different to an 13:9

4
00:00:28,120 --> 00:00:35,600
‫or four transistors with a 470 ohm transistor connected to the base to control each of the external

5
00:00:36,080 --> 00:00:38,800
‫eight segments on the of this boy.

6
00:00:39,920 --> 00:00:44,680
‫The 7 segment display externally is being controlled through the J B J.

7
00:00:44,680 --> 00:00:51,760
‫Piedmont ports where the were the J.B. port is connecting and doing the digit select control and the

8
00:00:51,760 --> 00:00:58,300
‫JPM on port it's connected through a 56 ohm resistor to control the individual segments rather to turn

9
00:00:58,300 --> 00:00:59,570
‫them on or off.

10
00:01:00,510 --> 00:01:07,560
‫We're also using the switch 0 is used to select and that is determining whether we're displaying or

11
00:01:07,560 --> 00:01:10,710
‫controlling our segment A or B.

12
00:01:10,800 --> 00:01:18,120
‫And both of these inputs A and B are displayed on 7st display on the bases 3 board in our switch one

13
00:01:18,510 --> 00:01:21,920
‫is used to determine where we want to be adding or subtracting.

14
00:01:22,320 --> 00:01:25,700
‫And then for our pushbuttons we have our push button right.

15
00:01:25,710 --> 00:01:32,340
‫Is add or subtract one or push button down and add or subtract 10 or push button left to add or subtract

16
00:01:32,340 --> 00:01:33,280
‫100.

17
00:01:33,390 --> 00:01:37,120
‫And our center button is the exit queue the Alieu.

18
00:01:37,340 --> 00:01:45,080
‫And we also have for opcode is which 14 13 is three digits termine what operation is going to be performed

19
00:01:45,380 --> 00:01:46,910
‫on the Alieu.

20
00:01:47,450 --> 00:01:50,240
‫So to start let's start setting a value.

21
00:01:50,420 --> 00:01:57,140
‫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

22
00:01:57,140 --> 00:01:59,230
‫display on the basis clipboard.

23
00:01:59,240 --> 00:02:04,100
‫So if we press or one or subtracting so we can do a negative number.

24
00:02:04,210 --> 00:02:06,840
‫And if I switch it up we'll be adding.

25
00:02:06,840 --> 00:02:13,530
‫So now we can go to positive numbers and I'll set my input a equal to 4.

26
00:02:13,610 --> 00:02:18,530
‫Now for my input B I need to change my select pull that low.

27
00:02:18,650 --> 00:02:26,480
‫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

28
00:02:26,480 --> 00:02:27,140
‫B.

29
00:02:27,140 --> 00:02:30,390
‫We're going to have as an ad as well we can add.

30
00:02:30,470 --> 00:02:32,320
‫Now we're going to make that a negative number.

31
00:02:32,450 --> 00:02:36,540
‫So make that a negative 3.

32
00:02:36,650 --> 00:02:39,010
‫So or to go through to several different commands.

33
00:02:39,110 --> 00:02:41,560
‫We use several different opcode combinations.

34
00:02:41,660 --> 00:02:50,100
‫If we go to the first combination of 000 then the value of a will be loaded onto the result register.

35
00:02:50,300 --> 00:02:56,490
‫So maker up heads 0 0 and a C or a value will slacken quote high or as a four.

36
00:02:56,570 --> 00:03:02,780
‫And if we press the center button we'll now see that the result Register has a value of four inside

37
00:03:02,780 --> 00:03:03,450
‫of it.

38
00:03:03,650 --> 00:03:09,220
‫If we go through 0 0 1 maigre up 0 0 1 press the select button.

39
00:03:09,410 --> 00:03:17,160
‫Now see we have a negative 3 is if we go to our input B it's a negative 3 to 0 1 0.

40
00:03:18,560 --> 00:03:25,730
‫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.

41
00:03:25,730 --> 00:03:28,080
‫So April 4 was negative 3.

42
00:03:28,130 --> 00:03:29,260
‫Gives a value of 1.

43
00:03:29,300 --> 00:03:35,120
‫If we press our key button you'll see we get the value of one inside of her OP could register.

44
00:03:35,210 --> 00:03:39,040
‫We're now going to 0 1 1 which would give us an A minus.

45
00:03:39,080 --> 00:03:47,220
‫So we look at her essay by sliding up our slides which one are as a value for our B the negative 3.

46
00:03:47,240 --> 00:03:53,700
‫So we take our 4 minus are negative 3 will give us the press or button a value of 7.

47
00:03:54,200 --> 00:04:00,650
‫And if we also do a 1 0 0 1 0 0.

48
00:04:01,490 --> 00:04:05,970
‫This will give us all zeros on her or on a result register suppressed in the exit queue.

49
00:04:06,020 --> 00:04:13,010
‫We now Chrisette and by lowering all zeros in the last operation we have our opcodes is a 1 0 1 operation

50
00:04:13,460 --> 00:04:16,020
‫which is going to take and put everything to a 1.

51
00:04:16,040 --> 00:04:20,660
‫And since we're representing these values and signed notation it is going to be equal to a negative

52
00:04:20,660 --> 00:04:24,730
‫one because all ones and twos complement form is a negative one.

53
00:04:24,740 --> 00:04:30,180
‫So we're setting up code to 1 0 1 Pressing as a cue.

54
00:04:30,290 --> 00:04:34,830
‫We now have the value of a negative one in our result register.

55
00:04:35,000 --> 00:04:39,440
‫And this is a demonstration of the Alieu running on the basis three board.

