Posts Tagged "hanly de los santos"

Verilog SyntaxHighlighter Brush

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

Talking Twitter

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

Powers of base 2 between 2 values using array in MIPS

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

Powers of base 2 in MIPS

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

Powers of base 2 in C

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