• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

movlw address

Status
Not open for further replies.

MessUpMymind

New Member
hi there,

here's a simple question to ask ,

Code:
	cblock 	0x20 			;start of general purpose registers
		mtx_buffer
		mtx_buffer1
		mtx_buffer2
	endc

	[COLOR="Red"]movlw 	mtx_buffer
	movwf 	FSR
	[/COLOR]
above code that is highlighted in red , movlw mtx_buffer is same as putting the 0x20(address in file register) into w register instead of the contain of the mtx_buffer, am i correct??
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top