Skip to content

Commit

Permalink
update_readme
Browse files Browse the repository at this point in the history
  • Loading branch information
terrynini committed Mar 15, 2018
1 parent 2938612 commit b8d714b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,21 @@ B: backpack??<br>

Map will be randomly generate every time

# Call C function in Assembly

## generate a *.o file
> $gcc -c test.c -o test.o
or add pragma to tell IDE not to link
> #pragma src </br>

## generate a *.a file

>ar rcs libtst.a test.o

## Gcc tips
add this directive to notify gas using Intel syntax
>.intel_syntax noprefix

0 comments on commit b8d714b

Please sign in to comment.