No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
I'm a relatively accomplished C and assembly programmer and use the OpenWatcom C/C++ development environment. When I began programming in 1982 the compilers were pretty good but you could still get sizeable speed advantages by coding in assembly. With the advent of multi-stage pipelines and parallell execution units it has …
There are two reasons for writing in assembly (besides having fun!) and those are to take advantage of the speed possiblities and/or interface to something not otherwise easily interfaced to. Hand-coded assembly ususally consists of a few instructions (<=25) so it's not all that difficult to grasp the logic. It …
It does not appear that you are programming an x86, rather something smaller which probably does not implement division (or multiplication for that matter). You can always create an integer division using test, subtract and shift. It's messy htough.
OpenWatcom has a very nice feature in its C language which allows you to code assembly language procedures/functions that you can pass parameters to, receive return values and whose register usage is integrated into the C code optimization. Compare this with the classic MS construct `_asm` and `_asm {}` which …
The End.
Olof Forshell