Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

shift command for 89C51 please?

Status
Not open for further replies.

ehsanelahimirza

Full Member level 6
Joined
Feb 24, 2006
Messages
334
Helped
28
Reputation
56
Reaction score
7
Trophy points
1,298
Activity points
3,570
AOA and hi

i want to know what is the shift command to shif left or right a byte.

like i want to shift right 'A'
then

"shr a" is not working. i am unable to remember actual command
 

Its "RRC A" for rotate right through carry
"RR A" for Rotate Right
same way "RLC A" & "RL A"
 

there is rotate command for rotating the bits but no command is there for shifting in assembly as far as i know we have to use c language for shifting.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top