GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — assembler/p261.ASM at master · lishiyucn/assembler

Expand file tree

/

p261.ASM

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
26 lines (20 loc) · 454 Bytes
/

p261.ASM

Copy path

File metadata and controls

26 lines (20 loc) · 454 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
;在屏幕的第五行12列显示字符串 "welcome to masm!"
assume cs:code
data segment
db 'Welcome to masm','$'
data ends
code segment
start: mov ah,2 ;置光标
mov bh,0 ;第0页
mov dh,5 ;dh中放行号
mov dl,12 ;dl中显示列号
int 10h
mov ax,data
mov ds,ax
mov dx,0 ; ds:dx指向字符串的首地址 data:0 ?这里为什么用dx
mov ah,9 ;在光标位置显示字符串
int 21h
mov ax,4c00h
int 21h
code ends
end start
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.