Drop usage of global directive

This commit is contained in:
GriffinR
2022-09-02 21:53:44 -04:00
parent 0516f94837
commit 97021baec6
2 changed files with 9 additions and 18 deletions
+7 -14
View File
@@ -1,19 +1,16 @@
@ Note: ROM header data is empty space here.
@ It's populated by gbafix using data provided in the Makefile.
.global Start
Start:
Start::
b Init
.global RomHeaderNintendoLogo
RomHeaderNintendoLogo:
RomHeaderNintendoLogo::
.space 156
RomHeaderGameTitle:
.space 12
.global RomHeaderGameCode
RomHeaderGameCode:
RomHeaderGameCode::
.space 4
RomHeaderMakerCode:
@@ -31,8 +28,7 @@ RomHeaderDeviceType:
RomHeaderReserved1:
.space 7
.global RomHeaderSoftwareVersion
RomHeaderSoftwareVersion:
RomHeaderSoftwareVersion::
.byte 0
RomHeaderChecksum:
@@ -43,16 +39,13 @@ RomHeaderReserved2:
.word 0
.global GPIOPortData
GPIOPortData:
GPIOPortData::
.2byte 0
.global GPIOPortDirection
GPIOPortDirection:
GPIOPortDirection::
.2byte 0
.global GPIOPortReadEnable
GPIOPortReadEnable:
GPIOPortReadEnable::
.2byte 0
.2byte 0