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: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4751

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

RA - mcpaste

RA

Von MC_J, 10 Jahre vorher, geschrieben in ARM Assembler, aufgerufen 1'519 mal.
URL https://mcpaste.de/view/50e988a2 Einbetten
Paste herunterladen oder Rohtext anzeigen
  1. @ Name:         Matrikelnummer:
  2. @ Name:         Matrikelnummer:
  3. @ Datum:
  4.  
  5.         .file   "fibo.S"
  6.         .text                   @ legt eine Textsection fuer PrgrammCode + Konstanten an
  7.         .align  2               @ sorgt dafuer, dass nachfolgende Anweisungen auf einer durch 4 teilbaren Adresse liegen
  8.                                 @ d.h. die unteren 2 Bit sind 0
  9.         .global fiborec         @ nimmt das Symbol fiborec in die globale Sysmboltabelle auf
  10.         .type   fiborec,function
  11. fiborec:
  12.         @  Code für fiborec
  13.                 STMFD   sp!,{r4-r10,fp} @Register 4-10 sowie fp und sp sichern
  14.                 MOV     r3, LR
  15. fibojmp:       
  16.                 CMP     r0, #1
  17.                 MOVLE   r1, r0
  18.                 MOVLE   PC, LR  @ return
  19.                 STMFD   sp!, {LR}
  20.                 SUB     r0, r0, #2
  21.                 BL      fibojmp
  22.                 STMFD   sp!, {r1}
  23.                 ADD     r0, r0, #1
  24.                 BL      fibojmp
  25.                 LDMFD   sp!,{r2}
  26.                 ADD     r1,r1,r2
  27.                 ADD     r0,r0,#1
  28.                 LDMFD   sp,{r4}
  29.                 CMP     r3, r4
  30.                 BEQ     ende
  31.                 LDMFD   sp!,{PC}
  32.  
  33. ende:           MOV     r0, r1
  34.                 ADD     sp, sp, #4
  35.                 LDMFD   sp!,{r4-r10,fp} @Register vom Stack wiederherstellen.                  
  36.                 MOV     PC, r3         
  37.                
  38. .Lfe1:
  39.         .size   fiborec,.Lfe1-fiborec
  40.        
  41.         .global fiboiter        @ nimmt das Symbol fiboiter in die globale Sysmboltabelle auf
  42.         .type   fiboiter,function      
  43. fiboiter:
  44.         @  Code für fiboiter
  45.                 MOV             r1, #0
  46.                 MOV             r2, #1
  47.                 MOV             r3, #0
  48.                 CMP             r0, #0
  49.                 BEQ             .return
  50.                 CMP             r0, #1
  51.                 BEQ             .return
  52. .fibo: 
  53.                 SUB             r0, #1                  @Iterative Berechnung
  54.                 CMP             r0, #0
  55.                 MOVEQ           r0, r3
  56.                 BEQ             .return
  57.                 ADD             r3, r2, r1
  58.                 MOV             r1, r2
  59.                 MOV             r2, r3
  60.                 B               .fibo
  61.                
  62.  
  63.                
  64. .return:
  65.                 MOV     PC, LR                          @Programm verlassen.
  66.  
  67. .Lfe2:
  68.         .size   fiboiter,.Lfe2-fiboiter
  69.  
  70.         .global fiboreccache    @ nimmt das Symbol fiboreccache in die globale Sysmboltabelle auf
  71.         .type   fiboreccache,function
  72. fiboreccache:
  73.         @  Code für fiboreccache
  74.        
  75.                        
  76.                 STMFD   sp!,{r4-r10,fp} @Register 4-10 sowie fp und sp sichern
  77.                 MOV     r3, LR
  78.                 LDR     r5, TAB
  79. fibojmpcache:  
  80.                 CMP     r0, #1
  81.                 MOVLE   r1, r0
  82.                 MOVLE   PC, LR  @ return
  83.                 STMFD   sp!, {LR}
  84.                 SUB     r0, r0, #2
  85.                 BL      fibojmpcache
  86.                 STMFD   sp!, {r1}
  87.                 ADD     r0, r0, #1
  88.                 BL      fibojmpcache
  89.                 LDMFD   sp!,{r2}
  90.                 ADD     r1,r1,r2
  91.                 ADD     r0,r0,#1
  92.                 LDMFD   sp,{r4}
  93.                 CMP     r3, r4
  94.                 BEQ     endecache
  95.                 LDMFD   sp!,{PC}
  96.  
  97. endecache:      MOV     r0, r1
  98.                 STR     r0, [r5], #4
  99.                 ADD     sp, sp, #4
  100.                 LDMFD   sp!,{r4-r10,fp} @Register vom Stack wiederherstellen.                  
  101.                 MOV     PC, r3
  102.                
  103. TAB: .word Cache
  104.                                        
  105.         .comm Cache
  106.         Cacheende:
  107. .Lfe3:
  108.         .size   fiboreccache,.Lfe3-fiboreccache
  109.  
  110.         .global fiboitercache   @ nimmt das Symbol fiboitercache in die globale Sysmboltabelle auf
  111.         .type   fiboitercache,function
  112. fiboitercache:
  113.         @  Code für fiboitercache
  114.  
  115.  
  116. .Lfe3:
  117.         .size   fiboitercache,.Lfe3-fiboitercache
  118.        
  119. .data  
  120.                         .align  2      
  121. fiboliste:      .space 100*4, 0
  122.                
  123. .end                    @ End of File
  124.  

Antwort auf "RA"

Hier kannst Du auf den Paste von oben antworten

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