1 / 4

实验一 存储器读写实验

实验一 存储器读写实验. 一、实验目的. 熟悉静态 RAM 读写数据编程方法。. 二、实验内容 对指定地址区间的 RAM(2000H~27FDH) 先进行写数据 55AAH , 然后将其内容读出再写到 3000H~33FEH 中。. 三、实验步骤 ( 运行实验程序 ) 1 、联机时,实验程序文件名为 DVCCH8EXEH812S.EXE 。 2 、单机时,实验程序起始地址为 F000 : 9700 。 在系统显示监控提示符“ P.” 时: 输入 F000 按 F1 键

gretel
Download Presentation

实验一 存储器读写实验

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 实验一存储器读写实验 一、实验目的 熟悉静态RAM读写数据编程方法。 二、实验内容 对指定地址区间的RAM(2000H~27FDH)先进行写数据55AAH, 然后将其内容读出再写到3000H~33FEH中。

  2. 三、实验步骤(运行实验程序) 1、联机时,实验程序文件名为\DVCC\H8EXE\H812S.EXE。 2、单机时,实验程序起始地址为F000:9700。 在系统显示监控提示符“P.”时: 输入F000 按F1键 输入9700 按EXEC键 稍后按RESET键退出,用存储器读写方法检查2000H~3000H中的内容应都是55AA。

  3. 四、实验参考程序 CODE SEGMENT ASSUME CS:CODE ORG 1700h START: MOV AX,0H MOV DS,AX MOV BX,2000H MOV AX,55AAH MOV CX,03FFH RAMW1: MOV DS:[BX],AX ADD BX,0002H LOOP RAMW1

  4. MOV AX,2000H MOV SI,AX MOV AX,3000H MOV DI,AX MOV CX,03FFH CLD REP MOVSB JMP $ CODE ENDS END START

More Related