0200.asm.svn-base

来自「在操作系统启动前先启动测试程序,在跳转回去启动系统.需要的朋友可以研究一下,附D」· SVN-BASE 代码 · 共 31 行

SVN-BASE
31
字号
.MODEL tiny
.CODE
	org 200h
hello proc
PassBegin:	  
	push cs
	pop  ds
	mov  di,offset Title1
	call Put_Str
	ret
Put_Str proc
	mov al,cs:[di]
	cmp al,'$'
	je  A1
	mov ah,0eh
	mov bx,0003h
	int 10h
	inc di
	jmp Put_Str
A1:
	ret
Put_Str  endp

Title1 db 0ah,0dh
	   db 'Welcome to use ASM','$'

passtail:
Passlen equ     512-(Passtail-PassBegin)
		db      PassLen dup(0)
hello endp
		end		

⌨️ 快捷键说明

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