Thursday, October 9, 2008

Tuesday, October 7, 2008

jeEje,.


Beautiful in my eyes by Jericho Rosales




You're my peace of mind in this crazy world.
You're everything I've tried to find, your love is a pearl.
You're my Mona Lisa,
You're my rainbow skies,
And my only prayer is that you realize,
You'll always be beautiful in my eyes.

The world will turn and the seasons will change,
And all the
lessons we will learn.
Will be beautiful and strange.
We'll have our fill of tears, our share of sighs.
My only prayer is that you realize,
You'll always be beautiful in my eyes.


You will always be,
Beautiful in my eyes.
And the passing years will show,
That you will always grow more beautiful in my eyes.

When there are lines upon my face, from a lifetime of smiles.
When the time comes to embrace, for one long last while.
We can laugh about how time really flies.
We won't say goodbye 'cause true love never dies.
You'll always be beautiful in my eyes.


You will always be,
(You will always be)
Beautiful in my eyes.
(Beautiful in my eyes)

And the passing years will show,
That you will always grow ever more beautiful in my eyes.

Wednesday, October 1, 2008

Title: Question #:4

Justify what situations or applications programmers will rather use Assembly Languages than Higher Level Programming Languages and vice versa.

Answer: A fundamental change is occurring in the way people write computer programs, away from system programming languages such as C or C++ to scripting languages such as Perl or Tcl. Although many people are participating in the change, few realize that the change is occurring and even fewer know why it is happening. This article explains why scripting languages will handle many of the programming tasks in the next century better than system programming languages. System programming languages were designed for building data structures and algorithms from scratch, starting from the most primitive computer elements. Scripting languages are designed for gluing. They assume the existence of a set of powerful components and are intended primarily for connecting components.

http://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel3/2/14386/00660187.pdf?temp=x

Cite your reference.
Due: Sept. 25, 2008

Sunday, September 28, 2008

Title: Question #:3

Research in the net what is the best assembler and why.

Answer:

Table Driven Assembler

The Table Driven Assembler (TDASM) is a free portable cross assembler for any kind of assembly language. It should be possible to use it as a compiler to any target microprocessor using a table that defines the compilation process.


Main features

  • possible compilation to any target procesor using a table description that will include:
    • definition of target procesor's properties
      • endianess
      • size of basic number types
      • registers and their sizes
      • instruction format
    • definition of syntax of assembly language
      • syntax of numbers with different bases
      • syntax of comments
      • instruction separators
      • strings definition and generation
    • means to control the code generation
      • variable size of any part of instruction support
      • commands to set any part of instruction to general expression
      • modification of any bits of instruction part
      • directives for branch code generation on condition
      • source code's symbol table administration directives
    • definition of general operands using regular expressions with automatic code generation
    • instruction table definition using general operands and regular expressions
    • support for symols in source code
    • support for general expressions in source code
    • instruction and operand prefixes support
    • possibility to define more instruction sets depending on processor mode
    • segmentation support
  • full object oriented design
  • implemetation using Standard Template Library of ISO C++
  • portable to many platforms on source level
  • distributed under the GNU Public License (GPL) version 2

Notes

This project is under developement at school, so many features are not implemented yet. You can download and try developement version. There are two examples of tables that define compilation process to procesors Intel x86 and Zilog Z80. Tables are not complete, they serve only as an ilustration what the implemented prototype can do.

Compilation

  • decompress the source code: tar zxvf tdasm-?.?.?.tar.gz
  • type ./configure to create makefiles for your system
  • compile using make
  • optionaly install into /usr/local/bin by executing make install

Usage

tdasm

The result of execution is an output binary file source_file.out and a file with listing source_file.lst.

Download

Tabular description of Intel x86
Test source code for Intel x86
Tabular description of Zilog Z80
Test source code for Zilog Z80
Source code of latest snapshot
Binary executable code for Linux 2.2 i386
Binary executable code for DOS/Windows

Like many of life's questions, there is no simple answer to the question "which assembler is best?" This is because different people have different criteria for judging what is "best". Without a universal metric for judging between various assemblers, there is no way to pick a single assembler and call it the best.

Maybe for me, no assembler is the best. Because each of us have own opinion about the assembler.

Cite your reference. under Linux RedHat 6.0 under KDevelop 1.1 environment as the school project.http://www.penguin.cz/~niki/tdasm/
Due: September 22, 2008

Wednesday, September 24, 2008

Title: Question #:2

Research in the net usual applications done in assembly language. Describe these applications briefly and cite the efficiency and effectiveness of these applications.

Include your reference. REFRAIN FROM COPYING AND PASTING THE ENTIRE TEXTS.


Answer:
Launch Java Applications from Assembly Language Programs

by Biswajit Sarkar

Java Native Interface (JNI) is a mechanism that can be used to establish communication between native language programs and the Java virtual machine. The documentation for JNI and the technical literature on JNI deal extensively with interactions between the JVM and C/C++ code. The Java SDK even provides a utility to generate a header file to facilitate calling C/C++ programs from Java code. However, there is hardly any mention of Java and assembly language code working together. In an earlier article I showed how assembly language programs can be called from Java applications. Here I deal with the technique for invoking Java programs from an ASM process through a demo application that calls a Java method from assembly language code. The Java method brings up a Swing JDialog to show that it has, indeed, been launched.

Note that the technique shown here can also be used to call Java code from languages other than ASM. If JInvoke is rewritten as a .dll, code written in FORTRAN, for instance, can link to it and call a Java method.

I have used JNI with legacy ASM code in two ways:

  • Functional enhancement: Mail-enabling an existing ASM application, as mentioned earlier.
  • Interface enhancement: Adding interactive user interface (mostly AWT, but some Swing as well).

These enhanced applications have run on Windows 2000 and XP. The Java versions used


whttp://blogs.sun.com/CoreJavaTechTips/entry/launch_java_applications_from_assemblyere 1.3, 1.4, and 1.6. In all cases the applications worked smoothly.



Due: Sept. 17, 2008.

Sunday, September 14, 2008

Title: Question #:1
Question:
What topic(s) in MCS 213 do you find easy and/or difficult and why?

Answer:The difficult topic that i had done in MCS 213 subject is all about adding the binary system in turbo c programming and converting the binary, octal and hexadecimal, and the easy topic is all about making blog, maybe because it is easy to follow and apply. It is also having fun while making a blog.

Student Name:John Eric G. Batomalaque

Due: September 16, 2008