1
0
mirror of https://github.com/danog/ir.git synced 2024-12-04 18:49:09 +01:00
ir/tests/debug.x86/ijmp_001.irt
2022-11-08 11:56:22 +03:00

16 lines
182 B
Plaintext

--TEST--
001: IJMP - computed goto
--TARGET--
x86
--ARGS--
-S
--CODE--
{
l_1 = START(l_2);
uintptr_t p = PARAM(l_1, "p", 1);
l_2 = IJMP(l_1, p);
}
--EXPECT--
test:
jmpl *4(%esp)