This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Sunday, March 9, 2008

Re: [oopic] Assembly code in ooPIC

Brian Lloyd wrote:
> On Mar 8, 2008, at 7:20 AM, ooPIC Tech Support wrote:
>
>
>> No, it is interpreted code not compiled.
>>
>
> Huh. You mean you can't assemble a bit of code to machine code, have
> the OOPic loader load that into a code block in RAM, and then jump or
> jump subroutine to it? That has been a mainstay of interpreted systems
> for a long time. (Back to the beginnings of time with the early basic
> interpreters and early uPs even.) We would do that when we needed to
> optimize some bit of code in a loop.
>
>
Nope. The PIC executes code from FLASH, not RAM, so that is not
possible. You can use oRam objects to go after specific hardware
registers in the PIC, but no assembly. This is a Harvard architecture
device, not VonNeuman.

DLC
>> DLC
>>
>> mora_sutha wrote:
>>
>>> Hello,
>>> I want to know whether it is possible to insert some assembly code in
>>> ooPIC compiler pls.
>>>
>>> Sudarsan
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>> --
>> ------------------------------------------------------
>> Dennis Clark ooPIC Tech Support
>> www.oopic.com
>> ------------------------------------------------------
>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>
> --
>
> 73 de Brian, WB6RQN
> Brian Lloyd - brian HYPHEN wb6rqn AT lloyd DOT com
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

--
------------------------------------------------------
Dennis Clark ooPIC Tech Support
www.oopic.com
------------------------------------------------------


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: