TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CARLO MOSTI
from: TIM HUTZLER
date: 1997-12-26 12:26:00
subject: Re: asm CALL doesn`t wor

CM>Salut/Hi Tim Hutzler!
TH>I do a lot of inline assembly programming, but I haven't found a way
TH>to use the CALL with my Borlands 3.0 compiler. The error message
TH>is "undefined symbol" But the symbol is there.
CM>Well, correct me if I'm wrong, but it seems you're calling a
CM>label instead of a procedure the way it's written.
Sure. In assembly that's the way it would be done.
CM>If MyLabel was meant to be a procedure,...
In assembly parlace, it would be called a "subroutine"...
CM>what I suppose is the case since you're calling MyLabel instead of
CM>jumping to it, then write it as a normal C procedure containing
CM>the assembly lines like this:
[...]
Oh, don't make it too easy, Carlo. [grin]
CM>Hope it helps!
I'll mess around with that idea. Thanks.
CM>See ya!
Best regards...
___ Blue Wave/QWK v2.12
--- 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™.