Dev Blog
Forum
Wiki
About
NefMoto
>
Technical
>
Reverse Engineering
>
lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
Pages: [
1
]
« previous
next »
Author
Topic: lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ? (Read 4735 times)
elRey
Hero Member
Karma: +32/-1
Offline
Posts: 565
lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
« on: January 22, 2013, 08:37:40 AM »
For lambda on a 16bit LoHi scale, does 1 = 7FFF or 1 = 8000 ?
I know on a 8bit scale 1 = 80 which leads me to believe 1 = 8000 on 16bit.
Thanks,
Rey
«
Last Edit: January 22, 2013, 08:40:43 AM by elRey
»
Logged
phila_dot
Hero Member
Karma: +173/-11
Offline
Posts: 1709
Re: lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
« Reply #1 on: January 22, 2013, 08:56:44 AM »
1000h
7FFFh is max postive signed word and 8000h is max negative signed word.
«
Last Edit: January 22, 2013, 09:48:53 AM by phila_dot
»
Logged
slowrider
Newbie
Karma: +1/-0
Offline
Posts: 18
Re: lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
« Reply #2 on: January 22, 2013, 10:11:02 AM »
0000h LoHi => 0
0100h LoHi => 1
0200h LoHi => 2
1000h LoHi => 16
«
Last Edit: January 22, 2013, 10:21:38 AM by slowrider
»
Logged
nyet
Administrator
Hero Member
Karma: +608/-168
Offline
Posts: 12271
Re: lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
« Reply #3 on: January 22, 2013, 11:45:48 AM »
btw just a nitpick LoHi is immaterial in this discussion if you are expressing hex terms in short words and not bytes.
i.e.
0x1234 = 0x12 0x34 HiLo
0x1234 = 0x34 0x12 LoHi
Both are 0x1234
When expressing values, they're always expressed big endian
Logged
ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool
Please do not ask me for tunes. I'm here to help people make their own.
Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
Karma: +608/-168
Offline
Posts: 12271
Re: lambda on a 16bit LoHi, 1 = 7FFF or 1 = 8000 ?
« Reply #4 on: January 22, 2013, 11:48:14 AM »
Quote from: slowrider on January 22, 2013, 10:11:02 AM
0000h LoHi => 0
0100h LoHi => 1
0200h LoHi => 2
1000h LoHi => 16
More properly:
01h 00h LoHi = 1 = 0001h
02h 00h LoHi = 2 = 0002h
10h 00h LoHi = 16 = 0010h
Logged
ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool
Please do not ask me for tunes. I'm here to help people make their own.
Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Introductions
=> General Discussion
-----------------------------
Noob Zone
-----------------------------
=> Noob Questions
=> Noob Guides and FAQs
-----------------------------
Technical
-----------------------------
=> NefMoto Software
=> Tuning
===> Documents & Helpers & How To's
===> Community Projects
=> Diagnostics
=> Flashing and Chipping
=> Cluster and Immobilizer
===> ECU EEPROM images
===> Original Cluster dumps
===> Original Cluster dump requests
=> Data Logging
=> Reverse Engineering
=> Communication Protocols
-----------------------------
ECU Files
-----------------------------
=> ECU Definition Files
===> ECU Definition File Requests
=> Original ECU Files
===> Original ECU File Requests
=> Checksum Update Requests
-----------------------------
Vehicles
-----------------------------
=> Vehicle Tech
=> Project Cars
-----------------------------
Regional
-----------------------------
=> Canadian Regional Discussion
=> US Regional Discussion
-----------------------------
Classifieds
-----------------------------
=> For Sale
=> Wanted
=> Services
-----------------------------
Miscellaneous
-----------------------------
=> Off Topic
=> Forum Tech Support
=> Bizarro Messages Posted by Bots and Spammers
Navigation
Home
Help
Login
Register
Personal Tools
November 29, 2024, 05:08:25 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search
Advanced Search
Loading...