hewlett-packard HP 9835A — Chapter 5

Chapter 5 Table of Contents Arithmetic Binary Coded Decimal>. > > . Arithmetic Machine Instructions . > , > > ... > , > , , > , , , , , > , , , , , , , 84 BCD Registers ... > > ., ", .... > , , , , , , , , > , > , , , , , " ,. 84 BCD Arithmetic .. . .. > > ... , , , > . > , , , , > .. > , > > ,. > ... , > > > .. , . 84 Addition . > , , .... , > , ,. ,." ,., ".,.' ,., ....... , > .. >.,.85 Ten's Complement for BCD. > . > , , ....... , .. , .... > , , , , , > , .. , .. , . > 86 Floating Point Summations, ........... > > > . > , > > > > , ,> .. , > > . , , > . , > > 88 Normalization .. , .. , ..... > > > , , , , , . , .... , .... , ... , , .. , , ........ , .. >. ,., 0 , , 89 Rounding ........

, . , , , , .. > , ... , . , .. , . > , , , , , , ,. .." " ,., 0 89 Floating Point Multiplication. , . , .. . .. '. 0 , , , , , , , , , , , , > 90 Floating Point Division. , ......... , ...... > , .. , , , 0 , , , >, ... , .... > , , , . , ... , . , , 92 The FDV Instruction .. , . , ....... ,> "., ....... > , , , , , > , . . .. .., .. > , . 94 Thirteen-Digit Dividends, , .. . ............ , , ..... > .. , , ... , , ........ , , .... 95 Floating-Point Division Example, . , .. . .... ",.,................. " .. " ... 96 Arithmetic Utilities> .. > .. , ..... > , , , , , , , " , > ........... , .. > .. 99 _ Utility: Rei_to _int .. , ............... , ...... , ... , .. >. . ... ,: ..

> 0 " ,., , 102 Utility: Rei_math ......... > , , . , , .. , .. : ... , ...... , . , , . , .... , .. > .............. > 99 Utility: Rei_to _sho 0 , , , "." " > ... , ............... 103 Utility: Int_ to _rei .... , . . . . .. . .... , .. , > .. ,." ..... ,.,.. ..,." ....... , .... 104 Utility: Sho _to _rei .......... , . , ....... , ........ . ............. , .. ,." .. ". 105