Friday, October 10, 2008

mY rEpOrT

The Pentium brand refers to Intel's single-core x86 microprocessor based on the P5 fifth-generation micro architecture. The name Pentium was derived from the Greek pente meaning 'five', and the Latin ending -ium.

Introduced on March 22, 1993, the Pentium succeeded the Intel486, in which the number "4" signified the fourth-generation micro architecture. Intel selected the Pentium name after courts had disallowed trade marking of names containing numbers - like "286", "i386", "i486" - though, sometimes, the Pentium is unofficially referred to as i586. In 1996, the original Pentium was succeeded by the Pentium MMX branded CPUs still based on the P5 fifth-generation micro architecture.

Starting in 1995, Intel used the "Pentium" registered trademark in the names of families of post-fifth-generations of x86 processors branded as the Pentium Pro, Pentium II, Pentium III, Pentium 4 and Pentium D. Although they shared the x86 instruction set with the original Pentium (and its predecessors), their micro architectures were radically different from the P5 micro architecture of CPUs branded as Pentium or Pentium MMX. In 2006, the Pentium briefly disappeared from Intel's roadmaps to reemerge in 2007 and solidify in 2008.
Vinod Dham is often referred to as the father of the Intel Pentium processor, although many people, including John H. Crawford (of i386 and i486 alumni), was involved in the design and development of the processor.


Improvements over i486

Pentium Overdrive for i486 systems

Superscalar architecture - The Pentium has two datapaths (pipelines) that allow it to complete more than one instruction per clock cycle. One pipe (called U) can handle any instruction, while the other (called V) can handle the simplest, most common instructions. Some RISC-proponents argued that the "complicated" x86 instruction set would probably never be implemented by a tightly pipelined micro architecture, much less by a dual pipeline design. The 486 and the Pentium demonstrated that this was indeed possible and feasible.

64-bit external data bus width - This doubles the amount of information read or written on each memory access. This doesn't mean that the Pentium can execute 64-bit applications; its main registers are still 32 bits wide.

Faster floating point unit.

MMX instructions (later models only) - A basic SIMD instruction set extension designed for use in multimedia applications.

Pentium architecture chips offered just under twice the performance of a 486 processor per clock cycle. The fastest Intel 486 parts were almost as powerful as a first-generation Pentium, and the AMD Am5x86 was roughly equal to the Pentium 75.

The Pentium ("Classic") series were designed to run at over 100 million instructions per second (MIPS), with the 75 MHz model running at 126.5 MIPS.

reference:
http://en.wikipedia.org/wiki/Pentium

Final Question!...


#include
#define perkilo 25.5
/* Programmed by Harvey Losin */

/* http://www.bikoy.com/harvey */

/* webmaster@bikoy.com */


main()
{
int kilo;
float amount;
clrscr();
printf("This program will ask the user to input the kilos");
printf("\n How many kilos of rice you want to buy?:");
scanf("%d",&kilo);
amount=perkilo*kilo;
printf("\nThe price per kilo of rice is P%d,perkilo")
;printf("\nThe kilos of rice you bought is %d",kilo);
printf("\nYou will pay P%.2f",amount);
getche();
}

Thursday, October 9, 2008

question #5

The ASxxxx assemblers are a series of microprocessor assemblers written in the C programming language. This collection contains cross assemblers for the 1802, S2650, MPS430, 61860, 6500, 6800(6802/6808), 6801(hd6303), 6804, 6805, 68HC(S)08, 6809, 68HC11, 68HC(S)12, 68HC16, 740, 8051, 8085(8080), AVR, DS8xCxxx, ez80, F2MC8L/FX, GameBoy(Z80), H8/3xx, PIC, Rabbit 2000/3000, z8, and z80(hd64180) series microprocessors. Each assembler has a device specific section which includes:



(1) device description, byte order, and file extension information,

(2) a table of assembler general directives, special directives, assembler mnemonics and associated operation codes,

(3) machine specific code for processing the device mnemonics, addressing modes, and special directives.



The assemblers provide the following features:



(1) alphabetized, formatted symbol table listings,

(2) relocatable object modules,

(3) global symbols for linking object modules,

(4) conditional assembly directives,

(5) reusable local symbols, and;

(6) include-file processing.

The companion program ASLINK is a relocating linker performing the following functions:
(1) bind multiple object modules into a single memory image,
(2) resolve inter-module symbol references,
(3) resolve undefined symbols from specified libraries of object modules,
(4) process absolute, relative, concatenated, and overlay attributes in data and program sections, (5) perform byte and word program-counter relative (pc or pcr) addressing calculations,
(6) define absolute symbol values at link time,
(7) define absolute area base address values at link time,
(8) produce Intel Hex, Motorola S record, or Tandy CoCo Disk Basic binary output files,
(9) produce a map of the linked memory, image, and;
(10) update the ASxxxx assembler listing files with the absolute linked addresses and data.

http://www.pcworld.com/downloads/file/fid,62399-order,4-page,6-c,utilities/description.html
Answer:

A utility program called an assembler is used to translate assembly language statements into the target computer's machine code. The assembler performs a more or less isomorphic translation (a one-to-one mapping) from mnemonic statements into machine instructions and data.

http://en.wikipedia.org/wiki/Assembly_language

Monday, September 29, 2008

Question#4

Some programmers prefer to use A.L. than the High level programming languages because even though it is manualy done( translating to binary digits 0’s and 1’s ), the machine could understand it directly and it can execute accurate results.

sorted from:
http://en.wikipedia.org/wiki/Assembly_language

Question#3

For me the best assembler is the NASM assembler. It had easy to create programs which uses protected mode routines.
The Netwide Assembler, NASM, is an 80x86 assembler designed for portability and modularity. It supports a range of object file formats, including Linux and Microsoft 16-bit OBJ and Win32. It will also output plain binary files. Its syntax is designed to be simple and easy to understand, similar to Intel's but less complex. It supports Pentium, P6, MMX, SSE and SSE2 opcodes, and has macro capability. NASM is primally an Linux project.

http://www.programmersheaven.com/

Thursday, September 11, 2008

question#1

Follow this format:
Title:question#1
Question #:1
Question:What topic(s) in MCS 213 do you find easy and/or difficult and why?
Answer: The topics in MCS 213 i find easy is the blogging because compare to our past exercise I can say this one is the exercise that I know I can do it even in small ways.
The difficult part of MCS213 is the programming in Turbo C because I'm not really good on it.
Student Name:Ruel Taculod