Skip to content

Commit

Permalink
Length suffix for assembly memory operands
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 18, 2016
1 parent 02dbb45 commit 19c9d95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/boot/bootstrap.s
Expand Up @@ -235,7 +235,7 @@ reloc_vtables:
1:
cmp %rbp, %rdx
je 3f
cmp $0, (%rbp)
cmpq $0, (%rbp)
je 2f
add %rcx, (%rbp)
2:
Expand Down
2 changes: 1 addition & 1 deletion src/platform/interrupts.cpp
Expand Up @@ -92,7 +92,7 @@ asm(
"1:"

// Send EOI to local APIC
"cmp $0, 2+_intr_lapic_eoi(%rip);"
"cmpl $0, 2+_intr_lapic_eoi(%rip);"
"jz 1f;"
"_intr_lapic_eoi:"
"mov $0xF0123456, %rax;"
Expand Down

0 comments on commit 19c9d95

Please sign in to comment.