concatenating 4 bytes into one pseudo 32 bit counter?


Results 1 to 12 of 12

Threaded View

  1. #4
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: concatenating 4 bytes into one pseudo 32 bit counter?

    Excellent, it was this bit that is all I needed...

    Code:
    Inc:
    A=A+1
    IF A=0 THEN
      B=B+1
      IF B=0 THEN
       C=C+1
       IF C=0 THEN
          D=D+1
       ENDIF
      ENDIF
    ENDIF
    obvious when you see someone else type it!

    I then just use the value of the final variable (D) as lookup towards extracting a value in a preloaded 256 byte array - great stuff, I'll have a dabble with this later - many thanks!
    Last edited by HankMcSpank; - 26th August 2011 at 13:08.

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