162306a36Sopenharmony_ci| 262306a36Sopenharmony_ci| fpsp.h 3.3 3.3 362306a36Sopenharmony_ci| 462306a36Sopenharmony_ci 562306a36Sopenharmony_ci| Copyright (C) Motorola, Inc. 1990 662306a36Sopenharmony_ci| All Rights Reserved 762306a36Sopenharmony_ci| 862306a36Sopenharmony_ci| For details on the license for this file, please see the 962306a36Sopenharmony_ci| file, README, in this same directory. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci| fpsp.h --- stack frame offsets during FPSP exception handling 1262306a36Sopenharmony_ci| 1362306a36Sopenharmony_ci| These equates are used to access the exception frame, the fsave 1462306a36Sopenharmony_ci| frame and any local variables needed by the FPSP package. 1562306a36Sopenharmony_ci| 1662306a36Sopenharmony_ci| All FPSP handlers begin by executing: 1762306a36Sopenharmony_ci| 1862306a36Sopenharmony_ci| link a6,#-LOCAL_SIZE 1962306a36Sopenharmony_ci| fsave -(a7) 2062306a36Sopenharmony_ci| movem.l d0-d1/a0-a1,USER_DA(a6) 2162306a36Sopenharmony_ci| fmovem.x fp0-fp3,USER_FP0(a6) 2262306a36Sopenharmony_ci| fmove.l fpsr/fpcr/fpiar,USER_FPSR(a6) 2362306a36Sopenharmony_ci| 2462306a36Sopenharmony_ci| After initialization, the stack looks like this: 2562306a36Sopenharmony_ci| 2662306a36Sopenharmony_ci| A7 ---> +-------------------------------+ 2762306a36Sopenharmony_ci| | | 2862306a36Sopenharmony_ci| | FPU fsave area | 2962306a36Sopenharmony_ci| | | 3062306a36Sopenharmony_ci| +-------------------------------+ 3162306a36Sopenharmony_ci| | | 3262306a36Sopenharmony_ci| | FPSP Local Variables | 3362306a36Sopenharmony_ci| | including | 3462306a36Sopenharmony_ci| | saved registers | 3562306a36Sopenharmony_ci| | | 3662306a36Sopenharmony_ci| +-------------------------------+ 3762306a36Sopenharmony_ci| A6 ---> | Saved A6 | 3862306a36Sopenharmony_ci| +-------------------------------+ 3962306a36Sopenharmony_ci| | | 4062306a36Sopenharmony_ci| | Exception Frame | 4162306a36Sopenharmony_ci| | | 4262306a36Sopenharmony_ci| | | 4362306a36Sopenharmony_ci| 4462306a36Sopenharmony_ci| Positive offsets from A6 refer to the exception frame. Negative 4562306a36Sopenharmony_ci| offsets refer to the Local Variable area and the fsave area. 4662306a36Sopenharmony_ci| The fsave frame is also accessible from the top via A7. 4762306a36Sopenharmony_ci| 4862306a36Sopenharmony_ci| On exit, the handlers execute: 4962306a36Sopenharmony_ci| 5062306a36Sopenharmony_ci| movem.l USER_DA(a6),d0-d1/a0-a1 5162306a36Sopenharmony_ci| fmovem.x USER_FP0(a6),fp0-fp3 5262306a36Sopenharmony_ci| fmove.l USER_FPSR(a6),fpsr/fpcr/fpiar 5362306a36Sopenharmony_ci| frestore (a7)+ 5462306a36Sopenharmony_ci| unlk a6 5562306a36Sopenharmony_ci| 5662306a36Sopenharmony_ci| and then either "bra fpsp_done" if the exception was completely 5762306a36Sopenharmony_ci| handled by the package, or "bra real_xxxx" which is an external 5862306a36Sopenharmony_ci| label to a routine that will process a real exception of the 5962306a36Sopenharmony_ci| type that was generated. Some handlers may omit the "frestore" 6062306a36Sopenharmony_ci| if the FPU state after the exception is idle. 6162306a36Sopenharmony_ci| 6262306a36Sopenharmony_ci| Sometimes the exception handler will transform the fsave area 6362306a36Sopenharmony_ci| because it needs to report an exception back to the user. This 6462306a36Sopenharmony_ci| can happen if the package is entered for an unimplemented float 6562306a36Sopenharmony_ci| instruction that generates (say) an underflow. Alternatively, 6662306a36Sopenharmony_ci| a second fsave frame can be pushed onto the stack and the 6762306a36Sopenharmony_ci| handler exit code will reload the new frame and discard the old. 6862306a36Sopenharmony_ci| 6962306a36Sopenharmony_ci| The registers d0, d1, a0, a1 and fp0-fp3 are always saved and 7062306a36Sopenharmony_ci| restored from the "local variable" area and can be used as 7162306a36Sopenharmony_ci| temporaries. If a routine needs to change any 7262306a36Sopenharmony_ci| of these registers, it should modify the saved copy and let 7362306a36Sopenharmony_ci| the handler exit code restore the value. 7462306a36Sopenharmony_ci| 7562306a36Sopenharmony_ci|---------------------------------------------------------------------- 7662306a36Sopenharmony_ci| 7762306a36Sopenharmony_ci| Local Variables on the stack 7862306a36Sopenharmony_ci| 7962306a36Sopenharmony_ci .set LOCAL_SIZE,192 | bytes needed for local variables 8062306a36Sopenharmony_ci .set LV,-LOCAL_SIZE | convenient base value 8162306a36Sopenharmony_ci| 8262306a36Sopenharmony_ci .set USER_DA,LV+0 | save space for D0-D1,A0-A1 8362306a36Sopenharmony_ci .set USER_D0,LV+0 | saved user D0 8462306a36Sopenharmony_ci .set USER_D1,LV+4 | saved user D1 8562306a36Sopenharmony_ci .set USER_A0,LV+8 | saved user A0 8662306a36Sopenharmony_ci .set USER_A1,LV+12 | saved user A1 8762306a36Sopenharmony_ci .set USER_FP0,LV+16 | saved user FP0 8862306a36Sopenharmony_ci .set USER_FP1,LV+28 | saved user FP1 8962306a36Sopenharmony_ci .set USER_FP2,LV+40 | saved user FP2 9062306a36Sopenharmony_ci .set USER_FP3,LV+52 | saved user FP3 9162306a36Sopenharmony_ci .set USER_FPCR,LV+64 | saved user FPCR 9262306a36Sopenharmony_ci .set FPCR_ENABLE,USER_FPCR+2 | FPCR exception enable 9362306a36Sopenharmony_ci .set FPCR_MODE,USER_FPCR+3 | FPCR rounding mode control 9462306a36Sopenharmony_ci .set USER_FPSR,LV+68 | saved user FPSR 9562306a36Sopenharmony_ci .set FPSR_CC,USER_FPSR+0 | FPSR condition code 9662306a36Sopenharmony_ci .set FPSR_QBYTE,USER_FPSR+1 | FPSR quotient 9762306a36Sopenharmony_ci .set FPSR_EXCEPT,USER_FPSR+2 | FPSR exception 9862306a36Sopenharmony_ci .set FPSR_AEXCEPT,USER_FPSR+3 | FPSR accrued exception 9962306a36Sopenharmony_ci .set USER_FPIAR,LV+72 | saved user FPIAR 10062306a36Sopenharmony_ci .set FP_SCR1,LV+76 | room for a temporary float value 10162306a36Sopenharmony_ci .set FP_SCR2,LV+92 | room for a temporary float value 10262306a36Sopenharmony_ci .set L_SCR1,LV+108 | room for a temporary long value 10362306a36Sopenharmony_ci .set L_SCR2,LV+112 | room for a temporary long value 10462306a36Sopenharmony_ci .set STORE_FLG,LV+116 10562306a36Sopenharmony_ci .set BINDEC_FLG,LV+117 | used in bindec 10662306a36Sopenharmony_ci .set DNRM_FLG,LV+118 | used in res_func 10762306a36Sopenharmony_ci .set RES_FLG,LV+119 | used in res_func 10862306a36Sopenharmony_ci .set DY_MO_FLG,LV+120 | dyadic/monadic flag 10962306a36Sopenharmony_ci .set UFLG_TMP,LV+121 | temporary for uflag errata 11062306a36Sopenharmony_ci .set CU_ONLY,LV+122 | cu-only flag 11162306a36Sopenharmony_ci .set VER_TMP,LV+123 | temp holding for version number 11262306a36Sopenharmony_ci .set L_SCR3,LV+124 | room for a temporary long value 11362306a36Sopenharmony_ci .set FP_SCR3,LV+128 | room for a temporary float value 11462306a36Sopenharmony_ci .set FP_SCR4,LV+144 | room for a temporary float value 11562306a36Sopenharmony_ci .set FP_SCR5,LV+160 | room for a temporary float value 11662306a36Sopenharmony_ci .set FP_SCR6,LV+176 11762306a36Sopenharmony_ci| 11862306a36Sopenharmony_ci|NEXT equ LV+192 ;need to increase LOCAL_SIZE 11962306a36Sopenharmony_ci| 12062306a36Sopenharmony_ci|-------------------------------------------------------------------------- 12162306a36Sopenharmony_ci| 12262306a36Sopenharmony_ci| fsave offsets and bit definitions 12362306a36Sopenharmony_ci| 12462306a36Sopenharmony_ci| Offsets are defined from the end of an fsave because the last 10 12562306a36Sopenharmony_ci| words of a busy frame are the same as the unimplemented frame. 12662306a36Sopenharmony_ci| 12762306a36Sopenharmony_ci .set CU_SAVEPC,LV-92 | micro-pc for CU (1 byte) 12862306a36Sopenharmony_ci .set FPR_DIRTY_BITS,LV-91 | fpr dirty bits 12962306a36Sopenharmony_ci| 13062306a36Sopenharmony_ci .set WBTEMP,LV-76 | write back temp (12 bytes) 13162306a36Sopenharmony_ci .set WBTEMP_EX,WBTEMP | wbtemp sign and exponent (2 bytes) 13262306a36Sopenharmony_ci .set WBTEMP_HI,WBTEMP+4 | wbtemp mantissa [63:32] (4 bytes) 13362306a36Sopenharmony_ci .set WBTEMP_LO,WBTEMP+8 | wbtemp mantissa [31:00] (4 bytes) 13462306a36Sopenharmony_ci| 13562306a36Sopenharmony_ci .set WBTEMP_SGN,WBTEMP+2 | used to store sign 13662306a36Sopenharmony_ci| 13762306a36Sopenharmony_ci .set FPSR_SHADOW,LV-64 | fpsr shadow reg 13862306a36Sopenharmony_ci| 13962306a36Sopenharmony_ci .set FPIARCU,LV-60 | Instr. addr. reg. for CU (4 bytes) 14062306a36Sopenharmony_ci| 14162306a36Sopenharmony_ci .set CMDREG2B,LV-52 | cmd reg for machine 2 14262306a36Sopenharmony_ci .set CMDREG3B,LV-48 | cmd reg for E3 exceptions (2 bytes) 14362306a36Sopenharmony_ci| 14462306a36Sopenharmony_ci .set NMNEXC,LV-44 | NMNEXC (unsup,snan bits only) 14562306a36Sopenharmony_ci .set nmn_unsup_bit,1 | 14662306a36Sopenharmony_ci .set nmn_snan_bit,0 | 14762306a36Sopenharmony_ci| 14862306a36Sopenharmony_ci .set NMCEXC,LV-43 | NMNEXC & NMCEXC 14962306a36Sopenharmony_ci .set nmn_operr_bit,7 15062306a36Sopenharmony_ci .set nmn_ovfl_bit,6 15162306a36Sopenharmony_ci .set nmn_unfl_bit,5 15262306a36Sopenharmony_ci .set nmc_unsup_bit,4 15362306a36Sopenharmony_ci .set nmc_snan_bit,3 15462306a36Sopenharmony_ci .set nmc_operr_bit,2 15562306a36Sopenharmony_ci .set nmc_ovfl_bit,1 15662306a36Sopenharmony_ci .set nmc_unfl_bit,0 15762306a36Sopenharmony_ci| 15862306a36Sopenharmony_ci .set STAG,LV-40 | source tag (1 byte) 15962306a36Sopenharmony_ci .set WBTEMP_GRS,LV-40 | alias wbtemp guard, round, sticky 16062306a36Sopenharmony_ci .set guard_bit,1 | guard bit is bit number 1 16162306a36Sopenharmony_ci .set round_bit,0 | round bit is bit number 0 16262306a36Sopenharmony_ci .set stag_mask,0xE0 | upper 3 bits are source tag type 16362306a36Sopenharmony_ci .set denorm_bit,7 | bit determines if denorm or unnorm 16462306a36Sopenharmony_ci .set etemp15_bit,4 | etemp exponent bit #15 16562306a36Sopenharmony_ci .set wbtemp66_bit,2 | wbtemp mantissa bit #66 16662306a36Sopenharmony_ci .set wbtemp1_bit,1 | wbtemp mantissa bit #1 16762306a36Sopenharmony_ci .set wbtemp0_bit,0 | wbtemp mantissa bit #0 16862306a36Sopenharmony_ci| 16962306a36Sopenharmony_ci .set STICKY,LV-39 | holds sticky bit 17062306a36Sopenharmony_ci .set sticky_bit,7 17162306a36Sopenharmony_ci| 17262306a36Sopenharmony_ci .set CMDREG1B,LV-36 | cmd reg for E1 exceptions (2 bytes) 17362306a36Sopenharmony_ci .set kfact_bit,12 | distinguishes static/dynamic k-factor 17462306a36Sopenharmony_ci| ;on packed move outs. NOTE: this 17562306a36Sopenharmony_ci| ;equate only works when CMDREG1B is in 17662306a36Sopenharmony_ci| ;a register. 17762306a36Sopenharmony_ci| 17862306a36Sopenharmony_ci .set CMDWORD,LV-35 | command word in cmd1b 17962306a36Sopenharmony_ci .set direction_bit,5 | bit 0 in opclass 18062306a36Sopenharmony_ci .set size_bit2,12 | bit 2 in size field 18162306a36Sopenharmony_ci| 18262306a36Sopenharmony_ci .set DTAG,LV-32 | dest tag (1 byte) 18362306a36Sopenharmony_ci .set dtag_mask,0xE0 | upper 3 bits are dest type tag 18462306a36Sopenharmony_ci .set fptemp15_bit,4 | fptemp exponent bit #15 18562306a36Sopenharmony_ci| 18662306a36Sopenharmony_ci .set WB_BYTE,LV-31 | holds WBTE15 bit (1 byte) 18762306a36Sopenharmony_ci .set wbtemp15_bit,4 | wbtemp exponent bit #15 18862306a36Sopenharmony_ci| 18962306a36Sopenharmony_ci .set E_BYTE,LV-28 | holds E1 and E3 bits (1 byte) 19062306a36Sopenharmony_ci .set E1,2 | which bit is E1 flag 19162306a36Sopenharmony_ci .set E3,1 | which bit is E3 flag 19262306a36Sopenharmony_ci .set SFLAG,0 | which bit is S flag 19362306a36Sopenharmony_ci| 19462306a36Sopenharmony_ci .set T_BYTE,LV-27 | holds T and U bits (1 byte) 19562306a36Sopenharmony_ci .set XFLAG,7 | which bit is X flag 19662306a36Sopenharmony_ci .set UFLAG,5 | which bit is U flag 19762306a36Sopenharmony_ci .set TFLAG,4 | which bit is T flag 19862306a36Sopenharmony_ci| 19962306a36Sopenharmony_ci .set FPTEMP,LV-24 | fptemp (12 bytes) 20062306a36Sopenharmony_ci .set FPTEMP_EX,FPTEMP | fptemp sign and exponent (2 bytes) 20162306a36Sopenharmony_ci .set FPTEMP_HI,FPTEMP+4 | fptemp mantissa [63:32] (4 bytes) 20262306a36Sopenharmony_ci .set FPTEMP_LO,FPTEMP+8 | fptemp mantissa [31:00] (4 bytes) 20362306a36Sopenharmony_ci| 20462306a36Sopenharmony_ci .set FPTEMP_SGN,FPTEMP+2 | used to store sign 20562306a36Sopenharmony_ci| 20662306a36Sopenharmony_ci .set ETEMP,LV-12 | etemp (12 bytes) 20762306a36Sopenharmony_ci .set ETEMP_EX,ETEMP | etemp sign and exponent (2 bytes) 20862306a36Sopenharmony_ci .set ETEMP_HI,ETEMP+4 | etemp mantissa [63:32] (4 bytes) 20962306a36Sopenharmony_ci .set ETEMP_LO,ETEMP+8 | etemp mantissa [31:00] (4 bytes) 21062306a36Sopenharmony_ci| 21162306a36Sopenharmony_ci .set ETEMP_SGN,ETEMP+2 | used to store sign 21262306a36Sopenharmony_ci| 21362306a36Sopenharmony_ci .set EXC_SR,4 | exception frame status register 21462306a36Sopenharmony_ci .set EXC_PC,6 | exception frame program counter 21562306a36Sopenharmony_ci .set EXC_VEC,10 | exception frame vector (format+vector#) 21662306a36Sopenharmony_ci .set EXC_EA,12 | exception frame effective address 21762306a36Sopenharmony_ci| 21862306a36Sopenharmony_ci|-------------------------------------------------------------------------- 21962306a36Sopenharmony_ci| 22062306a36Sopenharmony_ci| FPSR/FPCR bits 22162306a36Sopenharmony_ci| 22262306a36Sopenharmony_ci .set neg_bit,3 | negative result 22362306a36Sopenharmony_ci .set z_bit,2 | zero result 22462306a36Sopenharmony_ci .set inf_bit,1 | infinity result 22562306a36Sopenharmony_ci .set nan_bit,0 | not-a-number result 22662306a36Sopenharmony_ci| 22762306a36Sopenharmony_ci .set q_sn_bit,7 | sign bit of quotient byte 22862306a36Sopenharmony_ci| 22962306a36Sopenharmony_ci .set bsun_bit,7 | branch on unordered 23062306a36Sopenharmony_ci .set snan_bit,6 | signalling nan 23162306a36Sopenharmony_ci .set operr_bit,5 | operand error 23262306a36Sopenharmony_ci .set ovfl_bit,4 | overflow 23362306a36Sopenharmony_ci .set unfl_bit,3 | underflow 23462306a36Sopenharmony_ci .set dz_bit,2 | divide by zero 23562306a36Sopenharmony_ci .set inex2_bit,1 | inexact result 2 23662306a36Sopenharmony_ci .set inex1_bit,0 | inexact result 1 23762306a36Sopenharmony_ci| 23862306a36Sopenharmony_ci .set aiop_bit,7 | accrued illegal operation 23962306a36Sopenharmony_ci .set aovfl_bit,6 | accrued overflow 24062306a36Sopenharmony_ci .set aunfl_bit,5 | accrued underflow 24162306a36Sopenharmony_ci .set adz_bit,4 | accrued divide by zero 24262306a36Sopenharmony_ci .set ainex_bit,3 | accrued inexact 24362306a36Sopenharmony_ci| 24462306a36Sopenharmony_ci| FPSR individual bit masks 24562306a36Sopenharmony_ci| 24662306a36Sopenharmony_ci .set neg_mask,0x08000000 24762306a36Sopenharmony_ci .set z_mask,0x04000000 24862306a36Sopenharmony_ci .set inf_mask,0x02000000 24962306a36Sopenharmony_ci .set nan_mask,0x01000000 25062306a36Sopenharmony_ci| 25162306a36Sopenharmony_ci .set bsun_mask,0x00008000 | 25262306a36Sopenharmony_ci .set snan_mask,0x00004000 25362306a36Sopenharmony_ci .set operr_mask,0x00002000 25462306a36Sopenharmony_ci .set ovfl_mask,0x00001000 25562306a36Sopenharmony_ci .set unfl_mask,0x00000800 25662306a36Sopenharmony_ci .set dz_mask,0x00000400 25762306a36Sopenharmony_ci .set inex2_mask,0x00000200 25862306a36Sopenharmony_ci .set inex1_mask,0x00000100 25962306a36Sopenharmony_ci| 26062306a36Sopenharmony_ci .set aiop_mask,0x00000080 | accrued illegal operation 26162306a36Sopenharmony_ci .set aovfl_mask,0x00000040 | accrued overflow 26262306a36Sopenharmony_ci .set aunfl_mask,0x00000020 | accrued underflow 26362306a36Sopenharmony_ci .set adz_mask,0x00000010 | accrued divide by zero 26462306a36Sopenharmony_ci .set ainex_mask,0x00000008 | accrued inexact 26562306a36Sopenharmony_ci| 26662306a36Sopenharmony_ci| FPSR combinations used in the FPSP 26762306a36Sopenharmony_ci| 26862306a36Sopenharmony_ci .set dzinf_mask,inf_mask+dz_mask+adz_mask 26962306a36Sopenharmony_ci .set opnan_mask,nan_mask+operr_mask+aiop_mask 27062306a36Sopenharmony_ci .set nzi_mask,0x01ffffff | clears N, Z, and I 27162306a36Sopenharmony_ci .set unfinx_mask,unfl_mask+inex2_mask+aunfl_mask+ainex_mask 27262306a36Sopenharmony_ci .set unf2inx_mask,unfl_mask+inex2_mask+ainex_mask 27362306a36Sopenharmony_ci .set ovfinx_mask,ovfl_mask+inex2_mask+aovfl_mask+ainex_mask 27462306a36Sopenharmony_ci .set inx1a_mask,inex1_mask+ainex_mask 27562306a36Sopenharmony_ci .set inx2a_mask,inex2_mask+ainex_mask 27662306a36Sopenharmony_ci .set snaniop_mask,nan_mask+snan_mask+aiop_mask 27762306a36Sopenharmony_ci .set naniop_mask,nan_mask+aiop_mask 27862306a36Sopenharmony_ci .set neginf_mask,neg_mask+inf_mask 27962306a36Sopenharmony_ci .set infaiop_mask,inf_mask+aiop_mask 28062306a36Sopenharmony_ci .set negz_mask,neg_mask+z_mask 28162306a36Sopenharmony_ci .set opaop_mask,operr_mask+aiop_mask 28262306a36Sopenharmony_ci .set unfl_inx_mask,unfl_mask+aunfl_mask+ainex_mask 28362306a36Sopenharmony_ci .set ovfl_inx_mask,ovfl_mask+aovfl_mask+ainex_mask 28462306a36Sopenharmony_ci| 28562306a36Sopenharmony_ci|-------------------------------------------------------------------------- 28662306a36Sopenharmony_ci| 28762306a36Sopenharmony_ci| FPCR rounding modes 28862306a36Sopenharmony_ci| 28962306a36Sopenharmony_ci .set x_mode,0x00 | round to extended 29062306a36Sopenharmony_ci .set s_mode,0x40 | round to single 29162306a36Sopenharmony_ci .set d_mode,0x80 | round to double 29262306a36Sopenharmony_ci| 29362306a36Sopenharmony_ci .set rn_mode,0x00 | round nearest 29462306a36Sopenharmony_ci .set rz_mode,0x10 | round to zero 29562306a36Sopenharmony_ci .set rm_mode,0x20 | round to minus infinity 29662306a36Sopenharmony_ci .set rp_mode,0x30 | round to plus infinity 29762306a36Sopenharmony_ci| 29862306a36Sopenharmony_ci|-------------------------------------------------------------------------- 29962306a36Sopenharmony_ci| 30062306a36Sopenharmony_ci| Miscellaneous equates 30162306a36Sopenharmony_ci| 30262306a36Sopenharmony_ci .set signan_bit,6 | signalling nan bit in mantissa 30362306a36Sopenharmony_ci .set sign_bit,7 30462306a36Sopenharmony_ci| 30562306a36Sopenharmony_ci .set rnd_stky_bit,29 | round/sticky bit of mantissa 30662306a36Sopenharmony_ci| this can only be used if in a data register 30762306a36Sopenharmony_ci .set sx_mask,0x01800000 | set s and x bits in word $48 30862306a36Sopenharmony_ci| 30962306a36Sopenharmony_ci .set LOCAL_EX,0 31062306a36Sopenharmony_ci .set LOCAL_SGN,2 31162306a36Sopenharmony_ci .set LOCAL_HI,4 31262306a36Sopenharmony_ci .set LOCAL_LO,8 31362306a36Sopenharmony_ci .set LOCAL_GRS,12 | valid ONLY for FP_SCR1, FP_SCR2 31462306a36Sopenharmony_ci| 31562306a36Sopenharmony_ci| 31662306a36Sopenharmony_ci .set norm_tag,0x00 | tag bits in {7:5} position 31762306a36Sopenharmony_ci .set zero_tag,0x20 31862306a36Sopenharmony_ci .set inf_tag,0x40 31962306a36Sopenharmony_ci .set nan_tag,0x60 32062306a36Sopenharmony_ci .set dnrm_tag,0x80 32162306a36Sopenharmony_ci| 32262306a36Sopenharmony_ci| fsave sizes and formats 32362306a36Sopenharmony_ci| 32462306a36Sopenharmony_ci .set VER_4,0x40 | fpsp compatible version numbers 32562306a36Sopenharmony_ci| are in the $40s {$40-$4f} 32662306a36Sopenharmony_ci .set VER_40,0x40 | original version number 32762306a36Sopenharmony_ci .set VER_41,0x41 | revision version number 32862306a36Sopenharmony_ci| 32962306a36Sopenharmony_ci .set BUSY_SIZE,100 | size of busy frame 33062306a36Sopenharmony_ci .set BUSY_FRAME,LV-BUSY_SIZE | start of busy frame 33162306a36Sopenharmony_ci| 33262306a36Sopenharmony_ci .set UNIMP_40_SIZE,44 | size of orig unimp frame 33362306a36Sopenharmony_ci .set UNIMP_41_SIZE,52 | size of rev unimp frame 33462306a36Sopenharmony_ci| 33562306a36Sopenharmony_ci .set IDLE_SIZE,4 | size of idle frame 33662306a36Sopenharmony_ci .set IDLE_FRAME,LV-IDLE_SIZE | start of idle frame 33762306a36Sopenharmony_ci| 33862306a36Sopenharmony_ci| exception vectors 33962306a36Sopenharmony_ci| 34062306a36Sopenharmony_ci .set TRACE_VEC,0x2024 | trace trap 34162306a36Sopenharmony_ci .set FLINE_VEC,0x002C | real F-line 34262306a36Sopenharmony_ci .set UNIMP_VEC,0x202C | unimplemented 34362306a36Sopenharmony_ci .set INEX_VEC,0x00C4 34462306a36Sopenharmony_ci| 34562306a36Sopenharmony_ci .set dbl_thresh,0x3C01 34662306a36Sopenharmony_ci .set sgl_thresh,0x3F81 34762306a36Sopenharmony_ci| 348