亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? bdm.c

?? HCS08仿真器資料:資料詳細
?? C
?? 第 1 頁 / 共 5 頁
字號:
/* 4.5 - 6.5 MHz */
unsigned char bdm_rx3(void) {
  #pragma NO_RETURN
  asm {
    LDA   #RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    CLRX                    /* prepare HX to point to PTA */  
    CLRH
    /* bit 7 (MSB) */
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 6 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 5 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 4 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 3 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 2 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 1 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    /* bit 0 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BIT   ,X                /* wait 2 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    /* now get the bit values (last value is in X, previous 7 on stack) */
    JMP   rx_stack_decode
  }
}
/* 3.86 - 5.57 MHz */
unsigned char bdm_rx4(void) {
  #pragma NO_RETURN
  asm {
    LDA   #RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    CLRX                    /* prepare HX to point to PTA */  
    CLRH
    /* bit 7 (MSB) */
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 6 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 5 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 4 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 3 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 2 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 1 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    NOP                     /* wait 1 cycle */
    /* bit 0 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    /* now get the bit values (last value is in X, previous 7 on stack) */
    JMP   rx_stack_decode
  }
}
/* 3.38 - 4.48 MHz */
unsigned char bdm_rx5(void) {
  #pragma NO_RETURN
  asm {
    LDA   #RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    //LDA   #BDM_DIR1_MASK+RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    CLRX                    /* prepare HX to point to PTA */  
    CLRH
    /* bit 7 (MSB) */
    
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 6 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 5 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 4 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 3 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 2 */                
     mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 1 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    PSHX                    /* store the value on the stack */
    CLRX                    /* clear X again */
    BIT   ,X                /* wait 2 cycles */
    /* bit 0 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    BRN   0                 /* wait 3 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
    /* now get the bit values (last value is in X, previous 7 on stack) */
    JMP   rx_stack_decode
  }
}
/* 2.7 - 3.9 MHz */
unsigned char bdm_rx6(void) {
  asm {
    LDA   #RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    //LDA   #BDM_DIR1_MASK+RESET_OUT_MASK	/* contents of A will be driven to PTA in order to switch the driver off */
    CLRX                    /* prepare HX to point to PTA */  
    CLRH
    /* bit 7 (MSB) */
  mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
      STA   ,X                /* switch BDM to high impedance */
    BRSET 0,DDRA,0          /* wait 5 cycles */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
		LSLX                    /* shift BDM_IN into C */
		LSLX
    CLRX                    /* clear X again */
    BRN   0                 /* wait 3 cycles */
    /* bit 6 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    ROL   i                 /* shift C into i (from the bottom) */
		NOP                     /* wait 1 more cycle (5 cycles in total together with ROL) */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
		LSLX                    /* shift BDM_IN into C */
		LSLX
    CLRX                    /* clear X again */
    BRN   0                 /* wait 3 cycles */
    /* bit 5 */                
    mov #0x10,0
    //STX   ,X                /* drive BDM low */
    //NOP                     /* wait 1 cycle */
    STA   ,X                /* switch BDM to high impedance */
    ROL   i                 /* shift C into i (from the bottom) */
		NOP                     /* wait 1 more cycle */
    LDX   ,X                /* load X with value on the PTA port (including BDM_IN) */
		LSLX                    /* shift BDM_IN into C */
		LSLX

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品tushy高清| 国产精品久久久久7777按摩| 久久久精品一品道一区| 亚洲日本在线视频观看| 久久精品国产亚洲高清剧情介绍| 成人精品电影在线观看| 91精品国产福利在线观看 | 欧美日韩免费不卡视频一区二区三区 | 91国产视频在线观看| 久久老女人爱爱| 欧美aⅴ一区二区三区视频| 色欧美片视频在线观看在线视频| 337p日本欧洲亚洲大胆色噜噜| 天堂蜜桃91精品| 欧美午夜影院一区| 亚洲精品高清在线| 北条麻妃一区二区三区| 国产日产亚洲精品系列| 美女一区二区视频| 欧美色综合久久| 伊人一区二区三区| 色综合中文字幕| 亚洲视频免费在线观看| 成人动漫av在线| 中文一区一区三区高中清不卡| 国产精品88av| 中文字幕av一区二区三区| 国产精品一区在线观看你懂的| 日韩女优毛片在线| 日本伊人色综合网| 欧美一区二区精品在线| 久久精品国产精品亚洲精品| 日韩欧美中文字幕制服| 免费av网站大全久久| 日韩一区二区三区四区| 琪琪一区二区三区| 日韩美女天天操| 国产精一品亚洲二区在线视频| 久久理论电影网| 成人国产精品免费观看视频| 亚洲欧洲中文日韩久久av乱码| 91色porny| 亚洲成在线观看| 欧美一区二区三区思思人| 久久99热这里只有精品| 久久久久国产精品人| 成人综合婷婷国产精品久久蜜臀| 国产精品欧美久久久久一区二区| 99这里都是精品| 亚洲国产aⅴ天堂久久| 制服视频三区第一页精品| 久久99精品久久只有精品| 国产日韩精品一区二区三区| 成人精品免费网站| 亚洲一二三四久久| 91精品国产综合久久久蜜臀图片| 久久99在线观看| 亚洲人吸女人奶水| 7777精品伊人久久久大香线蕉超级流畅 | 亚洲日本va午夜在线影院| 欧美在线制服丝袜| 久久福利视频一区二区| 国产欧美日本一区视频| 欧美亚洲高清一区二区三区不卡| 日本中文一区二区三区| 中文字幕欧美激情| 精品视频一区二区不卡| 激情小说欧美图片| 一区二区三区欧美在线观看| 日韩一区二区三区免费看| 国产成人av一区二区| 亚洲成人在线网站| 国产欧美在线观看一区| 欧美老肥妇做.爰bbww视频| 激情图片小说一区| 亚洲制服丝袜在线| 久久综合狠狠综合| 欧美午夜不卡在线观看免费| 国产69精品久久久久777| 婷婷综合五月天| 亚洲素人一区二区| 久久人人超碰精品| 欧美日韩三级一区| 成人福利视频在线看| 免费观看成人鲁鲁鲁鲁鲁视频| 亚洲视频一二三区| 久久伊人中文字幕| 欧美一区二区三区视频在线| 99久久久国产精品免费蜜臀| 九色|91porny| 天堂蜜桃一区二区三区 | 91老师片黄在线观看| 国产毛片精品一区| 青青草视频一区| 亚洲一区二区三区四区在线观看| 日本一区二区三区久久久久久久久不 | 久久精品一二三| 91精品黄色片免费大全| 欧美色电影在线| 色综合久久99| 91麻豆swag| 成人黄色大片在线观看| 国产成人在线看| 国产成人av电影在线观看| 老司机午夜精品| 伦理电影国产精品| 美女视频一区二区| 久久国产精品72免费观看| 日本不卡不码高清免费观看| 亚洲主播在线观看| 亚洲黄色在线视频| 亚洲妇女屁股眼交7| 亚洲成人免费在线观看| 一区二区三区在线视频观看| 亚洲欧美另类小说| 亚洲精品国久久99热| 亚洲精品国产品国语在线app| 日韩毛片一二三区| 亚洲一线二线三线久久久| 亚洲www啪成人一区二区麻豆| 亚洲电影视频在线| 日韩电影在线一区| 激情六月婷婷综合| 懂色av一区二区三区免费观看 | 国产精品久久夜| 日韩美女啊v在线免费观看| 一区二区三区小说| 午夜视频久久久久久| 秋霞av亚洲一区二区三| 韩国女主播成人在线观看| 国产成人精品亚洲777人妖| www.亚洲精品| 欧美吞精做爰啪啪高潮| 日韩欧美一区二区久久婷婷| 久久久久国产精品人| 亚洲视频在线一区| 日韩影院免费视频| 国产很黄免费观看久久| 一本色道久久综合亚洲91| 欧美日韩免费观看一区二区三区| 日韩欧美国产午夜精品| 国产欧美一区二区精品仙草咪| 中文字幕亚洲一区二区av在线| 亚洲国产精品影院| 精品亚洲免费视频| 在线视频亚洲一区| 91精品久久久久久久久99蜜臂| 国产清纯白嫩初高生在线观看91| 亚洲精品国产一区二区精华液| 裸体在线国模精品偷拍| 成人黄色小视频| 欧美精品乱码久久久久久| 久久精子c满五个校花| 亚洲午夜视频在线观看| 国产精品亚洲视频| 91精品黄色片免费大全| 自拍偷拍国产精品| 国内成人精品2018免费看| 91成人在线精品| 久久久精品日韩欧美| 亚洲高清免费一级二级三级| 国产成人av电影在线播放| 91麻豆精品国产91久久久更新时间| 欧美激情在线观看视频免费| 日韩中文欧美在线| 色综合久久中文字幕| 国产欧美日韩综合精品一区二区| 亚洲福利一区二区| 色综合久久中文字幕综合网| 久久精品一区八戒影视| 美女久久久精品| 欧美日韩亚州综合| 亚洲欧美激情视频在线观看一区二区三区 | 亚洲午夜久久久久中文字幕久| 国产一区二区0| 欧美一级日韩免费不卡| 亚洲成a人片综合在线| 91老师国产黑色丝袜在线| 欧美经典一区二区三区| 韩国av一区二区三区在线观看| 欧美日韩国产高清一区二区 | 色婷婷久久综合| 亚洲国产精华液网站w| 国产乱理伦片在线观看夜一区| 在线播放视频一区| 亚洲成人激情av| 欧美色图激情小说| 亚洲国产日韩a在线播放性色| 97se亚洲国产综合自在线不卡| 久久久久久毛片| 国产在线精品一区二区夜色| 日韩一二在线观看| 偷拍一区二区三区四区| 欧美日韩一区二区在线视频| 亚洲欧美视频在线观看视频| 成人开心网精品视频| 一区在线观看视频| 91亚洲国产成人精品一区二区三| 国产精品天干天干在观线| 成人h动漫精品|