mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
26da232cbd
Provide a simple example simulator for people porting to new targets to use as a reference. This one has the advantage of being used by people and having a fun program available for it. It doesn't require a special target -- the example simulators can be built for any existing port.
14 lines
118 B
ArmAsm
14 lines
118 B
ArmAsm
# check the RET insn.
|
|
# mach: example
|
|
|
|
.include "testutils.inc"
|
|
|
|
start
|
|
JMP 13
|
|
pass
|
|
|
|
SET r5, 2
|
|
PUSH r5
|
|
RET
|
|
HALT
|