Jump to content

JESSICA S

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by JESSICA S

  1. Hi, I am new to computer science and am having a hard time understanding assembly language programming. I have an assignment to write an Pep/8 assembly language program to output my first and last name on the output device using direct addressing with a .ASCII pseudo-op. She gave us an example on a powerpoint, but I don't understand it. CHARO 0x000D,d CHARO 0x000E,d CHARO 0x000F,d CHARO 0x0010,d STOP ; ----- SOD ----- .ASCII “KimT" .END I know that direct addressing means I will be fetching the character stored in the location specified. What I don't understand is where the numbers come from. 0x000D = K? I know that they are written in hex, so I thought maybe it was the hex values on the ASCII table.. but it's not. Where do they come from? Any help it all is greatly appreciated! Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.