1 /* Assembly helper routines for the emulation SRM console.
3 Copyright (C) 2011 Richard Henderson
5 This file is part of QEMU PALcode.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the text
15 of the GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING. If not see
19 <http://www.gnu.org/licenses/>. */
24 .cfi_sections .debug_frame
26 #define SAVE_ALL_SIZE (18*8)
29 .type entInt, @function
35 .cfi_rel_offset $gp, 16
36 .cfi_rel_offset $16, 24
37 .cfi_rel_offset $17, 32
38 .cfi_rel_offset $18, 40
39 lda $sp, -SAVE_ALL_SIZE($sp)
40 .cfi_adjust_cfa_offset SAVE_ALL_SIZE
60 .cfi_rel_offset $0, 0*8
61 .cfi_rel_offset $1, 1*8
62 .cfi_rel_offset $2, 2*8
63 .cfi_rel_offset $3, 3*8
64 .cfi_rel_offset $4, 4*8
65 .cfi_rel_offset $5, 5*8
66 .cfi_rel_offset $6, 6*8
67 .cfi_rel_offset $7, 7*8
68 .cfi_rel_offset $8, 8*8
69 .cfi_rel_offset $19, 9*8
70 .cfi_rel_offset $20, 10*8
71 .cfi_rel_offset $21, 11*8
72 .cfi_rel_offset $22, 12*8
73 .cfi_rel_offset $23, 13*8
74 .cfi_rel_offset $24, 14*8
75 .cfi_rel_offset $25, 15*8
76 .cfi_rel_offset $26, 16*8
77 .cfi_rel_offset $27, 17*8
78 .cfi_rel_offset $28, 18*8
80 bsr $26, do_entInt !samegp
101 lda $sp, SAVE_ALL_SIZE($sp)
102 .cfi_adjust_cfa_offset -SAVE_ALL_SIZE
126 .size entInt, . - entInt