Skip to content

This contains routines for add, subtract, and multiply using 256 bit arithmetic for Arm64 processors.

Notifications You must be signed in to change notification settings

bobford/256bitArithmetic-arm64-assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These routines test the operation of 256 bit add, subtract, and multiply written in assembly language for the ArmV8.2 64 bit architecture. The comparison is done against BigInteger. BigInteger uses sign-magnitude. If the results of the subtraction is negative, the result of sub256 must be negated to be positive for the comparison with BigInteger to be made.

The 256 bit arithmetic is done in 2's complement

If the addition produces a carry into bit 257, then result[33] = 1 If the subtraction produces a "borrow" from bit 257, then result[33] = -1

About

This contains routines for add, subtract, and multiply using 256 bit arithmetic for Arm64 processors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published