🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.asm
Article #45

Cross programming ;-)

#45
From: BLE_Maciek
Date: Thu, 29 Dec 2005 14:08
43 lines
1267 bytes
Wymyśliłem coś takiego:

	.org 0

	call M,1F0Eh
	or H
	ld (BC),A
	cp (HL)
	jr dalej
	xor H
dalej:
	adc A,D
	ret NC
	db 0Ah
	ret NZ
	db 74h
	inc B
	call 0EB21h
	push AF
	cp B
	nop
	ld C,H
	call 4121h
	ld L,H
	ld H,C
	db 32
	ld L,L
	ld H,C
	db 32
	ld L,E
	ld L,A
	db 74h
	ld H,C
	dec C
	ld A,(BC)
	nop

Powyższy kod assemblujemy, dajemy plikowi wynikowemu rozszerzenie COM
i uruchamiamy w DOSie.
:->

BTW a może pecety są jednak o na Z80 oparte ? Przecież program który
zamieściłem działa ... ;-)
Technical Details
Message-ID: <jdr7r1144tli0tcbqim88qc082283tvfo2@4ax.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!news.pw.edu.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!news.pw.edu.pl!not-for-mail
From: BLE_Maciek <i80c586@cyberspace_NO_SPAM_.org>
Newsgroups: pl.comp.lang.asm
Subject: Cross programming ;-)
Date: Thu, 29 Dec 2005 15:08:14 +0100
Organization: Warsaw University of Technology
Lines: 43
Message-ID: <jdr7r1144tli0tcbqim88qc082283tvfo2@4ax.com>
NNTP-Posting-Host: s188.iem.pw.edu.pl
Mime-Version: 1.0
X-Trace: julia.coi.pw.edu.pl 1135865446 1775 194.29.147.188 (29 Dec 2005 14:10:46 GMT)
X-Complaints-To: usenet@pw.edu.pl
NNTP-Posting-Date: Thu, 29 Dec 2005 14:10:46 +0000 (UTC)
X-Newsreader: Forte Agent 1.93/32.576 English (American)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit