| www.delorie.com/archives/browse.cgi | search |
| From: | dante AT ctonline DOT it (Roberto) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | ASM with DJGPP |
| Date: | Sun, 28 Jun 1998 09:35:33 GMT |
| Organization: | Centro Servizi Interbusiness |
| Lines: | 8 |
| Message-ID: | <35960c15.2096193@news.interbusiness.it> |
| Reply-To: | dante AT ctonline DOT it |
| NNTP-Posting-Host: | 194.243.71.107 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
I have two question:
1) How can I refer to local variable in inline asm ?
If I have a global Variable I do it so:
int i;
main() {
asm("mov _i, %ax");
}
2) How can i write the istruction mov ss:[bp] in Djgpp ?
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |