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

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

?? uclock.psm

?? Xilinx的培訓教程的源碼 virtex
?? PSM
?? 第 1 頁 / 共 4 頁
字號:
                        COMPARE s4, seconds_in_a_minute
                        JUMP NC, invalid_time
                        LOAD s0, 00
                        SR0 s0                                   ;reset CARRY flag (with s0=0)
                        RETURN                                   ;time string was OK
          invalid_time: CALL send_Invalid
                        CALL send_space
                        CALL send_Time
                        LOAD s0, 01
                        SR0 s0                                   ;set CARRY flag
                        RETURN                                   ;time string was bad
                        ;
                        ;
                        ;Fetch character from memory, convert to upper case
                        ;and increment memory pointer.
                        ;
                        ;The memory pointer is provided in register s1.
                        ;The character obtained is returned in register s0.
                        ;
                        ;Registers used s0 and s1.
                        ;
fetch_char_from_memory: FETCH s0, (s1)                           ;read character
                        CALL upper_case                          ;convert to upper case
                        ADD s1, 01                               ;increment memory pointer
                        RETURN
                        ;
                        ;
                        ;
                        ;Read one character from the UART
                        ;
                        ;Character read will be returned in a register called 'UART_data' and will be
                        ;echoed to the UART transmitter.
                        ;
                        ;The routine first tests the receiver FIFO buffer to see if data is present.
                        ;If the FIFO is empty, the routine waits until there is a character to read.
                        ;As this could take any amount of time the wait loop includes a call to the
                        ;subroutine which updates the real time clock.
                        ;
                        ;Registers used s0 and UART_data
                        ;
        read_from_UART: INPUT s0, UART_status_port               ;test Rx_FIFO buffer
                        TEST s0, rx_data_present
                        JUMP NZ, read_character
                        CALL update_time                         ;Perform useful operation whilst waiting
                        JUMP read_from_UART
        read_character: INPUT UART_data, UART_read_port          ;read from FIFO
                        CALL send_to_UART                        ;echo received character
                        RETURN
                        ;
                        ;
                        ;
                        ;Transmit one character to the UART
                        ;
                        ;Character supplied in register called 'UART_data'.
                        ;
                        ;The routine first tests the transmit FIFO buffer to see if it is full.
                        ;If the FIFO is full, the routine waits until there is space which could
                        ;be as long as it takes to transmit one complete character.
                        ;
                        ;    Baud Rate    Time per Character (10 bits)
                        ;      9600           1,024us
                        ;     19200             521us
                        ;     38400             260us
                        ;     57600             174us
                        ;    115200              87us
                        ;
                        ;Since this is a relatively long duration, the wait loop includes a
                        ;call to the subroutine which updates the real time clock.
                        ;
                        ;Registers used s0
                        ;
          send_to_UART: INPUT s0, UART_status_port               ;test Tx_FIFO buffer
                        TEST s0, tx_full
                        JUMP Z, UART_write
                        CALL update_time                         ;Perform useful operation whilst waiting
                        JUMP send_to_UART
            UART_write: OUTPUT UART_data, UART_write_port
                        RETURN
                        ;
                        ;
                        ;
                        ;
                        ;Alarm output
                        ;
                        ;Uses the alarm status scratch pad memory to set or reset the alarm
                        ;control bit on the alarm output port.
                        ;
                        ;Registers used s0
                        ;
           alarm_drive: FETCH s0, alarm_status                   ;read status
                        AND s0, alarm_active                     ;isolate bit0
                        OUTPUT s0, alarm_port
                        RETURN
                        ;
                        ;
                        ;
                        ;
                        ;
                        ;Transmit the time to the UART port in the format hh:mm:ss and end
                        ;with a carriage return.
                        ;
                        ;The time to converted must be stored in 3 scratch pad memory locations as
                        ;defined below. A register named 'store_pointer' must provide the address of
                        ;first location.
                        ;
                        ;        Address                Data
                        ;
                        ;     store_pointer      ----> hours
                        ;     store_pointer + 1  ----> minutes
                        ;     store_pointer + 1  ----> seconds
                        ;
                        ;The routine first converts the time into an ASCII string stored in scratch
                        ;pad memory starting at a location specified by a constant named 'string_start'.
                        ;The string will then be transmitted.
                        ;
                        ;Registers used s0, s1, s2, 'store_pointer' and 'UART_data'.
                        ;
         transmit_time: LOAD store_pointer, real_time_hours      ;locate current time in memory
                        CALL time_to_ASCII
                        CALL transmit_string
                        RETURN
                        ;
                        ;
                        ;Transmit the alarm time and status to the UART port in the format hh:mm:ss and
                        ;ending with carriage return.
                        ;
                        ;The alarm time to converted must be stored in 3 scratch pad memory locations as
                        ;defined below. A register named 'store_pointer' must provide the address of
                        ;first location.
                        ;
                        ;        Address                Data
                        ;
                        ;     store_pointer      ----> hours
                        ;     store_pointer + 1  ----> minutes
                        ;     store_pointer + 1  ----> seconds
                        ;
                        ;The routine first converts the time into an ASCII string stored in scratch
                        ;pad memory starting at a location specified by a constant named 'string_start'.
                        ;The string will then be transmitted.
                        ;
                        ;Registers used s0, s1, s2, 'store_pointer' and 'UART_data'.
                        ;
   transmit_alarm_time: LOAD store_pointer, alarm_time_hours     ;locate alarm time in memory
                        CALL time_to_ASCII
                        CALL transmit_string
                        CALL send_Alarm
                        CALL send_space
                        FETCH s0, alarm_status                   ;read alarm status
                        TEST s0, alarm_active                    ;test for active
                        JUMP Z, test_armed
                        CALL send_Active
                        RETURN
            test_armed: TEST s0, alarm_armed                     ;test for on
                        JUMP Z, alarm_is_off
                        CALL send_ON
                        RETURN
          alarm_is_off: CALL send_OFF
                        RETURN
                        ;
                        ;
                        ;Transmit ASCII string to UART
                        ;
                        ;An ASCII string must be provided in scratch pad memory commencing at the
                        ;location specified by a constant named 'string_start'. The string must
                        ;end with a carriage return (0D).
                        ;
                        ;Registers used s1 and 'UART_data'.
                        ;               s0 is then used in subroutine 'send_to_UART'
                        ;
       transmit_string: LOAD s1, string_start                    ;locate start of string
          next_char_tx: FETCH UART_data, (s1)                    ;read character from memory
                        CALL send_to_UART                        ;transmit character
                        COMPARE UART_data, character_CR          ;test for last character
                        RETURN Z
                        ADD s1, 01                               ;move to next character
                        JUMP next_char_tx
                        ;
                        ;
                        ;Receive ASCII string from UART
                        ;
                        ;An ASCII string will be read from the UART and stored in scratch pad memory
                        ;commencing at the location specified by a constant named 'string_start'.
                        ;The string will will have a maximum length of 16 characters including a
                        ;carriage return (0D) denoting the end of the string.
                        ;
                        ;As each character is read, it is echoed to the UART transmitter.
                        ;Some minor editing is supported using backspace (BS=08) which is used
                        ;to adjust what is stored in scratch pad memory and adjust the display
                        ;on the terminal screen using characters sent to the UART transmitter.
                        ;
                        ;A test is made for the receiver FIFO becoming full. A full status is treated as
                        ;a potential error situation and will result in a 'Overflow Error' message being
                        ;transmitted to the UART, the receiver FIFO being purged of all data and an
                        ;empty string being stored (carriage return at first location).
                        ;
                        ;Registers used s0, s1, s2 and 'UART_data'.
                        ;
        receive_string: LOAD s1, string_start                    ;locate start of string
                        LOAD s2, s1                              ;compute 16 character address
                        ADD s2, 10
     receive_full_test: INPUT s0, UART_status_port               ;test Rx_FIFO buffer for full
                        TEST s0, rx_full
                        JUMP NZ, read_error
                        CALL read_from_UART                      ;obtain and echo character
                        STORE UART_data, (s1)                    ;write to memory
                        COMPARE UART_data, character_CR          ;test for end of string
                        RETURN Z
                        COMPARE UART_data, character_BS          ;test for back space
                        JUMP Z, BS_edit
                        ADD s1, 01                               ;increment memory pointer
                        COMPARE s1, s2                           ;test for pointer exceeding 16 characters
                        JUMP NZ, receive_full_test               ;next character
                        CALL send_backspace                      ;hold end of string position on terminal display
               BS_edit: SUB s1, 01                               ;memory pointer back one
                        COMPARE s1, string_start                 ;test for under flow
                        JUMP C, string_start_again
                        CALL send_space                          ;clear character at current position
                        CALL send_backspace                      ;position cursor
                        JUMP receive_full_test                   ;next character
    string_start_again: CALL send_greater_than                   ;restore '>' at prompt
                        JUMP receive_string                      ;begin again
                        ;Receiver buffer overflow condition
            read_error: CALL send_CR                             ;Transmit error message
                        STORE UART_data, string_start            ;empty string in memory (start with CR)
                        CALL send_Overflow_Error
                        CALL send_CR
    clear_UART_Rx_loop: INPUT s0, UART_status_port               ;test Rx_FIFO buffer for data
                        TEST s0, rx_data_present
                        RETURN Z                                 ;finish when buffer is empty
                        INPUT UART_data, UART_read_port          ;read from FIFO and ignore
                        JUMP clear_UART_Rx_loop
                        ;
                        ;
                        ;
                        ;Send Carriage Return to the UART
                        ;
               send_CR: LOAD UART_data, character_CR
                        CALL send_to_UART
                        RETURN
                        ;
                        ;
                        ;
                        ;Send a space to the UART
                        ;
            send_space: LOAD UART_data, character_space
                        CALL send_to_UART
                        RETURN
                        ;
                        ;
                        ;Send a back space to the UART
                        ;
        send_backspace: LOAD UART_data, character_BS
                        CALL send_to_UART

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕成人在线观看| 久久综合久久鬼色中文字| 久久亚洲捆绑美女| 56国语精品自产拍在线观看| 亚洲国产中文字幕在线视频综合| 91激情在线视频| 丝袜诱惑制服诱惑色一区在线观看| 国产精品美女久久久久久2018| 91麻豆免费看| 亚洲成在人线免费| 2020国产成人综合网| 精品国产免费久久| bt欧美亚洲午夜电影天堂| 亚洲成人tv网| 午夜伊人狠狠久久| 午夜精品久久久久影视| **性色生活片久久毛片| 91精品国产手机| 波多野结衣精品在线| 不卡一区二区三区四区| 喷水一区二区三区| 亚洲欧洲综合另类| 久久综合九色综合欧美就去吻 | 色呦呦网站一区| 日韩精品乱码免费| 日本v片在线高清不卡在线观看| 日韩avvvv在线播放| 亚洲黄网站在线观看| 久久久精品影视| 91超碰这里只有精品国产| 在线综合+亚洲+欧美中文字幕| 91精品国产全国免费观看| 久久一区二区视频| 国产精品久久久久婷婷二区次| 精品福利一区二区三区免费视频| 久久久五月婷婷| 日韩久久一区二区| 国产精品欧美一级免费| 亚洲欧美日韩国产综合在线| 亚洲高清三级视频| 久久精品二区亚洲w码| 一区二区高清免费观看影视大全| 欧美—级在线免费片| ...av二区三区久久精品| 亚洲一区二区三区四区在线| 最近日韩中文字幕| 午夜一区二区三区视频| 韩国一区二区视频| 日本麻豆一区二区三区视频| 国产在线精品一区二区不卡了| 日韩—二三区免费观看av| 国产成人综合在线播放| 黑人精品欧美一区二区蜜桃 | 欧美性xxxxx极品少妇| 国产精品一二三区| 国产一区在线视频| 色欧美乱欧美15图片| 精品国产免费视频| 一区二区三区精品久久久| 国精产品一区一区三区mba桃花 | 国产精品看片你懂得| 日韩电影免费在线看| 99久久久国产精品免费蜜臀| 成人av网址在线| 欧美日韩成人高清| 国产成人三级在线观看| 不卡av在线免费观看| 91精品视频网| 亚洲另类一区二区| 国产精品一区二区x88av| 欧美日韩在线播放一区| 色综合 综合色| 久久久影院官网| 亚洲成人免费视| av在线不卡免费看| 久久综合色鬼综合色| 日本不卡一二三| 欧美午夜精品久久久久久孕妇| 日本一区二区不卡视频| 免费av网站大全久久| 欧美在线影院一区二区| 精品污污网站免费看| 国产精品国产三级国产aⅴ原创| 日本成人在线不卡视频| 在线免费视频一区二区| 中文在线一区二区 | 欧美午夜电影网| 国产精品网曝门| 国产在线播精品第三| 日韩欧美一级特黄在线播放| 欧美r级在线观看| 国产欧美日本一区视频| 中文字幕一区二区三区四区 | av在线不卡观看免费观看| 久久蜜桃av一区二区天堂| 免费成人在线观看视频| 欧美一区二区三区免费在线看| 一个色在线综合| 一本到高清视频免费精品| 成人免费在线视频| 成人精品视频.| 欧美日韩一区中文字幕| 一区二区三区免费看视频| eeuss鲁片一区二区三区| 国产精品蜜臀在线观看| 粉嫩欧美一区二区三区高清影视| 色噜噜夜夜夜综合网| 成人欧美一区二区三区黑人麻豆 | 欧美精品欧美精品系列| 久久久久9999亚洲精品| 精品一区二区三区在线视频| 99精品视频一区| 国产精品理伦片| 99久久国产综合精品色伊| 18成人在线视频| 成人国产精品免费| 亚洲人亚洲人成电影网站色| 色综合中文字幕国产 | 欧美男女性生活在线直播观看| 亚洲特黄一级片| 日本高清成人免费播放| 亚洲激情av在线| 欧美久久久一区| 日韩**一区毛片| 亚洲精品在线免费观看视频| 久久精品国产久精国产| 久久免费偷拍视频| 粉嫩欧美一区二区三区高清影视| 亚洲欧洲精品一区二区三区不卡 | 久久久久久久久免费| 国产成人免费视频网站| 综合网在线视频| 欧美日韩高清影院| 毛片av一区二区三区| 色综合久久久久久久| 亚洲午夜久久久久久久久电影网 | 欧美一区二区免费观在线| 激情综合五月婷婷| 国产欧美精品在线观看| 在线免费观看日韩欧美| 日韩福利视频网| 欧美韩国一区二区| 91视视频在线观看入口直接观看www| 亚洲最新在线观看| 日韩视频国产视频| 亚洲自拍偷拍网站| 日韩视频在线你懂得| 国产成人免费视频一区| 一区二区三区精品视频在线| 日韩一区二区在线看片| 丁香婷婷深情五月亚洲| 亚洲一区二区三区国产| 精品裸体舞一区二区三区| 国产91精品精华液一区二区三区 | 激情小说亚洲一区| 亚洲天堂成人网| 日韩一卡二卡三卡| 99久久777色| 看国产成人h片视频| 国产精品第一页第二页第三页 | 亚洲国产综合91精品麻豆| 亚洲精品一区二区三区在线观看| av福利精品导航| 人人超碰91尤物精品国产| 一区二区中文视频| 日韩精品一区二区三区视频播放| av电影在线观看一区| 久久精品国产99久久6| 亚洲乱码国产乱码精品精98午夜 | 国产成人8x视频一区二区 | 91视频免费看| 国产在线麻豆精品观看| 亚洲一区二区综合| 久久免费的精品国产v∧| 欧美日韩午夜在线| 国产成人精品免费| 日产国产高清一区二区三区| 国产精品电影院| 久久免费电影网| 日韩手机在线导航| 欧美性高清videossexo| 成人免费视频网站在线观看| 蜜桃久久av一区| 洋洋av久久久久久久一区| 国产精品毛片久久久久久| 日韩视频国产视频| 欧美另类z0zxhd电影| 91一区二区在线观看| 国产+成+人+亚洲欧洲自线| 免费成人结看片| 天天综合网 天天综合色| 一区在线中文字幕| 国产精品网站在线观看| 久久天天做天天爱综合色| 制服丝袜成人动漫| 欧美性极品少妇| 日本精品裸体写真集在线观看| 成人国产精品免费| 不卡的看片网站| 国产91精品露脸国语对白|