| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Passing args to assemply |
Hi y'all; Passing C++ variables to assembley can be tricky. Calling a local variable is easy enough, and even accessing pointers is okay. But how does one access a class private data member? Right now, the only way I know how is as in the following: DataType *ArryPtr = &Array; asm MOV SI,ArryPtr asm MOV AX,[SI] Does anyone know a more elegant way? --- Maximus/2 3.01 ---------------* Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.