move .globals for code.s add missing emptyfiles to obseg

Former-commit-id: 4e31852caa34ebc2f63881b08f277bfeb21cdaa0 [formerly 5139464ee6ce1c127dafbc8ef17000873087768a] [formerly c4a983962ac3ed29ddcb9c00eb74e60743f1d653 [formerly dfcb0aa6202271dae4203489f55ae2fc7b678042]]
Former-commit-id: a0dac1e7035f001e1116a5c4f8c25aa048a3f109 [formerly 1cd9405c8ff8aa0bd704907fac4a3d43a8f6739f]
Former-commit-id: d325e3405eb9f39f27491a4f311d6965355d5d2d
This commit is contained in:
Larry 2017-08-15 15:24:10 -05:00
parent adee6f4d2f
commit 127b955632
7 changed files with 6 additions and 4 deletions

View File

@ -1 +1 @@
a8a7cb54c9b61ac32e5fb7c96ef54f270b8a51c1
f0767ce56e8eda07d3daa42b84323aa64b2caaff

View File

@ -1,4 +1,5 @@
.macro get_value name, value
.global get_\name
get_\name:
lui $v0, %hi(\value)
jr $ra
@ -6,6 +7,7 @@ get_\name:
.endm
.macro jump_via_reg location, register=$a3
.global jump_\location
jump_\location:
lui \register, %hi(\location)
addiu \register, \register, %lo(\location)

View File

View File

View File

@ -1 +1 @@
40a14b44fd67ecdfe51c0945051a04588136320f
948719a3113b23287108dd20116ea649a52ae3fe

View File

@ -1 +1 @@
a4ceb469053ac4efd66cb0f157ababee045581ea
ead7ebb1e8603eb353d270d246b30cf12102c1b5

View File

@ -1 +1 @@
812d768d0798d0efc127fae1c5c2f59d00aa3da4
9327d6e033e8bc73d638e2daf83434f4c511f147