Operating system is a bundle of software which let the user interact with hardware.
Monday, 16 March 2015
Sunday, 15 March 2015
Pseudocode of server scripting
Actor:
1. Google chrome web browser
2. An humble txt file
3. My own building IDE
Pseudocode
1. User klik a button in our http://something.html
2. Browser write "hello" to a file
3. IDE read that file (looply, every 1ms)
4. IDE read that file
5. IDE write "hello too.."
6. Web browser print that file to its browser
Explain the pseudocode
1. User klik a button
Build a webpage with 1 input button and 1 input text.
1. Google chrome web browser
2. An humble txt file
3. My own building IDE
Pseudocode
1. User klik a button in our http://something.html
2. Browser write "hello" to a file
3. IDE read that file (looply, every 1ms)
4. IDE read that file
5. IDE write "hello too.."
6. Web browser print that file to its browser
Explain the pseudocode
1. User klik a button
Build a webpage with 1 input button and 1 input text.
Jumlah, jumlah, jumlah
Jumlah alfabet 26
Jumlah warna dasar 12
Jumlah not musik standard adalah 12
Jumlah bulan adalah 12
Jumlah bit 1 karakter adalah 8 bit.
Jumlah warna dasar 12
Jumlah not musik standard adalah 12
Jumlah bulan adalah 12
Jumlah bit 1 karakter adalah 8 bit.
Yang mana Width yang mana Height
PENGERTIAN
Height (H) adalah tinggi; yang keatas dan kebawah / vertikal.Weight (VV) adalah lebar; yang ke kiridan ke kanan / horizontal.
NOTASI
Notasi width dan height biasanya ditulis: width x height.Contoh:
800x600 --> 800 pixel ke kanan, 600 pixel keatas, dengan total jumlah pixel 480000 pixel.
Jadi, melebar dulu baru memanjang. Kebalikan dari Biologi tubuh manusia; memanjang dulu baru melebar; pertumbuhan primer dulu baru pertumbuhan sekunder.
RASIO (RATIO)
Rasio atau perbandingan antara width dan height atau width / height adalah:Normal screen aspect ratio = 4/3
Wide screen aspect ratio = 16 x 9 dan 16 x 10
Assembly
1. Access all the functions/registers of ATMega328
2. Working with the program counter and the stack
3. No predefined data types
4. working directly with address or pointers
Directive:
1. Define global variables
2. Create data
3. Specify address
4. Determine what header files tobe included
Contoh:
.set untuk mendefenisikan variabel.
.equ untuk constants.
Symbols: names for values or addresses
Syntax specific addressing modes
Numerical values:
1.Decimal
2. Biner
3. Hex
Comments
Assembly code forms
Everyline of code should be one of the following
1. [label:] directive [operands] [comment]
2. [label:] instruction [operands] [Comment]
3. comment
4. Empty line
OPERANDS
1. can be a labels
2. variables defined by the .set directive
3. constants defined by the .equ directive
4. integer constants:
- Decimal: 10, 255
- Hex : 0x0a, or $0a
- Binary : 0b00001010
5. Program counter (PC)
1. Access all the functions/registers of ATMega328
2. Working with the program counter and the stack
3. No predefined data types
4. working directly with address or pointers
Directive:
1. Define global variables
2. Create data
3. Specify address
4. Determine what header files tobe included
Contoh:
.set untuk mendefenisikan variabel.
.equ untuk constants.
Symbols: names for values or addresses
Syntax specific addressing modes
Numerical values:
1.Decimal
2. Biner
3. Hex
Comments
Assembly code forms
Everyline of code should be one of the following
1. [label:] directive [operands] [comment]
2. [label:] instruction [operands] [Comment]
3. comment
4. Empty line
OPERANDS
1. can be a labels
2. variables defined by the .set directive
3. constants defined by the .equ directive
4. integer constants:
- Decimal: 10, 255
- Hex : 0x0a, or $0a
- Binary : 0b00001010
5. Program counter (PC)
Saturday, 14 March 2015
MML (Music Macro Language)
1. Tone
Tone antara lain : C, D, E, F, G, A, B
Contoh:
C untuk do
D untuk re
E untuk mi
F untuk fa
G untuk sol
A untuk la
B untuk si
2. Semitone (Kres atau mol)
C+ untuk C kres
D+ untuk D kres
E+ untuk E kres
3. Durasi atau length
Macam-macam durasi yang digunakan dalam MML antara lain: 1/1, 1/2, 1/4, 1/16, 1/32. 1/64
Contoh:
C4 berarti nada C 1/4 ketuk
C2 berarti nada C 1/2 atau "setengah" ketuk
C1 berarti nada C 1/1 atau "1 ketuk"
4. Oktaf
Oktaf standard oktaf ke-4.
Tone antara lain : C, D, E, F, G, A, B
Contoh:
C untuk do
D untuk re
E untuk mi
F untuk fa
G untuk sol
A untuk la
B untuk si
2. Semitone (Kres atau mol)
C+ untuk C kres
D+ untuk D kres
E+ untuk E kres
3. Durasi atau length
Macam-macam durasi yang digunakan dalam MML antara lain: 1/1, 1/2, 1/4, 1/16, 1/32. 1/64
Contoh:
C4 berarti nada C 1/4 ketuk
C2 berarti nada C 1/2 atau "setengah" ketuk
C1 berarti nada C 1/1 atau "1 ketuk"
4. Oktaf
Oktaf standard oktaf ke-4.
Simple Assembly
mov ax, 1234 ; store the decimal number 1234 in ax
mov cx, 0x234 ; store the hex number 0x234 in cx
mov dx, 't' ; store the ASCII code for letter 't' in dx
mov bx, ax ; copy the value of ax into bx, so now bx == 1234
Subscribe to:
Comments (Atom)