www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/13/18:34:09

Xref: news2.mv.net comp.os.msdos.djgpp:3802
From: berth AT algonet DOT se (Berth Ljunggren)
Newsgroups: comp.os.msdos.djgpp
Subject: asm in djgpp
Date: Sun, 12 May 1996 07:01:21 GMT
Organization: AlgoNet Public Access Node, Stockholm
Lines: 30
Message-ID: <31958aa0.5069247@news.algonet.se>
Reply-To: berth AT algonet DOT se
NNTP-Posting-Host: aristotle.algonet.se
NNTP-Posting-User: a698261f67aa17663
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello everybody!

Been reading docs on the at&t syntax in assembly,but can't figure it
out!.

Say if i have the folowing program written for the intel(tasm)
syntax,how would this look in at&t syntax?

---------------------------------------------------------------------------
	IDEAL		;Special for turbo assembler
	DOSSEG
	MODEL	SMALL
	RADIX	16
	STACK	10
	CODESEG
START:
	MOV	AH,0
	MOV	AL,13
	INT	10

	MOV	AH,4C
	INT	21
END	START
--------------------------------------------------------------------------
This program switches video mode to mode 13h(320x200x256)
the thing that i dont understand is how the specify segments and stuff
in at&t,this program is ment to be run standalone,no inline asm..

Thanks in advance
 Berth Ljunggren.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019