728x90
    
    
  반응형
    
    
    
  1. 코드
# MIPS :: Hello World Example ::
# File Name : "HelloWorld.asm"
.data
    str: .asciiz "\nHello World\n"
.text
main:
    li $v0, 4         # 4 : print
    la $a0, str
    syscall
    
    li $v0, 10        # 10 : exit
    syscall
2. 실행
728x90
    
    
  반응형
    
    
    
  '기타' 카테고리의 다른 글
| [tip] ffmpeg 파일 변환 (0) | 2018.01.16 | 
|---|---|
| [tip] OneDrive 완전삭제 (0) | 2017.10.16 | 
| [tip] Putty 설정 파일 (0) | 2017.10.07 | 
| [tip] windows7 로그인 화면 캡쳐 (0) | 2016.09.18 | 
| [tip] windows7 로그인 배경화면 변경 방법 (0) | 2016.09.17 | 
| [MIPS] PCSpim (0) | 2015.10.03 |