Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###################################################
- # #
- # lab1_1.s #
- # Pseudoinstruction examples - System calls #
- # t0 - holds each byte from string in turn #
- # t1 - contains count of characters #
- # t2 - points to the string #
- # #
- ###################################################
- ###################################################
- # #
- # text segment #
- # #
- ###################################################
- .text
- li $v0,10
- syscall
- #################################################
- # #
- # data segment #
- # #
- #################################################
- .data
- B1: .byte 0x01 0x02 0x03 0x04
- B2: .byte 0x81 0x82 0x83 0x84
- W: .word 0x12345678 0x87654321
- #################################################
- # #
- # End of File #
- # #
- #################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement