2 * linux/arch/arm/kernel/debug-armo.S
4 * Copyright (C) 1999 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * 26-bit debugging code
12 #include <linux/linkage.h>
16 orr \rx, \rx, #0x00010000
17 orr \rx, \rx, #0x00000fe0
25 1002: ldrb \rd, [\rx, #0x14]
32 1001: ldrb \rd, [\rx, #0x18]
39 * Useful debugging routines
51 printhex: ldr r2, =hexbuf
59 addge r1, r1, #'a' - 10