Thread: String accumulator?

  1. #1
    Registered User mmarab's Avatar
    Join Date
    Jul 2007
    Posts
    30

    String accumulator?

    Hi,

    i was wondering if anyone knew what was meant by a string accumulator? Googled it but didnt get any good results.

    Thanks
    In times of war, shoot!

  2. #2
    uint64_t...think positive xuftugulus's Avatar
    Join Date
    Feb 2008
    Location
    Pacem
    Posts
    355
    Accumulator: A register that holds the values of Arithmetic and Logic operations on early CPU's that had only one register.

    String: A sequence of 8-bit values encoding either single-byte or multi-byte characters as interpreted by the Operating System, with either a terminating character or prefixed length to denote the sequence length.

    My defintion then:
    String Accumulator: A register composed of an arbitrary number of 8-bit quantities, that stores the result of Arithmetic and Logic operations, the value of which must not create sequences that fall outside the range of the encoding imposed by the Operating System.
    Code:
    ...
        goto johny_walker_red_label;
    johny_walker_blue_label: exit(-149$);
    johny_walker_red_label : exit( -22$);
    A typical example of ...cheap programming practices.

  3. #3
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    "String Accumulator", my definition:

    A vague term that needs further context and explanation.
    Mainframe assembler programmer by trade. C coder when I can.

  4. #4
    Registered User mmarab's Avatar
    Join Date
    Jul 2007
    Posts
    30
    Thanks for your help guys, least i have some kind of idea now. Something i read mentioned the use of a string accumulator, so i just wanted to have an idea.

    Thanks
    In times of war, shoot!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ ini file reader problems
    By guitarist809 in forum C++ Programming
    Replies: 7
    Last Post: 09-04-2008, 06:02 AM
  2. Replies: 8
    Last Post: 04-25-2008, 02:45 PM
  3. Message class ** Need help befor 12am tonight**
    By TransformedBG in forum C++ Programming
    Replies: 1
    Last Post: 11-29-2006, 11:03 PM
  4. Classes inheretance problem...
    By NANO in forum C++ Programming
    Replies: 12
    Last Post: 12-09-2002, 03:23 PM
  5. Warnings, warnings, warnings?
    By spentdome in forum C Programming
    Replies: 25
    Last Post: 05-27-2002, 06:49 PM