1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
Machine Language, Assembly, Assembler
Assembly is a symbolic representation of machine language instructions, which is in binary representation. The assembler translates assembly into machine language.
Is this command valid? D=!D;JEQ
Yes
A, D, PC registers. and “M”.
A-register stores a 16-bit value, typically used as a memory address or constant.
D-register stores a 16-bit value.
PC-register stores (15-bit) the address of the next instruction in ROM.
M refers to RAM[A].
RAM, ROM, Registers, ALU, PC
RAM = data memory
ROM = instructions memory (given, can’t be changed / read-only)
Registers = PC, A,D (M refers to register whose address is stored in A-register)
ALU = processing various functions
stored program concept
The program is stored in the memory like the data, and can be manipulated.
CPU?
includes the ALU, registers, and a logic to decode instructions.