I had set the gdt table using this data And I do mov $16, %eax ; mov %eax, %ds to load DS with a GDT entry. Now I change the gdt_table, or just se ...
I had set the gdt table using this data And I do mov $16, %eax ; mov %eax, %ds to load DS with a GDT entry. Now I change the gdt_table, or just se ...
test.S I got the disassembly code file by doing this test_dis.txt My question I wonder why I got code like this mov %eax,%ds, which doesn' ...
My teacher has given me the question to differentiate the maximum memory space of 1MB and 4GB microprocessor. Does anyone know how to answer this ques ...
But it just prints an empty string, unless I set the address to something like 0x00 or 0x20, then it prints some ascii characters . Also I am new to a ...
In real mode memory addressing there are 16 segments made with the size of 64KB, and there are 4 segment registers, so where system store those 16 add ...
I am trying to create a simple BIOS boot sector, for which I use an x86 assembly language. I found out that the layout of memory throughout the bootin ...
I have been programming some stuff on 16-bit DOS recently for fun. I see a lot of people mentioning that far pointers are slower than near pointers an ...
I'm trying to make a floppy disk operating system, which right now is in its beta. I tried reserving 2 sectors for configuration, and loaded the data ...
In very simple assembly language programming, everyone may know the below given lines: my very simple question is that, when in line number 3 we wr ...
I am using the below code to solve the rat maze problem from geeksforgeeks.However I am getting the segmentation error and I am unable to debug it.Can ...
I am learning MS-DOS source code during that i am in difficulty with some line of code: In the next page there are some lines of code, If we p ...
I have tried using .model huge but still I'm getting this error: How do you use more than 64k in a segment? I'm using MASM for 8086 ...
I'm using emu8086 microprocessor emulator I wonder why when I try to place a value inside a memory address with SI it places right in DS:SI but when I ...
I am wondering if using segment descriptors that do not cover the whole linear address space are slower then using ones that do? I am hoping that the ...
When switching from compatibility mode to 64-bit mode at the same privilege level by a far call, fields such as BASE or LIMIT in segment registers are ...
Look at this scheme and then answer the following questions : As you see there's a simple C program roughly converted into assembly instructions. Fo ...
Consider this simple C program : test.c Now my question is if g is put into the data segment before execution. A picture may help clarify even bet ...
For 8086 it is possible to override the segment of the source index SI in order to use ES instead of DS. In a book (the old Scanlon) I found: As LE ...
i have the following code (working using nasm in 16 bit real mode ): As far as i know es:0x48 (es=0x0) should evaluate to 0x48. So the al register ...
In a 64 bit program the selector:offset used to get the stack protector is fs:0x28, where fs=0. This poses no problem because in 64 bit we have the MS ...