Description:
研制一台性能如下的实验计算机:
(1) 能使用键盘和打印机两种外设
(2) 运算器采用单累加器多寄存器结构。
(3) 能实现PC相对寻址和变址器变址寻址这两种操作寻址方式,指令系统中有相应的指令。
如: SJMP rel (PC) + rel -> PC
LD A,addr[Rx] (addr + (Rx)) -> A
提示:需要自己设置IAB到IDB的数据缓冲通路
(4) 指令系统中有子程序调用指令(CALL addr)和子程序返回指令(RET).
提示:需要自己设置堆栈。
(5) 能执行将键入的四个以上两位十进制数排序后打印出来(程序自编)。-Development of the performance of a computer experiment is as follows: (1) keyboard and printer can use two types of peripherals (2) computing devices more than a single accumulator register structure. (3) to achieve PC relative addressing and indexing device addressing addressing these two operations, a corresponding instruction in the instruction. Such as: SJMP rel (PC)+ rel-> PC LD A, addr [Rx] (addr+ (Rx))-> A Tip: IAB needs its own set of data to the buffer IDB pathway (4) instruction in subroutine call instructions (CALL addr) and the subroutine return instruction (RET). NOTE: need to set up their own stack. (5) will be able to perform more than four typed a decimal number two ranking after the print out (own procedures). Such as: 66 71 85 99 Platform: |
Size: 226304 |
Author:穆鹏 |
Hits: