delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/06/02:02:01

Xref: news2.mv.net comp.os.msdos.djgpp:5693
From: Pin.F.Sun
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Setpixel in AT&T inline asm....
Date: 4 Jul 1996 18:14:55 -0700
Organization: Zippo
Lines: 18
Message-ID: <4rhqaf$h4t@clark.zippo.com>
References: <4rh0g5$m9r AT twain DOT mo DOT net>
NNTP-Posting-Host: wport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <4rh0g5$m9r AT twain DOT mo DOT net>, vecna AT Walden DOT mo DOT net says...
>The immediate problem being, it can't recognize movzx. I can't think of any
>other alias this was be listed as... not to mention I'm really guessing here.
>There's probably tons of other flaws in this routine. (I really don't want to
>get into extended ASM just yet). Also, could someone confirm or correct me
>that a char is a byte, an int is 16 bits? (or is it 32?) geez, what I wouldn't
>give for db, dw, and dd right now.... oh well, thanks in advance.. :)
>

I am having trouble with AT&T assembly as well, I am writing in just to confirm
this is a common problem!  The worst is I can't find any resources around.
Anyway, one thing I can confirm you is 'an int is 32 bit', I did that just with
a small program.

int x=8000000;
printf("%ld ", x);

Pin F. Sun

- Raw text -


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