Forum: Assembly 18 Days Ago |
| Replies: 2 Views: 390 You don't need line 18 or line 25 as getenv only takes one argument, that being a string pointer.
I generally like using kernel32 library functions and in this case may work for you
... |
Forum: Assembly Dec 24th, 2007 |
| Replies: 6 Views: 1,599 Maybe consider writing a small boot loader and use BIOS calls instead. Most of the functionality you need is provided by any of the PC BIOS's. That way you are completely independent of any... |
Forum: Assembly Nov 19th, 2007 |
| Replies: 2 Views: 1,445 tryinvoke RegOpenKeyEx HKEY_LOCAL_MACHINE, ADDR szRegSubKey, NULL, KEY_ALL_ACCESS, ADDR hKey) |
Forum: Assembly Oct 10th, 2007 |
| Replies: 3 Views: 4,012 I see what you mean in respect to the first example and the only conclusion I can come too is although new processors are backward compatible, but there are problems when attempting to use the high... |
Forum: Assembly Aug 10th, 2007 |
| Replies: 10 Views: 5,082 #1: When you move 85 55H into Fenster your result will be two ascii digits. What you've done is added 48 to 85 and then 48 to your terminator $. This might help you out
Fenster db 85, 0,... |
Forum: Assembly Jul 22nd, 2007 |
| Replies: 10 Views: 5,082 I'll be away for a bit so I'll give you the snippet regardless. This is written for an XP based machine, but I'm sure you'll be able to improvise.
push edi
mov al,30H ; Ascii equivalent to "0"... |
Forum: Assembly Jul 22nd, 2007 |
| Replies: 10 Views: 5,082 If you really get stuck I can post a short snippet on the example Ancient Dragon gave you. Just to clarify you are using NASM on an intel based machine that uses Linux. The reason I ask is that I'm... |
Forum: Assembly Jul 22nd, 2007 |
| Replies: 10 Views: 5,082 If your application is pure assembly then the way AncientDragon explained it is the only way unless you use BCD or want to display result in decimal. A lot of applications I do are for windows... |