View Single Post
  #852    
Old March 16th, 2017 (7:58 PM).
NewDenverCity's Avatar
NewDenverCity NewDenverCity is offline
     
    Join Date: Apr 2014
    Location: Antarctica
    Gender: Male
    Nature: Calm
    Posts: 329
    lol nice salt

    also i fixed download, we were having a problem with it in clover
    Code:
    .thumb
    
    .org 0x908C30
    main:
    	mov r0, #4
    	mul r0, r5 @r5 is the bank
    	ldr r1, flags
    	add r2, r0, r1
    	ldr r0, [r2]
    	mov r1, #1
    	lsl r1, #23
    	and r0, r1
    	cmp r0, #0
    	bne set
    	ldr r0, pointer
    	strb r5, [r0]
    	ldr r0, [r2]
    	orr r0, r1
    	str r0, [r2]
    	mov r0, #0
    	b end
    
    set:
    	mov r0, #1
    end:
    	bx lr
    
    .align 2
    flags:	.word 0x02023DFC
    pointer: .word 0x02023FDB
    Reply With Quote