ugBASIC 1.18
An isomorphic BASIC language compiler for retrocomputers
Loading...
Searching...
No Matches
bank_get.c File Reference
#include "../../../ugbc.h"

Go to the source code of this file.

Functions

Variablebank_get (Environment *_environment)
 Emit ASM code for instruction = BANK( ).

Function Documentation

◆ bank_get()

Variable * bank_get ( Environment * _environment)

Emit ASM code for instruction = BANK( ).

This function outputs the ASM code to get the current expansion bank index.

Parameters
_environmentCurrent calling environment
Returns
Current number of the bank selected

Definition at line 52 of file bank_get.c.