Mail Archives: djgpp/1997/05/30/14:06:40
| From:  | nospam AT miyares DOT slip DOT duq DOT edu (Real Email in Sig!)
 | 
| Newsgroups:  | comp.os.msdos.djgpp
 | 
| Subject:  | asm compile error w/rhide
 | 
| Date:  | 30 May 1997 07:39:03 GMT
 | 
| Organization:  | Duquesne University, Pittsburgh, PA
 | 
| Message-ID:  | <5mm06n$htn@news.duq.edu>
 | 
| NNTP-Posting-Host:  | miyares.slip.duq.edu
 | 
| Lines:  | 26
 | 
| To:  | djgpp AT delorie DOT com
 | 
| DJ-Gateway:  | from newsgroup comp.os.msdos.djgpp
 | 
The error I get is "invalid 'asm':operand number missing after %-letter"
when I compile the following code:
     __asm__ ("0:\n\t"\
              "movl $0x3da,%edx\n\t"\
              "inb %dx,%al\n\t"\
              "jnz 0b\n\t"\
              "0:\n\t"\
              "inb %dx,%al\n\t"\
              "jz 0b"\
              :                  
              :                   
              : "%eax", "%edx" ); <-- rhide error points here
You can probably guess this is a supposed to be a vertical retrace
function. Could the problem be with my labels?  I saw an example on this
group that used that format... 
I'm using the latest rhide (got it from the homepage about a week ago)
under dos.
Well, thanks for any help.  Post a followup and I'll see it.
-- 
E M A I L :   substitute 'eNn' 'Oh' 'eSs' 'Pee' 'Aay' 'eMm'    
                with 'Kay' 'aRe' 'yoU' 'eSs' 'Tea' 'whY'
- Raw text -