Popular posts from this blog
Contemplating Nothing
We conceptualize nothing so the sensation was a mere creation like a new word to describe the absence. Does it constitute nothing? Does it equal to zero, yet we can go beyond the negative infinitely. Just a mere conception, a mere method of measurement. Just another method to mention this and that like the word I am typing. When we say we feel nothing, usually it constitute the unknown which in most cases physiological. We crave something and we perceive it as sustenance. All mere conception as we believe we need substitute for it. Drugs, sex and over eating were just sedative against reality. Numbing our perception which sometimes contribute illness. Nothing never belong in this physical realm as there is something which create and administer it. To ever understand nothing will be unattainable as we begin with something which is GOD almighty. I guess this can be constituted as nothing, so throw it in the dust bin. How can you throw something which doesn't exist?
Perihal Flag Part 1(CMP dan SUB)
Pertama kita akan concentrate dengan 2 jenis Flag: Carry Flag(CF) Zero Flag(ZF) Sign Flag(SF) Kedua kita akan tengok apa berlaku pada kedua-dua flag ni bila seru command: Compare(CMP) Subtitute(SUB) Command Compare( CMP ) dengan Subtitute( SUB ) ada persamaan iaitu kedua-duanya melakukan operasi TOLAK. Cth. SUB AX, BX adalah AX= AX-BX SUB AX,2 adalah AX=AX-2 beza CMP dengan SUB adalah CMP takkan ubah nilai kecuali flag. Cth: CMP AX, BX tidak akan ubah nilai AX seperti sub tetapi akan melakukan operasi sama CMP AX, 2 juga tidak akan ubah nilai AX seperti diterangkan tadi. Sekarang mari kita lihat apa yang berlaku pada Flag. Sebagai contoh sekarang nilai AX= 0002 ASSEMBLY AX Carry Flag(CF) Zero Flag(ZF) Sign Flag(SF) SUB AX,2 0000 0 1 0 CMP AX,2 0002 0 1 0 Di atas kita dapat lihat perbezaan antara SUB dengan CMP dimana CMP tidak mengubah nilai AX tetapi kedua-duanya akan mengubah nilai FLAG. Cuba perhatikan contoh seterusnya AX=0002 ASSEMBLY AX Carry Flag(CF) Zero Flag(ZF) Sign Fl
Comments
Post a Comment