Image Map Image Map
Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: PDP-8 assembly programming - please critque my first program

  1. #11

    Default

    It sounds like good practice might be to leave the first 8 bytes open, then the next 8 bytes are the auto increment pointers. Would starting with data at *0020 be a good plan then?

  2. #12

    Default

    Quote Originally Posted by alank2 View Post
    It sounds like good practice might be to leave the first 8 bytes open, then the next 8 bytes are the auto increment pointers. Would starting with data at *0020 be a good plan then?
    I would start at 200 as this leaves all of page zero available.

  3. #13

    Default

    What about OS/8 - where does it expect code to load? I'm not saying I want it to require OS/8, but can it be made to do both?

  4. #14

    Default

    Many improvements done:

    You can now run it in minicomputer mode (no teletype) or teletype mode depending on the mode option – no need to enable or disable lines of code any longer.
    It has been changed to all uppercase to be more “period” correct.
    No more entry point at PC=0001, it is at PC=0600 now.
    Configuration and rotors packed more tightly into the first 3 pages.
    Much improved comments (but still maybe not fully completed).
    Page 0 is cleaned up, first 20 words are now open, only truly important global items are in it.
    Teletype code moved into its own area out of the cipher subroutine.
    Subroutines organized/optimized into 3 pages.
    Entire program fits in 6 pages (less than 768 words).
    Attached Files Attached Files

Bookmarks

Posting Permissions

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