[PIC 5.03 beta 4] LFSRx

Discuss about beta versions of mikroBasic
compiler.
Post Reply
Author
Message
xor
Posts: 5465
Joined: 18 May 2005 00:59
Location: NYC
Contact:

[PIC 5.03 beta 4] LFSRx

#1 Post by xor » 25 Aug 2007 20:00

I was wondering if the following could be optimized:

FSR0ptr = @workstr compiles as:

Code: Select all

;print_dec_18r1.pbas,41 :: 			FSR0ptr = @workstr
$0010	$0E3A	    			MOVLW	_print_dec_local_workstr
$0012	$6EE9	    			MOVWF	FSR0Ptr, 0
$0014	$0E00	    			MOVLW	@_print_dec_local_workstr
$0016	$6EEA	    			MOVWF	FSR0Ptr+1, 0
What about something like this ...

FSR0 = @workstr:

Code: Select all

LFSR          FSR0, @workstr
[color=darkred][b]xor[/b][/color]
[url=http://circuit-ed.com]CircuitED -[/url]

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: [PIC 5.03 beta 4] LFSRx

#2 Post by zristic » 27 Aug 2007 08:08

It will be, thanks.

Post Reply

Return to “mikroBasic Beta testing”