Shmulik-Transparent

DesertPenguin.org

Andrew J. Brehm's Internet Home Page

fathello.asm

USE16

ORG 100h


JMP SHORT 105h ;length: 2

; JP 110h

DB 0C3h,10h,1 ;length: 3

;total length: 5


msdos: ;absolute address: 100h+5=105h

MOV DX,11Dh ;length: 3

MOV AH,9 ;length: 2

INT 21h ;length: 2

MOV AH,0 ;length: 2

INT 21h ;length: 2

;total length: 11


cpm: ;absolute address: 100h+5+11=110h

; LD DE,11Dh

DB 11h,1Dh,1 ;length: 3

; LD C,9

DB 0Eh,9 ;length: 2

; CALL 5

DB 0CDh,5,0 ;length: 3

; LD C,0

DB 0Eh,0 ;length: 2

; CALL 5

DB 0CDh,5,0 ;length: 3

;total length: 13


hello: ;absolute address: 100h+5+11+13=11Dh

DB 'Hello, world!',13,10,'$'


8 Mar 2015
© Andrew Brehm 2016

AltStyle によって変換されたページ (->オリジナル) /