Debian Codegraph @

check/public-tests/instructions_g_t.c

raw
1 /*
2 * FCML - Free Code Manipulation Library.
3 * Copyright (C) 2010-2020 Slawomir Wojtasiak
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20 #include <fcml_assembler.h>
21 #include "instructions_g_t.h"
22 #include "instructions_base_t.h"
23
24 fcml_bool fcml_tf_instructions_g_suite_init(void) {
25 return FCML_TRUE;
26 }
27
28 fcml_bool fcml_tf_instructions_g_suite_cleanup(void) {
29 return FCML_TRUE;
30 }
31
32 void fcml_tf_instruction_GETSEC(void) {
33 FCML_I3264( "getsec", 0x0F, 0x37 );
34 FCML_A64( "getsec", 0x0f, 0x37 );
35 }
36
37 fcml_stf_test_case fctl_ti_instructions_g[] = {
38 { "fcml_tf_instruction_GETSEC", fcml_tf_instruction_GETSEC },
39 FCML_STF_NULL_TEST
40 };
41
42 fcml_stf_test_suite fctl_si_instructions_g = {
43 "suite-fctl_ti_instructions_g", fcml_tf_instructions_g_suite_init, fcml_tf_instructions_g_suite_cleanup, fctl_ti_instructions_g
44 };