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

Go to the source code of this file.

Functions

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

Function Documentation

◆ bank_get_count()

Variable * bank_get_count ( Environment * _environment)

Emit ASM code for instruction = BANK COUNT.

This function outputs the ASM code to get the resident memory number of banks.

Parameters
_environmentCurrent calling environment
Returns
Current number of banks present.

Definition at line 46 of file bank_get_count.c.