Skip to content
Snippets Groups Projects
Commit 8081e61b authored by RAZAFINDRAMBOLA Nilaina Michael's avatar RAZAFINDRAMBOLA Nilaina Michael :shinto_shrine:
Browse files

last update

parent 94013ca1
Branches
No related merge requests found
......@@ -13,14 +13,6 @@ white: .word 0xffffffff
blue: .word 0x000055ff
#1,1,512,256 {end: beg+0x80000 (512*256*4)}
#initial: .word 0x10010000
#middle: .word 0x10050000
#last: .word 0x10090000
#8,8,512,256 {end: beg+0x2000 ((512/8){=64}*(256/8){=32}*4)}
#8,8,256,256 {end: beg+0x1000 ((256/8){=32}*(256/8){=32}*4)}
initial: .word 0x10040000
middle: .word 0x100407ff
last: .word 0x10040fff
......@@ -31,12 +23,26 @@ lineBreak: .asciiz "\n"
end: .asciiz "End of print\n"
.text
#-<<---------------------------------------------
#->>---------------------------------------------
# ->>--SET-BITMAP-DISPLAY-------------------------
# ->>---------------------------------------------
# Set Bitmap Display (doit être coherent avec les variables globales de .data) :
#
# Unit Width in Pixels = 8
# Unit Height in Pixels = 8
# Display Width in Pixels = 256
# Display Height in Pixels = 256
# Base address for display = 0x10040000 (heap)
# -<<---------------------------------------------
# -<<---------------------------------------------
#->>---------------------------------------------
#MAIN
_main_:
lw $a0, initial
lw $a1, white
lw $a2, middle
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment