﻿1
00:00:05,210 --> 00:00:13,730
‫Welcome to the new Them station on the RTG 7 board we have four different four digit 770 displays on

2
00:00:13,730 --> 00:00:14,920
‫the breadboard.

3
00:00:14,960 --> 00:00:23,180
‫The first one that it says I want is by we have input for the Alieu the signal we have and put B.

4
00:00:23,670 --> 00:00:29,100
‫And the bottom two are used to represent the result of our earth take launching unit.

5
00:00:29,240 --> 00:00:36,950
‫We also are tying each of the different segments through a 56 resistor into the J.

6
00:00:36,950 --> 00:00:39,750
‫P Mom port of the RTG 7.

7
00:00:40,300 --> 00:00:49,940
‫All the digits are controlled through 16 and then two and three or four transistors with a 470 ohm resistor

8
00:00:50,150 --> 00:00:55,900
‫connected into the chip kit header on the RTC 7.

9
00:00:55,910 --> 00:01:02,420
‫We also have three external slides switches that are used as the opcode for the Alieu.

10
00:01:02,690 --> 00:01:09,050
‫We have our switch one which we're using for the add or subtract we have our switch 0 which is used

11
00:01:09,050 --> 00:01:11,140
‫to select the different digits.

12
00:01:11,270 --> 00:01:20,110
‫And we have different buttons buttons 0 1 and 2 are either adding or subtracting 1 10 and 100 and our

13
00:01:20,120 --> 00:01:24,480
‫button 3 is used to execute this arithmetic logic unit.

14
00:01:24,560 --> 00:01:31,270
‫So start out let's go ahead and start setting values or inputs A and B.

15
00:01:31,700 --> 00:01:39,130
‫So if we start we're going to we're starting our input B and if I change my switch one down or so.

16
00:01:39,190 --> 00:01:39,930
‫Exactly.

17
00:01:40,100 --> 00:01:42,800
‫So here I have a negative one negative to 3.

18
00:01:42,800 --> 00:01:44,120
‫So on and so forth.

19
00:01:44,120 --> 00:01:53,010
‫So I set this up to positive for and we're going to go ahead and now change the value on our input.

20
00:01:53,330 --> 00:01:55,380
‫So slight up or switch 0.

21
00:01:55,700 --> 00:02:01,550
‫And just like with the with arm would be we can make it negative or positive which will go to a negative

22
00:02:01,550 --> 00:02:02,470
‫value.

23
00:02:02,540 --> 00:02:05,430
‫So make it a negative 3.

24
00:02:06,130 --> 00:02:13,700
‫So right now in order to test our aone you we are going to perform different operations and there's

25
00:02:13,700 --> 00:02:19,720
‫a control through the opcode instructions which are on these three slide switches.

26
00:02:19,750 --> 00:02:22,590
‫So the first opcode is 0 3 zeroes.

27
00:02:22,590 --> 00:02:23,310
‫So what set it.

28
00:02:23,310 --> 00:02:31,370
‫So we have all reset to zero and this up card is going to take the value and place it in our result

29
00:02:31,370 --> 00:02:32,290
‫register.

30
00:02:32,360 --> 00:02:36,160
‫So pressing button three will see there are some negative 3.

31
00:02:36,230 --> 00:02:39,250
‫Result is a negative 3 as well.

32
00:02:39,350 --> 00:02:45,230
‫Our next is we're in a place we go 0 0 1 is going to take the value.

33
00:02:45,290 --> 00:02:51,570
‫We place it in our all register so are pressing the button see that our form now moved.

34
00:02:51,590 --> 00:03:03,560
‫The result register the next is 0 1 0 2 0 1 0 and this operation is going take a plus b.

35
00:03:03,590 --> 00:03:07,780
‫So if we take a negative three plus four is a positive one.

36
00:03:08,030 --> 00:03:12,980
‫Press a button and we see a result register as a value of positive one.

37
00:03:12,980 --> 00:03:13,690
‫Now we get Z.

38
00:03:13,820 --> 00:03:19,300
‫Our next stop is 0 1 1.

39
00:03:19,400 --> 00:03:22,770
‫This operation is going to take a minus B.

40
00:03:23,150 --> 00:03:29,470
‫So if you press a button three We'll see if we take are negative 3 and 6 x 4 will do negative 7.

41
00:03:29,630 --> 00:03:37,280
‫So this is shown in our result register of this Alieu And we also have several other instructions have

42
00:03:37,290 --> 00:03:47,230
‫a 1 0 0 0 1 0 0 press a button.

43
00:03:47,360 --> 00:03:51,800
‫We set our Or rather our Procrit to Sir all to zeros.

44
00:03:51,950 --> 00:03:55,700
‫If we go with a 1 0 1 1

45
00:03:58,430 --> 00:04:03,380
‫0 1 this is going to set all the values to 1.

46
00:04:03,380 --> 00:04:09,550
‫Now these are sine values that's going to create a negative 1 values by pressing button 3 you'll see

47
00:04:09,570 --> 00:04:12,600
‫we have a negative one show up in our product register.

48
00:04:12,850 --> 00:04:16,540
‫And so this is just a demonstration of how you can work.

49
00:04:16,590 --> 00:04:18,690
‫And these are kids who went through.

50
00:04:18,800 --> 00:04:22,630
‫You can add as many different instructions as you want to your age.

51
00:04:22,830 --> 00:04:28,000
‫Are you now we only have three digits allocated for up to.

52
00:04:28,670 --> 00:04:31,400
‫So we can only do up to eight different commands.

53
00:04:31,430 --> 00:04:38,320
‫But if you'd make a larger OP could decide you could do a lot more different a lot more commands.

54
00:04:38,320 --> 00:04:42,980
‫So this an example of the Alieu running on RTC 7 on board.

