Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

I need help with this HW assignment if anyone can help. I need 2 files with pep/pepo extension

 

  • Hello,I need help with this HW assignment if anyone can help.  I need 2 files with pep/pepo extensions.  The specific program needs to be used.  Not sure what I’m doing wrong….

    I am attaching required programming files/tutorials

    Attached Files:

    •  sort2.pep(735 B)    (attached below)
    •  Pseudocode for Reading and Summing Numbers.txt(389 B)

    The

    Pseudocode algorithm:
    
    Read limit
    
    Set sum to 0
    
    Set counter to 0
    
    While (counter < limit)
    
        Read num
    
        Load num in Accumulator
    
        Add sum to Accumulator
    
        Store sum
    
        Load counter in Accumulator
    
        Add 1 to Accumulator
    
        Store counter
    
        Compare counter to limit
    
        If (counter = limit)
    
          Branch to exit
    
        else
    
          Branch to start of while
    
    Write sum

    Low-Level LanguagesFor this project you will use the PEP/8 Virtual Computer folder to write and run a machine-language program and an assembly language program.

    1. Use the tutorial in the Pep/8 Simulator folder to help you download, install and use the PEP/8 simulator.
      1. Windowsusers download Pep813Win.zip
      2. Appleusers downloadPep813Mac.zip
    2. Write a program inmachine code that prints out your name.    (Use name Hewitt)
    3. Write anassembly languageprogram that reads four values using a looping control structure and prints the sum. (pseudocode algorithm given).
    4. Write a pseudocode algorithm to read in a name and write a “Good morning” message.

    Deliverables:

    1. A file with a .pepoextension that contains the machine code program to print out your name:   HEWITT
    2. A file with a .pep extension that contains the assembly code program that reads in four values using a loop and prints the sum.
    3. A document containing thepseudocodefor writing a personalized “Good morning” message.

    This is what I would need to have created (above)

    Download Attachments:


    PEP8 Simulator Lab.docx


    sort2.pep

  • Need assistance with this?

 

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes