Posted by Hanly on May 20, 2010 in Blog, Code | 0 comments
I was trying to add some sample Verilog code on my website, but the code syntax highlighter I use did not have a brush. I made my own Verilog brush for Alex Gorbatchev’s SyntaxHighlighter. Feel free to modify and improve the code. The only thing that I ask is that you share the modifications.
/**
* SyntaxHighlighter Verilog Brush
* http://hdelossantos.com/
*
* SyntaxHighlighter is...
read more
Posted by Hanly on Oct 10, 2009 in Blog, Computer Engineering, Computer Science, Sample Work | 4 comments
A week ago, for my mobile device programming class, I had to add text-to-speech and speech-to-text capabilities to a freely available Android program called Twitta. The features I added were very crudely superimposed on the Twitta interface, therefore this edit is by no means polished or intended for production usage.
There are 3 button “S”, “X”, and “R”....
read more
Posted by Hanly on Mar 15, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. If the value is acceptable, then the program reads in another value. The program calculates the base 2 power between the user input values, and then stores the calculated values in an array. It then prints the values in the array.
# Assignment 3: Powers of 2 Assembly utilizing Array
# by Hanly De Los Santos
#...
read more
Posted by Hanly on Mar 1, 2009 in Blog, Computer Science | 0 comments
Program requests and reads in exactly one character, which represents an exponent. The program calculates the base 2 power, and then prints the calculated value.
# Assignment 2: Powers of 2 Assembly
# by Hanly De Los Santos
# Copyright ©2009, Hanly De Los Santos. All Rights Reserved.
# http://www.hdelossantos.com
#
# Program requests and reads in exactly one character,
# which represents an...
read more
Posted by Hanly on Feb 21, 2009 in Blog, Computer Science | 0 comments
This program takes a user input from 1 through 512 (inclusive), and calculates all powers of two that are less than or equal to the value. The program prints out all of these values.
NOTE: Due to my usage of the math library’s log function, it is necessary to compile using -lm under Unix systems for the linker to properly define the log function. Information referenced from:...
read more