Skip to content
/ CASM Public

一个最简单的汇编语言编译器,可移植到用C语言写的操作系统上

Notifications You must be signed in to change notification settings

min0911Y/CASM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CASM-----汇编器

0.1a

  • 基础版本,实现了:
      1. mov
      1. cmp
      1. jmp
      1. add
      1. ret
      1. retf
      1. int
      1. push
      1. pop
      1. pusha
      1. popa

语法

  • CASM的语法非常不同,他既有点AT&T语法的影子,也有点intel汇编的样子 接下来是一段CASM汇编代码
mov $02,ecx
mov %ecx,eax
mov $68,edx
int 36

About

一个最简单的汇编语言编译器,可移植到用C语言写的操作系统上

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages