Mercurial > lcfOS
view util/test_patterns.txt @ 362:c05ab629976a
Added CPUID for arm
author | Windel Bouwman |
---|---|
date | Sat, 15 Mar 2014 10:56:34 +0100 |
parents | 52492b304adf |
children | c49459768aaa |
line wrap: on
line source
mov r4, #100 === mov sp, #0x6000 === mov r3, sp mov pc, lr mov pc, r2 mov sp, r4 mov r5, r6 === yield === push {r11,r5,r4,lr} === pop {r4,r5,r6} === sub r4,r5,#23 blt x x: mul r4,r5,r2 === str r9, [r2, #33] === ldr r5, [r3, #87] === ldr r5, lab1 ldr r11, lab1 ldr r10, lab1 lab1: .word 0x12345566 === cmp r4, r11 cmp r5, #0x50000 === adr r5, cval adr r9, cval adr r8, cval cval: adr r11, cval adr r12, cval adr r1, cval pop {r2} === lsl r11, r5, r3 lsl r4, r8, r6 === lsr r9, r0, r2 lsr r4, r8, r6 === and r9, r0, r2 and r4, r8, r6 === mcr p15, 0, r1, c2, c0, 0 mcr p14, 0, r1, c8, c7, 0 === mrc p15, 0, r1, c2, c0, 0 mrc p14, 0, r1, c8, c7, 0