75% developed

User:Doruletz72/ONBA

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Onboard Assembler[edit | edit source]

Onboard Assembler (OnbA), a part of the Onboard Suite available under GPL license at SourceForge.net, is a free software package providing application development "onboard" of Palm/Garnet OS devices. Additionally this package contains a free editor, SrcEdit; and a free C compiler, Onboard C. Unfortunately OnbA is poorly documented, so I hope this book will help to correct that, and assist anyone intent on building applications in 68k assembly language on Palm OS devices.
I understand the knowledge is free concept, but in this book, regarding which knowledge is really free, we will follow the Wikibooks policy; so any information subject to copyright or other proprietary rights will be presented only in short form.
The entire book is a compilation of Palm OS specifications, Motorola 68k assembly language and Onboard Assembler how to's. Most of the examples are built as a comparison between C standard code and 68k assembly code.

Table of Contents[edit | edit source]

Palm OS memory. Palm OS files. PRC executable files. Running an application. The registers. Address modes. Instructions set.
Variables. Arrays. Structures. Operators. Statements. Conditionals. Loops. Procedures
Starting. First program. Skeleton with no forms. Adding forms. Multi-segment applications. Directives. Known bugs. Redundant code. Systraps.inc
Direct. Indirect. Absolute. Immediate. Implied.
Format. Codification. Data Movement. Logical. Integer Arithmetic. Bit Manipulation. Shift and Rotation. BCD. Program. System. CCR and SR.

Related books[edit | edit source]

External links[edit | edit source]