test.asm

来自「51单片机内核vhdl实现 xilinx平台的」· 汇编 代码 · 共 89 行

ASM
89
字号
; ******************************************************************* ;

;  Copyright (c) 1999  Evatronix S.A.                                 ;

; ******************************************************************* ;

;  Please review the terms of the license agreement before using      ;

;  this file. If you are not an authorized user, please destroy this  ;

;  source code file and notify Evatronix S.A. immediately that you    ;

;  inadvertently received an unauthorized copy.                       ;

; ******************************************************************* ;

; ------------------------------------------------------------------- ;

; Project name         : C8051, R8051

; Project description  : Synthesizable HDL Core of Microcontroller Unit

;

; File name            : OP_00.ASM

; File contents        : Operation code 0x00 test

; Purpose              : NOP

; Design Engineer      : D.L.

; Quality Engineer     : M.B.

; Test version         : 1.00

; Last modification    : 1999-05-15

; ------------------------------------------------------------------- ;

	ORG	0000H

INIT:	MOV	DPL,#00H

	MOV	DPH,#00H

	MOV	PSW,#00H

START:

	MOV	A,PSW

	MOVX	@DPTR,A		; View PSW

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP

	NOP	

STOP:

	SJMP	$

	END

; ******************************************************************* ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?