Friday, October 10, 2008

Question #6




#include
#include
#include
main()
{
unsigned char name[30];

clrscr();
printf(" Please enter your firstname: ");
scanf("%s",&name);
clrscr();
gotoxy(30,7);printf("hello %s ",&name);
gotoxy(30,8);printf("WELCOME TO TURBO-C PROGRAMMING!");
getche();
}

Thursday, October 2, 2008

Question #4

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


Assembly Language to high level language
Programmers would simply use Assembly Language because the computation in assembly language program is less than the machine language while in high level language program the computation is less than assembly language. Assembly runs faster than high level language .
Programmers dont think that High level languages would simply translate the code line-by-line into assembly language.


High Level Language to assembly language
In the other side, high level language runs slower unlike assembly.the codes contains less. The program written on one computer can be used on any other computer .


Other explaination:

Programmer's would simply use the assembly language because it has a lot of application in today's generation.Examples of this common application are direct hardware manipulation, it access specialized processor and it address critical performance issues. One thing that programmers want this language is that it has it's different scenarios and uses. Actually, there are 12 scenarios 1) when a stand-alone binary-executable is required .2) when interacting directly with the hardware 3) when using process or -specific instructions not exploited by or available to the computer 4) embedded systems 5) when extreme exploitation is required 6) when a system with severe resource constraints 7) when there's no high level language exist 8) real-time program that needs precise timing and responses such as simulations, flight navigation system 9) when complete control over the environment is required 10) when writing computer viruses, boot loaders, certain device drivers, or other items very close to the hardware or low level operating system 11) when reverse engineering existing binaries which may or may not have been originally written in high level language 12) reverse engineering and modification of video games 13) used for writing games and show software for graphing calculators 14 )compiler writing. And it's uses device drivers, low embedded system and the real-time system.


Reference:
This is based on my understanding in our lecture .

Due: Sept. 25, 2008
Posted by ROSILIE at 10:58 PM 0 comments
Labels:
Tuesday, September 16, 2008

Sunday, September 28, 2008

Question # 3

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

Cite your reference.
Due: September 22, 2008


Friday, September 12, 2008


Based in my research, the best assembler is the HLA or the High Level Assembler because it is a tool to teach students in University and colleges institutions.An assembly language that uses high-level language constructs to aid x86 assembly programmer beginners and advanced assembly developers . It fully supports advanced data types and object-oriented assembly language programming. It uses a syntax loosely based on several high level languages like Pascal,Ada,Modula-2, and C . The HLA has a vital importance,use, and it's good motive to the learning of the future programmers, and to all who want to learn this assembly language.And it's purpose is to have the students a wide knowledge in assembly language. That students may apply assembly language to any programming language.There are 2 reasons why it is popular, 1) the is the 32-bit edition of "The Art of Assembly Language Programming" (one of the more popular books available that teaches assembly language programming) uses HLA, 2) Because it is an assembler that designed for the easier learning for the new or beginner programmers.So that's why it the best because of it's great aim for the learning of students. Actually, in my research there is an article that states HLA is the best assembler.

Reference:Goggle

*What's the best assembler compiler??? x86 Assembly
*Art of Assembly Language Programming and HLA by Randall Hyle






Tuesday, September 16, 2008

Question # 1

Now that you have your first blog, your first writing assignment is to answer the question below:What topic(s) in MCS 213 do you find easy and/or difficult and why?
Follow this format:
Title: Question #:
Question:What topic(s) in MCS 213 do you find easy and/or difficult and why?________________
Answer:Honestly, there a lot things that I did not understand until now other topics is still not clear to me like in our programming,about converting binary numbers to decimal,and the most difficult at all is adding and subtracting numbers where I cannot put it's principle because it is very confusing.I find easy when we learn about the conversion of numbers system because I have already the background on the topic. _________________
Student Name:Roa,Nelditz B._______________
Due: September 16, 2008

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.

According to my research the usual application done in assembly language are the system's boot ROM (BIOS on IBM-compatible PC systems),debugging ,low-level languages, such as C,Programs using such facilities, such as the Linux Kernel,the system's portable code ,reverse engineering tools such as the Interactive Dissambler,demoscene,Amiga and theCommodore 64,3d graphics.

In computing, the BIOS or Basic Input/Output System manualor the incorrect punctuational variants.BIOS in part refers to the firmwarecode run by a PC when first powered on, which is a type of boot loader. The primary function of the BIOS is to identify and initialize system component hardware (such as the video display card, hard disk, and floppy disk) and some other hardware devices.Debugging is finding and reducing the number of bugs, or defects, in a computer program or a piece of electronic hardware .C is a general-purpose, cross-platform, block structured,imperative ,procedural computer programming language. Linux is a computer program kernel used by a family of Unix Like operating systems. Portability is a software codebase feature to be able to reuse the existing code instead of creating new code when moving software from an environment to another.Reverse engineering is the process of discovering the technological principles of a device, object or system through analysis of its structure, function and operation.The Interactive Disassembler, more commonly known as simply IDA, is a commercial disasemmbler widely used for reverse engeneering.Demoscene is a computer art subculture that specializes in producing demos, which are non-interactive audio-visual presentations that run in real time on a computer.The Amiga was most commercially successful as a home computer , although early Commodore advertisements attempted to place the Amiga into several different markets at the same time. Commodore 64 is an 8-bit home computer.3D computer graphics (in contrast to 2D computer grahics) are graphics that use a three dimensional representation of geometric data that is stored in the computer for the purposes of performing calculations and rendering 2D images.



Notice: (Underlined words are important,to identify the highlights of every applications.)