mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-23 13:33:56 +00:00
Implement periodt variant of instructions.
This commit is contained in:
10
tests/PowerAnalyse/add-cond.cpp
Normal file
10
tests/PowerAnalyse/add-cond.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
int add(int a, int b)
|
||||
{
|
||||
int c = a + b;
|
||||
return c == 0 ? 50000 : c;
|
||||
}
|
||||
|
||||
extern "C" int _start()
|
||||
{
|
||||
return add(1, 2);
|
||||
}
|
BIN
tests/PowerAnalyse/add-cond.elf
Normal file
BIN
tests/PowerAnalyse/add-cond.elf
Normal file
Binary file not shown.
Reference in New Issue
Block a user