Загрузка...

A basic programmable 4-BIT.Digital Logic Sim. Multiply Program then Fibonacci #digitallogic

This is a 4 bit computer I made using @Sébastienlague software. Digital Logic Sim. It has a 4 bit alu 16x 4 bit stack. 16x 4 bit ram And 64x 8 bit program rom There are several other components to make this work but those are the main ones. It is running a loop that clear reg a reg b and ram then multiplies 2 number that I set it to the displays them and the result then runs the fibonacci sequence til it resets. The opp codes and The full program code is below. Comment with your own programs and I'll make a video of them. I am working on an 8 bit version of this same cpu now. Like and Subscribe if like this content. Link to my Discord server: https://discord.com/invite/TBWr3VqYWw Opp codes and ram addresses below. Use the hexadecimal values if you would like to write a program for me to make a video of. 0. 0000 STACK INC UP 1. 0001 STACK INC DOWN 2. 0010 STACK DATA STORED TO REB B 3. 0011 STACK DATA STORED TO REG A 4. 0100 ALU ADD REG A + REG B STACK F STORE 5. 0101 ALU SUB REG A - REG B STACK STORE 6. 0110 STORE RAM DATA TO REG B 7. 0111 STORE RAM DATA TO REG A 8. 1000 STORE RAM DATA TO STACK 9. 1001 ALU ADD A + B STORE TO RAM. A. 1010 ALU SUB A - B STORE TO RAM b. 1011 STORE STACK TO RAM. C. 1100 STACK ZERO JUMP d. 1101 HALT SIGNAL E. 1110 0000 PROGRAM ADDRESS JUMPL. F. 1111 STACK COUNTER RESET RAM 0. 0000 = 0 1. 0001 = 1 2. 0010 = 2 3. 0011 = 3 4. 0100 = 4 5. 0101 = 5 6. 0110 = 6 7. 0111 = 7 8. 1000 = 8 9. 1001 = 9 A. 1010 = b. 1011 = C. 1100 = d. 1101 = E. 1110 = F. 1111 = 0000. 0000 . Instruct. Ram addr Program that is running in the video above. Chunk 1 Multiply 0. 6 3 1. 9 A 2. 6 5 3. 9 b. 4. 7 b 5. 6 1 6. 5 0 7. 7 A 8. 6 C 9. 9 C A. 3 0 B. 6 1 C. C F D. E 6 E. 0 0 F. d 0 Chunk 2 Clear Registers and RAM Multiply 0. 6 0 1. 7 0 2. 9 C 3. E 0 4. 5. 6 7. 8. 9. A. b. C. d. E. F. Chunk 3 Display Multiply Results. 0. 8 A 1. 8 A 2. 8 b 3. 8 b 4. 8 C 5. 8 C 6. 8 C 7. 8 C 8 .E 0 9. A. b. C. d. E. F. Chunk 4. 0. 6 1 1. 7 0 2. 4 0 3. 3 0 4. 4 0 5. 2 0 6. 4 0 7. 3 0 8. 4 0 9. 2 0 A. 4 0 b. 3 0 C. 4 0 d. 2 0 E. F. Like and Subscribe.

Видео A basic programmable 4-BIT.Digital Logic Sim. Multiply Program then Fibonacci #digitallogic автора Базы данных: Масштабирование и партицирование
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки