mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
23 lines
394 B
ArmAsm
23 lines
394 B
ArmAsm
! Simple example with assembler-generated .cranges that do not need more
|
|
! .cranges added by the linker: A single section with SHmedia, constants
|
|
! and SHcompact.
|
|
.section .text.mixed,"ax"
|
|
.align 2
|
|
! Make sure this symbol does not have the expected type.
|
|
.mode SHcompact
|
|
.global diversion2
|
|
diversion2:
|
|
|
|
.mode SHmedia
|
|
start2:
|
|
nop
|
|
nop
|
|
nop
|
|
|
|
.long 42
|
|
.long 43
|
|
|
|
.mode SHcompact
|
|
nop
|
|
nop
|