2010年12月13日

摘要: Big NumberTime Limit:1000MSMemory Limit:65536KTotal Submissions:17518Accepted:5541DescriptionIn many applications very large integers numbers are required. Some of these applications are using keys for secure transmission of data, encryption, etc. In this problem you are given a number, you have to 阅读全文
posted @ 2010-12-13 16:42 yming0221 阅读(168) 评论(0) 推荐(0)
摘要: ;*******************************;;* 中断实验 *;;*******************************;data segmentmess db 'TPCA interrupt!',0dh,0ah,'$'data endscode segmentassume cs:code,ds:datastart: mov ax,cs mov ds,ax mov dx,offset int3 ;USB设备中断为IRQ3 mov ax,250bh ;设置中断3的中断矢量 int 21h cli ;CPU清中断标志位 in al... 阅读全文
posted @ 2010-12-13 16:14 yming0221 阅读(175) 评论(0) 推荐(0)
摘要: ;************************;;*8251串行通讯(自发自收)*;;************************;data segmentio8253a equ 280hio8253b equ 283hio8251a equ 2b8hio8251b equ 2b9hmes1 db 'you can play a key on the keybord!',0dh,0ah,24hmes2 dd mes1data endscode segment assume cs:code,ds:datastart: mov ax,data mov ds,ax mov d 阅读全文
posted @ 2010-12-13 16:13 yming0221 阅读(206) 评论(0) 推荐(0)
摘要: POJ 1496 Word IndexTime Limit:1000MSMemory Limit:10000KTotal Submissions:3035Accepted:1731DescriptionEncoding schemes are often used in situations requiring encryption or information storage/transmission economy. Here, we develop a simple encoding scheme that encodes particular types of words with f 阅读全文
posted @ 2010-12-13 13:14 yming0221 阅读(208) 评论(0) 推荐(0)

导航