Assembler Output; Basic Electrical Hardware Specifications Of The Hp-20B And Hp-30B - HP RPN SCIENTIFIC WP 34S Owner's Manual

Table of Contents

Advertisement

Assembler Output

The Assembler takes your .wp34s text file as input and generates optimized code for your
WP 34S. It does not generate optimized code for your further editing nor maintaining your
routines. "Optimized" means it will use as little of the limited resources of your WP 34S in
the programs as possible, less labels in particular. Thus expect heavy use of BACK and
SKIP instead of GTO in assembled programs since all required information for this
conversion is available at assembly time.
Furthermore, there are two special commands frequently replacing GSB / XEQ in
assembled code:
1. BSRB n calls a subroutine starting n steps backwards with 0 ≤ n ≤ 255. It pushes
the program counter on the subroutine return stack and executes BACK n then.
2. BSRF n calls a subroutine starting n steps forwards. It pushes the program counter
on the subroutine return stack and executes SKIP n then.
The subroutines called this way do not require a starting label. So, BSRB and BSRF are
useful if you are short on local labels – as BACK, SKIP, and CASE are. On the other hand,
if you edit a section of your routine that is crossed by one or more BSRB, BSRF, BACK,
SKIP, or CASE jumps, this may well result in a need to manually maintain all those
statements individually. We recommend editing unassembled code and leaving the
generation of label-less branches to the assembler for sake of readability, maintainability,
and reliability of your routines.

Basic Electrical Hardware Specifications of the HP-20b and HP-30b

Power supply:
3
Processor:
Atmel AT91SAM7L128
ARM 7 core with thumb mode (32
RAM: 2
ROM: 128
I/O:
parallel ports, serial port for flashing (see picture below for pinout)
LCD controller
Elaborate power management
Multiple clock sources (RC, quartz, PLL), real time clock
Liquid crystal display with 400 segments:
12 x 9 segments (mantissa), 3 x 7 segments (exponent), 2 signs,
6 x 43 pixels in a dot matrix,
10 annunciators, and
1 additional fixed symbol (see p. 35).
Keyboard with 37 keys in 5 to 6 columns by 7 rows
WP 34S Owner's Manual
V
(2 CR2032 coin cells)
kB
kB
with backup, 4
kB
flash, SAM-BA boot loader
kHz
to 40
MHz
)
volatile
Edition 3.1
Page 191 of 211

Advertisement

Table of Contents
loading

Table of Contents