Pages: 1 [2]
Author Topic: Please explain setting DTC logic  (Read 12700 times)
dream3R
Hero Member
*****

Karma: +18/-8
Offline Offline

Posts: 1194


« Reply #15 on: May 02, 2016, 06:54:15 PM »

mov r4, #1h
mov [-r0], r4

Stack
1
----------------

mov r4, #2h
mov [-r0], r4

Stack
1
2
------------------

mov r4, #3h
mov [-r0], r4

Stack
1
2
3
-----------------

mov r4, [r0]

Stack
1
2
3

r4 == 3
-----------------

mov r4, #4h
mov [r0], r4

Stack
1
2
4
-------------------

mov r4, [r0+4]

Stack
1
2
4

r4 == 1
------------------

mov r4, #5h
mov [r0+4], r4

Stack
5
2
4
-------------------

mov r4, [r0+2]

Stack
5
2
4

r4 == 2
-----------------

mov r4, [r0+]

Stack
5
2

r4 == 4
----------------

add r0, #2h

stack
5

Edit: Corrected


nice, you tried tricore yet, they like the stack lol
Logged



How to work out values from an A2L Smiley

http://nefariousmotorsports.com/forum/index.php?topic=5525.msg52371#msg52371


Starting Rev's http://nefariousmotorsports.com/forum/index.php?topic=5397.msg51169#msg51169

noobs read this before asking http://nefariousmotorsports.com/forum/index.php?topic=9014.0title=


ORGORIGINAL 05 5120 creator for Volvo
ORIGINAL Datalogger (Freeware) Author
ORGINAL finder of the 'extra' torque' limits
I don't have ME7.01 A2L I just use ID
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.012 seconds with 16 queries. (Pretty URLs adds 0s, 0q)