View Single Post
  #240    
Old April 11th, 2012 (10:46 AM). Edited April 11th, 2012 by sonic1.
sonic1's Avatar
sonic1 sonic1 is offline
ASM is my life now...
     
    Join Date: May 2008
    Location: Portugal
    Age: 23
    Gender: Male
    Nature: Timid
    Posts: 79
    Ok, sorry, my bad, the script doesn't work, and i don't know why. In the past months i only worked with ASM, so i'm a but rusty with scripts. Here's a routine.
    Try callingasm this routine:
    Code:
    .align 2
    .thumb
    
    main:
    	push {r0-r4, lr}
    	ldr r0, =0x3E8 			@flag base
    	ldr r1, =0x0			@counter
    loop:
    	cmp r1, #0xBE
    	bhi end
    	add r1, r1, #0x1
    	bl clearflag
    	add r0, r0, #0x0		@next flag
    	b loop
    end:
    	pop {r0-r4, pc}
    	
    clearflag:
    	ldr r4, =0x0806E6A8+1          @clearflag routine offset
    	bx r4
    Hope this helps.
    __________________
    This signature has been disabled.
    over 350px high
    Please review and fix the issues by reading the signature rules.

    You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

    Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
    Reply With Quote