File: op_forlcldo.s

package info (click to toggle)
fis-gtm 6.3-014-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 36,680 kB
  • sloc: ansic: 333,039; asm: 5,180; csh: 4,956; sh: 1,924; awk: 291; makefile: 66; sed: 13
file content (36 lines) | stat: -rw-r--r-- 1,304 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#################################################################
#								#
# Copyright (c) 2007-2015 Fidelity National Information 	#
# Services, Inc. and/or its subsidiaries. All rights reserved.	#
#								#
#	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.	#
#								#
#################################################################

	.include "linkage.si"
	.include "g_msf.si"
	.include "debug.si"

	.data
	.extern	frame_pointer

	.text
	.extern	exfun_frame

ENTRY	op_forlcldow
ENTRY	op_forlcldol
ENTRY	op_forlcldob
	subq	$8, REG_SP				# Bump stack for 16 byte alignment
	CHKSTKALIGN					# Verify stack alignment
	movq	frame_pointer(REG_IP), REG64_ARG2
	movq	8(REG_SP), REG64_ACCUM			# Get our return address
	addq    REG64_ARG0, REG64_ACCUM			# Add in return offset parm
        movq	REG64_ACCUM, msf_mpc_off(REG64_ARG2)	# Save as return address for this frame
	call	exfun_frame				# Create new frame
	movq	frame_pointer(REG_IP), REG_FRAME_POINTER # Get updated frame pointer
	movq	msf_temps_ptr_off(REG_FRAME_POINTER), REG_FRAME_TMP_PTR # .. and updated temps pointer
	addq	$8, REG_SP				# Remove our stack alignment bump
	ret