Lec 19 Hack Assembly Programming – I (Arif Butt @ PUCIT)

 

Review of Hack Computer Assembly Instructions, Hack Assembly Programs, A Hello World in Hack assembly, Hack CPU Emulator, Demo, Program Termination

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 20 Hack Assembly Programming – II (Arif Butt @ PUCIT)

 

Recap previous lecture, Symbols in Hack Assembly Language, Built-in Symbols, Label Symbols, Variable Symbols, Branching, Iteration, with examples.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 21 Hack Assembly Programming – III (Arif Butt @ PUCIT)

 

Review of Hack Assembly Programs, Pointers and Arrays, Input / Output Instructions, Debugging, Review of Hack Assembly Programs, Pointers and Arrays, Input / Output Instructions, Debugging.

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 22 Data Path of Hack CPU – I (Arif Butt @ PUCIT)

 

Von Neumann Architecture, Flow of Information inside Computers, Buses, Data Bus, Address Bus, Control Bus, Fetch Execute Cycle, Fetch Execute Clash, Harvard Architecture

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 23 Data Path of Hack CPU – II (Arif Butt @ PUCIT)

 

Review of Hack Computer Architecture, Hack CPU Interface, Hack CPU Implementation, Input/output and Operations of Hack ALU, Control Logic of Hack CPU

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 24 Design of Hack Computer (Arif Butt @ PUCIT)

 

Recap of Hack Computer Architecture, Implementation of Hack CPU Chip (CPU.hdl), Implementation of Hack Memory Chip (Memory.hdl), RAM16 chip (RAM16K.hdl), Screen chip (Screen.hdl), Keyboard chip (Keyboard.hdl), Implementation of Hack ROM Chip (ROM32K.hdl), Implementation of Hack Computer Chip (Computer.hdl)

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 25 Design of Hack Assembler (Arif Butt @ PUCIT)

 

What is an Assembler? How does an Assembler work? Hack Machine Language Specification, Demo of Built-in Hack Assembler, Design of Hack Assembler (w/o Symbols), Design of Hack Assembler (with Symbols), Hack Assembler Implementation in C , Executing Hack Machine Code on Hack Computer Chip in h/w Simulator and CPU Emulator

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 26 Evolution of Intel Microprocessors (Arif Butt @ PUCIT)

 

Intel 4004 (1971), Intel 8008, Intel 8080, Intel 8086 (x86), Intel 80286, Intel 80386, Intel 80486, Intel 80586 (Pentium P5), Intel 80686 (Pentium P6), Intel Core (2006), Intel Nehalam (2008), Intel Sandy Bridge, Intel Ivy Bridge, Intel Haswell, Intel Broadwell, Intel Sky Lake, Intel Kaby Lake, Intel Coffee Lake, Intel Coffee Lake Refresh, Intel Comet Lake (2019)

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/

Lec 27 On Improving Processors Performance (Arif Butt @ PUCIT)

 

CPU Performance Equation, Single Cycle vs Multi Cycle CPU Architecture, Pipelined CPU Architecture, Pipeline Stages, Even vs Uneven pipelined stages, Pipelined Hazards, Solutions of Pipeline Hazards, CISC vs RISC Architecture

Email: arif@pucit.edu.pk

Web: http://www.arifbutt.me/

Sample Codes/Resources: https://bitbucket.org/arifpucit/coal-repo/src/