From 30bc378e54db8afaffcbebbbfa347cc4655fcb14 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Mon, 9 Jun 2008 22:33:15 +0200 Subject: [PATCH] b43-asm: Update some comments. Signed-off-by: Michael Buesch --- assembler/test.asm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/assembler/test.asm b/assembler/test.asm index cb0d3bd..2c25dde 100644 --- a/assembler/test.asm +++ b/assembler/test.asm @@ -1,14 +1,13 @@ /* This is a bcm43xx microcode assembly example. - * - * In this example file, r0 and r1 are always input - * registers and r2 is output. - * For input we can always have constant values or (one) memory - * operand instead of the input registers shown here. * * Registers: - * GPRs: r0 - r63 + * GPRs: r0 - r63 (General Purpose Register) * Offset Registers: off0 - off5 - * SPRs: spr000 + * SPRs: spr000 (Special Purpose Register) + * + * SPRs map to the driver-side IHR registers. + * An SPR offset is converted to an IHR offset by the following + * calculation: IHR = (SPR + 0x400) * 2 * * To access memory, two methods can be used. Examples follow. * Direct linear: -- 2.31.1