0% found this document useful (0 votes)
49 views21 pages

Computer Hardware Basics Explained

The document provides an overview of computer hardware, including digital data, Boolean operations, and various programming languages such as machine and assembly language. It includes links to educational videos and resources about microprocessor architecture, CPU operations, and the Little Man Computer model. Additionally, it presents an instruction set for the Little Man Computer and highlights Python as an interpreted language.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views21 pages

Computer Hardware Basics Explained

The document provides an overview of computer hardware, including digital data, Boolean operations, and various programming languages such as machine and assembly language. It includes links to educational videos and resources about microprocessor architecture, CPU operations, and the Little Man Computer model. Additionally, it presents an instruction set for the Little Man Computer and highlights Python as an interpreted language.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

Understanding Computer Hardware

Preliminaries: Digital data and Boolean operations

• [Link]
lUrzyH5r6jN9ulIgZBpdo&index=4
• [Link]
tNlUrzyH5r6jN9ulIgZBpdo&index=5
• [Link]
tNlUrzyH5r6jN9ulIgZBpdo&index=6
[Link]
Computer Hardware Architecture
Machine Language
Assembly Language
Assembly;
COMPILING
Whats inside a microprocessor?
How does CPU works
• [Link]
• [Link]
NlUrzyH5r6jN9ulIgZBpdo&index=8
Instruction cycle animation:

FETCH-DECODE_EXECUTE

• [Link]
teps/49284
Little Man computer: A von neuman machine

[Link]
[Link]
Little Man computer: A von neuman machine

[Link]
[Link]
Little Man Computer Instruction Set

Mnemonic Code Numeric Code Instruction


INP 901 Input data
ADD 1XX Add data
SUB 2XX Subtract data
STA 3XX Store data
LDA 5XX Load data
BRA 6XX Branch to specified cell
BRZ 7XX If 0, branch to a specified cell
BRP 8XX If 0 or positive, branch to a specified cell
OUT 902 Output data
HLT HLT Break execution
DAT Treat content as data
XX is the cell number in the memory compartment.
Example Code
NP
INP INP STA A
INP
STA 20 STA A STA B
OUT OUT LDA A
HLT HLT ADD B
OUT
A DAT HLT
A DAT
B DAT
Python is an Interpreted
language
Memories

• [Link]
• [Link]

You might also like