Set Thread Task ID
Jump to navigation
Jump to search
# ROUTINE: SET THREAD TASK ID # Parameters: # r4 = taskID 80149d48: 3c028017 lui r2,0x8017 80149d4c: 8c424038 lw r2,0x4038(r2) # ThreadID 80149d50: 00000000 nop 80149d54: 00021280 sll r2,r2,0x0a # ThreadID * sizeof(Thread) 80149d58: 3c018017 lui r1,0x8017 80149d5c: 00220821 addu r1,r1,r2 80149d60: ac2498b8 sw r4,-0x6748(r1) # thread.TaskID = taskID // (Base pointer 0x801698b8 = 0x8016986c + 0x4c) 80149d64: 03e00008 jr r31 80149d68: 00000000 nop