Tag: Tutorial
Java ActionListener Tutorial
by Samet Kilictas on Nov.06, 2008, under Java
This tutorial has two classes. ActionListener and Main class are seperated from each other.
- ParamListener.java
- BtnsListener.java
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
/**
* ParamListener.java
*/
public class ParamListener extends JFrame{
public ParamListener() {
JButton btn10 = new JButton("10");
JButton btn20 = new JButton("20");
JButton btn30 = new JButton("30");
JButton btn40 = new JButton("40");
btn10.addActionListener( new BtnsListener ("ten"));
btn20.addActionListener( new BtnsListener ("twenty"));
btn30.addActionListener( new BtnsListener ("thirty"));
btn40.addActionListener( new BtnsListener ("fourty"));
JPanel content = new JPanel();
content.add(btn10);
content.add(btn20);
content.add(btn30);
content.add(btn40);
setContentPane(content);
setTitle("A Tutorial");
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
setVisible(true);
pack();
}
public static void main(String[] args) {
new ParamListener();
}
}
Assembly (x86) Turbo Lecture Notes
by Samet Kilictas on Jun.16, 2008, under Assembly, General, Research
Here is my microprocessors lecture notes. Also you can have information about assembly programming with TASM. All the 20 lectures are available.
- Microcomputers and Microprocessors
- Evolution of Intel 80×86 Family Microprocessors
- Binary and Hexadecimal Number Systems
- Brief History of 80×86 Family of Microprocessors
- Pipelining and Registers
- Introduction to Assembly Programming
- Introduction to Assembly Programming (cont. from Lecture 2)
- Introduction to Program Segments
- Memory Map of the IBM PC
- Pushing and Popping Operations (Stack)
- Flag Registers and bit fields
- Flag Registers and bit fields
- 80×86 addressing modes.
- Directives and sample programs
- Assemble, link and run a program
- Control transfer instructions
- CALL statement
- Subroutines
- Data Types and Data Definition
- Arithmetic and Logic Instructions and Programs
- Unsigned Addition and Subtraction
- Unsigned Subtraction
- Unsigned Multiplication and Division
- Arithmetic and Logic Instructions and Programs

Thanks for dropping by! Feel free to join the discussion by leaving comments, and stay updated by subscribing to the 