delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/15/04:30:20

From: "gulgi" <adamskog AT algonet DOT se>
Newsgroups: comp.os.msdos.djgpp,alt.lang.asm
Subject: Re: Converting Assembly
Date: 13 Oct 1997 19:23:14 GMT
Organization: Algonet/Tninet
Lines: 27
Message-ID: <01bcd80e$3a687fc0$420264c3@adamskog>
References: <34419B45 DOT 4F79 AT bellsouth DOT net>
NNTP-Posting-Host: du66-2.ppp.algonet.se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello..
In AT&T you write:
asm("movb %es:(0x1a), %ch");
And.. I even tried it.. It works for me.. ;)

	gulgi


Jeremy Braun <jtbraun AT bellsouth DOT net> skrev i inlägg
<34419B45 DOT 4F79 AT bellsouth DOT net>...
> IF I have a piece of inline assembler from a pascal source file:
> 
> mov ch,es:[1Ah]
> 
> how would I convert that into AT&T style for use with DJGPP?
> -- 
>             ''~``
>            ( o o )
>   ____.oooO__(_)__Oooo.__________
>  /  Jeremy Braun                 \
> [ jtbraun AT bellsouth DOT net           ]
> [  .oooO hoopy-frood AT geocities DOT com]
> [  (   )   Oooo. MHS, CCPSS       ]
>  \__\ (____(   )_________________/
>      \_)    ) /
>            (_/
> 

- Raw text -


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