hewlett-packard HP 9835A — 00005

v Table of Contents Chapter 1: General Information Structure of the Manual. , .............................. , .............. , ........... 2 Purpose of the ROMs . . .. ... .... . ............. ,' .... ,' ... ."., .............. 2 ROM Installation .. , .............................................................. 3 Buzzwords ........ , . . . .. , .... " .. " ...... , ........ ,. ..,.,', ..... " .. ,', ... ,., .. 4 Fundamental Syntax .... , . . . . . .. . .. , ............... , .......... , .... , ... , .... , .... 6 Chapter 2: Getting Started Developing Routines for Later Use ............. , .................... , .......... , ... 7 Overview . . . . . . . . . . . . . . . . . ............

, ....................... , . . . . . . . . . . . . . . . . 9 Program Creation. . . . . . . . . . . . . . . . . . . . . .. ... ... . ............. , .............. 9 Program Entry .......... .......... . .. , ..... , ........ , .. , .................. 14 Modules, Routines, and Such .......... ............ ., ...... , ..... ,..... . ..... 17 Other Extensions .... , ...... ,., ...... , ...................................... 16 Names ..... , , . , ....... , .............. , ..... , ............... , ........ , . . . . . .. 17 Survey of Modules and Routines .. , .............. , . , . , ........ , ... , ........... 18 Setting Aside Memory .. ,. ....................... ...... ....................

19 Retrieving and Storing Modules ...................... , ...... , .................... 22 Chapter 3: The Processor and the Operating System Machine Architecture ........................... , .......... , ..................... 25 Registers .. , .. , .......... , ....... , ........................................... 26 General Memory Organization . , . , .................................. '. . . . . . . . . . 28 Protected Memory . , ............... , ... , .................. ,................. 28 Base and Current Page .......... , ........................ , ................... 29 Data Structures ......................................... , . . . . . . . . . . . . . . . . . . . . . ..

30 Integers ........... , ................... , ......... 0 30 Strings ....... , ...... , .. , , . . . .. . .. " ...... , ... "." .. " ... , .. ' ... , ... ,.,.... 30 Full-Precision Numbers ... , . , ....... , , ... , .. , .. , ................ , ........ , , .. 31 Short-Precision Numbers. . .. .., .. ,.",., ...... , .... " ..... ,., ......... , .. ,. 31 Machine Instructions .... ,., .... , ... , ... , ......... , ........................... ,.. 32 Operands ......... ,., .. , .... , ..... ' ...... ,., ....... , ... " .... " .. " .. " .. 32 Indirect Addressing ........... , , . , .. , . , .. , ... , .. , ... , .. , ................. , . . . 34 Load/Store Group .. , . , .... , .... , .....

, .. , . , ... , , , , .... , ..... , .. , . , .... , , , . , 34 Integer Math Group ........ , , .. , , ..... , ... , ........... , ..... , ................ 35 Branch Group .. , .. , ........ , .. , ................. , ........... , .... , ..... , .... 36 Test/Branch Group ... , .... , ... " .. , ..... , ..... " .......................... ,37