Assembly language is always indispensable in the source code of any operating system. Therefore, assembly language is an essential basic knowledge for learning the operating system. However, at present, most of the teaching in China is conducted on the Windows platform, therefore, most readers are familiar with Intel's Assembly syntax, but att's assembly is used in Linux kernel code. This section compares the two types of assembly, allowing readers who are familiar with Intel assembly syntax to
In January 17, 2013, as organizations began to focus on accelerating video communication and business processes with video functions, ATT and Polycom announced a strategic cooperation agreement to create personalized, mobile, and virtualized video conferences.
With ATT Business Exchange, MPLS, Internet and mobile networks, and the Polycom RealPresence platform, both parties will use this Protocol to create
Transferred from Chen Lijun's book "deep analysis of Linux kernel source code"
Http://www.kerneltravel.net/kernel-book/chapter II v1.20the hardware base for Linux/2.6.1.htm
2.6.1 comparison between att and Intel assembly languages
We know that Linux is a member of the UNIX family. Although the history of Linux is not long, many things related to it all originate from UNIX. For Linux's 386 assembly language, it also originated from UNIX. Unix was init
Open the iphone's "settings-general-about this machine-model", you can see the model, serial number, WiFi address, Bluetooth related digital display, this information represents a number of important related to the origin of information. Take "md299zp/a" as an example, here the "zp/a" means "Port version", the query to the iphone official inquiries.
Second Step
2. Version Identification method
For IPhone5 please look here:
First, the United States IPhone5
1,
When designing a website, we sometimes need to make different styles Based on the properties of the page elements. For example, different link icons are displayed for different link types. CSS selector is a very useful technique. Through them, we can easily implement some effects. Today, we will introduce the CSS attribute selector by creating a personalized link style.
Let's take a look at the demo:
As we can see in, we define different styles for each link: When the href attribute value of l
elements, separated by commas between E and F
div,p {color: #f00;}
E F
A descendant element selector that matches all f elements that are descendants of the e element, separated by a space between E and F
#nav li {display:inline;}Li a {font-weight:bold;}
E > F
child element Selector, matching all e element's child elements F
div > Strong {color: #f00;}
E + F
Adjacent element selector, matching all sibling elements immediate
E,f
A multi-element selector that matches all E or F elements, separated by commas between E and F
div,p {color: #f00;}
E F
A descendant element selector that matches all f elements that are descendants of the e element, separated by a space between E and F
#nav li {display:inline;}Li a {font-weight:bold;}
E > F
child element Selector, matching all e element's child elements F
div > Strong {color: #f00;}
E + F
Copyleft of this document belongs to Rosetta and can be freely copied and reproduced when published using GPL. ensure the integrity of the document during reprinting.
References: Linux kernel full analysis, new assembly language programming, and Linux C Programming one-stop learning
Recently, a key part of the C language algorithm needs to be implemented in assembly language. In Linux, att assembly is basically used for Embedded Assembly. For example
In the Linux kernel, many of the applications that come into contact with the underlying hardware use the assembly language. However, Linux uses not only an assembly language, but also Intel's assembly language, we still use att's assembly language, so we can say that these two are a foundation. Intel's compilation is believed to have been learned by many people studying computers, but att's compilation is not necessarily true, I think their thinking is the same, but the syntax is different, the
I. IntroductionThe code written in assembly language in Linux has two different forms.
1) complete assembly code
It means that the entire program is all written in assembly language. Despite the complete compilation code, the compilation tools on the Linux platform also absorb the advantages of the C language, so that programmers can use the # include, # ifdef, and other pre-processing commands, and can simplify the Code through macro definition.
2) Embedded Assembly Code
It refers to the assemb
Copyleft of this document belongs to Rosetta and can be freely copied and reproduced when published using GPL. ensure the integrity of the document during reprinting.
References: Linux kernel full analysis, new assembly language programming, and Linux C Programming one-stop learning
Recently, a key part of the C language algorithm needs to be implemented in assembly language. In Linux, att assembly is basically used for Embedded Assembly. For example
the document. Often referred to as HTML elementsE:empty matches elements that do not have any child elements (including text nodes) EE:enabled matches elements that are in the available state on the user interface EE:disabled matches an element in the disabled state on the user interface EE:target matches the element that the related URL points to EProperty SelectorE[att] Select the e element with the ATT
1. Property selector:a). E[att]: Select all e elements that have the ATT attribute.b). E[att= ' Val ']: Select all elements that have the ATT attribute and the property value is Val E.c). E[att~= ' val ': Select an e element that has the
Today's course accelerated, faster than usual, but felt very good. nice~Property SelectorE[att] Select the e element that has the ATT attribute.Input[type]{color: #red;}E[att= "Val"] Select the e element that has the ATT attribute and the attribute value equals Val.Input[type= "Radio"]{color: #red;}E[
1. Property SelectorE[att]: Select the e element with the ATT attribute.1 / * Get the P element with the class attribute * / 2 p[class]{3 color:red; 4 }56class= "a">class: Ap>E[att= "Val"]: Select the e element that has the ATT attribute and the attribute value equals Val.1 / * Get the P element with the value "a" f
: #f00;}
p + P {color: #f00;}
Third, CSS 2.1 property Selector
Serial number
Selector Selector
Meaning
9.
E[att]
Matches all e elements that have the ATT attribute, regardless of its value. (Note: E can be omitted here, such as "[cheacked]". to the same. )
10.
E[att=val]
Matches
) selectors (CSS2): E>f{}:ef can not be generational, E can only match to the next neighboring generation F.Two-Attribute Selector1. E[att^= "Val"]: Select the e element with the ATT attribute and the property value as a string starting with Val.2. E[att$= "Val"]: Select the e element that has the ATT attribute and the
; F
child element Selector, matching all e element's child elements F
div > Strong {color: #f00;}
E + F
Adjacent element selector, matching all sibling elements immediately following the E element f
p + P {color: #f00;}
3.CSS 2.1 Property Selector
Selector Selector
Meaning
Example
E[att]
Matches all e elements that have the ATT
First, the basic selector1. * Universal Element Selector, matches any element2. E tag Selector, matching all elements using e tag3.. info class selector that matches all elements of the class attribute that contain info4. #footer the ID selector to match all elements of the id attribute equal to footerTwo, multi-element combination Selector5. E,f Multi-element selector, matching all e elements or F elements, separated by commas between E and F6. E F descendant element selector, matching all f el
are descendants of the e element, separated by a space between E and F
7.
E > F
child element Selector, matching all e element's child elements F
8.
E + F
Adjacent element selector, matching all sibling elements immediately following the E element f
Instance:
div p {color: #f00;}
#nav li {display:inline;}
#nav a {font-weight:bold;}
div > Strong {color: #f00;}
p + P {color: #f00;}
Third, CSS 2.1 property S
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.