Register (memory access)
Only the title is displayed. The second chapter is the interaction between registers and constants (numbers).
Storage of words in memory
Assume that the read byte (stream) is read from left to right.
The processing of words is from and to the left.
It's because they are different.
DS and offset address: Common Address acquisition method (CS: IP this is for the program)
Similar to general-purpose registers, but do not use move ds. 1: If there are too few instructions, it is also true (jmp does not save 2 instructions, but N more commands ), it should be related to the instruction process (intel instruction manual, my first response is actually to use a flexible method to modify or use a general method to modify... there are too many Chinese literature in primary school and automatic sublimation)
A similar problem is that direct memory in memory is not allowed (ignore the existence of cpu)
Mov, add, sub Command simple (soy sauce) command
Data Segment: ds indicates a data segment relative to the cs program execution segment.
Stack: advanced post-release structure
I understand that the array structure is inherent, and the stack is a simple structure that processes the array slightly.
CPU provides a stack mechanism (in words)
1. push pop command
2. SS: SP
Stack Segment: SS...
3. Registers (memory access)