From 4166b832c55505af9f0054361ef6128da27cca4a Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Tue, 25 Dec 2012 15:08:23 -0500 Subject: [PATCH] Added more ARM assembly stubs. --- sr_arm/op_call.s | 56 ++++++++++++++++++++++++++++++++++++++++++++++ sr_arm/op_callsp.s | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 sr_arm/op_call.s create mode 100644 sr_arm/op_callsp.s diff --git a/sr_arm/op_call.s b/sr_arm/op_call.s new file mode 100644 index 0000000..9156a38 --- /dev/null +++ b/sr_arm/op_call.s @@ -0,0 +1,56 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_callb + .type op_callb, %function +op_callb: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_callb, .-op_callb + + .align 2 + .global op_calll + .type op_calll, %function +op_calll: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_calll, .-op_calll + + .align 2 + .global op_callw + .type op_callw, %function +op_callw: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_callw, .-op_callw diff --git a/sr_arm/op_callsp.s b/sr_arm/op_callsp.s new file mode 100644 index 0000000..256f9bb --- /dev/null +++ b/sr_arm/op_callsp.s @@ -0,0 +1,56 @@ +################################################################# +# # +# Copyright 2001 Sanchez Computer Associates, Inc. # +# # +# This source code contains the intellectual property # +# of its copyright holder(s), and is made available # +# under a license. If you do not know the terms of # +# the license, please stop and do not read further. # +# # +################################################################# + + .arch armv6 + .fpu vfp + .text + + .align 2 + .global op_callspb + .type op_callspb, %function +op_callspb: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_callspb, .-op_callspb + + .align 2 + .global op_callspl + .type op_callspl, %function +op_callspl: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_callspl, .-op_callspl + + .align 2 + .global op_callspw + .type op_callspw, %function +op_callspw: + @ args = 0, pretend = 0, frame = 0 + @ frame_needed = 1, uses_anonymous_args = 0 + @ link register save eliminated. + str fp, [sp, #-4]! + add fp, sp, #0 + add sp, fp, #0 + ldmfd sp!, {fp} + bx lr + .size op_callspw, .-op_callspw