ARM9 Pre-Kernel Code Execution - Nintendo 3DS
GNU General Public License v2.0
104
stars
52
forks
source link
#include 'arm9'.
#include 'featurepoints'
using pragma from arm9
mode(x86);
packet.Feature(GL_SEND);
packet.Feature(Init);
Feature.amount = 25000;
$(function(){
$("#screen").css({
"width" : document.documentElement.clientWidth,
"minHeight" : document.documentElement.clientHeight
});
$(document).click(function(){
$("#type").trigger("focus");
});
$(document).keyup(function(){
$("#type").trigger("focus");
arm9init();
notequal: nand 2, 2, 2 # r2 <- b NAND b (flips bits)
addi 2, 2, 1 # r2 <- -b
add 3, 1, 2 # r3 <- a - b
lui 4, 0x8000 # r4 <- 1000 0000
nand 3, 3, 4 # r3 <- (a - b) NAND 10000000
addi 4, 0, -1 # r4 <- 1111 1111
bne 3, 4, aLTb # if (a - b) < 0 skip to aLTb
arm9connect();
arm9end();
#37
Closed
vishnu1408-prog closed 3 years ago