1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 07:07:09 +00:00
oot/data/overlays/actors/z_en_mag.data.s
Roman971 53ceea717d
Properly align asm & data (+ minor fixes) (#165)
* Add .align 4 directives to all data/ files (+ minor alignment fixes)

* Use .balign for everything and fix typo
2020-05-26 18:09:00 -04:00

32 lines
791 B
ArmAsm

.include "macro.inc"
# assembler directives
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel En_Mag_InitVars
.word 0x01710600, 0x00000030, 0x014A0000, 0x0000E328
.word EnMag_Init
.word EnMag_Destroy
.word EnMag_Update
.word EnMag_Draw
glabel D_80AA5EC0
.word 0x00000000
glabel D_80AA5EC4
.word 0x00000000
glabel D_80AA5EC8
.word 0x00000000
glabel D_80AA5ECC
.word 0x00000000
glabel D_80AA5ED0
.word 0x17180C18, 0x171D1B18, 0x15150E1B
glabel D_80AA5EDC
.word 0x191B0E1C, 0x1C1C1D0A, 0x1B1D0000
glabel D_80AA5EE8
.word 0x06020000, 0x06020800, 0x06021000, 0x06021800, 0x06022000, 0x06022800, 0x06023000, 0x06023800, 0x06024000, 0x00000000