Category: Electronics

Computer Codes

Computer Codes: The second category of codes are those codes which cannot be represented by any analytical relation, hence these codes are also called as non-analytical code.Non-Analytical code. These are the following codes: Non-Weighted Codes: Excess-3 Codes, Gray Codes, BCD greater than 4-bits Self Complementing codes: 2421, 5211, Excess-3 (XS-3) Sequential Codes: 8421 and XS-3 […]

Number System

Number System: In every day life we encounter with objects that are to be counted and written to be understood by all. The represented number also may require addition, subtraction etc. So, number system is a way of representing the count of some objects or countable things using some well define symbols and on which […]

8051 Rotate Instructions

ROTATE INSTRUCTIONS These instruction rotate the accumulator left, or right with or without carry. The instructions are RR, RRC, RL, RLC. RL Instruction The RL instruction rotates accumulator left one bit left Figure shows how the bits rotate left internally and then bit-7 to bit-0 No flags are affected by this instruction Figure 7.1 : Rotate left […]

8051 Conditional Branch Instructions

CONDITIONAL BRANCH INSTRUCTIONS CJNE The CJNE instruction compares the first two operands and branches to the specified destination if their values are not equal. If the values are the same, execution continues with the next instruction. format example Operation Opcode/ Encoding Flags affected Byte Cycles CJNE @Rn, #immd,offset CJNE @R1, #24h,label PC=PC+3 If (Rn) <>#data PC=PC+offset If(Rn) […]

Subroutine Call and Return Instructions

Branch Type Instructions   These are of two types: Subroutine CALL Instruction JMP Instruction Unconditional JMP Conditional JMP Subroutine Call Instructions: These instructions are used to calls a subroutine located at the specified address. There are two subroutine Call instructions, theses are ACAL and LCALL instruction ACALL Instruction Size                 : Two bytes Requirement  : […]

8051 Arithmetic Instructions

Arithmetic Instructions One of the operand in arithmetic type of instruction is accumulator. Other operand, if there, will be immediate value, direct memory, register, register indirect, except in case of MUL and DIV where register B is used to hold the value of the 2nd operand. ADD   Format of Instruction Opcode/Encoding Example and Operation […]

care4you © 2014 care4you © Revision-1: 2016 care4you © Revision-2: 2019 Connect On Facebook DMCA.com Protection Status
error: Content is protected !!