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!