Posts

sequential (32) Interrupting

Image
https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_21.html . Ref:   https://wodewangzhishime.blogspot.com/2022/07/httpswodewangzhishime.html . . . John: In the picture above, R0(0), R0(2), R0(4) are on the parallel input clock line. <--- Note: We can call it as a "process" clock line. Me: However, R0(1), R0(3) are on the serial input clock line. John: Yes,. Me: In code, how do we interpret it? . for (int i=0; i<10; i++) // R0(0) output bits by bits. { R0(3) [i] = i; // R0(3) input bit by bit. } . John: When R0(1) and R0(3) are on the serial input clock line, we call that real interrupt. Me: That mean, when the register isn't on the process clock line, it is on the serial input clock line. John: To some extent, "Yes". Taje a look.  https://wodewangzhishime.blogspot.com/2023/12/sequential-99.html . It  mention about how the  fields work. Or, we can intepret it in this way. . Subject [R0(1)] Interrupt status [ serial input clock line ] Objec...

sequential (27) Code being changed

Image
  https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_20.html . Ref:  https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_3.html?m=1 . . John: Take a look.   https://chihaukam.blogspot.com/2026/01/john-have-look_8.html?m=1 . It say, "Left shifting and stack overflow isn't the principle of hacking. ". See the picture above.  R0 and R1 are 2 independent registers. They have 4 bits. . Me: If they have 4 bits only, there's a problem.  If I wanna do that,  For (int I = 0; I < 8; I ++){} . Me: How can I do that? John : When you press a button,  your code change into . For (int I = 0; I < 4; I ++){} <--- R0 For (int I = 0; I < 4; I ++){} <--- R1 . Me: Who does change it? . John : The system change it.

learning and teaching (39) SARS

https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_15.html . Ref: https://wodewangzhishime.blogspot.com/2021/12/battlefield-backlines-discriminating.html . . John : Miuson is the person in this link.  https://johnchihau.blogspot.com/2026/05/blog-post_14.html?m=1  . Miss Wang is the person in this link.   https://wodewangzhishime.blogspot.com/2021/10/disavowal.html?m=1 . Me: Ok. ___ . Mr. Lok (a spy from Hong Kong): Why does nobody witness that Miss Wang put the poison (Ebola ) in the dog's food ? . Kelvin : I use the satellite to surveillance the environment of the bakery shop.  I protect Miss Wang.  . Mr. Lok: You are genius.  . Kelvin : You drive a car to the house of John.  You park the car by the gate and Honk. It's the achievement of your professor.   You applaud. . Mr. Lok: I've got it.  __ . Bradley : Kill those students,  e.g., Mr. Lok.  "You" teach him how to hack the satellite.  . Kelvin :...

sequential (41) Architecture of in-out

Image
  https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_13.html?m=1 . Ref:   https://wodewangzhishime.blogspot.com/2022/01/httpswodewangzhishime_20.h . . John : The architect of the above circuit is that indeed,  there is no serial input line.  . Me: Ok. . John: Here's a register called "R0" the value of which has 4 bits.  They are b1, b2, b3, b4. . Me: Ok. . John: The power source of the modulator is from RJ45.  RJ45 is at the Up Cycle.  The modulator will output.  A signal is sent to "R0" through a data bus.  . Note: In the architect of Microsoft,  we call that a data bus instead of a parallel input output line. . Me: Is "R0" parallel input or serial input ? . John : In fact,  you can't find a serial input line or a parallel input line in this architect. What's you can find is a line called "Input line". . Me: Then,  how do I know that it's a serial input or parallel input ? . John : If there's a delayed ci...

sequential (38) Interrupting

Image
https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_7.html . Ref:  https://kamchihau.blogspot.com/2022/11/blog-post_9.html . . John: Take a look.   https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_73.html  . It talk about real interrupt. Me: OK. John: Now, we look at the picture above. R0(1) and R0(3) aren't on System clock line. Nor is it on the serial input clock line. What do we call it? Me: We call it "mask" interrupt. John: In code, how do we interpret a mask interrupt? Me: Like this. . if (int i != 0)  { R0(1) is at the stage of "Mask Interrupt". That mean, R0(1) isn't on the serial input clock line. Nor is it on the System clock line. } . John: Take a look.  https://wodewangzhishime.blogspot.com/2023/12/sequential-99.html . It mention about how the fields work in "RAM". Or, we can intepret it in this way. . Subject [R0(1)] Interrupt status [Mask-interrupt] Object [R0(21)] Role [ Master ] value [0]

sequential (66) RJ45 (Protocol) direction of current flow

Image
    https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_1.html?m=1 . Ref: https://kamchihau.blogspot.com/2022/10/httpskamchihau_17.html?m=1 . . . . . John : Take a look. https://chihaukam.blogspot.com/2023/10/me-indeed-is-there-any-indias-spy-in.html?m=1 . It mention about a double in/out operational amplifier.  . Me: Ok. . John : See the 2nd  Picture above.  We use Rd+ and TX+ to create a Clk line.  . Me: This clock line is an Alternate current.  . John : Yes, now, b1 send a signal to the input (-) of the operational amplifier.  . Me: How many voltage is this signal ? . John : 4.5 V. . Me: Ok. . John : In fact, only Tx- is induced 4.5 V. Tx+ is  only induced 0.5 V. Why ? Because,  the current direction of Tx+ isn't clear yet. . Me: Common mode block the direction of the current flow of (Tx +). . John : Yes, however,  during the next round, the direction of current flow will be changed.   . Me: Yes, by the...

sequential (43) No realistic serial circuit (data input)

Image
https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_26.html . Ref: https://chihaukam.blogspot.com/2024/10/blog-post_52.html?m=1 . . . . John: Now, see the 1st picture above. Which part is correct? Me: Normally, the part of left hand side is correct. That mean, when the data input line is on Up cyle, Gate A and Gate B are on Up cycle. John: You're wrong. The part of right hand side is correct too. Me: That mean, when the data input line is on Up cycle, Gate A can be on Up cycle and Gate B can be on down cycle. John: You're correct. OK. I intepret it in code. If (Gate A = Up cyle) { Set = 1; if (Gate B = Down cyle) { Inverter = true; if (inverter = true) { Gate B = 1; if (Gate B = 1) { Reset = 1; If (Set = 1 & Reset = 1) { The circuit of the Flip Flop = Unstable. } } } } } . John: Now, See 2nd picture above. Which part is correct? Me: Normally, the part of left hand side is correct. That mean, when the clock line is on Up cycle, Gate A and Gate B are on Up cyc...

sequential (48) chosen clock line

Image
  https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_25.html . Ref:  https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_80.html  . . . Me: Indeed, we can use it in this way. . if (commutator_a = true) // Control line create a signal of 1,1,1 { Network serial communication = true; } else if (commutator_b = true) // Control line create a signal of 0,1,1 { Internal serial communication = true; // I give you an example of internal serial communication . for (int i =0; i<10; i++) { Array k[i] = i; } } else if (commutator_c = true) // Control line create a signal of 0,0,0 { Internal parallel communication = true; Parallel input syndronize chosen clock line  } ==

sequential (39) Tri State buffer

Image
https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_80.html?m=1 . Ref:  https://wodewangzhishime.blogspot.com/2022/03/httpswodewangzhishime_13.html . . . John : See the Picture above.  Each output bit has a tristate buffer.  In another words,  the parallel output must be enabled.  I give you an example.  . Int register_a = 1010 Int register_b = register_a. . John : In this case, the parallel output of register_a is enabled. . Me: Ok. . John: The parallel output of register_b is disable cause register_b is being set by the others only. register_b is not gonna set the others. Me: It's the concept of "fields of datas". John : In code, we represent them by this way. . Subject [Ststem] Object [register_a] Output available [true]  . Subject [System] Object [register_b] Output available [false]  . John : The system disable the output from register_b.

sequential (47) chosen clock line

Image
https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_62.html . Ref: https://wodewangzhishime.blogspot.com/2022/06/what-does-he-need.html . . . Me: R0(1),R0(2),R0(3),R0(4) form a register called register_a. . If (Control = 1,1,1) { Commutator_a = chosen. } else if (Control = 0,1,1) { Commutator_b = chosen. } else if (Contol = 0, 0,0) { commutator_c = chosen; } else if (Control = 0,0,1) { No commutator is chosen; // the status is mask - interrupt. }

sequential (52) Architecture

Image
https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_14.html . Ref:  https://kamchihau.blogspot.com/2022/11/impact.html . . . John: The picture above is the normal architecture of control.  There're 3 bits. They are b1, b2 and b3 . 1) The Output of Bit 1 control the load shift line.  2) The Output of Bit 2 control the Output Availability line.  3) The Output of Bit 3 control the Falling Edge trigger line.  . Me: If I wanna change the value of them,  how? . Me: The modulator of RJ45 will send a signal to them during an up cycle.  For example,  the modulator send a signal of (1.1.0) them. As a result,  the Output of Bit 1 will be 1, the Output of Bit 2 will be 1 and the Output of Bit will be 0. . John : In another words,  the load shift line will be 1, the Output Availability line will be 1 and the falling edge trigger line will be 0.

learning and teaching (15) Aden Gulf disaster

https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_12.html . Ref:  https://wodewangzhishime.blogspot.com/2021/08/plug-off-cable.html . John : Miuson is the person in this link. https://chihaukam.blogspot.com/2025/10/john-take-look.html?m=1 . Me: Ok. John : See. https://wodewangzhishime.blogspot.com/2022/06/httpswodewangzhishime.html?m=1 The matter isn't over yet. ____________ . Kelvin : See.  I click a button.  I can access the database of the hospital.  Mary: No record of your accessing the database is left. Kelvin : No,  Mary: Nobody can trace you. Kelvin : No,. Isn't it high tech ? Mary: Yes, it's high tech. Kelvin : So, you ask John to provide evidence of me having entered the database.  If he can't provide any evidence,  you ask him to shut up.  . ____ . Bradley: Kill those students, e.g., Mary. Kelvin : She is a naive person who can't learn any hacking techniques from me. Bradley : I don't care. Kill her. Kelvin : Please....

learning and teaching (32) Egypt ship wreck

https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_11.html . Ref: https://wodewangzhishime.blogspot.com/2021/10/httpswodewangzhishime_18.html . John: Miuson is the person in this link. https://johnchihau.blogspot.com/2026/05/httpschihaukam_01255695914.html?m=1 . Me: Ok. ____ . John : Have a look. https://johnchihau.blogspot.com/2026/06/student-senegal-ship-wreck.html?m=1  . The matter isn't over yet.  Me: How isn't it over ? ____ John: One day, Kelvin "organize" an on-the-job training. This training is specifically the staff of the land department.  Me: How many students are in the tutorial? John: Probably, 10 students.  Mr. Leung is 1 of the students. __ . Mr. Leung : The camera hack the satellite of America.  It can see the 2 illegal buildings of John's neighbour.  However, it doesn't show how many "square meters" which the buildings have. Kelvin : Who say that? See. I click a button. The monitor of my notebook show that the 2 il...

sequential (80) motor

Image
https://wodewangzhishime.blogspot.com/2022/02/httpswodewangzhishime_40.html . Ref:  https://wodewangzhishime.blogspot.com/2021/11/httpswodewangzhishime_35.html . . . 1) if the cicuit is induction-orientation circuit, the voltage lead the current. 2) if the circuit is capacitance-orientation circuit, the current lead the voltage. . . Me: What is induction motor ??It is magnetic. Therefore, its circuit is inductor-orientation. John: However, the current of the stator is lagged behind the voltage of the stator, and then, the rotor rotate slowly. Me: Therefore, we mut let the circuit become a capacitance-orientation circuit.. . Therefore , we add a justify capacitor on the wire of W. . John: We don't always add a justify capacitor on the wire of W. . Sometimes, we add a series of justify resistors, R1,2,3,4, on the wire of W. . . Note: R1,2,3,4 represents resisors 1,2,3,4 . Note:  1) After you add a resitors,  the magnetic flux of the stator drop, the current lead the voltag...