TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: TIM HUTZLER
from: CARLO MOSTI
date: 1998-01-06 23:49:00
subject: Re: asm CALL doesn`t wor

Salut/Hi Tim Hutzler!
 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.
 TH> Sure. In assembly that's the way it would be done.
   Well if you're calling a subroutine, you dont jump to it like
when you straight to a label, that's what I meant... Jumping to a
label it's like a GOTO in Basic and calling a subroutine it's
similar call to GOSUB in Basic, which is not the same...
 CM>If MyLabel was meant to be a procedure,...
 TH> In assembly parlace, it would be called a "subroutine"...
   So that means you understand what I meant! :) You're right about
that, I normally speak in french, so I can miscall a term sometime,
but I think procedure is not bad term cause when you right assembly
you write like:
Test  Proc  Near
      Mov ah,9
      Mov bl,10
Test  Endp
   "Proc", it means what it means, doesn't it!
 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:
 TH> Oh, don't make it too easy, Carlo. [grin]
   Sorry... :)
 
              See ya! Happy New Year 98!
--- GEcho 1.11+
---------------
* Origin: -=[ POPA SBE // Ste-Therese // 430-0251 * 430-1524 ]=- (1:242/801)

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™.