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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…