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

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

?? ser.txt

?? 匯編編程藝術
?? TXT
?? 第 1 頁 / 共 2 頁
字號:

Include:	ser.a or stdlib.a

Routine:  ComGetMCR
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	AL = MCR value

Flags affected:       	None

Example of Usage:

			ComGetMCR
			<do something with value in MCR>
Description:

The MCR (modem control register) bits are defined as follows:

 Modem Control Register (MCR):

 bit 0-		Data Terminal Ready (DTR)
 bit 1-		Request to send (RTS)
 bit 2-		OUT 1
 bit 3-		OUT 2
 bit 4-		Loop back control.
 bits 5-7-	Always zero.


The DTR and RTS bits control the function of these lines on the 8250.
They are useful mainly for polled I/O handshake operations (though they
*could* be used with interrupt I/O, it's rarely necessary unless your
main application is *really* slow and the data is coming in real fast.

Out1 and Out2 control output pins on the 8255.  Keep in mind that the OUT1
pin enables/disables the serial port interrupts.  Play with this *only* if
you want to control the interrupt enable.

Loop back control is mainly useful for testing the serial port or checking
to see if a serial chip is present.

Include:	ser.a or stdlib.a

Routine:  ComSetMCR
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	AL = new MCR value

Registers on return:  	None

Flags affected:       	None

Example of Usage:

			mov	al, NewMCRValue
			ComSetMCR

Description:

This routine writes the value in AL to the modem control register.  See
ComGetMCR for details on the MCR register.

Include:	ser.a or stdlib.a

Routine:  ComGetLCR
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	AL = LCR value

Flags affected:       	None

Example of Usage:

			ComGetLCR
			<do something with value in LCR>
Description:

The LCR (line control register) bits are defined as follows:

 Line Control Register (LCR):

 bits 0,1-	Word length (00=5, 01=6, 10=7, 11=8 bits).
 bit 2-		Stop bits (0=1, 1=2 stop bits [1-1/2 if 5 data bits]).
 bit 3-		Parity enabled if one.
 bit 4-		0 for odd parity, 1 for even parity (assuming bit 3 = 1).
 bit 5-		1 for stuck parity.
 bit 6-		1=force break.
 bit 7-		1=Divisor latch access bit.  0=rcv/xmit access bit.

Since the standard library provides routines to initialize the serial chip
(which is the purpose of this port) you shouldn't really mess with this
port at all.  You may, however, use ComGetLCR to see what the current
settings are before making any changes.

Warning: (applies mainly to ComSetLCR) DO NOT, UNDER ANY CIRCUMSTANCES,
CHANGE THE DIVISOR LATCH ACCESS BIT WHILE OPERATING IN INTERRUPT MODE.
The interrupt service routine assumes the rcv/xmit register is mapped in
whenever an interrupt occurs.  If you must play with the divisor latch,
turn off interrupts before changing it.  Always set the divisor latch
access bit back to zero before turning interrupts back on.

Include:	ser.a or stdlib.a

Routine:  ComSetLCR
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	AL = new LCR value

Registers on return:  	None

Flags affected:       	None

Example of Usage:

; If this maps in the divisor latch, be sure we're not operating with
; serial interrupts!

			mov	al, NewLCRValue
			ComSetLCR

Description:

This routine writes the value in AL to the line control register.  See
ComGetLCR for details on the LCR register.  Especially note the warning
about the divisor latch access bit.

Include:	ser.a or stdlib.a

Routine:  ComGetIIR
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	AL = IIR value

Flags affected:       	None

Example of Usage:

			ComGetIIR
			<do something with value in IIR>
Description:

The IIR (interrupt identification register) bits are defined as follows:

 Interrupt ID Register (IIR):

 bit 0-		No interrupt is pending (interrupt pending if zero).
 bits 1,2-	Binary value denoting source of interrupt:
			00-Modem status
			01-Transmitter Hold Register Empty
			10-Received Data Available
			11-Receiver line status
 bits 3-7	Always zero.

This value is of little use to anyone except the interrupt service routine.
The ISR is the only code which should really access this port.

Include:	ser.a or stdlib.a

Routine:  ComGetIER
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	AL = IER value

Flags affected:       	None

Example of Usage:

			ComGetIER
			<do something with value in IER>
Description:

The IER (line control register) bits are defined as follows:

 Interupt enable register (IER):

		If one:
 bit 0-		Enables received data available interrupt.
 bit 1-		Enables transmitter holding register empty interrupt.
 bit 2-		Enables receiver line status interrupt.
 bit 3-		Enables the modem status interrupt.
 bits 4-7-	Always set to zero.

Normally, the interrupt initialization procedure sets up this port.  You may
read or change its value as you deem necessary to control the types of
interrupts the system generates.  Note that the interrupt service routine
(ISR) in the library ignores errors.  You will need to modify the ISR if you
need to trap errors.

Include:	ser.a or stdlib.a

Routine:  ComSetIER
-------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	AL = new IER value

Registers on return:  	None

Flags affected:       	None

Example of Usage:

			mov	al, NewIERValue
			ComSetIER

Description:

Writes the value in AL to the IER.  See ComGetIER for more details.

Include:	ser.a or stdlib.a

Routine:  ComInitIntr
---------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	None

Flags affected:       	None

Example of Usage:

			ComInitIntr

Description:

Sets up the chip to generate interrupts and programs the PC to transfer
control to the library serial interrupt service routine when an interrupt
occurs.  Note that other than interrupt initialization, this code does not
initialize the 8250 chip.

Include:	ser.a or stdlib.a

Routine:  ComDisIntr
--------------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	None

Flags affected:       	None

Example of Usage:

			ComDisIntr

Description:

This routine uninstalls the ISR and programs the chip to stop the generation
of interrupts.  You must call ComInitIntr after calling this routine to
turn the interrupt system back on.

Include:	ser.a or stdlib.a

Routine:  ComIn
---------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	None

Registers on return:  	AL=character read from buffer or port

Flags affected:       	None

Example of Usage:

			ComIn
			<Do something with AL>

Description:

ComIn is the input routine associated with interrupt I/O.  It reads the
next available character from the serial input buffer.  If no characters
are avialable in the buffer, it waits until the system receives one before
returning.

Include:	ser.a or stdlib.a

Routine:  ComOut
----------------

Author:		      	Randall Hyde

Category:             	Serial Communications

Registers on entry:   	AL=Character to output

Registers on return:  	None

Flags affected:       	None

Example of Usage:

			<Get character to write into AL>
			ComOut

Description:

ComOut is the output routine associated with interrupt I/O.  If the serial
transmitter isn't currently busy, it will immediately write the data to the
serial port.  If it is busy, it will buffer the character up.  In most cases
this routine returns quickly to its caller.  The only time this routine
will delay is if the buffer is full can you cannot add any additional
characters to it.

Include:	ser.a or stdlib.a


?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲午夜电影在线| 色哟哟亚洲精品| 麻豆中文一区二区| 一区二区在线观看视频| 中文字幕欧美激情| 日韩精品一区二区三区中文精品| 色婷婷av一区| heyzo一本久久综合| 国产成人av电影免费在线观看| 蜜桃av噜噜一区| 精品一区免费av| 久久99精品国产麻豆婷婷洗澡| 日韩国产欧美一区二区三区| 亚洲成av人影院| 日韩中文字幕一区二区三区| 一区二区三区在线看| 一区二区在线观看不卡| 亚洲精品伦理在线| 亚洲一区二区中文在线| 亚洲午夜在线观看视频在线| 一个色在线综合| 无码av免费一区二区三区试看| 午夜久久电影网| 久久精品国产99国产| 日本亚洲一区二区| 卡一卡二国产精品| 国产伦精品一区二区三区免费迷 | 国产亚洲女人久久久久毛片| 精品sm捆绑视频| 国产精品成人免费在线| 亚洲久本草在线中文字幕| a亚洲天堂av| 日本精品裸体写真集在线观看 | 国产成人午夜精品影院观看视频| 国产精品99精品久久免费| 99国产欧美另类久久久精品 | www.亚洲色图| 欧美日韩一级二级| 精品国产乱码久久久久久闺蜜 | 欧美影视一区二区三区| 日韩午夜在线影院| 亚洲国产成人私人影院tom| 亚洲国产精品久久久久婷婷884 | 99久久精品免费| 欧美天天综合网| 久久精品网站免费观看| 一区二区三区影院| 激情丁香综合五月| 色婷婷国产精品| 久久影视一区二区| 亚洲国产一区二区三区| 国产精品综合视频| 欧美精品777| 亚洲视频 欧洲视频| 国产乱码精品一品二品| 欧美视频一区二区三区在线观看| 久久久精品免费免费| 爽好多水快深点欧美视频| 成人成人成人在线视频| 欧美一级电影网站| 亚洲国产精品久久人人爱蜜臀| 国产成人啪免费观看软件| 欧美军同video69gay| 亚洲精品日韩专区silk| av亚洲精华国产精华| 久久免费电影网| 久久福利视频一区二区| 欧美精品亚洲一区二区在线播放| 成人欧美一区二区三区视频网页| 精品一区二区三区不卡 | 日韩一级片网址| 亚洲妇女屁股眼交7| 欧美专区亚洲专区| 亚洲欧美日韩成人高清在线一区| 狠狠色丁香久久婷婷综合_中 | 亚洲国产精品一区二区久久恐怖片| 国产成人精品亚洲777人妖| 26uuu久久综合| 激情成人综合网| 欧美精品一区二区蜜臀亚洲| 久久99精品视频| 精品国一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 精品黑人一区二区三区久久| 国产在线麻豆精品观看| 久久久精品免费网站| 成人福利视频网站| 亚洲日本在线a| 在线观看亚洲成人| 五月婷婷激情综合| 日韩一二三区视频| 另类小说一区二区三区| 欧美tickling挠脚心丨vk| 国产一区二区三区四区在线观看 | 国产无人区一区二区三区| 不卡的电影网站| 一区二区三区欧美日韩| 在线播放一区二区三区| 美国十次综合导航| 久久久久99精品国产片| 成人高清伦理免费影院在线观看| 亚洲精品福利视频网站| 制服丝袜亚洲色图| 激情偷乱视频一区二区三区| 欧美国产综合一区二区| 欧美亚洲动漫另类| 九九热在线视频观看这里只有精品| 国产三级久久久| 欧美三级午夜理伦三级中视频| 免费在线观看一区| 亚洲欧洲日本在线| 欧美一区二区三区视频| 成人国产在线观看| 三级久久三级久久| 国产精品人人做人人爽人人添| 国产精品色噜噜| 在线成人免费观看| 99r精品视频| 国产麻豆一精品一av一免费| 亚洲国产人成综合网站| 欧美国产日韩亚洲一区| 这里是久久伊人| 日本精品一区二区三区高清| 国产乱人伦精品一区二区在线观看| 亚洲一区视频在线观看视频| 欧美韩日一区二区三区| 精品美女在线播放| 911国产精品| 色综合天天综合狠狠| 国产成人午夜电影网| 久久99精品久久久久婷婷| 亚洲图片欧美一区| 亚洲免费av观看| 国产精品人人做人人爽人人添| 26uuu另类欧美| 精品国产露脸精彩对白| 日韩视频一区二区三区在线播放| 日本高清不卡在线观看| 99久久99精品久久久久久| 丰满放荡岳乱妇91ww| 国内精品国产三级国产a久久| 日韩二区三区四区| 免费人成黄页网站在线一区二区| 亚洲国产成人av好男人在线观看| 亚洲精品久久久久久国产精华液| 亚洲欧洲美洲综合色网| 中文字幕欧美区| 最近中文字幕一区二区三区| 国产精品乱人伦| 亚洲色图一区二区三区| 亚洲精品网站在线观看| 亚洲精品videosex极品| 亚洲乱码国产乱码精品精小说| 一区二区三区蜜桃网| 亚洲成人自拍偷拍| 一本到三区不卡视频| 一本色道a无线码一区v| 欧美日韩一级视频| 91精品国产综合久久福利| 精品日韩一区二区三区免费视频| 日韩午夜在线影院| 欧美国产欧美综合| 亚洲美女在线国产| 香蕉乱码成人久久天堂爱免费| 日产国产高清一区二区三区| 九一久久久久久| 一本色道久久综合亚洲精品按摩| 欧美在线观看禁18| 美国十次综合导航| 国产成人免费av在线| 色婷婷av一区二区三区软件| 日韩女优制服丝袜电影| 日本一区二区三区国色天香| 一区二区三区中文在线| 麻豆精品新av中文字幕| 亚洲午夜一二三区视频| 麻豆精品一二三| 色婷婷久久久综合中文字幕| 91麻豆精品国产91久久久资源速度| 久久综合国产精品| 亚洲国产日韩综合久久精品| 激情综合色丁香一区二区| 色婷婷av一区二区三区大白胸 | 亚洲一区影音先锋| 国产精品99久久久久久久女警| 在线视频国内一区二区| 久久综合九色综合97_久久久| 亚洲激情在线播放| 高清不卡一二三区| 日韩一区二区三区视频在线观看| 亚洲欧美一区二区在线观看| 国产在线一区二区综合免费视频| 欧美午夜精品免费| 中文字幕在线不卡视频| 国产一区二区在线影院| 国产精品久久久久久户外露出 | 欧美高清视频www夜色资源网| 亚洲欧美电影一区二区| 成人午夜免费视频| www激情久久|