Electronic Components Datasheet Search
  English  ▼

X  

HT80C51 Datasheet(PDF) 128 Page - List of Unclassifed Manufacturers

Part # HT80C51
Description  User Manual Document Information
PDF  132 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ETC2 [List of Unclassifed Manufacturers]
Direct Link  
Logo ETC2 - List of Unclassifed Manufacturers

HT80C51 Datasheet(HTML) 128 Page - List of Unclassifed Manufacturers

Back Button HT80C51 Datasheet HTML 124Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 125Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 126Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 127Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 128Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 129Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 130Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 131Page - List of Unclassifed Manufacturers HT80C51 Datasheet HTML 132Page - List of Unclassifed Manufacturers  
Zoom Inzoom in Zoom Outzoom out
 128 / 132 page
background image
Handshake Solutions
HT80C51 User Manual
80C51 Family Instruction Set – Instruction definitions
Page 128 of 132
© Philips Electronics N.V. 2005
XCHD A,@Ri
Function: Exchange Digit
Description: XCHD exchanges the low-order nibble of the Accumulator (bits 3-0), generally representing a
hexadecimal or BCD digit, with that of the internal RAM location indirectly addressed by the speci-
fied register. The high-order nibbles (bits 7-4) of each register are not affected. No flags are af-
fected.
Example: R0 contains the address 20H. The Accumulator holds the value 36H (00110110B). Internal RAM
location 20H holds the value 75H (01110101B). The instruction,
XCHD A,@R0
will leave RAM location 20H holding the value 76H (01110110B) and 35H (00110101B) in the Ac-
cumulator.
Bytes: 1
Cycles: 1
Encoding:
Operation: XCHD
(A3-0)
↔ ((Ri3-0))
XRL <dest-byte>,<src-byte>
Function: Logical Exclusive-OR for byte variables
Description: XRL performs the bitwise logical Exclusive-OR operation between the indicated variables, storing
the results in the destination. No flags are affected.
The two operands allow six addressing mode combinations. When the destination is the Accumu-
lator, the source can use register, direct, register-indirect, or immediate addressing; when the des-
tination is a direct address, the source can be the Accumulator or immediate data.
( Note: When this instruction is used to modify an output port, the value used as the original port
data will be read from the output data latch, not the input pins.)
Example: If the Accumulator holds 0C3H (11000011B) and register 0 holds 0AAH (10101010B) then the
instruction,
XRL A,R0
will leave the Accumulator holding the value 69H (01101001B).
When the destination is a directly addressed byte, this instruction can complement combinations
of bits in any RAM location or hardware register. The pattern of bits to be complemented is then
determined by a mask byte, either a constant contained in the instruction or a variable computed
in the Accumulator at run-time. The instruction,
XRL P1,#00110001B
will complement bits 5, 4, and 0 of output Port 1.
1
1
0
1
0
1
1
i



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com