|
ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
|
#include "../../ugbc.h"Go to the source code of this file.
Functions | |
| void | gosub_label (Environment *_environment, char *_label) |
| Emit ASM code for GOSUB [label]. | |
| void | gosub_number (Environment *_environment, int _number) |
| Emit ASM code for GOSUB [number]. | |
| void gosub_label | ( | Environment * | _environment, |
| char * | _label ) |
Emit ASM code for GOSUB [label].
This function can be used to issue a code equivalent to a unconditional jump to an alphanumeric label, previously or subsequently defined, with the syntax of the labels, saving the calling address.
| _environment | Current calling environment |
| _label | Label where to jump to |
| void gosub_number | ( | Environment * | _environment, |
| int | _number ) |
Emit ASM code for GOSUB [number].
This function can be used to issue a code equivalent to a unconditional jump to a numeric label, previously or subsequently defined, with the syntax of the labels, saving the calling address.
| _environment | Current calling environment |
| _label | Label where to jump to |