https://github.com/virresh/assemblycodes
Codes Handwritten in ARM Assembly Language
https://github.com/virresh/assemblycodes
arm armv5 assembly-language assembly-x86-64 collection program
Last synced: 2 months ago
JSON representation
Codes Handwritten in ARM Assembly Language
- Host: GitHub
- URL: https://github.com/virresh/assemblycodes
- Owner: virresh
- Created: 2018-02-27T16:44:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T16:45:01.000Z (about 7 years ago)
- Last Synced: 2025-01-19T08:27:57.597Z (4 months ago)
- Topics: arm, armv5, assembly-language, assembly-x86-64, collection, program
- Language: Assembly
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Codes hand-written in pure assembly (ARM + x86)
### Can be tested using [ARMSIM](http://armsim.cs.uvic.ca/)Index and description of Codes:
A.s : This is a program that takes input in form of number of integers, followed by the integers, and outputs their sum.
B.s : This program takes input n, and prints the n'th Fibonacci number in reverse.
C.s : This program takes and input string of length n, and prints out the CRC32 checksum of the string as a signed integer. This version uses brute-force method of bit by bit calculation.
D.s : This is optimised CRC32 checksum calculation using pre-computed tables.
Note: You need to enable the SWI package in ARMSIM and set up an input file with appropriate input for the codes to work.
(The above are ARM Assembly codes)
add.asm : This is a simple program defining two functions add and add2, add takes two integers and returns the sum, while add2 takes address of two integers and returns the sum.
(The above is x86 Assembly code)