Experiment 3 transfer instruction jump principle and its simple application programming
Experimental task 1
Using any text editor, enter the 8086 assembler source code task1.asm.
task1.asm
assume cs:code, ds:data
data segment
x db 1, 9, 3
len1 equ $ - x
y dw 1, 9, 3
len2 equ $ - y
data ends
code segment
start:
mov ax, data
mov ds, ax
mov si, offset x
mov cx, len1
mov ah, 2
s1:mov dl, [si]
...
Added by GrexP on Fri, 03 Dec 2021 05:51:21 +0200
Where is the virtual table pointer
Virtual table pointer
Someone in the group asked. I wrote it
Starting from the simplest class, there are differences between single inheritance and multi inheritance virtual table pointers
Code in 32 environment:
Write the conclusion first:
Virtual table pointer is assigned in constructor and destructor ( ...
Added by cyberdwarf on Wed, 24 Nov 2021 01:06:27 +0200