mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-19 12:01:45 +03:00
15 lines
225 B
C
15 lines
225 B
C
|
#include "util.h"
|
||
|
#include <stdio.h>
|
||
|
|
||
|
void _start() {
|
||
|
float res [] = {0.0,0.0};
|
||
|
float a=45.4;
|
||
|
float *pointer = &res[0];
|
||
|
|
||
|
asm ( " stw %0,%1(%2) \n"
|
||
|
:
|
||
|
: "r"(a), "i"(sizeof(int)), "r"(pointer));
|
||
|
|
||
|
EXIT();
|
||
|
}
|