| delorie.com/archives/browse.cgi | search |
| From: | "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Help with Inline ASM... |
| Date: | Fri, 14 Apr 2000 09:00:13 +0400 |
| Organization: | MTU-Intel ISP |
| Lines: | 19 |
| Message-ID: | <38F6A5DD.BE4550F8@mtu-net.ru> |
| References: | <3 DOT 0 DOT 6 DOT 32 DOT 20000413223445 DOT 007be930 AT pop DOT crosswinds DOT net> |
| NNTP-Posting-Host: | ppp98-33.dialup.mtu-net.ru |
| Mime-Version: | 1.0 |
| X-Trace: | gavrilo.mtu.ru 955688456 1114 212.188.98.33 (14 Apr 2000 05:00:56 GMT) |
| X-Complaints-To: | usenet-abuse AT mtu DOT ru |
| NNTP-Posting-Date: | 14 Apr 2000 05:00:56 GMT |
| X-Mailer: | Mozilla 4.61 [en] (Win95; I) |
| X-Accept-Language: | en,ru |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Make your ASM module external function instead of built-in piece of code. And then assembly it with NASM. NASM will help you to modify that number. But don't put something like: mov [cs:number], value use mov [ds:number], value since you're in PMode with flat memory model. Good Luck Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |