Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 5th July 2009, 07:26 AM   #1
Default movlw address

hi there,

here's a simple question to ask ,

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

	movlw 	mtx_buffer
	movwf 	FSR
	 
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??
MessUpMymind is offline  
Old 5th July 2009, 07:45 AM   #2
Default

Correct.

Mike.
Pommie is offline  
Old 5th July 2009, 07:56 AM   #3
Default

hi mike ,

thanks a lot for your reply.

regards,
TK
MessUpMymind is offline  
Reply

Tags
address, movlw

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
How to set a function in a certain address? alphadog Micro Controllers 8 12th February 2009 08:13 AM
MOVLW not setting correct value in W register bitem2k Micro Controllers 3 3rd July 2007 02:38 PM
address 0x000 aljamri Micro Controllers 0 25th May 2007 10:19 AM
MAC address problem tkvenki Micro Controllers 4 22nd March 2007 09:25 AM
Address selection of whole cards Pax Writer General Electronics Chat 8 6th March 2007 07:16 PM



All times are GMT. The time now is 05:35 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker