Tag: 64bit

  • What is 16 bit in different contexts ?

    Refers to the number of bits that can be processedor transmitted in parallel, or the number of bits usedfor single element in a data format. The term is oftenapplied to the following: microprocessor: indicates the width of the registers. A 16-bit microprocessor can process data and memory addresses that are represented by 16 bits. bus […]

  • porting first steps asm code to GNU

    .global start [extern _k_main] ; _start: call _k_main cli ; hlt ; $as –64 kernel_start.s kernel_start.s: Assembler messages: kernel_start.s:2: Error: junk at end of line, first unrecognized character is `[‘ $

  • What is a PUSH instruction ?

    What is a PUSH instruction ?

    ABOUT PUSH INSTRUCTION RELATED In 8086, the main stack register is called stack pointer – SP. The stack segment register (SS) is usually used to store information about the memory segment that stores the call stack of currently executed program. SP points to current stack top. By default, the stack grows downward in memory, so […]

  • 16 bits into the segment register…(GS)

    software | Windows | These instructions read a full pointer from memory and store it in the selected segment register:register pair. The full pointer loads 16 bits into the segment register SS, DS, ES, FS, or GS source : http://pdos.csail.mit.edu/6.828/2008/readings/i386/LGS.htm software |GNU/Linux| (gdb) info registers rax 0xfffffffffffffdfc -516 rbx 0x5dc 1500 rcx 0xffffffffffffffff -1 rdx […]