short label line command
When the jp/jpe short label 16/4-2-parity mark PF is 1, the redirection label line commandJnp/JPO short label 16/4-2-when the parity mark PF is 0, the redirection label line command
Jo short label 16/4-2-overflow, turning to label line commandJno 16/4-2-No overflow, turning to the label line command
Ja/jnbe short label 16/4-2-greater than/not lower than, turn to label line commandWhen jbe/JNA short label 16/4-2-is less than or equal to/not higher than, turn to the label
Before and after the repeated loading and unloading took three days to install, this is a successful installation after the memory of writing, there may be omissions, some words please point out, thank you ~System version: MacOS 10.12.2; Mac comes with Python 2.7.101. Install pip inside the terminal sudo easy_install pip, run finish can use PIP Help test whether the installation is successful, then the installation is Pip (9.0.1)cx-macbook-pro:~
?; program IP initial valueStartcs DW?; program relative to CS initial valueRelocoff DW?; offset from positioning informationExeheader EndsVirussize=off @ @End-off @ @Start; (virus size)Virusmemsize=off @ @MemEnd-off @ @Start; (the amount of memory required by the virus).386. Model Small. CodeOrg 100h, written in COM format@ @Start:; virus boot blockPusha, saving all universal registersMOV AX,4D4DHint 21h; whether memory resides (custom interrupts)CMP AX,4D4DHJZ short @ @ExecOldApp; no, call the
;outputsortedarray:mov ah,0; mov AL,ARRAY[BX]; Call Printnum; mov dl, ' mov ah,02h; int 21h; Inc BX; Loop Outputsortedarray mov ax,4c00h; int 21h;mysort proc; Array sorting, the array offset address in SI, and the number of array elements stored in CX push ax; Push CX; Dec CX; MOV Ax,0;loopone:push CX
From:http://blog.sina.com.cn/s/blog_59ca605c0100g3mx.html
I.. DATA transmission InstructionsThey transmit data between the memory and registers, registers, and input and output ports.1. Generic data transfer instructions.MOV transmits word or byte.MOVSX the first symbol extension, then transfer.MOVZX First Zero expansion, then transfer.Push presses the word into the stack.Pop the word pop-up stack.Pusha the Ax,cx,dx,bx,sp,bp,si,di into the stack i
might move the G between Ms here. mcall(park_m)}
The Park_m function, which we'll analyze later, discards the previously executed coprocessor and invokes a schedule () to pick a new coprocessor to execute.
Principle of execution
We mainly describe the timing of the mcall being called, and now we want to look at the implementation principle of McAll.The function prototypes for McAll are:
func mcall(fn func(*g))
The FN parameter here refers to the process that is running before calling McAll.
1. Draw a pixel [cpp] view plaincopyprint? Unrecognized INT 0x10 recognizable video image mode ---------------------------------------------------------------------- mode resolution (column * Row, pixel) color count 6 640x200 2 0DH 320x200 16 0EH 640x350 16 0FH 640x350 2 10 H 640x200 16 11 H 640x480 2 12 H 640x480 16 13 H 320x200 256 6AH 800x600 16 ----------------------------------------------------------------------- when the Video Controller is in graphic mode, INT 0 The x10 function 0CH draw
Http://poj.org/problem? Id = 1984
The question is so painful...
Link and query set, use the Cx and Cy arrays to record the relative location of the point and the root node, and merge them according to the input. When the query is made, the distance is calculated. If the query is not in the same set, the relative location cannot be determined.
Code:# Include # Include Int P [40001], CX [40001], CY [40001];
I
)
{Long I; // array center point
Int ncenter; // The distance from one point to the center of the array
Double DDIs; // intermediate variable
Double dvalue;
Double dsum;
Dsum = 0; // The data within [-3 * Sigma, 3 * Sigma] will overwrite the vast majority of the filter coefficients.
* Pnwidowsize = 1 + 2 * Ceil (3 * sigma );
Ncenter = (* pnwidowsize)/2;
* Pdkernel = new double [* pnwidowsize]; // generates Gaussian data
For (I = 0; I {
DDIs = double (I-ncenter );
Dvalue = exp (-(1/2) * DDIs/(Sig
MASM! 'The offset address is stored from 0 and the length is 16 bytes. Therefore, the offset address of the Data zone behind them is 16, which is the space to store the string. After knowing the address, we can proceed. our DS: Si points to the original string to be copied, uses DS: Di to point to the destination space for replication, and then completes replication in a loop,
The Code is as follows:
Codesg segment
Start: mov ax, datasg
MoV ds, ax
MoV Si, 0
MoV Di, 16
MoV
:
Al = current drive letter in the system
3. features 19 h
Function Description: obtains the current default drive letter.
Entry parameters:
Ah = 19 h
Exit parameters:
Al = drive letter (0 = A, 1 = B ,...)
4. Functions: 1bh and 1ch
Function Description: obtains the drive allocation information.
Entry parameters:
Ah = 1bh -- default drive
Ah = 1ch -- any drive,
DL = drive letter (0 = default, 1 = ,...)
Exit parameters:
Al = 0ffh -- failed,
Otherwise,
Al = number of sectors per cluster
DS: BX = ID
isolated from the client, reducing # include times, improving Compilation speed, modifying library classes at will, and the client does not need to re-compile
Direct, simple, and clear. You do not need to consider heap allocation, release, and memory leakage issues.
Disadvantages
For impl pointers, heap allocation and heap release are required. After a long time, memory fragments are generated, which affects the program running speed. Every time a member function is called, impl-
allocation and heap release are required. After a long time, memory fragments are generated, which affects the program running speed. Every time a member function is called, impl-> xxx () one-time forwarding
Any header file on the library has changed and the client must be re-compiled.
After impl is implemented:1 // only use file and cx to have virtual functions. 2 # include "file. h "3 # include" db. h "4 class
Before introducing a small project, here is a description of this code is not written by me, I am just a collation of the essay.Let's show it before the introduction.See everyone should be very familiar with, is hungry of an interface just, it is worth noting that the implementation is not a local connection, but real deal network connection. Look at the file schema.This is the MVC design pattern, although the file is very small, but can also be seen.The following is a formal introduction to the
passed into the register, it takes two steps: mov bx,0 mov ax,[bx] nbsp To do so, it is possible to pass the value of the memory cell corresponding to the offset address of 0 to the register. 2, loop This is a circular operation, instruction format: Loop label. NBSP;CPU Two steps to perform the Loop command: (1) (CX) = (CX)-1 (where CX is placed in par
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.