1.0.7 • Published 3 years ago

@re4388/showassemble v1.0.7

Weekly downloads
292
License
MIT
Repository
github
Last release
3 years ago

@benhu/showAssemble

Console log one Assemble code

Install

$ npm install @benhu/showAssemble

Usage

const showAssemble = require("@re4388/showAssemble");

showAssemble(2, 3);
// ==>
// .intel_syntax noprefix
// .global plus, main

// plus:
//     add rsi, rdi
//     mov rax, rsi
//     ret


// main:
//     mov rdi, 2
//     mov rsi, 3
//     call plus
//     ret


## Reference
1. [How to make a beautiful, tiny npm package and publish it](https://www.freecodecamp.org/news/how-to-make-a-beautiful-tiny-npm-package-and-publish-it-2881d4307f78/)
2. [譯者序 - C編譯器入門~想懂低階系統從自幹編譯器開始~](https://koshizuow.gitbook.io/compilerbook/)
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago