Skip to content

N-T-K/MiscPrograms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

MiscPrograms

Miscellaneous programs.

bitwiseDivision.c

Implements division utilizing subtraction and bit shifting to evaluate a 16 bit dividend and 8 bit divisor producing a 16 bit quotient and 8 bit remainder (8 bits after the radix). Useful for when an Instruction Set Architecture (ISA) doesn't have an explicit mult instruction.

  • Example: 21/4 = 0101.01 (format: quotient.fraction)

About

Miscellaneous programs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages