Annotation of nono/m88xx0/m88100excep.h, revision 1.1.1.3

1.1       root        1: //
                      2: // nono
1.1.1.2   root        3: // Copyright (C) 2020 nono project
                      4: // Licensed under nono-license.txt
1.1       root        5: //
                      6: 
                      7: #pragma once
                      8: 
                      9: #define M88K_EXCEP_RESET                       (0)
                     10: #define M88K_EXCEP_INTERRUPT           (1)
                     11: #define M88K_EXCEP_INST                                (2)
                     12: #define M88K_EXCEP_DATA                                (3)
                     13: #define M88K_EXCEP_MISALIGNED          (4)
                     14: #define M88K_EXCEP_UNIMPL_OP           (5)
                     15: #define M88K_EXCEP_PRIV                                (6)
                     16: #define M88K_EXCEP_BOUNDS                      (7)
                     17: #define M88K_EXCEP_INT_DIV                     (8)
                     18: #define M88K_EXCEP_INT_OVF                     (9)
                     19: #define M88K_EXCEP_ERROR                       (10)
                     20: 
                     21: #define M88K_EXCEP_SFU1_PRECISE                (114)
                     22: #define M88K_EXCEP_SFU1_IMPRECISE      (115)
                     23: #define M88K_EXCEP_SFU2_PRECISE                (116)
                     24: #define M88K_EXCEP_SFU3_PRECISE                (118)
                     25: #define M88K_EXCEP_SFU4_PRECISE                (120)
                     26: #define M88K_EXCEP_SFU5_PRECISE                (122)
                     27: #define M88K_EXCEP_SFU6_PRECISE                (124)
                     28: #define M88K_EXCEP_SFU7_PRECISE                (126)
1.1.1.3 ! root       29: 
        !            30: // FP 例外
        !            31: // 7 .. 3 が precise、2 .. 0 が imprecise
        !            32: #define M88K_FPEXCEP_FIOV              (1 << 7)
        !            33: #define M88K_FPEXCEP_FUNIMP            (1 << 6)
        !            34: #define M88K_FPEXCEP_FPRV              (1 << 5)
        !            35: #define M88K_FPEXCEP_FROP              (1 << 4)
        !            36: #define M88K_FPEXCEP_FDVZ              (1 << 3)
        !            37: #define M88K_FPEXCEP_FUNF              (1 << 2)
        !            38: #define M88K_FPEXCEP_FOVF              (1 << 1)
        !            39: #define M88K_FPEXCEP_FINX              (1 << 0)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.