如何设计CPU?
存储器---->寄存器
REGIST int x;
MIPS 20条 RISC
8086 CPU 1-6B CISC
#include<stdio.h>
int main()
{
printf("Hello World");
return 0;
}
DATA SEGMENT
TAB DB 'Hello World$'
DATA ENDS
CODE SEGMENT
ASSUME CS:CODE,DS:DATA
START:
MOV AX,DATA
MOV DS,AX
MOV DX,OFFSET TAB
MOV AH,09H
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START