Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged assembly

0 votes
1.0k views
1 answer
    I have managed to produce a minimal boot sector that works with QEMU 2.0.0 Ubuntu 14.04 ... /cirosantilli/d47d35bacc9be588009f#file-lenovo-t400 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
633 views
1 answer
    I am learning the assembly language. I wrote a simple bootloader. After testing it out, it didn't work. ... something wrong? Any suggestions? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
794 views
1 answer
    AVX2 has lots of good stuff. For example, it has plenty of instructions which are pretty much strictly ... functionally they are superseded. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Quick question, assuming beforehand mov eax, 0 which is more efficient? inc eax inc eax or add eax, 2 ... this is merely academic interest. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
971 views
1 answer
    I found some information on the web as follows, but incomplete. http://en.wikipedia.org/wiki/Input/ ... to download the specification? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
974 views
1 answer
    For example, the accumulator is named EAX and, while the instruction pointer is called IP. I also know that there ... names, but what is it? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
666 views
1 answer
    I have seen a lot of literature referencing microcoded instructions. What are these and why they are used? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
876 views
1 answer
    I need to modify some dll, but i don't know, what excatly does segment registers (DS, SS, ...) in protected ... mov eax, dword ptr ds:[20037DA0] See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
759 views
1 answer
    I was trying to work out how to calculate modulo 10 in assembly so i compiled the following c code in gcc ... better than using the div operand. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    GCC 4.4.3 generated the following x86_64 assembly. The part that confuses me is the mov %eax,%eax. Move the ... a pointer of the correct type. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Looking at the SSE operators CMPORDPS - ordered compare packed singles CMPUNORDPS - unordered compare packed singles ... unordered (FUCOM). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Could someone explain what this means? (Intel Syntax, x86, Windows) and dword ptr [ebp-4], 0 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
788 views
1 answer
    I was looking at the different instructions in assembly and I am confused on how the lengths of different operands ... its opcode will require? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
956 views
1 answer
    I asked a similar question here but I changed assemblers and the question almost entirely changed, so in an effort to avoid ... mov ah,9 int 21h jmp short EndZTimerReport ; ; C...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    To make a normal (near direct relative) call to an absolute address, in NASM or AT&T syntax you write call ... code I want to actually use. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    How can I write a far absolute JMP or CALL instruction using MASM? Specifically how do I get it to emit ... generate the right opcode (EA)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
747 views
1 answer
    Im currently learning graphical programming in tasm using dosbox. Ive been using a bunch of loops to draw square blocks ... is a start. Pls help See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
953 views
1 answer
    Why can't I directly move a byte from memory to a 64-bit register in Intel x86-64 assembly? For instance, ... simpler way of doing this? Thanks. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
764 views
1 answer
    I have a long chunk of memory, say, 256 KiB or longer. I want to count the number of 1 bits in this ... single (thread on a single) core. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
783 views
1 answer
    How can variadic functions like printf find out the number of arguments they got? The amount of arguments obviously isn' ... . What's the trick? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    .model small .stack .data buff label byte maxchar dw 50 readchar dw 0 name1 db 48 dup(0) m1 db 10,13,"enter ... int 21h mov ah, 4ch int 21h end See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
593 views
1 answer
    I'm seeing unexpectedly poor performance for a simple store loop which has two stores: one with a forward ... so trivial. Pull requests accepted. See Question&Answers more detail:...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
674 views
1 answer
    I cannot find any info on agner.org on the latency or throughput of the RDRAND instruction. However, this ... and throughput is variable. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
756 views
1 answer
    The Linux kernel uses lock; addl $0,0(%%esp) as write barrier, while the RE2 library uses xchgl (%0),%0 ... available. When is lfence required? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
947 views
1 answer
    Given the following code: L1 db "word", 0 mov al, [L1] mov eax, L1 What do the brackets ([L1]) represent? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
744 views
1 answer
    I've encoutered these to instructions IN & OUT while reading "Understanding Linux Kernel" book. I've looked ... ? Give some practical examples. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    Often in internet I find that LFENCE makes no sense in processors x86, ie it does nothing , so instead ... command SFENCE flushes Store-Buffer. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
722 views
1 answer
    I have proceeded to state when I need to turn IEEE-754 single and double precision numbers into ... (betweenResult, decimalExponent); See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...