Experiment 2 compilation and debugging of assembly source program of multiple logic segments
4, Experimental conclusion
1. Experimental task 1
Task 1-1:
(1)task1_1.asm source code
assume ds:data, cs:code, ss:stack
data segment
db 16 dup(0)
data ends
stack segment
db 16 dup(0)
stack ends
code segment
start:
mov ax, data
mov ds, ax
mov ax, stack
mov ss, ax
mov sp, 16
mov ah, 4ch
int 21h
code ends
e ...
Posted by jrmontg on Sat, 06 Nov 2021 02:43:23 -0700
Remote service invocation in spring cloud (2 ways)
1, Remote service invocation based on RestTemplate object
Step 1: add the following method to the startup class of the service consumer to create the RestTemplate object
@Bean
public RestTemplate restTemplate(){//Implement remote service invocation based on this object
return new RestTemplate();
}
Step 2: define the service consumer C ...
Posted by ChrisFlynn on Sat, 06 Nov 2021 02:22:16 -0700
Fundamentals of Java network programming
1 Overview
Computer network is a computer system that links multiple computers and their external devices with independent functions in different geographical locations through communication lines, and realizes resource sharing and information transmission under the management and coordination of network operating system, network managemen ...
Posted by TKirahvi on Sat, 06 Nov 2021 02:17:18 -0700
Sqoop of big data
Sqoop of big data
1, Introduction to Sqoop
Sqoop is an open source tool, which is mainly used to transfer data between Hadoop(Hive) and traditional databases (mysql, postgresql...). It can import data from a relational database (such as mysql, Oracle, Postgres, etc.) into Hadoop's HDFS or HDFS data into a relational database. The Sqoop project ...
Posted by Valdhor on Sat, 06 Nov 2021 01:58:58 -0700
C++11 concurrency and multithreading notes async, future, packaged_task,promise
1. std::async and std::future create background tasks and return values
1.1 std::async
std::async is a function template used to start an asynchronous task. After starting an asynchronous task, it returns an std::future object. std::future is a class template.Start an asynchronous task: create a thread and start executing the correspondin ...
Posted by DoddsAntS on Sat, 06 Nov 2021 01:54:01 -0700
Groovy source code analysis
2021SC@SDUSC
Call Site analysis
Groovy 1.6 introduces Call Site optimization. Call Site optimization is actually the cache of method selection.
Method selection
In static languages (such as Java), the binding of method calls is completed at compile time (not exactly, such as virtual functions, but in general, method calls in static langua ...
Posted by fotakis on Sat, 06 Nov 2021 01:38:49 -0700
Linear data structure linked list, linked list stack, linked list queue, bidirectional linked list, circular linked list and Joseph Ring problem solving
preface
This chapter describes in detail the use and related operations of linked list, a linear data structure. In fact, many people can't understand the link between the nodes and the link before the nodes. It will be very difficult to learn, because I was like this at the beginning. I figured it out later. In fact, it is the following idea: ...
Posted by dunnsearch on Sat, 06 Nov 2021 01:34:53 -0700
GPIO function test of NVIDIA Jetson
0 background
The Jetson TX1, TX2, AGX Xavier and Nano development boards contain a 40 pin GPIO connector, similar to the 40 pin connector in Raspberry Pi. NV officially gives a GPIO library, which is a Python version, and The RPi.GPIO Library of Raspberry Pi is the same. This paper introduces the content and usage of the library.
1 ins ...
Posted by stuffradio on Sat, 06 Nov 2021 01:30:45 -0700
go concurrent programming Channels
preface
Channels is a type safe message queue. It acts as a pipeline between two goroutines, through which any resources will be exchanged synchronously. chan's ability to control goroutines interaction creates a Go synchronization mechanism. When the created chan has no capacity, it is called an unbuffered channel. Conversely, a chan crea ...
Posted by Sneef on Sat, 06 Nov 2021 01:24:57 -0700
2021SC@SDUSC [software engineering application and practice] Cocoon project 9- analysis core folder
2021SC@SDUSC
IncludeTransformer.java (Part 2)
In this blog, I will continue to analyze the two internal classes class IncludeElement and class IncludeXMLPipe in IncludeTransformer.java.
class IncludeElement
1. Properties:
//Parameter control includes recursive processing.
private boolean recursive;
//Parameter control parallelism (in m ...
Posted by sharmeen on Sat, 06 Nov 2021 01:09:01 -0700