Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

# assembly ples help out der?

2 replies to this topic

### #1 heltune

heltune

• Members
• 59 posts
• OFFLINE
•
• Local time:08:19 AM

Posted 03 May 2005 - 12:56 PM

hi i need help on assemble language, well in fact i just learned it anyway
i downloaded these numerous tutorials for noobs on assembly and as i get through each lessons (im still in chapter 1) i came across to this unsigned and signed numbers i barely well not all cant understand the "how do we represent negative values" and how to do it they [presented how to do it but i cant get through it] specially the two's complement notations as i write "H.O. bit is a signed bit: if H.O bit is zero it is positive, if H.O is one its negative" they presented examples on how 2 do it here are they:
for 16 bit numbers
8000h negative coz HO bit is one
100h positive coz HO bit is zero
7FFFh positve
0FFFFh negative
0FFFh positve
my qwestion is how i can determine is HO is positive, zero, one or negative?
i tried to go back to the lesoons but i cant find any clue ples help me i cant go no with the other chapters, its bugging me...i skipped that lesson...but it still bugs me
ples help out der...ps

heltune {}

### #2 HuckerJ

HuckerJ

• Members
• 189 posts
• OFFLINE
•
• Location:East Tennessee
• Local time:08:19 AM

Posted 03 May 2005 - 06:37 PM

H.O. is the high order or left-most bit. It's also call the sign bit a lot. If it is a 0 the number is positive; if it is a one, the number is negative. Any number 8000h or higher will be negative since 8 is 1000b in binary and has a 1 as the right-most bit. 7FFFh is positive because 7 is represented by 0111b and has a 0 for the sign bit.
There are 10 kinds of people. Those who understand binary notation, and those who do not.
- It plays, it streams, it kills WiMPs!!

### #3 heltune

heltune
• Topic Starter

• Members
• 59 posts
• OFFLINE
•
• Local time:08:19 AM

Posted 03 May 2005 - 11:11 PM

tnaks a lot,
you are a blessing, now i know and i can proceed to the next lesson,
thanks again friend.

#### 0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users