zhajio 发表于 2011-8-21 11:21:55

瑞萨单片机汇编程序问题

小弟是新手,求这段汇编的介绍,主要讲解cseg和dw用法。。。O(∩_∩)O谢谢
        ;$TITLE('vector address')

;================================================
;=        vector address                                =
;================================================
$NOLIST

        EXTRN        PRG_STRT

$LIST
;************************************************
;*        program start                                *
;************************************************
V_RESET                CSEG        AT         00000H

        DW        PRG_STRT

;************************************************
;*        watchdog timer interval                        *
;************************************************
V_INTWDT        CSEG        AT        00004H

        DW        ITR_NONE

;************************************************
;*        low-voltage detection                        *
;************************************************
V_INTLVI        CSEG        AT        00006H

        DW        ITR_NONE

;************************************************
;*        pin input edge detection INTP0                *
;************************************************
V_INTP0                CSEG        AT        00008H

        DW        ITR_NONE

;************************************************
;*        pin input edge detection INTP1                *
;************************************************
V_INTP1                CSEG        AT        0000AH

        DW        ITR_NONE

;************************************************
;*        pin input edge detection INTP2                *
;************************************************
V_INTP2                CSEG        AT        0000CH

        DW        ITR_NONE

;************************************************
;*        pin input edge detection INTP3                *
;************************************************
V_INTP3                CSEG        AT        0000EH

        DW        ITR_NONE
页: [1]
查看完整版本: 瑞萨单片机汇编程序问题