Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
volatile int n; | |
int main() | |
{ | |
n = 29; | |
while (n != 1) | |
if (n % 2 == 1) | |
n = 3*n + 1; | |
else | |
n = n/2; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failed to synchronize cache for repo 'rpmfusion-nonfree' from 'http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-22&arch=x86_64': Cannot prepare internal mirrorlist: No URLs in mirrorlist, disabling. | |
Last metadata expiration check performed 1:58:06 ago on Wed May 13 14:51:20 2015. | |
Dependencies resolved. | |
============================================================================================================================================ | |
Package Arch Version Repository Size | |
============================================================================================================================================ | |
Installing: | |
kernel x86_64 4.0.2-300.fc22 updates-testing 64 k | |
kernel-core x86_64 4.0.2-300.fc22 updates-testing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.syntax unified | |
.thumb | |
#include <sys/syscall.h> | |
.section .text | |
.global _start | |
.thumb_func | |
_start: | |
/* write(1, "hello, world", 13) */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.syntax unified | |
.thumb | |
.data | |
out: | |
.space 10*4 | |
semihost_arg: | |
.space 4*4 | |
.text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX=$HOME/qemu-arm | |
export PATH=$PREFIX/bin:$PATH | |
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extraldflags="-Wl,--build-id"; | |
buildldflags="VL_LDFLAGS=-Wl,--build-id" | |
./configure \ | |
--prefix=$HOME/qemu-arm \ | |
--disable-werror \ | |
--disable-strip \ | |
--enable-fdt \ | |
--disable-xen \ | |
--target-list=arm-softmmu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extraldflags="-Wl,--build-id"; | |
buildldflags="VL_LDFLAGS=-Wl,--build-id" | |
./configure \ | |
--prefix=$HOME/qemu-stm32 \ | |
--disable-werror \ | |
--disable-strip \ | |
--enable-fdt \ | |
--disable-xen \ | |
--target-list=arm-softmmu \ |