Welcome to Dream.In.Code
Become an Expert!

Join 149,484 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,381 people online right now. Registration is fast and FREE... Join Now!




A new start

 
Reply to this topicStart new topic

A new start, some first help

netpumber
30 Apr, 2007 - 05:20 AM
Post #1

New D.I.C Head
*

Joined: 27 Oct, 2006
Posts: 16


My Contributions
Hallo every1 i want to ask you if some1 from here can help me telling me the first steps to learn hex and give me some tuts for newbies in hex .Thanx
User is offlineProfile CardPM
+Quote Post

spullen
RE: A New Start
30 Apr, 2007 - 08:53 AM
Post #2

D.I.C Regular
Group Icon

Joined: 22 Mar, 2007
Posts: 330



Thanked: 1 times
Dream Kudos: 50
My Contributions
So let's break it even further then Hex first.
Let's try binary:
so let's say we want the number 10 in binary, it will be 1010, and that is broken down like this 1 * 2^3 + 0 * 2^2 + 1 * 2^1 + 0 * 2^0 = 10. And if you notice that binary is written in base 2. Now hex is similar to binary. Hex is base 16, and goes from 0 to F (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F). And a neat thing is that 4 bits of a binary number represent a Hex value, so let's say we want 10 in hex (base 16) it will be xA (x denotes it as a hex value).
So let's say we have xA8 which is 1010 1000 in binary and is 168 in decimal (base 10 form). I hope this helps. There are a ton of resource online if you want to learn more (I think wikipedia has a good page on both binary and hex numbers).
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: A New Start
30 Apr, 2007 - 10:08 AM
Post #3

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 4,101



Thanked: 25 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
first off: nice explanation spullen

second, hex is not a language, it is just a form of number in another base. What are you looking to learn in hex, the how to convert numbers? How to use a hex editor? Or somethign else?
User is offlineProfile CardPM
+Quote Post

netpumber
RE: A New Start
30 Apr, 2007 - 10:55 AM
Post #4

New D.I.C Head
*

Joined: 27 Oct, 2006
Posts: 16


My Contributions
I want to learn Hex first of for reverse engineering.So.....because i am noob with this i want to find some books to learn it.
Thanx very much for your answers and if you find a good ebook for noobs in hex pliz tell it to me to download it.I will try to find one in the internet.
User is offlineProfile CardPM
+Quote Post

GWatt
RE: A New Start
30 Apr, 2007 - 06:33 PM
Post #5

human inside
Group Icon

Joined: 1 Dec, 2005
Posts: 2,356



Thanked: 31 times
Dream Kudos: 500
My Contributions
You can get disassemblers that allow you to view the assembly code instead. That might be slightly more meaningful.
User is online!Profile CardPM
+Quote Post

spullen
RE: A New Start
6 May, 2007 - 09:25 AM
Post #6

D.I.C Regular
Group Icon

Joined: 22 Mar, 2007
Posts: 330



Thanked: 1 times
Dream Kudos: 50
My Contributions
It is possible to write programs using hex, and binary, it's a pain but it can be done, and that's why they have assemblers. So if you want a very low level language I would recommend learning assembly (x86 is most common). If you want a simpler assembly language to learn try the book Introduction to Computing Systems by patt , patel. They use this simulator called the LC-3, and you can write little programs for it, and it gives you a base for learning a better assembly language.
User is offlineProfile CardPM
+Quote Post

netpumber
RE: A New Start
8 May, 2007 - 04:40 AM
Post #7

New D.I.C Head
*

Joined: 27 Oct, 2006
Posts: 16


My Contributions
Sorry, but if you know where can i find this boo pliz tell me . I have searched in torrents but nothing. so........
User is offlineProfile CardPM
+Quote Post

NeoGreen
RE: A New Start
21 May, 2007 - 07:56 PM
Post #8

D.I.C Head
**

Joined: 28 Apr, 2006
Posts: 228


My Contributions
I found it here:
Intro to Computing
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 04:41PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month