Susan's Place Logo

News:

Visit our Discord server  and Wiki

Main Menu

Electronics, programming

Started by Sarah84, June 20, 2013, 04:38:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Emily Aster

Quote from: Lisbeth on June 25, 2013, 06:58:12 AM
I have to ask where you're getting 01 from now. I'd expect it to be 10 too.

She being littleendian.

Thanks for that. I couldn't remember which one was little endian and which one was big endian, so I didn't mention either :)
  •  

Anna++

Quote from: Emily Aster on June 25, 2013, 08:30:25 AM
Thanks for that. I couldn't remember which one was little endian and which one was big endian, so I didn't mention either :)

I can't keep track of it either (and I do NFS work!).  But that's why we have htonl() and ntohl() :)
Sometimes I blog things

Of course I'm sane.  When trees start talking to me, I don't talk back.



  •  

Chloe

Quote from: Anna! on June 25, 2013, 12:11:25 PM
. . . why we have htonl() and ntohl() :)

LOL Just looked THAT up!!!!

Can tell your " big-endian" (right handed?) 'cause have it listed first ?

Ok Just copied Anna's 'sig code' into my RamAssembler, *achm* 'lil end first of course,
and got this:

0000: 0011        jmp   0013h
0002: 0001        jmp   0005h
0004: 0010        jmp   0016h
0006: 0111        jn    0019h
0008: 10          ?unk?
0009: 10          ?unk?
000A: 0001        jmp   000Dh
000C: 10          ?unk?
000D: 11          ?unk?
000E: 0111        jn    0021h
0010: 0011        jmp   0023h


???  ??? Meaning? plz explain !
"But it's no use now," thought poor Alice, "to pretend be two people!
"Why, there's hardly enough of me left to make one respectable person!"
  •  

CalmRage

I thought i might go into IT if the whole translator thing doesn't work out. Would have to learn a bit about hardware first though, i am pretty experienced when it comes to software. Thanks dad, at least you did something right.
  •  

Sarah84

Quote from: Lisbeth on June 25, 2013, 06:58:12 AM
I have to ask where you're getting 01 from now. I'd expect it to be 10 too.

She being littleendian.
Quote from: Emily Aster on June 25, 2013, 08:30:25 AM
Thanks for that. I couldn't remember which one was little endian and which one was big endian, so I didn't mention either :)

Wow 01/10 problem still alive ;D
In fact it's not little nor big endian. Endianess means byte order, not bit order. Endianess refers to how the bytes in multiple byte word are sorted in the memory.

2 byte word in hex: 0xABCD
Memory big end.:
0000: 0xAB
0001: 0xCD
Memory little end.:
0000: 0xCD
0001: 0xAB
My real name is Monika :)
HRT: 11.11.2014
SRS: 5.11.2015 with Chettawut
  •  

Sarah84

Quote from: Kiera on June 25, 2013, 01:59:50 PM
LOL Just looked THAT up!!!!

Can tell your " big-endian" (right handed?) 'cause have it listed first ?

Ok Just copied Anna's 'sig code' into my RamAssembler, *achm* 'lil end first of course,
and got this:

0000: 0011        jmp   0013h
0002: 0001        jmp   0005h
0004: 0010        jmp   0016h
0006: 0111        jn    0019h
0008: 10          ?unk?
0009: 10          ?unk?
000A: 0001        jmp   000Dh
000C: 10          ?unk?
000D: 11          ?unk?
000E: 0111        jn    0021h
0010: 0011        jmp   0023h


???  ??? Meaning? plz explain !

Means it will go to reset at first jump intruction, since anything is at 0013? Iam guessing. ???
My real name is Monika :)
HRT: 11.11.2014
SRS: 5.11.2015 with Chettawut
  •  

Emily Aster

Quote from: Sarah84 on June 25, 2013, 03:07:49 PM
Wow 01/10 problem still alive ;D
In fact it's not little nor big endian. Endianess means byte order, not bit order. Endianess refers to how the bytes in multiple byte word are sorted in the memory.

2 byte word in hex: 0xABCD
Memory big end.:
0000: 0xAB
0001: 0xCD
Memory little end.:
0000: 0xCD
0001: 0xAB

Ahh you are correct.
  •  

Jamie D

Quote from: Kiera on June 24, 2013, 10:17:38 AM
Yuk! Musta been from the Math dept!!! I was doing structured Cobal (business) on a DEC-20 and we had (woohoo) "line editors" !For Turbo Pascal we had . . . was it the Apple IIe ?

I'm afraid we might end up as exhibits in archaic technology museums someday.   :(

I will have my optic yellow Pickett sliderule in its holder, attached firmly to my belt.
  •  

Joelene9

Quote from: Jamie D on June 25, 2013, 03:56:12 PM
I'm afraid we might end up as exhibits in archaic technology museums someday.   :(

I will have my optic yellow Pickett sliderule in its holder, attached firmly to my belt.
I still got my Pickett 12" Model N 1010-ES  TRIG in its original black leather case with loop.  I used that in high school and in the Navy electronics schools.  My mom gave me a "Reduced priced" $39.95 four banger from Woolco shortly after that.  The scientific calculators came after that. 
  A fellow in Dispersing on board ship was a fast inputer.  The special calculator did have the early chip micro in it, but with a nixie tube output.  It was a slow calculator, but it had a very good buffer.  This fellow inputed the numbers and the signs so quickly that the display was showing his input, the answer, input, answer, etc. long after he was done with the keyboard!

  Joelene
  •  

Anna++

Quote from: Kiera on June 25, 2013, 01:59:50 PM
Can tell your " big-endian" (right handed?) 'cause have it listed first ?

I'm still a lefty :)

Quote
Ok Just copied Anna's 'sig code' into my RamAssembler, *achm* 'lil end first of course,
and got this:

0000: 0011        jmp   0013h
0002: 0001        jmp   0005h
0004: 0010        jmp   0016h
0006: 0111        jn    0019h
0008: 10          ?unk?
0009: 10          ?unk?
000A: 0001        jmp   000Dh
000C: 10          ?unk?
000D: 11          ?unk?
000E: 0111        jn    0021h
0010: 0011        jmp   0023h


???  ??? Meaning? plz explain !

It's the Futurama time travel code from Bender's Big Score
Sometimes I blog things

Of course I'm sane.  When trees start talking to me, I don't talk back.



  •