Wednesday, October 20, 2010

C + + / CLI object of speculation recorded the Object Layout


C + + / CLI is a relatively pure C + +, support the creation of managed reference object, managed object to allocate memory from the virtual machine and management, the programmer can no longer worry about the memory leak problem. In fact, that white is the equivalent of their own to create a memory pool, and the virtual machine actually do so.

In the CLI, all classes derived from Object, including the value of this int. So the internal structure of how the Object like? Vm code through the research, you can see in general is structured as follows:




Users Save handle to a managed object, in fact, can be seen as a pointer to a Object pointer, which contains a MethodTable in Object pointer, this type of information preserved MethodTable and some function, which is like the same virtual function pointer. Many of the operations are accomplished through the pointer, such as Allocate (), such as Box (), UnBox () and so on. Followed behind in MethodTable is the real data.

This MethodTable is very core vm inside a class, it can be done by a lot of action.






Recommended links:



3GPP Converter



My favorite Multimedia Creation Tools



States United States To Transfer?



ZHONGGUANCUN hand new countryside



c # and class Differences in the structure



Patriot mp3 fashion stakes



MP4 to 3GP



Comparison of windows and linux systems



Why engage in career planning?



How to strengthen the promotion effect of media and public relations?



SoftBrands, Because Focusing So Professional



Vertical Market Apps Comments



MP4 to Flash



Thursday, October 7, 2010

80386 interrupt and exception


In addition to maintaining 8086/80386 80386 related functions, but also enhanced interrupt handling capability, and the concept of "exception" concept. This article will introduce the 80386 interrupt and exception mechanism. Download the article all the source code.

8086/8088 to break into the internal interrupt and external interrupt two categories. In order to support multi-tasking and virtual memory and other functions, 80,386 external interrupt known as the "break", the internal interrupt as "abnormal." As with the 8086/8088, 80386 usually between the two commands to respond to interrupt or exception. 80386 handle up to 256 interrupt or exception.

1. Interrupted

On the 80386, the interrupt is caused by asynchronous external events. External events and interrupt response and is not related to the implementation of the directive. Typically, the interrupt to indicate I / O device has completed an operation. As with the 8086/8088, 80386 INTR and NMI are two pins accept external interrupt request signal. INTR accepted maskable interrupt request. NMI received interrupt request can not be shielded. In 80386, the flag register IF flag in EFLAGS to decide whether screening can shield interrupt request.

External hardware through an interrupt request signal INTR the same time, but also to give an 8-bit processor interrupt vector. Processor in response to maskable interrupt request, read the paper by the external hardware interrupt vector number. Processor interrupt vector of this number and does not provide. But in the specific computer system, the system must meet the set of software and hardware, so given the interrupt vector number corresponds not only with the external interrupt sources and interrupt vector number used to avoid the appearance of conflict. 8259A programmable interrupt controller chip can work with the 80386, can be set to the processor according to the interrupt vector number, can handle the priority interrupt request. Each 8259A chip can support 8 interrupt request signal, if you use 9 8259A chip (a master piece, eight from the film), would enable a single pin INTR 80386 accepted up to 64 interrupt sources, interrupt request signal .

Processor does not mask the interrupt request from the NMI. Processor in response to NMI interrupt is not received from the external hardware interrupt vector number. And 8086/8088, as in 80386, the non-maskable interrupt the corresponding interrupt vector number is fixed at 2. For non-maskable interrupt nesting, when receiving an NMI interrupt, the processor again in response to the internal shielding of the NMI, the implementation of the screening process until after the end of the interrupt return instruction IRET. Therefore, NMI handler should be the end of IRET instruction.

2. Exception

80386 instruction exception is detected during the implementation of irregular or illegal conditions are present. Abnormality in the execution of the instructions have a direct link. For example, the implementation of the divide instruction, the divisor is equal to 0. Again, the implementation of instruction privilege level is not correct when found. When these situations occur, the directive can not be completed successfully. Software interrupt instruction "INT n" and "INTO" also classified as abnormal and not interrupt, because the implementation of these instructions produced anomalies.

80386 identify different types of anomalies, and to give each category a different interrupt vector number. After the exception occurs, the processor so as to respond to interrupt handling exceptions. That under the interrupt vector number, switch to the corresponding interrupt handler. This interrupt handler is called the exception handler may be more appropriate.

Abnormal according to whether the procedure caused the restoration and recovery point can be different, to be further classified as abnormal fault (Fault), trap (Trap) and suspension (Abort). We were the corresponding exception handler is called fault handler, trap handlers and termination handlers.

Failure is caused by abnormalities in the instruction before it is notified to the system anomaly an exception. That the fault is 80386 can be excluded. When control is transferred to the fault handler, the saved CS and EIP values break point to lead to failure of the command. Thus, the fault handler to troubleshooting, the implementation of the IRET to return to the program caused by failure to execute, just lead to failure of command can be re-implemented. This re-run, no additional operating system software to participate. Failure of the findings may begin before the command may also be in the instruction execution period. If failures are detected during instruction execution, then the suspension of fault instruction, and instruction operands to restore the value before the instruction started. This will ensure the re-implementation of fault instruction to get the right results. For example, during the execution of an instruction, if we find there is no section, then stop the implementation of the directive, and notify the system to produce Fault, the corresponding segment fault handler can load the troubleshooting section of way, after which the original instruction can be successfully implemented, at least not non-existent fault segment occurred.

Trap is caused by abnormalities in the following instructions to inform the anomalies An exception to the system. When control is transferred to the exception handler, the saved CS and EIP break point to lead to trap the value of the next instruction to execute instructions. The next instruction to be executed, not necessarily the next instruction. Therefore, the trap handler does not always save the breakpoints according to the anti-push identify an exception instruction. When the trap handler in turn, lead to the completion of trap instruction to be normal, it is possible to change a register or memory cell. Software interrupt instruction, single-step exception is the example of the trap.

Suspension is a serious situation in the system, an exception notification system. Caused by the suspension order can not be determined. Produce termination, is the implementation of the program can not be reinstated. System receives the suspension, the processing procedure to re-establish the system forms, and may restart the operating system. Hardware failures and system tables in the illegal value or inconsistent value is suspended example.

3. Priority

In an instruction execution period into more than one interrupt is detected, or abnormal, then press the priorities listed in the table notification system. The highest priority interrupt or exception notification system, other lower-priority exception being abandoned, while the higher-priority interrupt will remain hanging.

80386 responses

Interrupt / exception priority interrupt / exception types the highest priority fault other fault 鈫?debug trap instruction INT n and INTO 鈫?鈫?NMI debug trap minimum disruption 鈫?INTR interrupt






相关链接:



Good Browsers



Introduction Games Simulation



PLM on the 411



MTS to AVI



Expert Anti-Virus Tools



Utilize all practical use OF small floating window all captures Thunder 5.9



RMVB to MP4



The "job" into a "job search" strategy



Storage Debugging



After the operator Completed three items off our support AVS



11n vs. 150M and 300M internal battle cost the king



Nokia 6111 A Compact Sliding Handset



Dealers should not be Fishing in 10



XviD to WMV



Create a simple window



Monday, September 27, 2010

Jobs: find a good quality of the work of eight major


Employment Guidance Centre Beijing not long ago, college graduates more than 150 state-owned enterprises, private and high-tech enterprises, foreign-invested enterprises in human resources and some colleges and universities conducted a survey of the characteristics of the following eight Students welcomed by most employers. In fact, not just the graduates, any person who would like to find a good job, need to have the following qualities.

Identity Corporate Culture in the shortest time

"Corporate culture is the spiritual pillar of the survival and development. Staff only recognized corporate culture can grow with the company." Shell's head of human resources, said, "We are in recruitment will focus on job attitude and examine students professional orientation is consistent with company needs, individual self-understanding and development of space is the company's corporate culture is consistent with the trend. "

Beijing College Graduates Career Guidance Center experts suggest: "college students jobs before, to focus on selected businesses have some understanding of corporate culture, and to see whether they agree with the enterprise culture. If you want to join this enterprise, we should make their own values and enterprises consistent with the values advocated in order to enter the enterprise, the initiative to put myself into the team, the enterprise culture to constrain their behavior, as the company due diligence. "

Sense of belonging and loyalty to a team of enterprise

Survey showed that state-owned enterprises, foreign-invested enterprises, private enterprises are the human resources agreed that the company would prefer to be an adequate loyalty, even if capacity was close, and also in but do not want to be an extraordinary ability to play fast and loose people.

A company's human resources manager that the staff of the company loyalty, reflected in the staff and the success and prosperity of the company's interest, no matter the boss is not present, must earnestly work, encouraged to go to work. Employees a sense of belonging, his loyalty and ultimately let him achieve the desired goals, thus becoming a trusted person, a boss to hire the person, a right-hand man who could become the boss.

Beijing College Graduates Career Guidance Center Han Chunguang teacher, said: "Enterprises in the recruitment of staff, in addition to test their ability level, the individual behavior is the most important assessment. Did not conduct the people can not use Yebuzhide culture. Conduct of The most important aspect is the company loyalty. that is both able and loyal business people, every business needs is the best talent. "

Not demanding alumni of prestigious universities as long as the comprehensive quality

Ji-Tong Network Communication Co., Ltd. of human resources who said, "Our company is not demanding elite and professional counterparts, even more rare in the profession, as long as the overall quality of a good student, learning ability and adaptability, a problem in time to see crux of the matter, and in time to mobilize their own capacities and have learned to quickly release their potential, develop a workable plan, it will also be welcomed. "

Survey analysts pointed out that "As enterprises increased competition, companies pay more attention to the quality of talent. Because the talent is to create products for enterprises to win a major factor in the profit. Some companies, especially technology companies with low levels, and not just value students academic performance, and more attention to the overall quality of students, this is the employment characteristics of modern enterprises. their overall quality is more important than academic qualifications. "

With dedication and professionalism

"Now, some rather low-quality young career, there was a young man, the reasons for being late for work the morning last night watching TV actually is seen too late. New to the students work problems or difficulties encountered, not timely communication with colleagues, until the leadership in the only reported delays in the progress of work, these are not the dedication and professionalism of poor performance. "Zhongguancun Electronic Co., Ltd. Human Resources Department who said," Businesses are looking to strengthen the community school students survival outlook, values education, strengthen the professional quality of students, emotional intelligence, adaptability and psychological quality. With the dedication, the other is relatively easy to cultivate quality. "

Professional technical capacity

Beijing Science and Technology AG, a human resources manager, said, "Professional skills of our employees the most basic quality requirements, IT industry to hire and pays more attention when the technical capacity of applicants. When the applicants in the recruitment of the same capacity if, perhaps will give priority to recruit graduate students. However, after the academic level into the company is not the main measure, and will pay more attention to practical techniques, who can do it and who is to have a skill, who Take the high wages. "

Strong communication skills, have affinity

BOE Technology Group, the head of the Ministry of Personnel, said: "Our company Ren Wei, college students need improvement Nengli is communication capabilities. Qiye need is to Yunyongziji good for communication skills and Qi Ye Neiwaiyouguan personnel contacts, to co-operating with concentric Tong Germany, completed the organization's mission and purpose of man. "

Teamwork and collaboration are

Shanghai Automotive Industry (Group) Corporation, the human resources person said: "From the perspective of the growth of talent, a person belongs to the team, there must be spirit of teamwork and collaboration, and only in an atmosphere of good social relations, personal growth will be more successful. "

With a passion to work

"Passion is a powerful emotion, a kind of people, work and faith strong emotion." Guiding College Graduates Beijing Ren Zhanzhong, director of "The enthusiasm of the employees without a job can not complete their high quality work, let alone to create results. Only those who have a genuine desire on their enthusiasm, are likely to put their wishes into a beautiful reality. "







Recommended links:



Easy to use E-Mail List Management



VBScript CStr function



3GP to MPEG



MKV to VOB



Zhou Kaixuan: No sex woman in Hong Kong



2006 'China's PDM / PLM's Top Event Will Be Held In Nanjing



laptop data RECOVERY 2



AVI to iPod



Review Games Sports



Children's Books list: Foreign Books victory, was embarrassing domestic children's books



Expert Games Card



Let my mailbox, "all set" to complete easy collection



Bridge towards 3G - CDMA200-1X



Wang Donglin Beijing scholar Chairman



09 'happy To Steal Food' In 2010 What We Steal?



Thursday, September 16, 2010

Dawn set sail: Shenzhen Deng Yihui (3)


Deng Yihui not stay in the Shanghai Stock Exchange in the successful design, he thought from a higher starting point for the Shenzhen Stock Exchange, more advanced automatic trading. In early 1991, Deng Yihui redesigned for the Shenzhen Stock Exchange computer system programs. With technical staff for several months he waited at the trading floor, carefully study the law of contract and price changes, and finally summed up a set of "Twin Peaks" theory, the formation of computer automatic matching algorithm. He also took five drafts, developed using the world's most advanced hardware, network and communications technology computer automated securities trading system, the first to adopt 64K high-speed synchronous data communication technology, through the routing device will SZSE and securities firms to connect the computer network system, in turn, the use of optical fiber communication technology to achieve the Shenzhen Stock Exchange and the registration of the company to connect the two networks transparent.

Following the Shanghai and Shenzhen exchanges both the computer network system, the Deng Yihui them all over the country further to the vast number of securities to provide an advanced and reliable computer networks and communication systems, thus forming a network of thousands of daily Internet, 10 million computers networked real-time transactions, China's largest computer network - computer network security system, which greatly promoted the rapid development of China's securities industry.

Deng Yihui their creative design ideas and advanced technology to lay awareness of the Chinese securities industry, computer, network of roads, creating an automated, paperless securities trading, and created a large network connectivity and real-time trading systems for successful models . Today, computer network security systems to process transactions per day up to several million potential, far more than in the past hundreds of thousands of document manually, but never match because of disputes arising from such errors, so that China's securities transactions so that "open, fair and fair "principle, the international leader.

Securities transactions from manual to computerized, Hong Kong passed the 103-year history, London has more than 200 years of history. Deng Yihui created a miracle in the history of the world's securities.

Deng Yihui achieved his childhood's "Reaching for the Stars" dream. Look at his colleagues for the dawn of the islets off the computer Limited dazzling "star" it!

"China's first computer network communications systems integration company"

"China's first successful use of digital data in the network (DDN) and Frame Relay (Frame Relay) technology, computer network company"

"China's largest computer network (computer network security) design and the main building unit"

"China first in the asynchronous transfer mode (ATM) network to achieve integrated voice and data transmission image the practical application of the computer network company"

"National Excellent Enterprise System Integration"

... ...

Deng Yihui Abstract for the company's "star" at the same time, those many beautiful and bright "stars" also fell upon him, Let us see:

"National model"

"Youth Science and Technology, Shenzhen, the first prize" (the only highest honor)

"China Securities pioneer of computer networks,"

... ...

At this point, Deng Yihui technology has become a bright star. Dawn created the "Morning Star", with China's southern rising, glorious Renhuan.








Recommended links:



Shop Chat And INSTANT Messaging



Fu Chong: the general trend of those who know great things



Convert M4v To Mpeg



Articles about Web Servers



F4v converter



Concerned about the Anti-monopoly law enforcement agency jurisdiction overlap



Harder than steel



Recommend Puzzle And Word Games



How To Identify Real And Can Automatically Create Index Index



comments Communications Tools



Individual Character! Avant Browser Skin Easily Create



"Era of exploration of the beginning of 1404," talk about my own experience



Quicktime swf



Port LOGISTICS industry settlement plan was



Longhorn can be run on some old Computer



rmvb To dvd



Hot Standby knowledge



Tuesday, August 3, 2010

photoshop effect of creating non-mainstream MTV



Original:






Effect diagram:






1, open the original image, to build a Levels adjustment layer, as follows:











2, the construction of a curve adjustment layer, parameters are as follows. This step is to become a film screen texture.






3, create a new layer, Ctrl + Alt + Shift + E back layer by layer 1, layer 1 copy of a copy mode to soft light, opacity 51%.






4, create a new layer, back layer, by layer 2, layer 2 copy of a copy of the implementation of filters - variegated - Add variegated, can add a personal favorite.






5, to add a mask layer 2 copy, with a black brush struck a person.






6, create a new layer, use the line tool to draw on the screen free of miscellaneous line.






7, copy number of hybrid lines filled the screen, line up after the merger of the hybrid line layer, set the mode to overlay, opacity 39%, add the mask clashes figures.






8, create a new layer, use the rectangle selection tool to draw in both the upper and lower box, fill it with black, make up and down the dark side.






Finally add the text you want to complete the final results!










Recommended links:



Flv to mp4 converter free download



Ts Format



China's attitude towards certain of HL7



flv to Avi



Liu Xu Micro Point: There Will Be More Soon To Be Opened Insider



Jinshan listing delayed two days by the profitability of the Hong Kong question diverted



BenQ Compete In, With A Hope That The Road



What is mov



How to deal with VAT accounting



Report Graphic CAD



High-quality C + + / C Programming Guide - Chapter 3 naming



Directory File Sharing Or Peer to Peer



Ninetowns submitted to the U.S. SEC Annual Report FY08 net profit down 72% correction



System Maintenance Comments



Top Screen Savers



Wednesday, July 21, 2010

Foxconn another sudden death, police said the two employees were excluded homicide



6 am yesterday morning, rental Cheung Kok Estate in Mission Hills, a Foxconn employees were male parents to live with him found unconscious, they immediately called 120 and police, but failed to save the lives of men. It is understood the man aged 22, from Hubei.

Coincidentally, yesterday 17:30 Xu, Kang Guanlan Fuji factory in a woman outside the hostel staff falls dead, Foxconn, said the woman as first-line general factory workers, surnamed Ning, born in 1992, last year 12 On entry, Yunnan, has alarm and notify the family.

Baoan Public Security Bureau official says that after the scene, the current two deaths have been ruled out homicide, not a criminal case.

鈻?Foxconn employee death records (as of April 6, 2010)

鈼?2007 骞?9 鏈?1 鏃?br />
Foxconn employees resign Liu Bing, 21, died suddenly after two hours

鈼?2007 骞?6 鏈?18 鏃?br />
Foxconn, a worker surnamed Hou hanged himself in the toilet

鈼?2008 骞?3 鏈?16 鏃?br />
Foxconn Yantai Industrial Park, Lee, 28, employees of sudden death in the rental period

鈼?2009 骞?7 鏈?15 鏃?br />
Foxconn 25-year-old employee Sundan Yong suicide

鈼?2009 骞?8 鏈?20 鏃?br />
Foxconn 23-year-old drowned in the pool staff Zhengxin Song

鈼?2010 骞?1 鏈?23 鏃?br />
At 4 pm, horse forward Foxconn employees died aged 19

鈼?2010 骞?3 鏈?17 鏃?br />
Foxconn, a female employee falls falls

鈼?2010 骞?3 鏈?29 鏃?br />
Foxconn, a 23-year-old male employee falls from Hunan Province died.

鈼?2010 骞?4 鏈?6 鏃?15 鏃?br />
Xu Guanlan Foxconn C8 a female dormitory dormitory falls, still in hospital.







相关链接:



Lei Jun Served Its Purpose, Soul Shine Jinshan



Ever MP3 DVD-Audio WMA to Sound Maker



System MAINTENANCE evaluation



C mixed programming with scripting



Youtube to VHS Box



Matroska video



Again On J2me Progress Bar And Thread Model



Convert .avi To .wmv



China's environmental satellite data



mp4 converter TO avi



Art - SCREEN Savers Report



Shop Launchers And Task Managers



How to Rip AC3 Maker



free converter mp4 to 3GP



Wednesday, April 21, 2010

Valentino Ultimate DVD Converter


Valentino Ultimate DVD Converter converts DVD's to play on almost any portable device including iPod, iPhone, Zune, PSP, video capable MP3 players, video capable mobile phones, Pocket P.C., and so on. Meanwhile, it can also support output almost any audio/video format including Video format(H264, MP4, WMV, AVI, MOV, RM, 3GP, flv, SWF, mpeg-1, mpeg-2, VideoCD, SuperVideoCD, DVD, etc) and Audio format(AC3, AAC, MP2, MP3, MP4, RA, WMA, etc.). With this all-in-one DVD Converter, you can make any your own video from your DVDs.