Mail Archives: djgpp/1996/09/25/17:28:18
> > Firstly, how do I represent HEX and binary numbers. Normally I would do
> > somthinge like 10h(for hex) and 1011001b(for binary). I also
> I use 0x10 = 16 decimal
Use 0b0000 for binary.
> You need TWO % signs to access the registers. ie:
> movw %0, %%ax;
> movb $0, %%ah;
> int 0x10;
Note though -- you only need two % signs if you're using extended asm (ie,
using the ':' to designate input/output/clobbered registers).
Scott
- Scott Egashira -----------------------------------------------------------
"Sometimes I wish I was asleep / And you were just another sheep..."
- "Help Yourself", The Posies
----------------------------------------------- egashira AT ms DOT washington DOT edu -
- Raw text -