Saturday, December 10, 2011

archorg report

Project description and code

http://www.mediafire.com/?r2y3q9mb0dou1b3

·         Includes C++ code that calls the assembly programs

·         Includes [4x4][4x1] matrix: computing assembly program

·         Includes [4x4][4x2] matrix: computing assembly program

·         Includes [4x4][4x4] matrix: computing assembly program

·         Tested to see how fast it is executed

Lessons

·         Assembly programming

·         Better to think of algorithm and pattern before coding in assembly even for simple task

·         Adapt to variations of computers. It will not work on some

·         Clean up for error and crash report is a good practice when programming

·         Balancing schedule with teammates

·         Include crashes as a possible delay in schedule

·         Comments are even more vital in assembly for understanding code

Saturday, December 3, 2011

Some assembly jump

Carter (2006) pointed out that assembly code can have variations for jumping

Jump codejumps/branches if
JZZero flag is set
JNZZero flag is unset
JOOffset flag is set
JNOOffset flag is unset
JSSign flag is set
JNSSign flag is unset
JCCounter flag is set
JNCCounter flag is unset
JPEParity is even
JPOParity is odd
JMPUnconditional Jump