11.07.2015 Views

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

PICBASIC PLUS LITE Manual - Profe Saul

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PICBASIC</strong> <strong>PLUS</strong> Compiler5.7. CALLSyntax :Overview :Operators :Example :CALL LabelExecute the assembly language subroutine named label.Label must be a valid label name.‘ Call an assembler routineCALL Asm_SubASMAsm_Sub{mnemonics}ReturnENDASMNotes :See also :The GOSUB command is usually used to execute a BASIC subroutine.However, if your subroutine happens to be written in assembler,the CALL command should be used. The main difference betweenGOSUB and CALL is that when CALL is used, the label’s existenceis not checked until assembly time. Using CALL, a label in an assemblylanguage section can be accessed that would otherwise be inaccessibleto GOSUB. This also means that any errors produced will beassembler types.GOSUB, GOTO33Copyright Crownhill 2001

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!