CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - h.3
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
assembly language
SCSI-ASPI
ELanguage
Disk Tools
Speech/Voice recognition/combine
Editor
Anti-virus
MultiLanguage
MPI
source in ebook
Delphi VCL
OS Develop
MiddleWare
MacOS develop
LabView
e-language
python
Search - h.3 - List
[
assembly language
]
baogeascii
DL : 0
一、用表格形式显示字符 1、题目:用表格形式显示ASCII字符 2、实验要求: 按15行*16列的表格形式显示ASCII码为10H-100H之间的所有字符,即以行为主的顺序用ASCII码递增的次序依次显示对应的字符.每16个字符为一行,每行中的相邻两个字符之间用空白符(ASCII为0)隔开. 3、提示: (1)显示每个字符可能使用功能号为02的显示输出功能调用,使用方法如下: MOV AH,02H MOV DL,输出字符的ASCII码 INT 21H 本题中可把DL初始化为10H,然后不断使其加1(用INC指令)以取得下一个字符的ASCII码. (2)显示空白符时,用其ASCII码为0置入DL寄存器.每行结束时,用显示回车和换行符结束本行并开始下一行. (3)由于逐个显示相继为ASCII字符时,需要保存并不断修改DL寄存器的内容,而显示空白、回车、换行符时也需要使用DL寄存器,为此可用堆栈来保存相继的ASCII字符。 具体用法是:在显示空白或回车、换行符前用指令PUSH DX把DL的内容保存到堆栈中去。在显示空白或回车、换行符后用指令恢复DL寄存器的原始内容。-a tabular form with a character show, entitled : tabular form showed two ASCII characters, experimental requirements : * 15 by 16 firms in tabular form for the show ASCII des-100H between all characters, that is, to act with the main sequence of ASCII increase in the order corresponding to the sequence of characters. Each of the 16 characters, and his party Each line of the adjacent between two characters with an empty site (ASCII 0) separated. 3, Tip : (1), showing each character may be used for 02 functions, the output function, use the following method : MOV AH, 02H MOV DL, Output ASCII characters INT 21H this issue can be put to initialize the DL 10 H, and then it increases one (using INC. Directive) to obtain under an ASCII characters. (2), showing a blank website , with its ASCII 0 p
Date
: 2008-10-13
Size
: 1.42kb
User
:
庄宁文
[
assembly language
]
WordGame
DL : 0
用汇编语言做的一个打字游戏。运行环境是MASN5.0。 1,用户打开软件时先出现欢迎界面,当用户输入字符’1’时,再进入打字界面 当用户按的是”ESC”键时,退出打字游戏 当用户输入不是数字”1”或者不是按的”ESC”键时,屏幕不动作,直到用户输入数字”1”或者按的”ESC”键时 2,打字字符从第二行开始显示(双数行为显示打字内容,单数行由用户输入) 打字内容:1), We will see his boat and then.We ll say goodbye to him. 2), He ll be away for two months.We are very proud of him. 3,用户输入的和上一行相对应相等时,表示输入正确,否则输入错误,则显示’#’ 当用户按下”ESC”键,退出打字程序 4,显示用户打字的正确性,假如错误数小于10字符,显示” Very Good!” 否则显示” Very Bad!” 5,当用户输入一次时,假如用户还想重新打字游戏,请按数字键”3”,否则按”ESC”键退出打字程序 -using assembly language to do a typing game. MASN5.0 operating environment. 1, users first open software interface welcome there, when user input characters'1 ', enter the interface when a user typing on the "ESC" key, typing from user input when the game is not the number "1" or not by the "ESC" key, the screen is not action, until the user input digit "1" or by the "ESC" key at the two, typing characters from the second line started to show (even acts of a few shows typing, a few lines from the single-user input) typing : 1) We will see his boat and then.We'll say goodbye to him. 2) He'll be away for two months.We are very proud of h im. 3, and the user input on his relative should be equal, it said that the importation of
Date
: 2008-10-13
Size
: 7.41kb
User
:
sfd
[
assembly language
]
sgj3
DL : 0
考察例1 4 - 8中的1 4个点。A中的最近点对为(b,h),其距离约为0 . 3 1 6。B中最近点对为 (f, j),其距离为0 . 3,因此= 0 . 3。当考察 是否存在第三类点时,除d, g, i, l, m 以外 的点均被淘汰,因为它们距分割线x= 1的 距离≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比较区中没有点,只需考察i 即可。i 的比较区中仅含点l。计算i 和l 的距离,发现它小于,因此(i, l) 是最近
Date
: 2008-10-13
Size
: 1.65kb
User
:
史桂金
[
assembly language
]
2
DL : 0
用汇编语言来使键盘成为一个演奏音乐的电子琴。高音依次1,2,3,4,5,6,7 。中音依次为q,w,e,r,t,y,u 。低音依次为a,s,d,f,g,h,j
Date
: 2008-10-13
Size
: 1.14kb
User
:
吴丹
[
assembly language
]
SDreadandwrite
DL : 0
1.sdconfig.h: 该文件为SD卡读写模块配置头文件,用户可根据实际硬件条件进行修改. 2. SD目录 : SD卡读写模块的全部文件,一般不用修改. 3. 建议sdconfig.h文件不要放于SD目录中,因为SD目录中的文件一般无须修改, 而sdconfig.h通常会有改动.
Date
: 2008-10-13
Size
: 19.53kb
User
:
王彦
[
assembly language
]
FIR5
DL : 1
系数对称的FIR滤波器设计 * *N=8,h(n)=h(N-1-n) * *y(n)=h0*[x(n)+x(n-7)]+h1*[x(n-1)+x(n-6)] * * +h2*[x(n-2)+x(n-5)]+h3*[x(n-3)+x(n-4)]
Date
: 2008-10-13
Size
: 1014byte
User
:
hhh
[
assembly language
]
1602h
DL : 0
LCD1602B基本驱动函数库 1、需要底层硬件驱动函数支持 基本的宏定义: LCD_RS LCD_RW LCD_E LCD_SetWriteData LCD_SetReadData LCD_HalfData_Port LCD_HalfData_DDR LCD_SendHalfCharHigh(a) LCD_SendHalfCharLow(a) 2、需要基本的延时函数支持基本的延时函数: DelayMs() 毫秒 DelayUs() 微妙 3、需要修改引用宏定义来指定底层硬件驱动 函数库。 4、该头文件支持4位发送模式,硬件连接4位 8位都支持。 -LCD1602B basic functions a driver, the underlying hardware drivers needed to support the basic functions of Acer definition : LCD_RS LCD_RW LCD_E LCD_SetWriteData LCD_SetReadData LCD_HalfData_Port LCD_HalfData_DDR LCD_SendHalfCharHigh (a) LCD_ SendHalfCharLow (a) 2, the basic needs of the time-delay function to support the basic functions of the delay : DelayMs () millisecond DelayUs () three delicate, Acer cited a need to amend the definition to specify the underlying hardware-driven functions. 4, the first four documents to support this model, the hardware connecting four eight support.
Date
: 2025-12-16
Size
: 3kb
User
:
集散地
[
assembly language
]
baogeascii
DL : 0
一、用表格形式显示字符 1、题目:用表格形式显示ASCII字符 2、实验要求: 按15行*16列的表格形式显示ASCII码为10H-100H之间的所有字符,即以行为主的顺序用ASCII码递增的次序依次显示对应的字符.每16个字符为一行,每行中的相邻两个字符之间用空白符(ASCII为0)隔开. 3、提示: (1)显示每个字符可能使用功能号为02的显示输出功能调用,使用方法如下: MOV AH,02H MOV DL,输出字符的ASCII码 INT 21H 本题中可把DL初始化为10H,然后不断使其加1(用INC指令)以取得下一个字符的ASCII码. (2)显示空白符时,用其ASCII码为0置入DL寄存器.每行结束时,用显示回车和换行符结束本行并开始下一行. (3)由于逐个显示相继为ASCII字符时,需要保存并不断修改DL寄存器的内容,而显示空白、回车、换行符时也需要使用DL寄存器,为此可用堆栈来保存相继的ASCII字符。 具体用法是:在显示空白或回车、换行符前用指令PUSH DX把DL的内容保存到堆栈中去。在显示空白或回车、换行符后用指令恢复DL寄存器的原始内容。-a tabular form with a character show, entitled : tabular form showed two ASCII characters, experimental requirements :* 15 by 16 firms in tabular form for the show ASCII des-100H between all characters, that is, to act with the main sequence of ASCII increase in the order corresponding to the sequence of characters. Each of the 16 characters, and his party Each line of the adjacent between two characters with an empty site (ASCII 0) separated. 3, Tip : (1), showing each character may be used for 02 functions, the output function, use the following method : MOV AH, 02H MOV DL, Output ASCII characters INT 21H this issue can be put to initialize the DL 10 H, and then it increases one (using INC. Directive) to obtain under an ASCII characters. (2), showing a blank website , with its ASCII 0 p
Date
: 2025-12-16
Size
: 1kb
User
:
庄宁文
[
assembly language
]
WordGame
DL : 0
用汇编语言做的一个打字游戏。运行环境是MASN5.0。 1,用户打开软件时先出现欢迎界面,当用户输入字符’1’时,再进入打字界面 当用户按的是”ESC”键时,退出打字游戏 当用户输入不是数字”1”或者不是按的”ESC”键时,屏幕不动作,直到用户输入数字”1”或者按的”ESC”键时 2,打字字符从第二行开始显示(双数行为显示打字内容,单数行由用户输入) 打字内容:1), We will see his boat and then.We ll say goodbye to him. 2), He ll be away for two months.We are very proud of him. 3,用户输入的和上一行相对应相等时,表示输入正确,否则输入错误,则显示’#’ 当用户按下”ESC”键,退出打字程序 4,显示用户打字的正确性,假如错误数小于10字符,显示” Very Good!” 否则显示” Very Bad!” 5,当用户输入一次时,假如用户还想重新打字游戏,请按数字键”3”,否则按”ESC”键退出打字程序 -using assembly language to do a typing game. MASN5.0 operating environment. 1, users first open software interface welcome there, when user input characters'1 ', enter the interface when a user typing on the "ESC" key, typing from user input when the game is not the number "1" or not by the "ESC" key, the screen is not action, until the user input digit "1" or by the "ESC" key at the two, typing characters from the second line started to show (even acts of a few shows typing, a few lines from the single-user input) typing : 1) We will see his boat and then.We'll say goodbye to him. 2) He'll be away for two months.We are very proud of h im. 3, and the user input on his relative should be equal, it said that the importation of
Date
: 2025-12-16
Size
: 7kb
User
:
sfd
[
assembly language
]
sgj3
DL : 0
考察例1 4 - 8中的1 4个点。A中的最近点对为(b,h),其距离约为0 . 3 1 6。B中最近点对为 (f, j),其距离为0 . 3,因此= 0 . 3。当考察 是否存在第三类点时,除d, g, i, l, m 以外 的点均被淘汰,因为它们距分割线x= 1的 距离≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比较区中没有点,只需考察i 即可。i 的比较区中仅含点l。计算i 和l 的距离,发现它小于,因此(i, l) 是最近-Study cases 1 4- 8 1 4 points. A of the nearest point for (b, h), its distance is about 0.3 1 6. B, for the nearest point (f, j), its distance of 0.3, so = 0.3. When the existence of the third category of inspection points, with the exception of d, g, i, l, m outside the points were eliminated, because they are away from partition line a distance x = 1 ≥. RA = (d, i, m), RB = (g, l), as a result of comparison of d and m there is no point area, simply visit i can. i Comparison of area-only point l. Calculating the distance between i and l, and found it less than, the (i, l) is a recently
Date
: 2025-12-16
Size
: 1kb
User
:
史桂金
[
assembly language
]
2
DL : 0
用汇编语言来使键盘成为一个演奏音乐的电子琴。高音依次1,2,3,4,5,6,7 。中音依次为q,w,e,r,t,y,u 。低音依次为a,s,d,f,g,h,j
Date
: 2025-12-16
Size
: 1kb
User
:
吴丹
[
assembly language
]
SDreadandwrite
DL : 0
1.sdconfig.h: 该文件为SD卡读写模块配置头文件,用户可根据实际硬件条件进行修改. 2. SD目录 : SD卡读写模块的全部文件,一般不用修改. 3. 建议sdconfig.h文件不要放于SD目录中,因为SD目录中的文件一般无须修改, 而sdconfig.h通常会有改动. -1.sdconfig.h: The document for the SD card reader module configuration header files, the user hardware according to actual conditions can be modified .2. SD directory: SD card reader module all the documents, the general need not be amended .3. Recommendations sdconfig. h files do not put in the SD directory, because the SD files in the directory are not normally required to be amended and the changes are usually sdconfig.h.
Date
: 2025-12-16
Size
: 19kb
User
:
王彦
[
assembly language
]
FIR5
DL : 0
系数对称的FIR滤波器设计 * *N=8,h(n)=h(N-1-n) * *y(n)=h0*[x(n)+x(n-7)]+h1*[x(n-1)+x(n-6)] * * +h2*[x(n-2)+x(n-5)]+h3*[x(n-3)+x(n-4)]-Symmetrical coefficient FIR filter design** N = 8, h (n) = h (N-1-n)** y (n) = h0* [x (n)+ X (n-7)] 2B ! h1* [x (n-1)+ x (n-6)]**+ h2* [x (n-2)+ x (n-5)]+ h3* [x (n- 3)+ x (n-4)]
Date
: 2025-12-16
Size
: 1kb
User
:
hhh
[
assembly language
]
Flower
DL : 0
电子琴 高音依次为1,2,3,4,5,6,7 中音依次为q,w,e,r,t,y,u 低音依次为a,s,d,f,g,h,j-Treble flower followed by 1,2,3,4,5,6,7 Alto followed by q, w, e, r, t, y, u bass followed by a, s, d, f, g, h, j
Date
: 2025-12-16
Size
: 1kb
User
:
21
[
assembly language
]
ee
DL : 0
1. 设计要求: 1.彩色界面,界面清晰美观,色彩协调。 2.使用DOS系统的0AH号子功能接受用户键入的字符串。 3.建议按下图设计用户界面,颜色自选。 注:双线框由若干CRT显示符组成,相应的CRT显示符(十进制数)已经标注在右图中。1. 设计要求: 1. 转化内容选择下列一项:二进制数→十六进制数显示,二进制数→十进制数显示,十进制数→二进制数显示,十进制数→十六进制数显示,十六进制数→二进制数显示。 2. 给出适当的文字提示 3. 程序要求保护措施,对于非法键入不受理,但回显,显示错误信息。 4.具体显示格式,例如:0111100010011010=789AH1. 设计要求: 1.统计并且显示负数的个数。 2.找出真值最大的数,并以十六进制的形式,显示在屏幕上,显示格式为:MAX= H 3.数据自己在数据段进行定义,个数至少为8个。1. 设计要求: 1.动态画一个实心圆球 2.位置在屏幕中央,变化情况是:逐渐“膨胀”的或者逐渐“收缩”的。-err
Date
: 2025-12-16
Size
: 3kb
User
:
杨闻周
[
assembly language
]
Electronicorgan
DL : 0
电子琴的汇编语言实现,利用TPC-H实验箱上的8253实现二级分频,同时配合以8255A,与门和DAC0832,通过扬声器放音,实现两个八度音高(包括半音)的电子琴。在软硬件相互配合下,电子琴具有弹奏和播放已存乐曲的功能,音长可控,播放速度可选,拥有美观的图形界面模拟真实琴键,且琴键随弹奏有起伏变化。利用微机内部的8253,8255A和内置扬声器,与TPC-H实验板上的8255A和LED,实现节拍器,可产生长度和速度可控的2/4拍,3/4拍及4/4拍等,LED和内置扬声器同时对节拍进行提示。-Electronic organ of the assembly language implementation, the use of TPC-H test me on the 8253 frequency sub-2 implementation, in order to simultaneously meet the 8255A, with the door and DAC0832, playback through the speakers, both realize octave pitch (including half-tone) in Electronic organ. Hardware and software at each other under the Electronic organ has played and play has kept the function of music, sound long-controllable playback speed options, with aesthetically pleasing graphical interfaces simulate the real keys, and keys have their ups and downs playing with. The use of microcomputer internal 8253,8255 A and a built-in speaker, with the TPC-H test plate 8255A and LED, metronome implementation can have a controllable length and speed of 2/4 beat, 3/4 beat and 4/4 beat and so on, LED and built-in speaker at the same time on the beat to carry out prompt.
Date
: 2025-12-16
Size
: 34kb
User
:
甘
[
assembly language
]
keyboard
DL : 0
使用注意:1、应包含头文件slavr.h 2、在工程选项中的Additional Lib中填入slavr 使用编译器使用附加库文件libslavr.a 3、本例采用了作按键释放检查的函数,适用于显 示电路不需频繁刷新的程序,如静态显示、LCD 模块电路等。-Use Note: 1, should include the header file slavr.h 2, in the project options in the Additional Lib fill slavr additional use of the compiler to use library files libslavr.a 3, in this case a check for the release of the function keys, the application of display circuit in the process do not need to refresh frequently, such as a static display, LCD module circuit.
Date
: 2025-12-16
Size
: 1kb
User
:
BRADLEE
[
assembly language
]
DEMO1-3
DL : 0
一·数据定义及存储格式:(数据段定义不同数据演示) 数据在数据区的存储,DW、DB数据定义,十进制、二进制、B格式、H格式、BCD码、ASCII码, 正数、负数(补码)存储及汉字存储。 二·段地址与物理地址:数据段DS、ES、堆栈段SS、程序段CS 三·将数据区BUF1中前N个数,分别与数M相加,数据仍保存在原处。-Definition and a data storage format: (the definition of data different data presentation above) data stored in the data area, DW, DB data definition, decimal, binary, B format, H format, BCD code, ASCII code positive, negative (complement) storage and storage of Chinese characters. Bis address and physical address: data segment DS, ES, paragraph stack SS, program segment CS three data areas BUF1 in the number of pre-N, respectively, with a number of M add up, data is still stored in the original.
Date
: 2025-12-16
Size
: 2kb
User
:
bob
[
assembly language
]
cnmbd
DL : 0
计算工程完成的关键路径 说明: AOE 网络是有向无环加权图,其中顶点表示事件,弧表示活动,权表示活动持续的时间,通常可以用来估算工程完成的时间,即图中从开始点到结束点之间最长的路径对应的时间。请完成一个程序,完成下列任务: 1 、计算 AOE 网络对应的拓扑排序。如果排序结果不唯一,请输出按照从小到大的顺序排列的结果。从小到大的顺序就是输入的节点序列顺序(参见下面关于输入格式的说明)。如图1中满足要求的拓扑排序是: a-b-c-d-e-f-g-h-k ,图2中满足要求的拓扑排序是:v1-v3-v5-v2-v6-v4-v7-v8-v9 2 、计算 AOE 网络的关键路径。注意关键路径可能不唯一,要求输出所有的关键路径。同样,按照是按照从小到大的顺序输出。例,如果得到两条关键路径,分别是0-1-3-6-8-9和0-1-3-4-5-8-9,那么先输出后一条路径,因为两条路径中前三个节点相同,而后一条路径第四个节点的编号小。 测试用例的输入输出格式说明: 输入: 节点的个数,边的条数; 各个节点的名称序列 边: < 起点 , 终点 , 权值 > 。说明起点和终点是在各个点在输入序列中的位置,如图1中边 <a,b> 表示为 <0,1,6> 。 输出: 拓扑排序; -failed to translate
Date
: 2025-12-16
Size
: 2kb
User
:
杨晨
[
assembly language
]
The-cloaaaaq
DL : 0
(1)功能要求该系统要求文件存储用户设置闹铃信息具体功能①设定闹铃间;②修改闹铃;③取消闹铃;④闹铃/停止闹铃(2)界面友提示信息或菜单帮助用户选择功能2)程序设计建议(1) 数据结构struct time 间结构 { int year int month 月 int day int hour ia nt minute 钟 int second 秒* a/} 闹铃用数组或链表存储(2)程序模块及功能①设定模块:设定闹铃间;②修改模块:修 改闹铃;③取消模块:取消闹铃;④闹铃模块:闹铃;⑤停止模块:停止闹铃(3)界面使用图形用户界面使用字符界面-/ TransparentWindow.CPP / / A transparent window class. / / Based on the idea of Jason Wylie ,Franz Polzer,Luo yun bin / e9225140@student.tuwien.ac.at / (C) 2002 by 王鹏 / / Write to me: mailwp@21cn.com //#include stdafx.h #include TransparentWnd.h #include Dib.h #include resource.h
Date
: 2025-12-16
Size
: 2kb
User
:
titi
«
1
2
»
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.