⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 first.asm

📁 自己编写的一个简单的操作系统
💻 ASM
字号:
;=============================================================================
;        Kitnix   ver 0.01
;					Write by Kit
;					2008-10-31
;
;		
;		First.asm
;			Echo a String on the screen
;=============================================================================

;%define _BOOT_DEBUG_

org 0100h
	mov ax, cs
	mov ds, ax
	mov es, ax
	mov ax, Message
	mov bp, ax
	mov cx, 28
	mov ax, 01301H
	mov bx, 000CH
	mov dh, 13
	mov dl, 10
	int 10h

%ifdef _BOOT_DEBUG_
	mov ax, 4c00H
	int 21H
%else	
	jmp 09000H:0100H
%endif

Message: db "This is the first program.", 13, 10
;MessageLength dw 28

⌨️ 快捷键说明

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