What is computer and software
- Fumiomi Samejima

- Apr 11, 2020
- 1 min read
How do computers read code?
Assembly language and machine code - Gary explains!
What is a kernel - Gary explains
Machine Language
Machine code
CPU can only interpret so called Machine Language.
Machine code is very low level language and can do the limited amount of instructions.
Every processor or processor family (CPU) has its own instruction set.
Instruction types such as:
Data handling and memory operations
Arithmetic and logic operations
Control flow operations
Coprocessor instructions
Instruction set architecture
See How a CPU Works
Assembly language
Machine Language is translated into so called Assembly Language, which is a little more human understandable code, so that human can make some more complex program.
In computer programming, assembly language (or assembler language), often abbreviated asm, is any low-level programming language in which there is a very strong correspondence between the instructions in the language and the architecture's machine code instructions.
Each assembly language is specific to a particular computer architecture and sometimes to an operating system. An assembler program creates object code by translating combinations of mnemonics and syntax for operations and addressing modes into their numerical equivalents. This representation typically includes an operation code ("opcode") as well as other control bits and data.
To understand Operating system, below video may help.
Basics of OS (I/O Structure)
Operating System Services
Basics of OS (Storage Structure)
I/O systems in Operating Systems | Device Drivers | Interrupt Polling
MIT 6.004 L21: Operating Systems: I/O and System Calls
MIT: Introduction to Computer Science and Programming in Python

Comments