diff options
author | Pixel <> | 2001-05-14 08:55:15 +0000 |
---|---|---|
committer | Pixel <> | 2001-05-14 08:55:15 +0000 |
commit | ff1f5fcda29d65c4149f09ffb3359d9373dfa948 (patch) | |
tree | bb711e7e160b4a4d1b9b7fc5f1d43179553883e4 /samples | |
parent | bc04f8913f205bbe0baafb6d286c8c569d1768cd (diff) |
Pouet
Diffstat (limited to 'samples')
-rw-r--r-- | samples/cube.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/samples/cube.s b/samples/cube.s index 6da28e6..593bf79 100644 --- a/samples/cube.s +++ b/samples/cube.s @@ -28,8 +28,8 @@ Y0 DB 12; centre de l ecran ; Mult: MUL R5, R6; - SHR Rd, Rd, 16; - SHL Rg, Rg, 16; + SHR Rd, 16; + SHL Rg, 16; ADD R5, Rg, Rd; RET; @@ -300,7 +300,7 @@ BouclProj: MOV R5, Points3D[R3+0]; ADD R6, R6, R7; DIV R5, R6; MOV R5, Rg; - SHR R5, R5, 16; + SHR R5, 16; MOV R6, [X0]; ADD R5, R5, R6; MOV Points2D[R2], R5; @@ -314,7 +314,7 @@ BouclProj: MOV R5, Points3D[R3+0]; ADD R6, R6, R7; DIV R5, R6; MOV R5, Rg; - SHR R5, R5, 16; + SHR R5, 16; MOV R6, [Y0]; ADD R5, R5, R6; MOV Points2D[R2+1], R5; |