git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/libc/asm/mos6502/_temp.s

      1 ; REGTEMP stack for temporaries used by SDCC
      2 ; Keep this in sync with NUM_TEMP_REGS in mos6502/gen.c
      3 ;
      4 ; Note: This has been patched by GBDK, to include variables in _ret01.s, _ret23.s, _ret4567.s
      5 ; This is to ensure a continuous section of temporaries to simplify interrupt handling.
      6 ;
      7 	.area	_ZP (PAG)
      8 ALL_REGTEMPS_BEGIN::
      9 DPTR::  .ds     2
     10 REGTEMP::	.ds	8
     11 ___SDCC_m6502_ret0::
     12         .ds 1
     13 ___SDCC_m6502_ret1::
     14         .ds 1
     15 ___SDCC_m6502_ret2::
     16         .ds 1
     17 ___SDCC_m6502_ret3::
     18         .ds 1
     19 ___SDCC_m6502_ret4::
     20         .ds 1
     21 ___SDCC_m6502_ret5::
     22         .ds 1
     23 ___SDCC_m6502_ret6::
     24         .ds 1
     25 ___SDCC_m6502_ret7::
     26         .ds 1
     27 ALL_REGTEMPS_END::

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.