A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876
fibo.S - mcpaste
@ Name: Matrikelnummer:
@ Name: Matrikelnummer:
@ Datum:
.file "fibo.S"
.text @ legt eine Textsection fuer PrgrammCode + Konstanten an
.align 2 @ sorgt dafuer, dass nachfolgende Anweisungen auf einer durch 4 teilbaren Adresse liegen
@ d.h. die unteren 2 Bit sind 0
.global fiborec @ nimmt das Symbol fiborec in die globale Sysmboltabelle auf
.type fiborec,function
fiborec:
@ Code für fiborec
STMFD sp!,{r4-r10,fp} @Register 4-10 sowie fp und sp sichern
MOV r3, LR
fibojmp:
CMP r0, #1
MOVLE r1, r0
MOVLE PC, LR @ return
STMFD sp!, {LR}
SUB r0, r0, #2
BL fibojmp
STMFD sp!, {r1}
ADD r0, r0, #1
BL fibojmp
LDMFD sp!,{r2}
ADD r1,r1,r2
ADD r0,r0,#1
LDMFD sp,{r4}
CMP r3, r4
BEQ ende
LDMFD sp!,{PC}
ende: MOV r0, r1
ADD sp, sp, #4
LDMFD sp!,{r4-r10,fp} @Register vom Stack wiederherstellen.
MOV PC, r3
.Lfe1:
.size fiborec,.Lfe1-fiborec
.global fiboiter @ nimmt das Symbol fiboiter in die globale Sysmboltabelle auf
.type fiboiter,function
fiboiter:
@ Code für fiboiter
MOV r1, #0
MOV r2, #1
MOV r3, #0
CMP r0, #0
BEQ .return
CMP r0, #1
BEQ .return
.fibo:
SUB r0, #1 @Iterative Berechnung
CMP r0, #0
MOVEQ r0, r3
BEQ .return
ADD r3, r2, r1
MOV r1, r2
MOV r2, r3
B .fibo
.return:
MOV PC, LR @Programm verlassen.
.Lfe2:
.size fiboiter,.Lfe2-fiboiter
.global fiboreccache @ nimmt das Symbol fiboreccache in die globale Sysmboltabelle auf
.type fiboreccache,function
fiboreccache:
@ Code für fiboreccache
STMFD sp!,{r4-r10,fp} @Register 4-10 sowie fp und sp sichern
MOV r3, LR
LDR r5, =Arrayrec
MOV r7, r0, LSL #2
ADD r6, r5, r7
LDR r8, [r6]
CMP r8, #0
BEQ fibojmpcache
MOV r0, r8
B .exit0
fibojmpcache:
CMP r0, #1
MOVLE r1, r0
STR r0, [r6]
MOVLE PC, LR @ return
STMFD sp!, {LR}
SUB r0, r0, #2
BL fibojmpcache
STMFD sp!, {r1}
ADD r0, r0, #1
BL fibojmpcache
LDMFD sp!,{r2}
ADD r1,r1,r2
ADD r0,r0,#1
LDMFD sp,{r4}
CMP r3, r4
BEQ endecache
LDMFD sp!,{PC}
endecache: MOV r0, r1
STR r0, [r6]
ADD sp, sp, #4
.exit0: LDMFD sp!,{r4-r10,fp} @Register vom Stack wiederherstellen.
MOV PC, r3
Arrayrec: .skip 11 * 4
.Lfe3:
.size fiboreccache,.Lfe3-fiboreccache
.global fiboitercache @ nimmt das Symbol fiboitercache in die globale Sysmboltabelle auf
.type fiboitercache,function
fiboitercache:
@ Code für fiboitercache
STMFD sp!,{r4-r10,fp} @Register 4-10 sowie fp und sp sichern
LDR r4, =fiboliste
MOV r5, r0, LSL#2
ADD r6, r4, r5
LDR r7, [r6]
CMP r7, #0
BEQ fiboiterhelp
MOV r0, r7
B .return4
fiboiterhelp: MOV r1, #0
MOV r2, #1
MOV r3, #0
MOV r9, #1
CMP r0, #0
BEQ .return3
CMP r0, #1
BEQ .return4
.fibo3:
SUB r0, #1 @Iterative Berechnung
ADD r9, #1
CMP r0, #0
MOVEQ r0, r3
BEQ .return3
ADD r3, r2, r1
STR r3, [r4, r9, LSL#2]
MOV r1, r2
MOV r2, r3
B .fibo3
.return3:
STR r0, [r6]
.return4: LDMFD sp!,{r4-r10,fp} @Register vom Stack wiederherstellen.
MOV PC, LR @Programm verlassen.
.Lfe4:
.size fiboitercache,.Lfe4-fiboitercache
.data
.align 2
fiboliste: .space 100*4, 0
.end @ End of File
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"sql","xml":"xml","apl":"apl","asterisk":"asterisk","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","d":"d","ecmascript":"javascript","erlang":"erlang","groovy":"text\/x-groovy","haskell":"text\/x-haskell","haxe":"text\/x-haxe","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mirc":"mirc","mysql":"sql","ocaml":"text\/x-ocaml","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"sql","properties":"text\/x-properties","q":"text\/x-q","scala":"scala","scheme":"text\/x-scheme","tcl":"text\/x-tcl","vb":"text\/x-vb","verilog":"text\/x-verilog","yaml":"text\/x-yaml","z80":"text\/x-z80"}
A PHP Error was encountered
Severity: 8192
Message: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
Filename: database/DB_driver.php
Line Number: 1876