1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 14:31:17 +00:00

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
This commit is contained in:
Roman971 2020-05-27 00:09:00 +02:00 committed by GitHub
parent ba0e57eecd
commit 53ceea717d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
979 changed files with 3631 additions and 1894 deletions

View file

@ -3,10 +3,12 @@
# 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 purposee registers
.set gp=64 # allow use of 64-bit general purpose registers
.section .data
.balign 16
glabel D_80B043C0
.word 0xFFFF0000, 0x00000000, 0x00000400, 0xFFFFFFFF, 0x00010000, 0x00000000, 0x04000400, 0xFFFFFFFF, 0x00010064, 0x00000000, 0x04000000, 0xFFFFFFFF, 0xFFFF0064, 0x00000000, 0x00000000, 0xFFFFFFFF, 0xE7000000, 0x00000000, 0xD7000000, 0x00000000, 0xFCFFFFFF, 0xFFFFFEFB, 0xE200001C, 0xC8112078, 0xD9F1FBFF, 0x00000000, 0xFA000000, 0xFFFFFFFF, 0x01004008
.word D_80B043C0