|
| 09 Feb 2013 09:45 PM |
I wrote out the machine code for a TI-83/84 program to say "Hello, World!":
00110010 00110001 00111001 01000110 00111001 01000100 01000101 01000110 00110000 01000001 00110100 00110101 01000101 01000110 00110010 01000101 00110100 00110101 01000011 00111001 00110100 00111000 00110110 00110101 00110110 01000011 00110110 01000011 00110110 01000110 00110010 01000011 00110010 00110000 00110101 00110111 00110110 01000110 00110111 00110010 00110110 01000011 00110110 00110100 00110010 00110001 00110000 00110000
All you have to do is break the "code" down and explain how it works at least generally. I know none of you could do this, so I don't have to worry about actually paying anyone. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2013 09:50 PM |
That translates to the following hex: 219F9DEF0A45EF2E45C948656C6C6F2C20576F726C642100
Which turns into: "Hello, World!"
Not very striking.
--- Kaa's Law: In any sufficiently large group of people most are idiots. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2013 09:50 PM |
Hint #1:
If you convert the Binary to Hexidecimal, and add proper spacing, you may get something like this:
219F9D EF0A45 EF2E45 C9 48656C6C6F2C20576F726C642100 |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2013 10:47 PM |
| Converting the binary then the hex that comes from it gives you the answer, where' my money? |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 09 Feb 2013 10:47 PM |
| OP, you're an idiot. I even found the YouTube video you copy and pasted word for word from. You just used the converter that he linked in the description. Shut up. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 09 Feb 2013 10:48 PM |
And by the way, converting that to ASCII will give you this:
"!��ï Eï.EÉHello, World!�"
It's assembly. Idiot. |
|
|
| Report Abuse |
|
|
Garnished
|
  |
| Joined: 09 Apr 2012 |
| Total Posts: 12695 |
|
| |
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
| |
|
|
| 09 Feb 2013 11:08 PM |
@tested ... no. You still just have a bunch of values. You have to explain what these values do.
@NVI "OP, you're an idiot. I even found the YouTube video you copy and pasted word for word from. You just used the converter that he linked in the description. Shut up."
*facepalm*
You mean MY video which is titled "A look at Hex Assembly"?
>""!��ï Eï.EÉHello, World!�""
Why do you think it gives you all of that? It's not Assembly. It's Machine Code.
Although, that should help you recognize where "Hello, World!" is stored.
@Garnished
I'm still waiting for someone to even make an attempt to explain it. |
|
|
| Report Abuse |
|
|
NVI
|
  |
| Joined: 11 Jan 2009 |
| Total Posts: 4744 |
|
|
| 10 Feb 2013 12:01 AM |
| Why are you even here? You're just being annoying and condescending. There's nothing to explain. We all know what assembly is. Do you? Apparently not. |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
|
| 10 Feb 2013 12:09 AM |
"I'm in a bad mood." needless to say |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Feb 2013 12:22 AM |
21 9F 9D: Load (little-endian) memory address 9d9f (the null-terminated string "Hello, World!" at the end of the program) into the hl register
EF 0A 45: BCall 450E (PutS (print)): Prints the string at the address in the hl register (9d9f, "Hello, World!\0") onto the screen
EF 2E 45: BCall 452E (NewLine): Prints a newline to the string
C9: Return: Exits the program
14 chars: "Hello, World!\0"
http://www.roblox.com/_-item?id=25284333 |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 12:23 AM |
local query=[[00110010 00110001 00111001 01000110 00111001 01000100 01000101 01000110 00110000 01000001 00110100 00110101 01000101 01000110 00110010 01000101 00110100 00110101 01000011 00111001 00110100 00111000 00110110 00110101 00110110 01000011 00110110 01000011 00110110 01000110 00110010 01000011 00110010 00110000 00110101 00110111 00110110 01000110 00110111 00110010 00110110 01000011 00110110 00110100 00110010 00110001 00110000 00110000]] local function decode(q,p,b) local m="" for n in q:gmatch(p) do local s=0 for v,d in n:gmatch'()(.)' do s=s+tonumber(d,b)*b^(#n-v) end m=m..string.char(s) end return m end print(decode(decode(query,"[01][01][01][01][01][01][01][01]",2),"%x%x",0x10))
> Eï.EÉHello, World!
ololo |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 12:26 AM |
Oops forgot a part of the output:
!Ÿï Eï.EÉHello, World! |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 10 Feb 2013 02:13 AM |
LOL GAIZ IS NOT ASSEMBLY IS MACHIN C0DE!
seems legit |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 02:24 AM |
When you say it prints the string onto the screen, what's really happening?
Is there really a component on the computer that can access an arbitrary console window (even though it'd make the hardware OS-exclusive), or maybe draw text to the screen in some odd font?
I really doubt the above. (Critical doubt reached, stabilizing to disbelief.)
What's the program interfacing with? |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 03:29 AM |
| It's z80 assembly for t-83 calculators. |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 04:54 AM |
'I'm in a bad mood.'
Everything as usual then. |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 04:57 AM |
^ yep
but again this has nothing to do with rbx.lua so reported |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 10 Feb 2013 05:45 AM |
^
this isn't a rbx.lua thread.
that rule was like.
3 years ago. |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 05:50 AM |
sorry i am not up-to-date i forumed here in late 2009 - mid 2011
~ those who wait are the ones who get there first |
|
|
| Report Abuse |
|
|
SN0X
|
  |
| Joined: 24 Oct 2011 |
| Total Posts: 7277 |
|
|
| 10 Feb 2013 06:09 AM |
lots of people thing it's still a rule.
but clearly, if it was, it would be on a sticky somewhere -- which it isnt |
|
|
| Report Abuse |
|
|
|
| 10 Feb 2013 06:12 AM |
| We live under the unsung rules of society and Sorcus. |
|
|
| Report Abuse |
|
|
| |
|