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.

Need explanation of how each line works in the assembly code

Status
Not open for further replies.

patan.gova

Full Member level 3
Full Member level 3
Joined
Dec 19, 2011
Messages
172
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Visit site
Activity points
2,776
Hi,
Can some one explain me of how each line in the below assembly code works and what is the result of each line and also output value at the ending if input_delay0 ia assumed as '0'.
Code:
	mov.w &input_delay0,R12
			mov.w R12,R13
			rra.w R13
			rra.w R13
			add.w R12,R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			rra.w R13
			mov.w R13,R14
			add.w R14,&output
thanks.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top