Jup Amida that is how I see it too. I know for a fact that Mercedes and Porsche use some Linux servers.
Just found this on my old HDD (the comments are in german
)
What it does is the little Knight Rider Car thing left to right and back.
You are a real man. I'll buy you a beer at the bar and fight right next to you
What arch do you do assembler on? I have done 6502, 680x0, 8055, 8088 & PIC but it was a long time ago.
Just found this on my old HDD (the comments are in german
Code:
;**************************************
;Assembler-Direktiven
$NOMOD51 ;8051 Modus aus!
$INCLUDE (reg515c.inc) ;80C515C-Modus ein
org 0h ;Startadresse des Codes bei 0h
;Variablendekleration
;Initialisierung
MOV SP,#60h ;Anfangsadresse des Stackpointers auf 60h setzen
JMP start ;Sprung zum Start
;*********************STARTPROGRAMM**************************
org 100h
start: CLR A
MOV R2,#0d
MOV R3,#0d
MOV P4,#00000001b
MOV P1,#00000001b
start2: MOV A,P1
CALL wait1s
RL A
INC R2
XRL R2,#7d
JZ then
JMP else
then: JMP prog1 ; 1 2 4 8 16 32 64
else: JMP start2
prog1: MOV A,P4
CALL wait1s
RL A
INC R3
XRL R3,#5d
JZ then1
JMP else1
then1: JMP prog2 ; 1 2 4 8 16 32 64
else1: JMP prog1
prog2: MOV A,#00100000b
CALL wait1s
RR A
DEC R3
XRL R3,#0d
JZ then2
JMP else2
then2: JMP prog3 ; 1 2 4 8 16 32 64
else2: JMP prog2
prog3: MOV A,P1
CALL wait1s
RR A
INC R2
XRL R2,#0d
JZ then3
JMP else3
then3: JMP END ; 1 2 4 8 16 32 64
else3: JMP prog3
;************STARTUNTERPROGRAMM**************
wait1s: MOV R7,#100d ;100d nach R7 kopieren
loop3: MOV R6,#100d ;...
loop2: MOV R5,#84d ;...
;daraus wird eine wartezeit von 100*100*84*1,2µs
;1,008s
loop1: DJNZ R5,loop1
DJNZ R6,loop2
DJNZ R7,loop3
RET ;Rücksprung ins Hauptprogramm
;*************ENDEUNTERPROGRAMM***************
END
What it does is the little Knight Rider Car thing left to right and back.