/1, changed state to up
R6 (config-if )#
% LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/1/1, changed state to up
R6 (config-if) # exit
R6 (config) # int s0/1/0
R6 (config-if) # ip add 192.168.67.6 255.255.255.0
R6 (config-if) # clock rate 56000
R6 (config-if) # no shut
% LINK-5-CHANGED: Interface Serial0/1/0, changed state to down
R6 (config-if) # router VPN 4567
R6 (config-router) # net 192.168.56.0
R6 (config-router )#
% DUAL-5-NBRCHANGE: IP-EIGRP 4567: Neighbor 192.168.56.5 (Serial0
1, in the C file to embed assembly code in the following way to add the assembly code:
#pragma ASM
; Assembler Code here
#pragma endasm
2, in the Project window contains assembly code of the C file on the right button, select "Options for ...", click on the right "Generate assembler SRC file"
and "Assemble SRC File", so that the check box from gray to black (valid) state;
3, according to the choice of compiling mode, the corresponding library files (such as Small mode, is keil\c51\lib\c51s. LIB)
message, and the selector of T He method that handles the message. Objc_msgsend () takes the ID type, which is literally just a pointer to a C struct, being identified as Objc_object. After a object is created, memory was allocated for the Objc_object type that consists if a ISA pointer, which is Followe D by the data for that object. In this usage, the ID of type is basically a pointer to the receiver's class instance in memory.The second argument SEL, is pretty much the method ' s signature s
the outer label. In R7, the VPN label is stripped. there are two tags in total. configuration case: the topology is as follows: Of course, the packet encapsulation and forwarding process is described in the experiment, and related configurations are attached. 1. When the RD of the two ends of the PE is different in the principle section, when the two RD ends are the same, they will not be maintained as the same routing Prefix: Let's look at the tag a
Tags: style blog io ar color os sp for strongHow you can debug your application while debugging the kernel:(CSKYGDB) Ccontinuing.^cprogram received signal SIGINT, Interrupt.default_idle () at arch/csky/kernel/process.c:8383__ asm__ __volatile__ (CSKYGDB)HB *0x00065e34 = = "corresponds to the address of the application disassembly officeHardware assisted Breakpoint 1 at 0x65e34 (CSKYGDB) Ccontinuing.program received signal SIGTRAP, Trace/breakpoint trap.0x0 0065e36 in?? () (CSKYGDB) disadisable d
translator presses: that is, either the transit interface activates MPLS).This case shows how to: on the ingress router (R1), use R7 's loopback port address (10.0.9.7) to define an LSP from R1 to R7. 10Mbps bandwidth is reserved for MPLS in the following configuration. Additionally, this configuration disables the CSPF algorithm to ensure that the rsvp-signaled LSP used by the host C1 and C2 is consistent
B, like no b is called).
In the above illustration, a stack frame has a stack frame pointer storage area (saved frame pointer) in addition to the already mentioned parameter region (parameter area), Link region (linkage area), and local variable storage (area storage). Register store (saved registers area), the stack frame register is no longer explained, register Store: Save nonvolatile Register (R4,R5,R6,R8,R10,R11), the following assembly code examples will be introduced.
Start Call (Fie
, (stack_sp2-1-(int) psselibbase), Gettid (), Reg_r0,reg_r1,reg _R2,REG_R3,REG_R4,REG_R5,REG_R6,REG_R7,REG_R8,REG_R9,REG_R10,REG_R11,REG_R12);}Inside the specific parameter meaning is later said.Printallreg to be called by a transit function, this function must meet the following requirements:1. the value of the R0-r12,LR Register cannot be changed before and after the call2. after calling the print function, skip to the old function3. put the monitoring address into the stack, this requirement
.
Address.
Base Address addressing is used to access storage units near the base address. It is often used for table queries, Array Operations, and access to non-register functions.
Q Example:
LDRR2, [R3, # 0x0c]; Read the content of the storage unit pointed to by the R3 0x0c address, and put it in R2
StrR1, [r0, #-4]!First R0 = R0-4, and then store the value of R1 to the Unit pointed to by R0
LDRR1, [r0, R3, LSL #1]Read the content of the Unit on R0 R3 * 2 and store it in R1.
6. Relative addres
The problems that arise:
A) R1 has a 7.7.7.0/24 route on it, but Ping 7.7.7.7 is not reached. (R7 same)
Now view the R1 routing table
R7#sh IP route
B 1.1.1.0 [20/0] via 5.5.5.5, 00:02:54/To save space incomplete display
It can be seen that R7 learned the route of the R1, from the surface to see the experiment is perfect, for the purpose, but then the proble
the address pointer of the operand. Examples of indirect addressing commands in registers are as follows:LDR R1, [R2]; reads the data of the storage unit pointed to by R2. stores the data in R1.SWP R1, R1, [R2]; exchange the value of register R1 with the content of the storage unit pointed to by r2
5. Multi-register addressingMultiple register addressing can transmit several register values at a time, allowing one instruction to transmit any subset or all registers of 16 registers. Examples of
immediate number (24 bits low ).
The following code can be found in entry-common.S.
In section 2.6.21, you will find that you cannot avoid this concept. What is Eabi?
In the kernel, the interview with Eabi and oabi is actually relative to the method of system calling. Of course, the system we call is limited to the arm system.Eabi (Extended Abi) is a new method of calling the system.
MoV R7, # numSWI 0x0
The original system call method is as follows
right is after the call. When B returns, it should return to the Left State (A is before B is called, just like calling B ).
In a stack frame, apart from the previously mentioned parameter area, link area, and local storage area) besides, the stack frame pointer storage area (saved frame pointer) and the register storage area (saved registers area) have been introduced above (R7); the register storage area: save non-loss-prone registers (R4, R5, R6,
digit.Then the code should write the A8 and A3 0x767ea and 0x767eb. We step forward.Bne r7.r0.0x000b3028, meaning R7 not 0 jumps to 0x000b3028. Here is 0x10, so jump to 0x000b3028 to execute.Skips irrelevant instructions and continues execution until it is specified to Addu r2.r9.r2. R2 is 6. " 169 "of the second number.At this time R7 is 1, still jumps back to
Recently, the reverse of the Android/C + +, found that C + + classes, STL templates, in reverse when compared to the C language has brought no small difficulties.Today I wrote a small program, and then reversed the analysisVectorDefine a vector, and then add the data.Ida disassembly is as follows: (comments added).Text:00001164int_tmp = -0x18.Text:00001164vector_ptr = -0x14.Text:00001164Var_8 =-8.Text:00001164.Text:00001164 PUSH{R4-R7,
!Init_thread_union long + thread_start_sp @ SP29The previous code may be in nor flash to run in XIP mode (in fact, NAND flash can also XIP, but a bit technical barriers), but kernel code can not always run in Flash, the function will be kernel section of the Move and processing!Type __mmap_switched,%function__mmap_switched:R3 ADR, __switch_data + 4//R3 point to __mmap_switched comment Error! R3 point to __data_loc!Loading code snippets, initialization data segments, and uninitialized data segmen
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.