- 1、本文档共18页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
单片机习题(国外英文资料)
单片机习题(国外英文资料)
The question 1 is a reference
1, fill in the blanks (25 points, 1 minute each time)
The AT89S51 is an 8-bit chip machine
The typical chips for McS-51 single-chip computers are 8031, 8051, 8751.
The asynchronous communication port of AT89S51 is full duplex (simplex/half duplex/full duplex)
AT89S51 has two levels of interrupts and five interrupts
5. AT89S51 internal data memory address range is 00 h ~ 7 fh, an address space of the byte address range is 20 h ~ 2 fh, corresponds to an address range is 00 h ~ 7 fh, maximum extension of external data memory capacity is 64 k.
6. AT89S51 instruction system way of addressing have __ register addressing __, directly addressing ____ _____ _____ register indirect addressing, _ addressing immediately _____ _____, base register index register addressing.
If (A) = 34H, (R7) = 0ABH, execute XCH A. The result (A) = 0ABH,
(R7) = 34H.
82C55 can extend 3 parallel ports, 8 of which have an operational function.
When the single-chip machine is reset, PSW = 00 H, the current working register area is 0, and R4 corresponds to the storage unit address of 04 H.
If the content in A is 67H, then the P mark bit is 1.
74LS138 is a three-input decoder chip that can select eight chips when the output is a selected signal.
Two, judge the following instructions: (5 points)
(1) MOV. (x)
(2) INC DPTR; (fx)
(3) DEC DPTR; (x)
(4) CLR R0; (x)
(5) MOV T0. (x)
Third, short answer
If (DPTR) = 507BH, (SP) = 32H, (30H) = 50H, (31H) = 5FH (32H) = 3CH, then follow the following instructions:
POP DPH.
POP DPL;
POP SP;
(DPH) = ___3CH___; (DPL) = ___5FH___; (SP) = ___50H___; (6)
2, using the 6MHz vibration, time 1ms, what should be the initial value of the timer mode 0? (please give us the calculation) (6 points)
Solution: ∵ USES 6 MHZ crystal vibration
∴ machine cycle of 2 us
213 minus X times 2 times 10 minus 6 is 1 times 10 minus 3
∴ X = 7692 (D) = 1 e0ch = 1, 1110, 0000, 1100 (B),
In the form 0, the format is 1111, 0000, 1100 B
Namely 0 f00ch
To s
文档评论(0)