Author Topic: Hexadecimal Assembly Programming  (Read 21959 times)

0 Members and 1 Guest are viewing this topic.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Hexadecimal Assembly Programming
« Reply #45 on: April 10, 2011, 07:02:26 am »
Code: [Select]
EF4045FD
CB00AE21000022D7
8621AC9DEF0A45EF
2E45C948656C6C6F
20776F726C642100

Isn't this supposed to display 'Hello World!'?

I only get the 'H'.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Hexadecimal Assembly Programming
« Reply #46 on: April 10, 2011, 11:56:35 am »
Code: [Select]
22D786

That is LD (penCol),HL. penCol is used for displaying graphscreen text and other drawing commands, not homescreen text, so for that you need to load HL into curRow (224B84).




Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Hexadecimal Assembly Programming
« Reply #47 on: April 10, 2011, 12:06:34 pm »
The hex to display Hello World! would be:
Code: [Select]
EF4645
210000224B84
21A59D
EF1045C9
0C
48656C6C6F20576F726C6421
I think I got the ASCII correct XD

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Hexadecimal Assembly Programming
« Reply #48 on: April 10, 2011, 12:06:46 pm »
Code: [Select]
EF4045FD
CB00AE210000224B8421AC9DEF0A45EF
2E45C948656C6C6F
20776F726C642100
This worked, thanks much!