How can I speed this code up? SHIFTOUT is slowing it down and I need a faster way.


Results 1 to 30 of 30

Threaded View

  1. #19
    Join Date
    Dec 2007
    Location
    Finland
    Posts
    191


    Did you find this post helpful? Yes | No

    Default How about ASM replacement for PBP Shiftout?

    Hi Wolwil,

    You could replace PBP SHIFTOUT with attached ASM code example and reduce time spend in SHIFTOUT + loop to ~1/8. This is kind of tested, but no promises ... Check if it is usefull for you.

    PBP_shiftout execution time was around 814uS, but ASM_shiftout took only 104uS to do the same.

    Files:
    PBP_shiftout.pbp.txt <- Original, copied from 1st post
    ASM_shiftout.pbp.txt
    (Just remove .txt from end of files)

    I know that ASM version is spaghetti code but I don' really care
    So long time since last time when I did something with ASM.

    BR,
    -Gusse-
    Last edited by Gusse; - 11th May 2010 at 20:18.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts