We can make use of rotation instructions to look at numbers which are too big to be contained in a single register.
Other Basic instructions
There are many assembly language , you might encounter a compare instruction destination source being considered There are various types of flags such as the zero flag and the carry flag
Wednesday, 7 November 2007
Tuesday, 6 November 2007
Assembly language
An assembly language is a low-level language for programming computers. Assembly language is difficult and time consuming compared to high level language.
Typically a modern assembler creates object code . Assemblers are generally simpler to write than compilers for high-level languages. Understanding assembly language is intimately tied up with addressing modes, these are related to physical attributes.
If data is transferred from a source register to a destination register this is an example of register addressing. Immediate adddressing - where the data appears immediately. Direct Addressing refer directly to an address location
Indirect addressing - uses a number inside a registr to point out a memory location of interest.
Indexed addressing - a number contained in one register and can be used in combination
typical instructions
Instructions are made up of logical operations like OR AND or NOT shift left and right instructions.
Arithmetic operations
Typical arithmetic operations would be ADD, SUBTRACT,MULTIPLIACTION AND DIVISION.
The logical operation include and, or ,not and xor etc . These instructions operate in what is called a bitewise mode. The 'and' function is useful for masking.
Masking
When using the logical t and and or functions we can creeate a mask which either lets a pattern of bits through or blocks them.
Xor function is very similar to the or function.
shift functions
Logical shifts
Typically a modern assembler creates object code . Assemblers are generally simpler to write than compilers for high-level languages. Understanding assembly language is intimately tied up with addressing modes, these are related to physical attributes.
If data is transferred from a source register to a destination register this is an example of register addressing. Immediate adddressing - where the data appears immediately. Direct Addressing refer directly to an address location
Indirect addressing - uses a number inside a registr to point out a memory location of interest.
Indexed addressing - a number contained in one register and can be used in combination
typical instructions
Instructions are made up of logical operations like OR AND or NOT shift left and right instructions.
Arithmetic operations
Typical arithmetic operations would be ADD, SUBTRACT,MULTIPLIACTION AND DIVISION.
The logical operation include and, or ,not and xor etc . These instructions operate in what is called a bitewise mode. The 'and' function is useful for masking.
Masking
When using the logical t and and or functions we can creeate a mask which either lets a pattern of bits through or blocks them.
Xor function is very similar to the or function.
shift functions
Logical shifts
Thursday, 25 October 2007
XXamp
Monday, 22 October 2007
PHP Basic
A PHP scripting block always starts with . A PHP scripting block can be placed anywhere in the document.
On servers with shorthand support enabled you can start a scripting block with .
However, for maximum compatibility, you should use the standard form (
All variables in PHP start with a $ sign symbol.
In PHP a variable does not need to be declared before being set.
PHP automatically converts the variable to the correct data type, depending on how they are set.
A variable name must start with a letter or an underscore "_"
A variable name can only contain alpha-numeric characters and underscores (a-Z, 0-9, and _ )
A variable name should not contain spaces. If a variable name is more than one word, it should be separated with underscore ($my_string), or with capitalization ($myString
A string variable is used to store and manipulate a piece of text.
The concatenation operator (.) is used to put two string values together.
On servers with shorthand support enabled you can start a scripting block with .
However, for maximum compatibility, you should use the standard form (
All variables in PHP start with a $ sign symbol.
In PHP a variable does not need to be declared before being set.
PHP automatically converts the variable to the correct data type, depending on how they are set.
A variable name must start with a letter or an underscore "_"
A variable name can only contain alpha-numeric characters and underscores (a-Z, 0-9, and _ )
A variable name should not contain spaces. If a variable name is more than one word, it should be separated with underscore ($my_string), or with capitalization ($myString
A string variable is used to store and manipulate a piece of text.
The concatenation operator (.) is used to put two string values together.
Thursday, 18 October 2007

We now have a chance to try a new programming language in the form of Php
For those that aren't that familiar with this here are some key points which I will be explainig over my next few posts
PHP stands for PHP: Hypertext Preprocessor
PHP is a server-side scripting language, like ASP
PHP scripts are executed on the server
PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
PHP is an open source software (OSS)
PHP is free to download and use
Wednesday, 10 October 2007
Peters Petrol Pumps
My aim with this project is to be able to create a program that is able to work with a VB interface as far as letting a basic person ignorant of such programming techniques use this system and succeed in inputting the formula or any other basic ideas and getting a useful output from the device. This in my belief is a very useful tool.
I have to have
an appropriate input area
an appropriate output area
a nice graphical interface and and hopefully it will be simple enoughto usre
I have to have
an appropriate input area
an appropriate output area
a nice graphical interface and and hopefully it will be simple enoughto usre
Tuesday, 9 October 2007
VB 07
Monday, 8 October 2007
Tasks
task 1
A)-4, 2 , 1
B)3
C)-4
Task 2
A)-64,32,16,8,4,2,1
B)63
C)64
Task 3
A)4 = 00100
B)8 = 01000
C)11 = 01011
A)-4, 2 , 1
B)3
C)-4
Task 2
A)-64,32,16,8,4,2,1
B)63
C)64
Task 3
A)4 = 00100
B)8 = 01000
C)11 = 01011
Tuesday, 18 September 2007

For this mindmap to be created I used an open source piece of software known as Freemind it is very easy to use and is a great tool for revision and basically for open thoughts.
The subject of this mindmap was for our theory books chapter 37 which dealt with programming languages such as PASCAL and FORTRAN
Wednesday, 5 September 2007
This is what the basic layout of a webiste looks like in code form basically it is made up of tags and descriptions if not key words
Html works with tags and that there is a starting and ending tag. The tags are placed between the two characters <> here are some examples of the new tags that i have learned:
b Starting bold text tag
/b Ending bold text tag
p Starting a new paragraph tag
/p Ending a new paragraph tag
I have learned that html is not case sensitive but it is much more preferable to use lower case rather than upper. I now also know that a HTML file must have an htm or html file extension for the file to be able to be opened. A HTML file can be created using a simple text editor, i am using notepad++ for my html tutorials.
The beginning
This is my first attempt at using Html to program a website. This text is bold This is italic
info about myself
Quite simply my name is Ciaran and this is my first attempt at creating a website and i thought this would be a quest worth taking
This is a paragraph.
Paragraph elements are defined by the p tag.
This is heading 1
You should only use heading tags only for headings. You're nt meant to use them for anything other than that. The tutorials state that this is what other tags for that.
Monday, 3 September 2007
Subscribe to:
Posts (Atom)