hexsha stringlengths 40 40 | size int64 6 1.05M | ext stringclasses 3 values | lang stringclasses 1 value | max_stars_repo_path stringlengths 4 232 | max_stars_repo_name stringlengths 7 106 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 7 | max_stars_count int64 1 33.5k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 232 | max_issues_repo_name stringlengths 7 106 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 7 | max_issues_count int64 1 37.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 232 | max_forks_repo_name stringlengths 7 106 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 7 | max_forks_count int64 1 12.6k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 6 1.05M | avg_line_length float64 1.16 19.7k | max_line_length int64 2 938k | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d0bf7d04f5c874f5ee32374d5f792f9f02ef41e9 | 684,890 | asm | Assembly | kernel.asm | kingsleyljc/editpr | 51ca46e581f6bb3dc704e548e423a20de3e787b5 | [
"MIT-0"
] | null | null | null | kernel.asm | kingsleyljc/editpr | 51ca46e581f6bb3dc704e548e423a20de3e787b5 | [
"MIT-0"
] | null | null | null | kernel.asm | kingsleyljc/editpr | 51ca46e581f6bb3dc704e548e423a20de3e787b5 | [
"MIT-0"
] | null | null | null |
kernel: 文件格式 elf32-i386
Disassembly of section .text:
80100000 <multiboot_header>:
80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh
80100006: 00 00 add %al,(%eax)
80100008: fe 4f 52 decb 0x52(%edi)
8010000b: e4 .byte 0xe4
8010000c <entry>:
# Entering xv6 on boot processor, with paging off.
.globl entry
entry:
# Turn on page size extension for 4Mbyte pages
movl %cr4, %eax
8010000c: 0f 20 e0 mov %cr4,%eax
orl $(CR4_PSE), %eax
8010000f: 83 c8 10 or $0x10,%eax
movl %eax, %cr4
80100012: 0f 22 e0 mov %eax,%cr4
# Set page directory
movl $(V2P_WO(entrypgdir)), %eax
80100015: b8 00 a0 10 00 mov $0x10a000,%eax
movl %eax, %cr3
8010001a: 0f 22 d8 mov %eax,%cr3
# Turn on paging.
movl %cr0, %eax
8010001d: 0f 20 c0 mov %cr0,%eax
orl $(CR0_PG|CR0_WP), %eax
80100020: 0d 00 00 01 80 or $0x80010000,%eax
movl %eax, %cr0
80100025: 0f 22 c0 mov %eax,%cr0
# Set up the stack pointer.
movl $(stack + KSTACKSIZE), %esp
80100028: bc 70 c6 10 80 mov $0x8010c670,%esp
# Jump to main(), and switch to executing at
# high addresses. The indirect call is needed because
# the assembler produces a PC-relative instruction
# for a direct jump.
mov $main, %eax
8010002d: b8 9c 36 10 80 mov $0x8010369c,%eax
jmp *%eax
80100032: ff e0 jmp *%eax
80100034 <binit>:
struct buf head;
} bcache;
void
binit(void)
{
80100034: 55 push %ebp
80100035: 89 e5 mov %esp,%ebp
80100037: 83 ec 18 sub $0x18,%esp
struct buf *b;
initlock(&bcache.lock, "bcache");
8010003a: 83 ec 08 sub $0x8,%esp
8010003d: 68 80 83 10 80 push $0x80108380
80100042: 68 80 c6 10 80 push $0x8010c680
80100047: e8 64 4d 00 00 call 80104db0 <initlock>
8010004c: 83 c4 10 add $0x10,%esp
//PAGEBREAK!
// Create linked list of buffers
bcache.head.prev = &bcache.head;
8010004f: c7 05 b0 db 10 80 a4 movl $0x8010dba4,0x8010dbb0
80100056: db 10 80
bcache.head.next = &bcache.head;
80100059: c7 05 b4 db 10 80 a4 movl $0x8010dba4,0x8010dbb4
80100060: db 10 80
for(b = bcache.buf; b < bcache.buf+NBUF; b++){
80100063: c7 45 f4 b4 c6 10 80 movl $0x8010c6b4,-0xc(%ebp)
8010006a: eb 3a jmp 801000a6 <binit+0x72>
b->next = bcache.head.next;
8010006c: 8b 15 b4 db 10 80 mov 0x8010dbb4,%edx
80100072: 8b 45 f4 mov -0xc(%ebp),%eax
80100075: 89 50 10 mov %edx,0x10(%eax)
b->prev = &bcache.head;
80100078: 8b 45 f4 mov -0xc(%ebp),%eax
8010007b: c7 40 0c a4 db 10 80 movl $0x8010dba4,0xc(%eax)
b->dev = -1;
80100082: 8b 45 f4 mov -0xc(%ebp),%eax
80100085: c7 40 04 ff ff ff ff movl $0xffffffff,0x4(%eax)
bcache.head.next->prev = b;
8010008c: a1 b4 db 10 80 mov 0x8010dbb4,%eax
80100091: 8b 55 f4 mov -0xc(%ebp),%edx
80100094: 89 50 0c mov %edx,0xc(%eax)
bcache.head.next = b;
80100097: 8b 45 f4 mov -0xc(%ebp),%eax
8010009a: a3 b4 db 10 80 mov %eax,0x8010dbb4
//PAGEBREAK!
// Create linked list of buffers
bcache.head.prev = &bcache.head;
bcache.head.next = &bcache.head;
for(b = bcache.buf; b < bcache.buf+NBUF; b++){
8010009f: 81 45 f4 18 02 00 00 addl $0x218,-0xc(%ebp)
801000a6: b8 a4 db 10 80 mov $0x8010dba4,%eax
801000ab: 39 45 f4 cmp %eax,-0xc(%ebp)
801000ae: 72 bc jb 8010006c <binit+0x38>
b->prev = &bcache.head;
b->dev = -1;
bcache.head.next->prev = b;
bcache.head.next = b;
}
}
801000b0: 90 nop
801000b1: c9 leave
801000b2: c3 ret
801000b3 <bget>:
// Look through buffer cache for sector on device dev.
// If not found, allocate fresh block.
// In either case, return B_BUSY buffer.
static struct buf*
bget(uint dev, uint sector)
{
801000b3: 55 push %ebp
801000b4: 89 e5 mov %esp,%ebp
801000b6: 83 ec 18 sub $0x18,%esp
struct buf *b;
acquire(&bcache.lock);
801000b9: 83 ec 0c sub $0xc,%esp
801000bc: 68 80 c6 10 80 push $0x8010c680
801000c1: e8 0c 4d 00 00 call 80104dd2 <acquire>
801000c6: 83 c4 10 add $0x10,%esp
loop:
// Is the sector already cached?
for(b = bcache.head.next; b != &bcache.head; b = b->next){
801000c9: a1 b4 db 10 80 mov 0x8010dbb4,%eax
801000ce: 89 45 f4 mov %eax,-0xc(%ebp)
801000d1: eb 67 jmp 8010013a <bget+0x87>
if(b->dev == dev && b->sector == sector){
801000d3: 8b 45 f4 mov -0xc(%ebp),%eax
801000d6: 8b 40 04 mov 0x4(%eax),%eax
801000d9: 3b 45 08 cmp 0x8(%ebp),%eax
801000dc: 75 53 jne 80100131 <bget+0x7e>
801000de: 8b 45 f4 mov -0xc(%ebp),%eax
801000e1: 8b 40 08 mov 0x8(%eax),%eax
801000e4: 3b 45 0c cmp 0xc(%ebp),%eax
801000e7: 75 48 jne 80100131 <bget+0x7e>
if(!(b->flags & B_BUSY)){
801000e9: 8b 45 f4 mov -0xc(%ebp),%eax
801000ec: 8b 00 mov (%eax),%eax
801000ee: 83 e0 01 and $0x1,%eax
801000f1: 85 c0 test %eax,%eax
801000f3: 75 27 jne 8010011c <bget+0x69>
b->flags |= B_BUSY;
801000f5: 8b 45 f4 mov -0xc(%ebp),%eax
801000f8: 8b 00 mov (%eax),%eax
801000fa: 83 c8 01 or $0x1,%eax
801000fd: 89 c2 mov %eax,%edx
801000ff: 8b 45 f4 mov -0xc(%ebp),%eax
80100102: 89 10 mov %edx,(%eax)
release(&bcache.lock);
80100104: 83 ec 0c sub $0xc,%esp
80100107: 68 80 c6 10 80 push $0x8010c680
8010010c: e8 28 4d 00 00 call 80104e39 <release>
80100111: 83 c4 10 add $0x10,%esp
return b;
80100114: 8b 45 f4 mov -0xc(%ebp),%eax
80100117: e9 98 00 00 00 jmp 801001b4 <bget+0x101>
}
sleep(b, &bcache.lock);
8010011c: 83 ec 08 sub $0x8,%esp
8010011f: 68 80 c6 10 80 push $0x8010c680
80100124: ff 75 f4 pushl -0xc(%ebp)
80100127: e8 ad 49 00 00 call 80104ad9 <sleep>
8010012c: 83 c4 10 add $0x10,%esp
goto loop;
8010012f: eb 98 jmp 801000c9 <bget+0x16>
acquire(&bcache.lock);
loop:
// Is the sector already cached?
for(b = bcache.head.next; b != &bcache.head; b = b->next){
80100131: 8b 45 f4 mov -0xc(%ebp),%eax
80100134: 8b 40 10 mov 0x10(%eax),%eax
80100137: 89 45 f4 mov %eax,-0xc(%ebp)
8010013a: 81 7d f4 a4 db 10 80 cmpl $0x8010dba4,-0xc(%ebp)
80100141: 75 90 jne 801000d3 <bget+0x20>
goto loop;
}
}
// Not cached; recycle some non-busy and clean buffer.
for(b = bcache.head.prev; b != &bcache.head; b = b->prev){
80100143: a1 b0 db 10 80 mov 0x8010dbb0,%eax
80100148: 89 45 f4 mov %eax,-0xc(%ebp)
8010014b: eb 51 jmp 8010019e <bget+0xeb>
if((b->flags & B_BUSY) == 0 && (b->flags & B_DIRTY) == 0){
8010014d: 8b 45 f4 mov -0xc(%ebp),%eax
80100150: 8b 00 mov (%eax),%eax
80100152: 83 e0 01 and $0x1,%eax
80100155: 85 c0 test %eax,%eax
80100157: 75 3c jne 80100195 <bget+0xe2>
80100159: 8b 45 f4 mov -0xc(%ebp),%eax
8010015c: 8b 00 mov (%eax),%eax
8010015e: 83 e0 04 and $0x4,%eax
80100161: 85 c0 test %eax,%eax
80100163: 75 30 jne 80100195 <bget+0xe2>
b->dev = dev;
80100165: 8b 45 f4 mov -0xc(%ebp),%eax
80100168: 8b 55 08 mov 0x8(%ebp),%edx
8010016b: 89 50 04 mov %edx,0x4(%eax)
b->sector = sector;
8010016e: 8b 45 f4 mov -0xc(%ebp),%eax
80100171: 8b 55 0c mov 0xc(%ebp),%edx
80100174: 89 50 08 mov %edx,0x8(%eax)
b->flags = B_BUSY;
80100177: 8b 45 f4 mov -0xc(%ebp),%eax
8010017a: c7 00 01 00 00 00 movl $0x1,(%eax)
release(&bcache.lock);
80100180: 83 ec 0c sub $0xc,%esp
80100183: 68 80 c6 10 80 push $0x8010c680
80100188: e8 ac 4c 00 00 call 80104e39 <release>
8010018d: 83 c4 10 add $0x10,%esp
return b;
80100190: 8b 45 f4 mov -0xc(%ebp),%eax
80100193: eb 1f jmp 801001b4 <bget+0x101>
goto loop;
}
}
// Not cached; recycle some non-busy and clean buffer.
for(b = bcache.head.prev; b != &bcache.head; b = b->prev){
80100195: 8b 45 f4 mov -0xc(%ebp),%eax
80100198: 8b 40 0c mov 0xc(%eax),%eax
8010019b: 89 45 f4 mov %eax,-0xc(%ebp)
8010019e: 81 7d f4 a4 db 10 80 cmpl $0x8010dba4,-0xc(%ebp)
801001a5: 75 a6 jne 8010014d <bget+0x9a>
b->flags = B_BUSY;
release(&bcache.lock);
return b;
}
}
panic("bget: no buffers");
801001a7: 83 ec 0c sub $0xc,%esp
801001aa: 68 87 83 10 80 push $0x80108387
801001af: e8 b2 03 00 00 call 80100566 <panic>
}
801001b4: c9 leave
801001b5: c3 ret
801001b6 <bread>:
// Return a B_BUSY buf with the contents of the indicated disk sector.
struct buf*
bread(uint dev, uint sector)
{
801001b6: 55 push %ebp
801001b7: 89 e5 mov %esp,%ebp
801001b9: 83 ec 18 sub $0x18,%esp
struct buf *b;
b = bget(dev, sector);
801001bc: 83 ec 08 sub $0x8,%esp
801001bf: ff 75 0c pushl 0xc(%ebp)
801001c2: ff 75 08 pushl 0x8(%ebp)
801001c5: e8 e9 fe ff ff call 801000b3 <bget>
801001ca: 83 c4 10 add $0x10,%esp
801001cd: 89 45 f4 mov %eax,-0xc(%ebp)
if(!(b->flags & B_VALID))
801001d0: 8b 45 f4 mov -0xc(%ebp),%eax
801001d3: 8b 00 mov (%eax),%eax
801001d5: 83 e0 02 and $0x2,%eax
801001d8: 85 c0 test %eax,%eax
801001da: 75 0e jne 801001ea <bread+0x34>
iderw(b);
801001dc: 83 ec 0c sub $0xc,%esp
801001df: ff 75 f4 pushl -0xc(%ebp)
801001e2: e8 90 28 00 00 call 80102a77 <iderw>
801001e7: 83 c4 10 add $0x10,%esp
return b;
801001ea: 8b 45 f4 mov -0xc(%ebp),%eax
}
801001ed: c9 leave
801001ee: c3 ret
801001ef <bwrite>:
// Write b's contents to disk. Must be B_BUSY.
void
bwrite(struct buf *b)
{
801001ef: 55 push %ebp
801001f0: 89 e5 mov %esp,%ebp
801001f2: 83 ec 08 sub $0x8,%esp
if((b->flags & B_BUSY) == 0)
801001f5: 8b 45 08 mov 0x8(%ebp),%eax
801001f8: 8b 00 mov (%eax),%eax
801001fa: 83 e0 01 and $0x1,%eax
801001fd: 85 c0 test %eax,%eax
801001ff: 75 0d jne 8010020e <bwrite+0x1f>
panic("bwrite");
80100201: 83 ec 0c sub $0xc,%esp
80100204: 68 98 83 10 80 push $0x80108398
80100209: e8 58 03 00 00 call 80100566 <panic>
b->flags |= B_DIRTY;
8010020e: 8b 45 08 mov 0x8(%ebp),%eax
80100211: 8b 00 mov (%eax),%eax
80100213: 83 c8 04 or $0x4,%eax
80100216: 89 c2 mov %eax,%edx
80100218: 8b 45 08 mov 0x8(%ebp),%eax
8010021b: 89 10 mov %edx,(%eax)
iderw(b);
8010021d: 83 ec 0c sub $0xc,%esp
80100220: ff 75 08 pushl 0x8(%ebp)
80100223: e8 4f 28 00 00 call 80102a77 <iderw>
80100228: 83 c4 10 add $0x10,%esp
}
8010022b: 90 nop
8010022c: c9 leave
8010022d: c3 ret
8010022e <brelse>:
// Release a B_BUSY buffer.
// Move to the head of the MRU list.
void
brelse(struct buf *b)
{
8010022e: 55 push %ebp
8010022f: 89 e5 mov %esp,%ebp
80100231: 83 ec 08 sub $0x8,%esp
if((b->flags & B_BUSY) == 0)
80100234: 8b 45 08 mov 0x8(%ebp),%eax
80100237: 8b 00 mov (%eax),%eax
80100239: 83 e0 01 and $0x1,%eax
8010023c: 85 c0 test %eax,%eax
8010023e: 75 0d jne 8010024d <brelse+0x1f>
panic("brelse");
80100240: 83 ec 0c sub $0xc,%esp
80100243: 68 9f 83 10 80 push $0x8010839f
80100248: e8 19 03 00 00 call 80100566 <panic>
acquire(&bcache.lock);
8010024d: 83 ec 0c sub $0xc,%esp
80100250: 68 80 c6 10 80 push $0x8010c680
80100255: e8 78 4b 00 00 call 80104dd2 <acquire>
8010025a: 83 c4 10 add $0x10,%esp
b->next->prev = b->prev;
8010025d: 8b 45 08 mov 0x8(%ebp),%eax
80100260: 8b 40 10 mov 0x10(%eax),%eax
80100263: 8b 55 08 mov 0x8(%ebp),%edx
80100266: 8b 52 0c mov 0xc(%edx),%edx
80100269: 89 50 0c mov %edx,0xc(%eax)
b->prev->next = b->next;
8010026c: 8b 45 08 mov 0x8(%ebp),%eax
8010026f: 8b 40 0c mov 0xc(%eax),%eax
80100272: 8b 55 08 mov 0x8(%ebp),%edx
80100275: 8b 52 10 mov 0x10(%edx),%edx
80100278: 89 50 10 mov %edx,0x10(%eax)
b->next = bcache.head.next;
8010027b: 8b 15 b4 db 10 80 mov 0x8010dbb4,%edx
80100281: 8b 45 08 mov 0x8(%ebp),%eax
80100284: 89 50 10 mov %edx,0x10(%eax)
b->prev = &bcache.head;
80100287: 8b 45 08 mov 0x8(%ebp),%eax
8010028a: c7 40 0c a4 db 10 80 movl $0x8010dba4,0xc(%eax)
bcache.head.next->prev = b;
80100291: a1 b4 db 10 80 mov 0x8010dbb4,%eax
80100296: 8b 55 08 mov 0x8(%ebp),%edx
80100299: 89 50 0c mov %edx,0xc(%eax)
bcache.head.next = b;
8010029c: 8b 45 08 mov 0x8(%ebp),%eax
8010029f: a3 b4 db 10 80 mov %eax,0x8010dbb4
b->flags &= ~B_BUSY;
801002a4: 8b 45 08 mov 0x8(%ebp),%eax
801002a7: 8b 00 mov (%eax),%eax
801002a9: 83 e0 fe and $0xfffffffe,%eax
801002ac: 89 c2 mov %eax,%edx
801002ae: 8b 45 08 mov 0x8(%ebp),%eax
801002b1: 89 10 mov %edx,(%eax)
wakeup(b);
801002b3: 83 ec 0c sub $0xc,%esp
801002b6: ff 75 08 pushl 0x8(%ebp)
801002b9: e8 06 49 00 00 call 80104bc4 <wakeup>
801002be: 83 c4 10 add $0x10,%esp
release(&bcache.lock);
801002c1: 83 ec 0c sub $0xc,%esp
801002c4: 68 80 c6 10 80 push $0x8010c680
801002c9: e8 6b 4b 00 00 call 80104e39 <release>
801002ce: 83 c4 10 add $0x10,%esp
}
801002d1: 90 nop
801002d2: c9 leave
801002d3: c3 ret
801002d4 <inb>:
// Routines to let C code use special x86 instructions.
static inline uchar
inb(ushort port)
{
801002d4: 55 push %ebp
801002d5: 89 e5 mov %esp,%ebp
801002d7: 83 ec 14 sub $0x14,%esp
801002da: 8b 45 08 mov 0x8(%ebp),%eax
801002dd: 66 89 45 ec mov %ax,-0x14(%ebp)
uchar data;
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
801002e1: 0f b7 45 ec movzwl -0x14(%ebp),%eax
801002e5: 89 c2 mov %eax,%edx
801002e7: ec in (%dx),%al
801002e8: 88 45 ff mov %al,-0x1(%ebp)
return data;
801002eb: 0f b6 45 ff movzbl -0x1(%ebp),%eax
}
801002ef: c9 leave
801002f0: c3 ret
801002f1 <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
801002f1: 55 push %ebp
801002f2: 89 e5 mov %esp,%ebp
801002f4: 83 ec 08 sub $0x8,%esp
801002f7: 8b 55 08 mov 0x8(%ebp),%edx
801002fa: 8b 45 0c mov 0xc(%ebp),%eax
801002fd: 66 89 55 fc mov %dx,-0x4(%ebp)
80100301: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80100304: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
80100308: 0f b7 55 fc movzwl -0x4(%ebp),%edx
8010030c: ee out %al,(%dx)
}
8010030d: 90 nop
8010030e: c9 leave
8010030f: c3 ret
80100310 <cli>:
asm volatile("movw %0, %%gs" : : "r" (v));
}
static inline void
cli(void)
{
80100310: 55 push %ebp
80100311: 89 e5 mov %esp,%ebp
asm volatile("cli");
80100313: fa cli
}
80100314: 90 nop
80100315: 5d pop %ebp
80100316: c3 ret
80100317 <printint>:
int locking;
} cons;
static void
printint(int xx, int base, int sign)
{
80100317: 55 push %ebp
80100318: 89 e5 mov %esp,%ebp
8010031a: 53 push %ebx
8010031b: 83 ec 24 sub $0x24,%esp
static char digits[] = "0123456789abcdef";
char buf[16];
int i;
uint x;
if(sign && (sign = xx < 0))
8010031e: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80100322: 74 1c je 80100340 <printint+0x29>
80100324: 8b 45 08 mov 0x8(%ebp),%eax
80100327: c1 e8 1f shr $0x1f,%eax
8010032a: 0f b6 c0 movzbl %al,%eax
8010032d: 89 45 10 mov %eax,0x10(%ebp)
80100330: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80100334: 74 0a je 80100340 <printint+0x29>
x = -xx;
80100336: 8b 45 08 mov 0x8(%ebp),%eax
80100339: f7 d8 neg %eax
8010033b: 89 45 f0 mov %eax,-0x10(%ebp)
8010033e: eb 06 jmp 80100346 <printint+0x2f>
else
x = xx;
80100340: 8b 45 08 mov 0x8(%ebp),%eax
80100343: 89 45 f0 mov %eax,-0x10(%ebp)
i = 0;
80100346: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
do{
buf[i++] = digits[x % base];
8010034d: 8b 4d f4 mov -0xc(%ebp),%ecx
80100350: 8d 41 01 lea 0x1(%ecx),%eax
80100353: 89 45 f4 mov %eax,-0xc(%ebp)
80100356: 8b 5d 0c mov 0xc(%ebp),%ebx
80100359: 8b 45 f0 mov -0x10(%ebp),%eax
8010035c: ba 00 00 00 00 mov $0x0,%edx
80100361: f7 f3 div %ebx
80100363: 89 d0 mov %edx,%eax
80100365: 0f b6 80 04 90 10 80 movzbl -0x7fef6ffc(%eax),%eax
8010036c: 88 44 0d e0 mov %al,-0x20(%ebp,%ecx,1)
}while((x /= base) != 0);
80100370: 8b 5d 0c mov 0xc(%ebp),%ebx
80100373: 8b 45 f0 mov -0x10(%ebp),%eax
80100376: ba 00 00 00 00 mov $0x0,%edx
8010037b: f7 f3 div %ebx
8010037d: 89 45 f0 mov %eax,-0x10(%ebp)
80100380: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80100384: 75 c7 jne 8010034d <printint+0x36>
if(sign)
80100386: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
8010038a: 74 2a je 801003b6 <printint+0x9f>
buf[i++] = '-';
8010038c: 8b 45 f4 mov -0xc(%ebp),%eax
8010038f: 8d 50 01 lea 0x1(%eax),%edx
80100392: 89 55 f4 mov %edx,-0xc(%ebp)
80100395: c6 44 05 e0 2d movb $0x2d,-0x20(%ebp,%eax,1)
while(--i >= 0)
8010039a: eb 1a jmp 801003b6 <printint+0x9f>
consputc(buf[i]);
8010039c: 8d 55 e0 lea -0x20(%ebp),%edx
8010039f: 8b 45 f4 mov -0xc(%ebp),%eax
801003a2: 01 d0 add %edx,%eax
801003a4: 0f b6 00 movzbl (%eax),%eax
801003a7: 0f be c0 movsbl %al,%eax
801003aa: 83 ec 0c sub $0xc,%esp
801003ad: 50 push %eax
801003ae: e8 c3 03 00 00 call 80100776 <consputc>
801003b3: 83 c4 10 add $0x10,%esp
}while((x /= base) != 0);
if(sign)
buf[i++] = '-';
while(--i >= 0)
801003b6: 83 6d f4 01 subl $0x1,-0xc(%ebp)
801003ba: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801003be: 79 dc jns 8010039c <printint+0x85>
consputc(buf[i]);
}
801003c0: 90 nop
801003c1: 8b 5d fc mov -0x4(%ebp),%ebx
801003c4: c9 leave
801003c5: c3 ret
801003c6 <cprintf>:
//PAGEBREAK: 50
// Print to the console. only understands %d, %x, %p, %s.
void
cprintf(char *fmt, ...)
{
801003c6: 55 push %ebp
801003c7: 89 e5 mov %esp,%ebp
801003c9: 83 ec 28 sub $0x28,%esp
int i, c, locking;
uint *argp;
char *s;
locking = cons.locking;
801003cc: a1 14 b6 10 80 mov 0x8010b614,%eax
801003d1: 89 45 e8 mov %eax,-0x18(%ebp)
if(locking)
801003d4: 83 7d e8 00 cmpl $0x0,-0x18(%ebp)
801003d8: 74 10 je 801003ea <cprintf+0x24>
acquire(&cons.lock);
801003da: 83 ec 0c sub $0xc,%esp
801003dd: 68 e0 b5 10 80 push $0x8010b5e0
801003e2: e8 eb 49 00 00 call 80104dd2 <acquire>
801003e7: 83 c4 10 add $0x10,%esp
if (fmt == 0)
801003ea: 8b 45 08 mov 0x8(%ebp),%eax
801003ed: 85 c0 test %eax,%eax
801003ef: 75 0d jne 801003fe <cprintf+0x38>
panic("null fmt");
801003f1: 83 ec 0c sub $0xc,%esp
801003f4: 68 a6 83 10 80 push $0x801083a6
801003f9: e8 68 01 00 00 call 80100566 <panic>
argp = (uint*)(void*)(&fmt + 1);
801003fe: 8d 45 0c lea 0xc(%ebp),%eax
80100401: 89 45 f0 mov %eax,-0x10(%ebp)
for(i = 0; (c = fmt[i] & 0xff) != 0; i++){
80100404: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
8010040b: e9 1a 01 00 00 jmp 8010052a <cprintf+0x164>
if(c != '%'){
80100410: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
80100414: 74 13 je 80100429 <cprintf+0x63>
consputc(c);
80100416: 83 ec 0c sub $0xc,%esp
80100419: ff 75 e4 pushl -0x1c(%ebp)
8010041c: e8 55 03 00 00 call 80100776 <consputc>
80100421: 83 c4 10 add $0x10,%esp
continue;
80100424: e9 fd 00 00 00 jmp 80100526 <cprintf+0x160>
}
c = fmt[++i] & 0xff;
80100429: 8b 55 08 mov 0x8(%ebp),%edx
8010042c: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80100430: 8b 45 f4 mov -0xc(%ebp),%eax
80100433: 01 d0 add %edx,%eax
80100435: 0f b6 00 movzbl (%eax),%eax
80100438: 0f be c0 movsbl %al,%eax
8010043b: 25 ff 00 00 00 and $0xff,%eax
80100440: 89 45 e4 mov %eax,-0x1c(%ebp)
if(c == 0)
80100443: 83 7d e4 00 cmpl $0x0,-0x1c(%ebp)
80100447: 0f 84 ff 00 00 00 je 8010054c <cprintf+0x186>
break;
switch(c){
8010044d: 8b 45 e4 mov -0x1c(%ebp),%eax
80100450: 83 f8 70 cmp $0x70,%eax
80100453: 74 47 je 8010049c <cprintf+0xd6>
80100455: 83 f8 70 cmp $0x70,%eax
80100458: 7f 13 jg 8010046d <cprintf+0xa7>
8010045a: 83 f8 25 cmp $0x25,%eax
8010045d: 0f 84 98 00 00 00 je 801004fb <cprintf+0x135>
80100463: 83 f8 64 cmp $0x64,%eax
80100466: 74 14 je 8010047c <cprintf+0xb6>
80100468: e9 9d 00 00 00 jmp 8010050a <cprintf+0x144>
8010046d: 83 f8 73 cmp $0x73,%eax
80100470: 74 47 je 801004b9 <cprintf+0xf3>
80100472: 83 f8 78 cmp $0x78,%eax
80100475: 74 25 je 8010049c <cprintf+0xd6>
80100477: e9 8e 00 00 00 jmp 8010050a <cprintf+0x144>
case 'd':
printint(*argp++, 10, 1);
8010047c: 8b 45 f0 mov -0x10(%ebp),%eax
8010047f: 8d 50 04 lea 0x4(%eax),%edx
80100482: 89 55 f0 mov %edx,-0x10(%ebp)
80100485: 8b 00 mov (%eax),%eax
80100487: 83 ec 04 sub $0x4,%esp
8010048a: 6a 01 push $0x1
8010048c: 6a 0a push $0xa
8010048e: 50 push %eax
8010048f: e8 83 fe ff ff call 80100317 <printint>
80100494: 83 c4 10 add $0x10,%esp
break;
80100497: e9 8a 00 00 00 jmp 80100526 <cprintf+0x160>
case 'x':
case 'p':
printint(*argp++, 16, 0);
8010049c: 8b 45 f0 mov -0x10(%ebp),%eax
8010049f: 8d 50 04 lea 0x4(%eax),%edx
801004a2: 89 55 f0 mov %edx,-0x10(%ebp)
801004a5: 8b 00 mov (%eax),%eax
801004a7: 83 ec 04 sub $0x4,%esp
801004aa: 6a 00 push $0x0
801004ac: 6a 10 push $0x10
801004ae: 50 push %eax
801004af: e8 63 fe ff ff call 80100317 <printint>
801004b4: 83 c4 10 add $0x10,%esp
break;
801004b7: eb 6d jmp 80100526 <cprintf+0x160>
case 's':
if((s = (char*)*argp++) == 0)
801004b9: 8b 45 f0 mov -0x10(%ebp),%eax
801004bc: 8d 50 04 lea 0x4(%eax),%edx
801004bf: 89 55 f0 mov %edx,-0x10(%ebp)
801004c2: 8b 00 mov (%eax),%eax
801004c4: 89 45 ec mov %eax,-0x14(%ebp)
801004c7: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
801004cb: 75 22 jne 801004ef <cprintf+0x129>
s = "(null)";
801004cd: c7 45 ec af 83 10 80 movl $0x801083af,-0x14(%ebp)
for(; *s; s++)
801004d4: eb 19 jmp 801004ef <cprintf+0x129>
consputc(*s);
801004d6: 8b 45 ec mov -0x14(%ebp),%eax
801004d9: 0f b6 00 movzbl (%eax),%eax
801004dc: 0f be c0 movsbl %al,%eax
801004df: 83 ec 0c sub $0xc,%esp
801004e2: 50 push %eax
801004e3: e8 8e 02 00 00 call 80100776 <consputc>
801004e8: 83 c4 10 add $0x10,%esp
printint(*argp++, 16, 0);
break;
case 's':
if((s = (char*)*argp++) == 0)
s = "(null)";
for(; *s; s++)
801004eb: 83 45 ec 01 addl $0x1,-0x14(%ebp)
801004ef: 8b 45 ec mov -0x14(%ebp),%eax
801004f2: 0f b6 00 movzbl (%eax),%eax
801004f5: 84 c0 test %al,%al
801004f7: 75 dd jne 801004d6 <cprintf+0x110>
consputc(*s);
break;
801004f9: eb 2b jmp 80100526 <cprintf+0x160>
case '%':
consputc('%');
801004fb: 83 ec 0c sub $0xc,%esp
801004fe: 6a 25 push $0x25
80100500: e8 71 02 00 00 call 80100776 <consputc>
80100505: 83 c4 10 add $0x10,%esp
break;
80100508: eb 1c jmp 80100526 <cprintf+0x160>
default:
// Print unknown % sequence to draw attention.
consputc('%');
8010050a: 83 ec 0c sub $0xc,%esp
8010050d: 6a 25 push $0x25
8010050f: e8 62 02 00 00 call 80100776 <consputc>
80100514: 83 c4 10 add $0x10,%esp
consputc(c);
80100517: 83 ec 0c sub $0xc,%esp
8010051a: ff 75 e4 pushl -0x1c(%ebp)
8010051d: e8 54 02 00 00 call 80100776 <consputc>
80100522: 83 c4 10 add $0x10,%esp
break;
80100525: 90 nop
if (fmt == 0)
panic("null fmt");
argp = (uint*)(void*)(&fmt + 1);
for(i = 0; (c = fmt[i] & 0xff) != 0; i++){
80100526: 83 45 f4 01 addl $0x1,-0xc(%ebp)
8010052a: 8b 55 08 mov 0x8(%ebp),%edx
8010052d: 8b 45 f4 mov -0xc(%ebp),%eax
80100530: 01 d0 add %edx,%eax
80100532: 0f b6 00 movzbl (%eax),%eax
80100535: 0f be c0 movsbl %al,%eax
80100538: 25 ff 00 00 00 and $0xff,%eax
8010053d: 89 45 e4 mov %eax,-0x1c(%ebp)
80100540: 83 7d e4 00 cmpl $0x0,-0x1c(%ebp)
80100544: 0f 85 c6 fe ff ff jne 80100410 <cprintf+0x4a>
8010054a: eb 01 jmp 8010054d <cprintf+0x187>
consputc(c);
continue;
}
c = fmt[++i] & 0xff;
if(c == 0)
break;
8010054c: 90 nop
consputc(c);
break;
}
}
if(locking)
8010054d: 83 7d e8 00 cmpl $0x0,-0x18(%ebp)
80100551: 74 10 je 80100563 <cprintf+0x19d>
release(&cons.lock);
80100553: 83 ec 0c sub $0xc,%esp
80100556: 68 e0 b5 10 80 push $0x8010b5e0
8010055b: e8 d9 48 00 00 call 80104e39 <release>
80100560: 83 c4 10 add $0x10,%esp
}
80100563: 90 nop
80100564: c9 leave
80100565: c3 ret
80100566 <panic>:
void
panic(char *s)
{
80100566: 55 push %ebp
80100567: 89 e5 mov %esp,%ebp
80100569: 83 ec 38 sub $0x38,%esp
int i;
uint pcs[10];
cli();
8010056c: e8 9f fd ff ff call 80100310 <cli>
cons.locking = 0;
80100571: c7 05 14 b6 10 80 00 movl $0x0,0x8010b614
80100578: 00 00 00
cprintf("cpu%d: panic: ", cpu->id);
8010057b: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80100581: 0f b6 00 movzbl (%eax),%eax
80100584: 0f b6 c0 movzbl %al,%eax
80100587: 83 ec 08 sub $0x8,%esp
8010058a: 50 push %eax
8010058b: 68 b6 83 10 80 push $0x801083b6
80100590: e8 31 fe ff ff call 801003c6 <cprintf>
80100595: 83 c4 10 add $0x10,%esp
cprintf(s);
80100598: 8b 45 08 mov 0x8(%ebp),%eax
8010059b: 83 ec 0c sub $0xc,%esp
8010059e: 50 push %eax
8010059f: e8 22 fe ff ff call 801003c6 <cprintf>
801005a4: 83 c4 10 add $0x10,%esp
cprintf("\n");
801005a7: 83 ec 0c sub $0xc,%esp
801005aa: 68 c5 83 10 80 push $0x801083c5
801005af: e8 12 fe ff ff call 801003c6 <cprintf>
801005b4: 83 c4 10 add $0x10,%esp
getcallerpcs(&s, pcs);
801005b7: 83 ec 08 sub $0x8,%esp
801005ba: 8d 45 cc lea -0x34(%ebp),%eax
801005bd: 50 push %eax
801005be: 8d 45 08 lea 0x8(%ebp),%eax
801005c1: 50 push %eax
801005c2: e8 c4 48 00 00 call 80104e8b <getcallerpcs>
801005c7: 83 c4 10 add $0x10,%esp
for(i=0; i<10; i++)
801005ca: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801005d1: eb 1c jmp 801005ef <panic+0x89>
cprintf(" %p", pcs[i]);
801005d3: 8b 45 f4 mov -0xc(%ebp),%eax
801005d6: 8b 44 85 cc mov -0x34(%ebp,%eax,4),%eax
801005da: 83 ec 08 sub $0x8,%esp
801005dd: 50 push %eax
801005de: 68 c7 83 10 80 push $0x801083c7
801005e3: e8 de fd ff ff call 801003c6 <cprintf>
801005e8: 83 c4 10 add $0x10,%esp
cons.locking = 0;
cprintf("cpu%d: panic: ", cpu->id);
cprintf(s);
cprintf("\n");
getcallerpcs(&s, pcs);
for(i=0; i<10; i++)
801005eb: 83 45 f4 01 addl $0x1,-0xc(%ebp)
801005ef: 83 7d f4 09 cmpl $0x9,-0xc(%ebp)
801005f3: 7e de jle 801005d3 <panic+0x6d>
cprintf(" %p", pcs[i]);
panicked = 1; // freeze other CPU
801005f5: c7 05 c0 b5 10 80 01 movl $0x1,0x8010b5c0
801005fc: 00 00 00
for(;;)
;
801005ff: eb fe jmp 801005ff <panic+0x99>
80100601 <cgaputc>:
#define CRTPORT 0x3d4
static ushort *crt = (ushort*)P2V(0xb8000); // CGA memory
//光标
static void
cgaputc(int c)
{
80100601: 55 push %ebp
80100602: 89 e5 mov %esp,%ebp
80100604: 83 ec 18 sub $0x18,%esp
int pos;
// Cursor position: col + 80*row.
outb(CRTPORT, 14);
80100607: 6a 0e push $0xe
80100609: 68 d4 03 00 00 push $0x3d4
8010060e: e8 de fc ff ff call 801002f1 <outb>
80100613: 83 c4 08 add $0x8,%esp
pos = inb(CRTPORT+1) << 8;
80100616: 68 d5 03 00 00 push $0x3d5
8010061b: e8 b4 fc ff ff call 801002d4 <inb>
80100620: 83 c4 04 add $0x4,%esp
80100623: 0f b6 c0 movzbl %al,%eax
80100626: c1 e0 08 shl $0x8,%eax
80100629: 89 45 f4 mov %eax,-0xc(%ebp)
outb(CRTPORT, 15);
8010062c: 6a 0f push $0xf
8010062e: 68 d4 03 00 00 push $0x3d4
80100633: e8 b9 fc ff ff call 801002f1 <outb>
80100638: 83 c4 08 add $0x8,%esp
pos |= inb(CRTPORT+1);
8010063b: 68 d5 03 00 00 push $0x3d5
80100640: e8 8f fc ff ff call 801002d4 <inb>
80100645: 83 c4 04 add $0x4,%esp
80100648: 0f b6 c0 movzbl %al,%eax
8010064b: 09 45 f4 or %eax,-0xc(%ebp)
if(c == '\n')
8010064e: 83 7d 08 0a cmpl $0xa,0x8(%ebp)
80100652: 75 30 jne 80100684 <cgaputc+0x83>
pos += 80 - pos%80;
80100654: 8b 4d f4 mov -0xc(%ebp),%ecx
80100657: ba 67 66 66 66 mov $0x66666667,%edx
8010065c: 89 c8 mov %ecx,%eax
8010065e: f7 ea imul %edx
80100660: c1 fa 05 sar $0x5,%edx
80100663: 89 c8 mov %ecx,%eax
80100665: c1 f8 1f sar $0x1f,%eax
80100668: 29 c2 sub %eax,%edx
8010066a: 89 d0 mov %edx,%eax
8010066c: c1 e0 02 shl $0x2,%eax
8010066f: 01 d0 add %edx,%eax
80100671: c1 e0 04 shl $0x4,%eax
80100674: 29 c1 sub %eax,%ecx
80100676: 89 ca mov %ecx,%edx
80100678: b8 50 00 00 00 mov $0x50,%eax
8010067d: 29 d0 sub %edx,%eax
8010067f: 01 45 f4 add %eax,-0xc(%ebp)
80100682: eb 34 jmp 801006b8 <cgaputc+0xb7>
else if(c == BACKSPACE){
80100684: 81 7d 08 00 01 00 00 cmpl $0x100,0x8(%ebp)
8010068b: 75 0c jne 80100699 <cgaputc+0x98>
if(pos > 0) --pos;
8010068d: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80100691: 7e 25 jle 801006b8 <cgaputc+0xb7>
80100693: 83 6d f4 01 subl $0x1,-0xc(%ebp)
80100697: eb 1f jmp 801006b8 <cgaputc+0xb7>
} else
crt[pos++] = (c&0xff) | 0x0700; // black on white
80100699: 8b 0d 00 90 10 80 mov 0x80109000,%ecx
8010069f: 8b 45 f4 mov -0xc(%ebp),%eax
801006a2: 8d 50 01 lea 0x1(%eax),%edx
801006a5: 89 55 f4 mov %edx,-0xc(%ebp)
801006a8: 01 c0 add %eax,%eax
801006aa: 01 c8 add %ecx,%eax
801006ac: 8b 55 08 mov 0x8(%ebp),%edx
801006af: 0f b6 d2 movzbl %dl,%edx
801006b2: 80 ce 07 or $0x7,%dh
801006b5: 66 89 10 mov %dx,(%eax)
if((pos/80) >= 24){ // Scroll up.
801006b8: 81 7d f4 7f 07 00 00 cmpl $0x77f,-0xc(%ebp)
801006bf: 7e 4c jle 8010070d <cgaputc+0x10c>
memmove(crt, crt+80, sizeof(crt[0])*23*80);
801006c1: a1 00 90 10 80 mov 0x80109000,%eax
801006c6: 8d 90 a0 00 00 00 lea 0xa0(%eax),%edx
801006cc: a1 00 90 10 80 mov 0x80109000,%eax
801006d1: 83 ec 04 sub $0x4,%esp
801006d4: 68 60 0e 00 00 push $0xe60
801006d9: 52 push %edx
801006da: 50 push %eax
801006db: e8 14 4a 00 00 call 801050f4 <memmove>
801006e0: 83 c4 10 add $0x10,%esp
pos -= 80;
801006e3: 83 6d f4 50 subl $0x50,-0xc(%ebp)
memset(crt+pos, 0, sizeof(crt[0])*(24*80 - pos));
801006e7: b8 80 07 00 00 mov $0x780,%eax
801006ec: 2b 45 f4 sub -0xc(%ebp),%eax
801006ef: 8d 14 00 lea (%eax,%eax,1),%edx
801006f2: a1 00 90 10 80 mov 0x80109000,%eax
801006f7: 8b 4d f4 mov -0xc(%ebp),%ecx
801006fa: 01 c9 add %ecx,%ecx
801006fc: 01 c8 add %ecx,%eax
801006fe: 83 ec 04 sub $0x4,%esp
80100701: 52 push %edx
80100702: 6a 00 push $0x0
80100704: 50 push %eax
80100705: e8 2b 49 00 00 call 80105035 <memset>
8010070a: 83 c4 10 add $0x10,%esp
}
outb(CRTPORT, 14);
8010070d: 83 ec 08 sub $0x8,%esp
80100710: 6a 0e push $0xe
80100712: 68 d4 03 00 00 push $0x3d4
80100717: e8 d5 fb ff ff call 801002f1 <outb>
8010071c: 83 c4 10 add $0x10,%esp
outb(CRTPORT+1, pos>>8);
8010071f: 8b 45 f4 mov -0xc(%ebp),%eax
80100722: c1 f8 08 sar $0x8,%eax
80100725: 0f b6 c0 movzbl %al,%eax
80100728: 83 ec 08 sub $0x8,%esp
8010072b: 50 push %eax
8010072c: 68 d5 03 00 00 push $0x3d5
80100731: e8 bb fb ff ff call 801002f1 <outb>
80100736: 83 c4 10 add $0x10,%esp
outb(CRTPORT, 15);
80100739: 83 ec 08 sub $0x8,%esp
8010073c: 6a 0f push $0xf
8010073e: 68 d4 03 00 00 push $0x3d4
80100743: e8 a9 fb ff ff call 801002f1 <outb>
80100748: 83 c4 10 add $0x10,%esp
outb(CRTPORT+1, pos);
8010074b: 8b 45 f4 mov -0xc(%ebp),%eax
8010074e: 0f b6 c0 movzbl %al,%eax
80100751: 83 ec 08 sub $0x8,%esp
80100754: 50 push %eax
80100755: 68 d5 03 00 00 push $0x3d5
8010075a: e8 92 fb ff ff call 801002f1 <outb>
8010075f: 83 c4 10 add $0x10,%esp
crt[pos] = ' ' | 0x0700;
80100762: a1 00 90 10 80 mov 0x80109000,%eax
80100767: 8b 55 f4 mov -0xc(%ebp),%edx
8010076a: 01 d2 add %edx,%edx
8010076c: 01 d0 add %edx,%eax
8010076e: 66 c7 00 20 07 movw $0x720,(%eax)
}
80100773: 90 nop
80100774: c9 leave
80100775: c3 ret
80100776 <consputc>:
void
consputc(int c)
{
80100776: 55 push %ebp
80100777: 89 e5 mov %esp,%ebp
80100779: 83 ec 08 sub $0x8,%esp
if(panicked){
8010077c: a1 c0 b5 10 80 mov 0x8010b5c0,%eax
80100781: 85 c0 test %eax,%eax
80100783: 74 07 je 8010078c <consputc+0x16>
cli();
80100785: e8 86 fb ff ff call 80100310 <cli>
for(;;)
;
8010078a: eb fe jmp 8010078a <consputc+0x14>
}
if(c == BACKSPACE){
8010078c: 81 7d 08 00 01 00 00 cmpl $0x100,0x8(%ebp)
80100793: 75 29 jne 801007be <consputc+0x48>
uartputc('\b'); uartputc(' '); uartputc('\b');
80100795: 83 ec 0c sub $0xc,%esp
80100798: 6a 08 push $0x8
8010079a: e8 7a 62 00 00 call 80106a19 <uartputc>
8010079f: 83 c4 10 add $0x10,%esp
801007a2: 83 ec 0c sub $0xc,%esp
801007a5: 6a 20 push $0x20
801007a7: e8 6d 62 00 00 call 80106a19 <uartputc>
801007ac: 83 c4 10 add $0x10,%esp
801007af: 83 ec 0c sub $0xc,%esp
801007b2: 6a 08 push $0x8
801007b4: e8 60 62 00 00 call 80106a19 <uartputc>
801007b9: 83 c4 10 add $0x10,%esp
801007bc: eb 0e jmp 801007cc <consputc+0x56>
} else
uartputc(c);
801007be: 83 ec 0c sub $0xc,%esp
801007c1: ff 75 08 pushl 0x8(%ebp)
801007c4: e8 50 62 00 00 call 80106a19 <uartputc>
801007c9: 83 c4 10 add $0x10,%esp
cgaputc(c);
801007cc: 83 ec 0c sub $0xc,%esp
801007cf: ff 75 08 pushl 0x8(%ebp)
801007d2: e8 2a fe ff ff call 80100601 <cgaputc>
801007d7: 83 c4 10 add $0x10,%esp
}
801007da: 90 nop
801007db: c9 leave
801007dc: c3 ret
801007dd <consoleintr>:
#define C(x) ((x)-'@') // Control-x
void
consoleintr(int (*getc)(void))
{
801007dd: 55 push %ebp
801007de: 89 e5 mov %esp,%ebp
801007e0: 83 ec 18 sub $0x18,%esp
int c;
acquire(&input.lock);
801007e3: 83 ec 0c sub $0xc,%esp
801007e6: 68 c0 dd 10 80 push $0x8010ddc0
801007eb: e8 e2 45 00 00 call 80104dd2 <acquire>
801007f0: 83 c4 10 add $0x10,%esp
while((c = getc()) >= 0){
801007f3: e9 42 01 00 00 jmp 8010093a <consoleintr+0x15d>
switch(c){
801007f8: 8b 45 f4 mov -0xc(%ebp),%eax
801007fb: 83 f8 10 cmp $0x10,%eax
801007fe: 74 1e je 8010081e <consoleintr+0x41>
80100800: 83 f8 10 cmp $0x10,%eax
80100803: 7f 0a jg 8010080f <consoleintr+0x32>
80100805: 83 f8 08 cmp $0x8,%eax
80100808: 74 69 je 80100873 <consoleintr+0x96>
8010080a: e9 99 00 00 00 jmp 801008a8 <consoleintr+0xcb>
8010080f: 83 f8 15 cmp $0x15,%eax
80100812: 74 31 je 80100845 <consoleintr+0x68>
80100814: 83 f8 7f cmp $0x7f,%eax
80100817: 74 5a je 80100873 <consoleintr+0x96>
80100819: e9 8a 00 00 00 jmp 801008a8 <consoleintr+0xcb>
case C('P'): // Process listing.
procdump();
8010081e: e8 5c 44 00 00 call 80104c7f <procdump>
break;
80100823: e9 12 01 00 00 jmp 8010093a <consoleintr+0x15d>
case C('U'): // Kill line.
while(input.e != input.w &&
input.buf[(input.e-1) % INPUT_BUF] != '\n'){
input.e--;
80100828: a1 7c de 10 80 mov 0x8010de7c,%eax
8010082d: 83 e8 01 sub $0x1,%eax
80100830: a3 7c de 10 80 mov %eax,0x8010de7c
consputc(BACKSPACE);
80100835: 83 ec 0c sub $0xc,%esp
80100838: 68 00 01 00 00 push $0x100
8010083d: e8 34 ff ff ff call 80100776 <consputc>
80100842: 83 c4 10 add $0x10,%esp
switch(c){
case C('P'): // Process listing.
procdump();
break;
case C('U'): // Kill line.
while(input.e != input.w &&
80100845: 8b 15 7c de 10 80 mov 0x8010de7c,%edx
8010084b: a1 78 de 10 80 mov 0x8010de78,%eax
80100850: 39 c2 cmp %eax,%edx
80100852: 0f 84 e2 00 00 00 je 8010093a <consoleintr+0x15d>
input.buf[(input.e-1) % INPUT_BUF] != '\n'){
80100858: a1 7c de 10 80 mov 0x8010de7c,%eax
8010085d: 83 e8 01 sub $0x1,%eax
80100860: 83 e0 7f and $0x7f,%eax
80100863: 0f b6 80 f4 dd 10 80 movzbl -0x7fef220c(%eax),%eax
switch(c){
case C('P'): // Process listing.
procdump();
break;
case C('U'): // Kill line.
while(input.e != input.w &&
8010086a: 3c 0a cmp $0xa,%al
8010086c: 75 ba jne 80100828 <consoleintr+0x4b>
input.buf[(input.e-1) % INPUT_BUF] != '\n'){
input.e--;
consputc(BACKSPACE);
}
break;
8010086e: e9 c7 00 00 00 jmp 8010093a <consoleintr+0x15d>
case C('H'): case '\x7f': // Backspace
if(input.e != input.w){
80100873: 8b 15 7c de 10 80 mov 0x8010de7c,%edx
80100879: a1 78 de 10 80 mov 0x8010de78,%eax
8010087e: 39 c2 cmp %eax,%edx
80100880: 0f 84 b4 00 00 00 je 8010093a <consoleintr+0x15d>
input.e--;
80100886: a1 7c de 10 80 mov 0x8010de7c,%eax
8010088b: 83 e8 01 sub $0x1,%eax
8010088e: a3 7c de 10 80 mov %eax,0x8010de7c
consputc(BACKSPACE);
80100893: 83 ec 0c sub $0xc,%esp
80100896: 68 00 01 00 00 push $0x100
8010089b: e8 d6 fe ff ff call 80100776 <consputc>
801008a0: 83 c4 10 add $0x10,%esp
}
break;
801008a3: e9 92 00 00 00 jmp 8010093a <consoleintr+0x15d>
default:
if(c != 0 && input.e-input.r < INPUT_BUF){
801008a8: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801008ac: 0f 84 87 00 00 00 je 80100939 <consoleintr+0x15c>
801008b2: 8b 15 7c de 10 80 mov 0x8010de7c,%edx
801008b8: a1 74 de 10 80 mov 0x8010de74,%eax
801008bd: 29 c2 sub %eax,%edx
801008bf: 89 d0 mov %edx,%eax
801008c1: 83 f8 7f cmp $0x7f,%eax
801008c4: 77 73 ja 80100939 <consoleintr+0x15c>
c = (c == '\r') ? '\n' : c;
801008c6: 83 7d f4 0d cmpl $0xd,-0xc(%ebp)
801008ca: 74 05 je 801008d1 <consoleintr+0xf4>
801008cc: 8b 45 f4 mov -0xc(%ebp),%eax
801008cf: eb 05 jmp 801008d6 <consoleintr+0xf9>
801008d1: b8 0a 00 00 00 mov $0xa,%eax
801008d6: 89 45 f4 mov %eax,-0xc(%ebp)
input.buf[input.e++ % INPUT_BUF] = c;
801008d9: a1 7c de 10 80 mov 0x8010de7c,%eax
801008de: 8d 50 01 lea 0x1(%eax),%edx
801008e1: 89 15 7c de 10 80 mov %edx,0x8010de7c
801008e7: 83 e0 7f and $0x7f,%eax
801008ea: 8b 55 f4 mov -0xc(%ebp),%edx
801008ed: 88 90 f4 dd 10 80 mov %dl,-0x7fef220c(%eax)
consputc(c);
801008f3: 83 ec 0c sub $0xc,%esp
801008f6: ff 75 f4 pushl -0xc(%ebp)
801008f9: e8 78 fe ff ff call 80100776 <consputc>
801008fe: 83 c4 10 add $0x10,%esp
if(c == '\n' || c == C('D') || input.e == input.r+INPUT_BUF){
80100901: 83 7d f4 0a cmpl $0xa,-0xc(%ebp)
80100905: 74 18 je 8010091f <consoleintr+0x142>
80100907: 83 7d f4 04 cmpl $0x4,-0xc(%ebp)
8010090b: 74 12 je 8010091f <consoleintr+0x142>
8010090d: a1 7c de 10 80 mov 0x8010de7c,%eax
80100912: 8b 15 74 de 10 80 mov 0x8010de74,%edx
80100918: 83 ea 80 sub $0xffffff80,%edx
8010091b: 39 d0 cmp %edx,%eax
8010091d: 75 1a jne 80100939 <consoleintr+0x15c>
input.w = input.e;
8010091f: a1 7c de 10 80 mov 0x8010de7c,%eax
80100924: a3 78 de 10 80 mov %eax,0x8010de78
wakeup(&input.r);
80100929: 83 ec 0c sub $0xc,%esp
8010092c: 68 74 de 10 80 push $0x8010de74
80100931: e8 8e 42 00 00 call 80104bc4 <wakeup>
80100936: 83 c4 10 add $0x10,%esp
}
}
break;
80100939: 90 nop
consoleintr(int (*getc)(void))
{
int c;
acquire(&input.lock);
while((c = getc()) >= 0){
8010093a: 8b 45 08 mov 0x8(%ebp),%eax
8010093d: ff d0 call *%eax
8010093f: 89 45 f4 mov %eax,-0xc(%ebp)
80100942: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80100946: 0f 89 ac fe ff ff jns 801007f8 <consoleintr+0x1b>
}
}
break;
}
}
release(&input.lock);
8010094c: 83 ec 0c sub $0xc,%esp
8010094f: 68 c0 dd 10 80 push $0x8010ddc0
80100954: e8 e0 44 00 00 call 80104e39 <release>
80100959: 83 c4 10 add $0x10,%esp
}
8010095c: 90 nop
8010095d: c9 leave
8010095e: c3 ret
8010095f <consoleread>:
int
consoleread(struct inode *ip, char *dst, int n)
{
8010095f: 55 push %ebp
80100960: 89 e5 mov %esp,%ebp
80100962: 83 ec 18 sub $0x18,%esp
uint target;
int c;
iunlock(ip);
80100965: 83 ec 0c sub $0xc,%esp
80100968: ff 75 08 pushl 0x8(%ebp)
8010096b: e8 fe 12 00 00 call 80101c6e <iunlock>
80100970: 83 c4 10 add $0x10,%esp
target = n;
80100973: 8b 45 10 mov 0x10(%ebp),%eax
80100976: 89 45 f4 mov %eax,-0xc(%ebp)
acquire(&input.lock);
80100979: 83 ec 0c sub $0xc,%esp
8010097c: 68 c0 dd 10 80 push $0x8010ddc0
80100981: e8 4c 44 00 00 call 80104dd2 <acquire>
80100986: 83 c4 10 add $0x10,%esp
while(n > 0){
80100989: e9 ac 00 00 00 jmp 80100a3a <consoleread+0xdb>
while(input.r == input.w){
if(proc->killed){
8010098e: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80100994: 8b 40 24 mov 0x24(%eax),%eax
80100997: 85 c0 test %eax,%eax
80100999: 74 28 je 801009c3 <consoleread+0x64>
release(&input.lock);
8010099b: 83 ec 0c sub $0xc,%esp
8010099e: 68 c0 dd 10 80 push $0x8010ddc0
801009a3: e8 91 44 00 00 call 80104e39 <release>
801009a8: 83 c4 10 add $0x10,%esp
ilock(ip);
801009ab: 83 ec 0c sub $0xc,%esp
801009ae: ff 75 08 pushl 0x8(%ebp)
801009b1: e8 60 11 00 00 call 80101b16 <ilock>
801009b6: 83 c4 10 add $0x10,%esp
return -1;
801009b9: b8 ff ff ff ff mov $0xffffffff,%eax
801009be: e9 ab 00 00 00 jmp 80100a6e <consoleread+0x10f>
}
sleep(&input.r, &input.lock);
801009c3: 83 ec 08 sub $0x8,%esp
801009c6: 68 c0 dd 10 80 push $0x8010ddc0
801009cb: 68 74 de 10 80 push $0x8010de74
801009d0: e8 04 41 00 00 call 80104ad9 <sleep>
801009d5: 83 c4 10 add $0x10,%esp
iunlock(ip);
target = n;
acquire(&input.lock);
while(n > 0){
while(input.r == input.w){
801009d8: 8b 15 74 de 10 80 mov 0x8010de74,%edx
801009de: a1 78 de 10 80 mov 0x8010de78,%eax
801009e3: 39 c2 cmp %eax,%edx
801009e5: 74 a7 je 8010098e <consoleread+0x2f>
ilock(ip);
return -1;
}
sleep(&input.r, &input.lock);
}
c = input.buf[input.r++ % INPUT_BUF];
801009e7: a1 74 de 10 80 mov 0x8010de74,%eax
801009ec: 8d 50 01 lea 0x1(%eax),%edx
801009ef: 89 15 74 de 10 80 mov %edx,0x8010de74
801009f5: 83 e0 7f and $0x7f,%eax
801009f8: 0f b6 80 f4 dd 10 80 movzbl -0x7fef220c(%eax),%eax
801009ff: 0f be c0 movsbl %al,%eax
80100a02: 89 45 f0 mov %eax,-0x10(%ebp)
if(c == C('D')){ // EOF
80100a05: 83 7d f0 04 cmpl $0x4,-0x10(%ebp)
80100a09: 75 17 jne 80100a22 <consoleread+0xc3>
if(n < target){
80100a0b: 8b 45 10 mov 0x10(%ebp),%eax
80100a0e: 3b 45 f4 cmp -0xc(%ebp),%eax
80100a11: 73 2f jae 80100a42 <consoleread+0xe3>
// Save ^D for next time, to make sure
// caller gets a 0-byte result.
input.r--;
80100a13: a1 74 de 10 80 mov 0x8010de74,%eax
80100a18: 83 e8 01 sub $0x1,%eax
80100a1b: a3 74 de 10 80 mov %eax,0x8010de74
}
break;
80100a20: eb 20 jmp 80100a42 <consoleread+0xe3>
}
*dst++ = c;
80100a22: 8b 45 0c mov 0xc(%ebp),%eax
80100a25: 8d 50 01 lea 0x1(%eax),%edx
80100a28: 89 55 0c mov %edx,0xc(%ebp)
80100a2b: 8b 55 f0 mov -0x10(%ebp),%edx
80100a2e: 88 10 mov %dl,(%eax)
--n;
80100a30: 83 6d 10 01 subl $0x1,0x10(%ebp)
if(c == '\n')
80100a34: 83 7d f0 0a cmpl $0xa,-0x10(%ebp)
80100a38: 74 0b je 80100a45 <consoleread+0xe6>
int c;
iunlock(ip);
target = n;
acquire(&input.lock);
while(n > 0){
80100a3a: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80100a3e: 7f 98 jg 801009d8 <consoleread+0x79>
80100a40: eb 04 jmp 80100a46 <consoleread+0xe7>
if(n < target){
// Save ^D for next time, to make sure
// caller gets a 0-byte result.
input.r--;
}
break;
80100a42: 90 nop
80100a43: eb 01 jmp 80100a46 <consoleread+0xe7>
}
*dst++ = c;
--n;
if(c == '\n')
break;
80100a45: 90 nop
}
release(&input.lock);
80100a46: 83 ec 0c sub $0xc,%esp
80100a49: 68 c0 dd 10 80 push $0x8010ddc0
80100a4e: e8 e6 43 00 00 call 80104e39 <release>
80100a53: 83 c4 10 add $0x10,%esp
ilock(ip);
80100a56: 83 ec 0c sub $0xc,%esp
80100a59: ff 75 08 pushl 0x8(%ebp)
80100a5c: e8 b5 10 00 00 call 80101b16 <ilock>
80100a61: 83 c4 10 add $0x10,%esp
return target - n;
80100a64: 8b 45 10 mov 0x10(%ebp),%eax
80100a67: 8b 55 f4 mov -0xc(%ebp),%edx
80100a6a: 29 c2 sub %eax,%edx
80100a6c: 89 d0 mov %edx,%eax
}
80100a6e: c9 leave
80100a6f: c3 ret
80100a70 <consolewrite>:
int
consolewrite(struct inode *ip, char *buf, int n)
{
80100a70: 55 push %ebp
80100a71: 89 e5 mov %esp,%ebp
80100a73: 83 ec 18 sub $0x18,%esp
int i;
iunlock(ip);
80100a76: 83 ec 0c sub $0xc,%esp
80100a79: ff 75 08 pushl 0x8(%ebp)
80100a7c: e8 ed 11 00 00 call 80101c6e <iunlock>
80100a81: 83 c4 10 add $0x10,%esp
acquire(&cons.lock);
80100a84: 83 ec 0c sub $0xc,%esp
80100a87: 68 e0 b5 10 80 push $0x8010b5e0
80100a8c: e8 41 43 00 00 call 80104dd2 <acquire>
80100a91: 83 c4 10 add $0x10,%esp
for(i = 0; i < n; i++)
80100a94: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80100a9b: eb 21 jmp 80100abe <consolewrite+0x4e>
consputc(buf[i] & 0xff);
80100a9d: 8b 55 f4 mov -0xc(%ebp),%edx
80100aa0: 8b 45 0c mov 0xc(%ebp),%eax
80100aa3: 01 d0 add %edx,%eax
80100aa5: 0f b6 00 movzbl (%eax),%eax
80100aa8: 0f be c0 movsbl %al,%eax
80100aab: 0f b6 c0 movzbl %al,%eax
80100aae: 83 ec 0c sub $0xc,%esp
80100ab1: 50 push %eax
80100ab2: e8 bf fc ff ff call 80100776 <consputc>
80100ab7: 83 c4 10 add $0x10,%esp
{
int i;
iunlock(ip);
acquire(&cons.lock);
for(i = 0; i < n; i++)
80100aba: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80100abe: 8b 45 f4 mov -0xc(%ebp),%eax
80100ac1: 3b 45 10 cmp 0x10(%ebp),%eax
80100ac4: 7c d7 jl 80100a9d <consolewrite+0x2d>
consputc(buf[i] & 0xff);
release(&cons.lock);
80100ac6: 83 ec 0c sub $0xc,%esp
80100ac9: 68 e0 b5 10 80 push $0x8010b5e0
80100ace: e8 66 43 00 00 call 80104e39 <release>
80100ad3: 83 c4 10 add $0x10,%esp
ilock(ip);
80100ad6: 83 ec 0c sub $0xc,%esp
80100ad9: ff 75 08 pushl 0x8(%ebp)
80100adc: e8 35 10 00 00 call 80101b16 <ilock>
80100ae1: 83 c4 10 add $0x10,%esp
return n;
80100ae4: 8b 45 10 mov 0x10(%ebp),%eax
}
80100ae7: c9 leave
80100ae8: c3 ret
80100ae9 <consoleinit>:
void
consoleinit(void)
{
80100ae9: 55 push %ebp
80100aea: 89 e5 mov %esp,%ebp
80100aec: 83 ec 08 sub $0x8,%esp
initlock(&cons.lock, "console");
80100aef: 83 ec 08 sub $0x8,%esp
80100af2: 68 cb 83 10 80 push $0x801083cb
80100af7: 68 e0 b5 10 80 push $0x8010b5e0
80100afc: e8 af 42 00 00 call 80104db0 <initlock>
80100b01: 83 c4 10 add $0x10,%esp
initlock(&input.lock, "input");
80100b04: 83 ec 08 sub $0x8,%esp
80100b07: 68 d3 83 10 80 push $0x801083d3
80100b0c: 68 c0 dd 10 80 push $0x8010ddc0
80100b11: e8 9a 42 00 00 call 80104db0 <initlock>
80100b16: 83 c4 10 add $0x10,%esp
devsw[CONSOLE].write = consolewrite;
80100b19: c7 05 2c e8 10 80 70 movl $0x80100a70,0x8010e82c
80100b20: 0a 10 80
devsw[CONSOLE].read = consoleread;
80100b23: c7 05 28 e8 10 80 5f movl $0x8010095f,0x8010e828
80100b2a: 09 10 80
cons.locking = 1;
80100b2d: c7 05 14 b6 10 80 01 movl $0x1,0x8010b614
80100b34: 00 00 00
picenable(IRQ_KBD);
80100b37: 83 ec 0c sub $0xc,%esp
80100b3a: 6a 01 push $0x1
80100b3c: e8 fc 31 00 00 call 80103d3d <picenable>
80100b41: 83 c4 10 add $0x10,%esp
ioapicenable(IRQ_KBD, 0);
80100b44: 83 ec 08 sub $0x8,%esp
80100b47: 6a 00 push $0x0
80100b49: 6a 01 push $0x1
80100b4b: e8 f4 20 00 00 call 80102c44 <ioapicenable>
80100b50: 83 c4 10 add $0x10,%esp
}
80100b53: 90 nop
80100b54: c9 leave
80100b55: c3 ret
80100b56 <getCuPos>:
//获取光标位置
int getCuPos(){
80100b56: 55 push %ebp
80100b57: 89 e5 mov %esp,%ebp
80100b59: 83 ec 10 sub $0x10,%esp
int pos;
// Cursor position: col + 80*row.
outb(CRTPORT, 14);
80100b5c: 6a 0e push $0xe
80100b5e: 68 d4 03 00 00 push $0x3d4
80100b63: e8 89 f7 ff ff call 801002f1 <outb>
80100b68: 83 c4 08 add $0x8,%esp
pos = inb(CRTPORT+1) << 8;
80100b6b: 68 d5 03 00 00 push $0x3d5
80100b70: e8 5f f7 ff ff call 801002d4 <inb>
80100b75: 83 c4 04 add $0x4,%esp
80100b78: 0f b6 c0 movzbl %al,%eax
80100b7b: c1 e0 08 shl $0x8,%eax
80100b7e: 89 45 fc mov %eax,-0x4(%ebp)
outb(CRTPORT, 15);
80100b81: 6a 0f push $0xf
80100b83: 68 d4 03 00 00 push $0x3d4
80100b88: e8 64 f7 ff ff call 801002f1 <outb>
80100b8d: 83 c4 08 add $0x8,%esp
pos |= inb(CRTPORT+1);
80100b90: 68 d5 03 00 00 push $0x3d5
80100b95: e8 3a f7 ff ff call 801002d4 <inb>
80100b9a: 83 c4 04 add $0x4,%esp
80100b9d: 0f b6 c0 movzbl %al,%eax
80100ba0: 09 45 fc or %eax,-0x4(%ebp)
return pos;
80100ba3: 8b 45 fc mov -0x4(%ebp),%eax
}
80100ba6: c9 leave
80100ba7: c3 ret
80100ba8 <setCuPos>:
void setCuPos(int row,int col){
80100ba8: 55 push %ebp
80100ba9: 89 e5 mov %esp,%ebp
80100bab: 83 ec 10 sub $0x10,%esp
int pos = row * 80 + col;
80100bae: 8b 55 08 mov 0x8(%ebp),%edx
80100bb1: 89 d0 mov %edx,%eax
80100bb3: c1 e0 02 shl $0x2,%eax
80100bb6: 01 d0 add %edx,%eax
80100bb8: c1 e0 04 shl $0x4,%eax
80100bbb: 89 c2 mov %eax,%edx
80100bbd: 8b 45 0c mov 0xc(%ebp),%eax
80100bc0: 01 d0 add %edx,%eax
80100bc2: 89 45 fc mov %eax,-0x4(%ebp)
outb(CRTPORT, 14);
80100bc5: 6a 0e push $0xe
80100bc7: 68 d4 03 00 00 push $0x3d4
80100bcc: e8 20 f7 ff ff call 801002f1 <outb>
80100bd1: 83 c4 08 add $0x8,%esp
outb(CRTPORT+1, pos>>8);
80100bd4: 8b 45 fc mov -0x4(%ebp),%eax
80100bd7: c1 f8 08 sar $0x8,%eax
80100bda: 0f b6 c0 movzbl %al,%eax
80100bdd: 50 push %eax
80100bde: 68 d5 03 00 00 push $0x3d5
80100be3: e8 09 f7 ff ff call 801002f1 <outb>
80100be8: 83 c4 08 add $0x8,%esp
outb(CRTPORT, 15);
80100beb: 6a 0f push $0xf
80100bed: 68 d4 03 00 00 push $0x3d4
80100bf2: e8 fa f6 ff ff call 801002f1 <outb>
80100bf7: 83 c4 08 add $0x8,%esp
outb(CRTPORT+1, pos);
80100bfa: 8b 45 fc mov -0x4(%ebp),%eax
80100bfd: 0f b6 c0 movzbl %al,%eax
80100c00: 50 push %eax
80100c01: 68 d5 03 00 00 push $0x3d5
80100c06: e8 e6 f6 ff ff call 801002f1 <outb>
80100c0b: 83 c4 08 add $0x8,%esp
crt[pos] = ' ' | 0x0700;
80100c0e: a1 00 90 10 80 mov 0x80109000,%eax
80100c13: 8b 55 fc mov -0x4(%ebp),%edx
80100c16: 01 d2 add %edx,%edx
80100c18: 01 d0 add %edx,%eax
80100c1a: 66 c7 00 20 07 movw $0x720,(%eax)
}
80100c1f: 90 nop
80100c20: c9 leave
80100c21: c3 ret
80100c22 <getSnapshot>:
void getSnapshot(ushort *screen_buffer, int pos){
80100c22: 55 push %ebp
80100c23: 89 e5 mov %esp,%ebp
80100c25: 83 ec 18 sub $0x18,%esp
int size = pos*sizeof(crt[0]);
80100c28: 8b 45 0c mov 0xc(%ebp),%eax
80100c2b: 01 c0 add %eax,%eax
80100c2d: 89 45 f4 mov %eax,-0xc(%ebp)
cprintf("hellostart\n");
80100c30: 83 ec 0c sub $0xc,%esp
80100c33: 68 d9 83 10 80 push $0x801083d9
80100c38: e8 89 f7 ff ff call 801003c6 <cprintf>
80100c3d: 83 c4 10 add $0x10,%esp
memmove(screen_buffer,crt,size);
80100c40: 8b 55 f4 mov -0xc(%ebp),%edx
80100c43: a1 00 90 10 80 mov 0x80109000,%eax
80100c48: 83 ec 04 sub $0x4,%esp
80100c4b: 52 push %edx
80100c4c: 50 push %eax
80100c4d: ff 75 08 pushl 0x8(%ebp)
80100c50: e8 9f 44 00 00 call 801050f4 <memmove>
80100c55: 83 c4 10 add $0x10,%esp
cprintf("helloworld\n");
80100c58: 83 ec 0c sub $0xc,%esp
80100c5b: 68 e5 83 10 80 push $0x801083e5
80100c60: e8 61 f7 ff ff call 801003c6 <cprintf>
80100c65: 83 c4 10 add $0x10,%esp
}
80100c68: 90 nop
80100c69: c9 leave
80100c6a: c3 ret
80100c6b <clearScreen>:
void clearScreen(){
80100c6b: 55 push %ebp
80100c6c: 89 e5 mov %esp,%ebp
80100c6e: 83 ec 18 sub $0x18,%esp
// memset(crt,0,80*25*sizeof(crt[0]));
int pos = 0;
80100c71: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
memset(crt, 0, sizeof(crt[0]) * (25 * 80));
80100c78: a1 00 90 10 80 mov 0x80109000,%eax
80100c7d: 83 ec 04 sub $0x4,%esp
80100c80: 68 a0 0f 00 00 push $0xfa0
80100c85: 6a 00 push $0x0
80100c87: 50 push %eax
80100c88: e8 a8 43 00 00 call 80105035 <memset>
80100c8d: 83 c4 10 add $0x10,%esp
outb(CRTPORT, 14);
80100c90: 83 ec 08 sub $0x8,%esp
80100c93: 6a 0e push $0xe
80100c95: 68 d4 03 00 00 push $0x3d4
80100c9a: e8 52 f6 ff ff call 801002f1 <outb>
80100c9f: 83 c4 10 add $0x10,%esp
outb(CRTPORT+1, pos>>8);
80100ca2: 8b 45 f4 mov -0xc(%ebp),%eax
80100ca5: c1 f8 08 sar $0x8,%eax
80100ca8: 0f b6 c0 movzbl %al,%eax
80100cab: 83 ec 08 sub $0x8,%esp
80100cae: 50 push %eax
80100caf: 68 d5 03 00 00 push $0x3d5
80100cb4: e8 38 f6 ff ff call 801002f1 <outb>
80100cb9: 83 c4 10 add $0x10,%esp
outb(CRTPORT, 15);
80100cbc: 83 ec 08 sub $0x8,%esp
80100cbf: 6a 0f push $0xf
80100cc1: 68 d4 03 00 00 push $0x3d4
80100cc6: e8 26 f6 ff ff call 801002f1 <outb>
80100ccb: 83 c4 10 add $0x10,%esp
outb(CRTPORT+1, pos);
80100cce: 8b 45 f4 mov -0xc(%ebp),%eax
80100cd1: 0f b6 c0 movzbl %al,%eax
80100cd4: 83 ec 08 sub $0x8,%esp
80100cd7: 50 push %eax
80100cd8: 68 d5 03 00 00 push $0x3d5
80100cdd: e8 0f f6 ff ff call 801002f1 <outb>
80100ce2: 83 c4 10 add $0x10,%esp
crt[pos] = (' ') | 0x0700; //显示光标
80100ce5: a1 00 90 10 80 mov 0x80109000,%eax
80100cea: 8b 55 f4 mov -0xc(%ebp),%edx
80100ced: 01 d2 add %edx,%edx
80100cef: 01 d0 add %edx,%eax
80100cf1: 66 c7 00 20 07 movw $0x720,(%eax)
while (1)
{
/* code */
}
80100cf6: eb fe jmp 80100cf6 <clearScreen+0x8b>
80100cf8 <setSnapshot>:
}
void setSnapshot(ushort *screen_buffer, int pos){
80100cf8: 55 push %ebp
80100cf9: 89 e5 mov %esp,%ebp
80100cfb: 53 push %ebx
80100cfc: 83 ec 14 sub $0x14,%esp
clearScreen();
80100cff: e8 67 ff ff ff call 80100c6b <clearScreen>
int size = pos*sizeof(crt[0]);
80100d04: 8b 45 0c mov 0xc(%ebp),%eax
80100d07: 01 c0 add %eax,%eax
80100d09: 89 45 f4 mov %eax,-0xc(%ebp)
memmove(crt,screen_buffer,size);
80100d0c: 8b 55 f4 mov -0xc(%ebp),%edx
80100d0f: a1 00 90 10 80 mov 0x80109000,%eax
80100d14: 83 ec 04 sub $0x4,%esp
80100d17: 52 push %edx
80100d18: ff 75 08 pushl 0x8(%ebp)
80100d1b: 50 push %eax
80100d1c: e8 d3 43 00 00 call 801050f4 <memmove>
80100d21: 83 c4 10 add $0x10,%esp
setCuPos(pos/80,pos%80);
80100d24: 8b 5d 0c mov 0xc(%ebp),%ebx
80100d27: ba 67 66 66 66 mov $0x66666667,%edx
80100d2c: 89 d8 mov %ebx,%eax
80100d2e: f7 ea imul %edx
80100d30: c1 fa 05 sar $0x5,%edx
80100d33: 89 d8 mov %ebx,%eax
80100d35: c1 f8 1f sar $0x1f,%eax
80100d38: 89 d1 mov %edx,%ecx
80100d3a: 29 c1 sub %eax,%ecx
80100d3c: 89 c8 mov %ecx,%eax
80100d3e: c1 e0 02 shl $0x2,%eax
80100d41: 01 c8 add %ecx,%eax
80100d43: c1 e0 04 shl $0x4,%eax
80100d46: 29 c3 sub %eax,%ebx
80100d48: 89 d9 mov %ebx,%ecx
80100d4a: 8b 5d 0c mov 0xc(%ebp),%ebx
80100d4d: ba 67 66 66 66 mov $0x66666667,%edx
80100d52: 89 d8 mov %ebx,%eax
80100d54: f7 ea imul %edx
80100d56: c1 fa 05 sar $0x5,%edx
80100d59: 89 d8 mov %ebx,%eax
80100d5b: c1 f8 1f sar $0x1f,%eax
80100d5e: 29 c2 sub %eax,%edx
80100d60: 89 d0 mov %edx,%eax
80100d62: 83 ec 08 sub $0x8,%esp
80100d65: 51 push %ecx
80100d66: 50 push %eax
80100d67: e8 3c fe ff ff call 80100ba8 <setCuPos>
80100d6c: 83 c4 10 add $0x10,%esp
80100d6f: 90 nop
80100d70: 8b 5d fc mov -0x4(%ebp),%ebx
80100d73: c9 leave
80100d74: c3 ret
80100d75 <exec>:
#include "x86.h"
#include "elf.h"
int
exec(char *path, char **argv)
{
80100d75: 55 push %ebp
80100d76: 89 e5 mov %esp,%ebp
80100d78: 81 ec 18 01 00 00 sub $0x118,%esp
struct elfhdr elf;
struct inode *ip;
struct proghdr ph;
pde_t *pgdir, *oldpgdir;
if((ip = namei(path)) == 0)
80100d7e: 83 ec 0c sub $0xc,%esp
80100d81: ff 75 08 pushl 0x8(%ebp)
80100d84: e8 45 19 00 00 call 801026ce <namei>
80100d89: 83 c4 10 add $0x10,%esp
80100d8c: 89 45 d8 mov %eax,-0x28(%ebp)
80100d8f: 83 7d d8 00 cmpl $0x0,-0x28(%ebp)
80100d93: 75 0a jne 80100d9f <exec+0x2a>
return -1;
80100d95: b8 ff ff ff ff mov $0xffffffff,%eax
80100d9a: e9 c4 03 00 00 jmp 80101163 <exec+0x3ee>
ilock(ip);
80100d9f: 83 ec 0c sub $0xc,%esp
80100da2: ff 75 d8 pushl -0x28(%ebp)
80100da5: e8 6c 0d 00 00 call 80101b16 <ilock>
80100daa: 83 c4 10 add $0x10,%esp
pgdir = 0;
80100dad: c7 45 d4 00 00 00 00 movl $0x0,-0x2c(%ebp)
// Check ELF header
if(readi(ip, (char*)&elf, 0, sizeof(elf)) < sizeof(elf))
80100db4: 6a 34 push $0x34
80100db6: 6a 00 push $0x0
80100db8: 8d 85 0c ff ff ff lea -0xf4(%ebp),%eax
80100dbe: 50 push %eax
80100dbf: ff 75 d8 pushl -0x28(%ebp)
80100dc2: e8 b7 12 00 00 call 8010207e <readi>
80100dc7: 83 c4 10 add $0x10,%esp
80100dca: 83 f8 33 cmp $0x33,%eax
80100dcd: 0f 86 44 03 00 00 jbe 80101117 <exec+0x3a2>
goto bad;
if(elf.magic != ELF_MAGIC)
80100dd3: 8b 85 0c ff ff ff mov -0xf4(%ebp),%eax
80100dd9: 3d 7f 45 4c 46 cmp $0x464c457f,%eax
80100dde: 0f 85 36 03 00 00 jne 8010111a <exec+0x3a5>
goto bad;
if((pgdir = setupkvm()) == 0)
80100de4: e8 85 6d 00 00 call 80107b6e <setupkvm>
80100de9: 89 45 d4 mov %eax,-0x2c(%ebp)
80100dec: 83 7d d4 00 cmpl $0x0,-0x2c(%ebp)
80100df0: 0f 84 27 03 00 00 je 8010111d <exec+0x3a8>
goto bad;
// Load program into memory.
sz = 0;
80100df6: c7 45 e0 00 00 00 00 movl $0x0,-0x20(%ebp)
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
80100dfd: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
80100e04: 8b 85 28 ff ff ff mov -0xd8(%ebp),%eax
80100e0a: 89 45 e8 mov %eax,-0x18(%ebp)
80100e0d: e9 ab 00 00 00 jmp 80100ebd <exec+0x148>
if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
80100e12: 8b 45 e8 mov -0x18(%ebp),%eax
80100e15: 6a 20 push $0x20
80100e17: 50 push %eax
80100e18: 8d 85 ec fe ff ff lea -0x114(%ebp),%eax
80100e1e: 50 push %eax
80100e1f: ff 75 d8 pushl -0x28(%ebp)
80100e22: e8 57 12 00 00 call 8010207e <readi>
80100e27: 83 c4 10 add $0x10,%esp
80100e2a: 83 f8 20 cmp $0x20,%eax
80100e2d: 0f 85 ed 02 00 00 jne 80101120 <exec+0x3ab>
goto bad;
if(ph.type != ELF_PROG_LOAD)
80100e33: 8b 85 ec fe ff ff mov -0x114(%ebp),%eax
80100e39: 83 f8 01 cmp $0x1,%eax
80100e3c: 75 71 jne 80100eaf <exec+0x13a>
continue;
if(ph.memsz < ph.filesz)
80100e3e: 8b 95 00 ff ff ff mov -0x100(%ebp),%edx
80100e44: 8b 85 fc fe ff ff mov -0x104(%ebp),%eax
80100e4a: 39 c2 cmp %eax,%edx
80100e4c: 0f 82 d1 02 00 00 jb 80101123 <exec+0x3ae>
goto bad;
if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0)
80100e52: 8b 95 f4 fe ff ff mov -0x10c(%ebp),%edx
80100e58: 8b 85 00 ff ff ff mov -0x100(%ebp),%eax
80100e5e: 01 d0 add %edx,%eax
80100e60: 83 ec 04 sub $0x4,%esp
80100e63: 50 push %eax
80100e64: ff 75 e0 pushl -0x20(%ebp)
80100e67: ff 75 d4 pushl -0x2c(%ebp)
80100e6a: e8 a6 70 00 00 call 80107f15 <allocuvm>
80100e6f: 83 c4 10 add $0x10,%esp
80100e72: 89 45 e0 mov %eax,-0x20(%ebp)
80100e75: 83 7d e0 00 cmpl $0x0,-0x20(%ebp)
80100e79: 0f 84 a7 02 00 00 je 80101126 <exec+0x3b1>
goto bad;
if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
80100e7f: 8b 95 fc fe ff ff mov -0x104(%ebp),%edx
80100e85: 8b 85 f0 fe ff ff mov -0x110(%ebp),%eax
80100e8b: 8b 8d f4 fe ff ff mov -0x10c(%ebp),%ecx
80100e91: 83 ec 0c sub $0xc,%esp
80100e94: 52 push %edx
80100e95: 50 push %eax
80100e96: ff 75 d8 pushl -0x28(%ebp)
80100e99: 51 push %ecx
80100e9a: ff 75 d4 pushl -0x2c(%ebp)
80100e9d: e8 9c 6f 00 00 call 80107e3e <loaduvm>
80100ea2: 83 c4 20 add $0x20,%esp
80100ea5: 85 c0 test %eax,%eax
80100ea7: 0f 88 7c 02 00 00 js 80101129 <exec+0x3b4>
80100ead: eb 01 jmp 80100eb0 <exec+0x13b>
sz = 0;
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
goto bad;
if(ph.type != ELF_PROG_LOAD)
continue;
80100eaf: 90 nop
if((pgdir = setupkvm()) == 0)
goto bad;
// Load program into memory.
sz = 0;
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
80100eb0: 83 45 ec 01 addl $0x1,-0x14(%ebp)
80100eb4: 8b 45 e8 mov -0x18(%ebp),%eax
80100eb7: 83 c0 20 add $0x20,%eax
80100eba: 89 45 e8 mov %eax,-0x18(%ebp)
80100ebd: 0f b7 85 38 ff ff ff movzwl -0xc8(%ebp),%eax
80100ec4: 0f b7 c0 movzwl %ax,%eax
80100ec7: 3b 45 ec cmp -0x14(%ebp),%eax
80100eca: 0f 8f 42 ff ff ff jg 80100e12 <exec+0x9d>
if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0)
goto bad;
if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
goto bad;
}
iunlockput(ip);
80100ed0: 83 ec 0c sub $0xc,%esp
80100ed3: ff 75 d8 pushl -0x28(%ebp)
80100ed6: e8 f5 0e 00 00 call 80101dd0 <iunlockput>
80100edb: 83 c4 10 add $0x10,%esp
ip = 0;
80100ede: c7 45 d8 00 00 00 00 movl $0x0,-0x28(%ebp)
// Allocate two pages at the next page boundary.
// Make the first inaccessible. Use the second as the user stack.
sz = PGROUNDUP(sz);
80100ee5: 8b 45 e0 mov -0x20(%ebp),%eax
80100ee8: 05 ff 0f 00 00 add $0xfff,%eax
80100eed: 25 00 f0 ff ff and $0xfffff000,%eax
80100ef2: 89 45 e0 mov %eax,-0x20(%ebp)
if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0)
80100ef5: 8b 45 e0 mov -0x20(%ebp),%eax
80100ef8: 05 00 20 00 00 add $0x2000,%eax
80100efd: 83 ec 04 sub $0x4,%esp
80100f00: 50 push %eax
80100f01: ff 75 e0 pushl -0x20(%ebp)
80100f04: ff 75 d4 pushl -0x2c(%ebp)
80100f07: e8 09 70 00 00 call 80107f15 <allocuvm>
80100f0c: 83 c4 10 add $0x10,%esp
80100f0f: 89 45 e0 mov %eax,-0x20(%ebp)
80100f12: 83 7d e0 00 cmpl $0x0,-0x20(%ebp)
80100f16: 0f 84 10 02 00 00 je 8010112c <exec+0x3b7>
goto bad;
clearpteu(pgdir, (char*)(sz - 2*PGSIZE));
80100f1c: 8b 45 e0 mov -0x20(%ebp),%eax
80100f1f: 2d 00 20 00 00 sub $0x2000,%eax
80100f24: 83 ec 08 sub $0x8,%esp
80100f27: 50 push %eax
80100f28: ff 75 d4 pushl -0x2c(%ebp)
80100f2b: e8 0b 72 00 00 call 8010813b <clearpteu>
80100f30: 83 c4 10 add $0x10,%esp
sp = sz;
80100f33: 8b 45 e0 mov -0x20(%ebp),%eax
80100f36: 89 45 dc mov %eax,-0x24(%ebp)
// Push argument strings, prepare rest of stack in ustack.
for(argc = 0; argv[argc]; argc++) {
80100f39: c7 45 e4 00 00 00 00 movl $0x0,-0x1c(%ebp)
80100f40: e9 96 00 00 00 jmp 80100fdb <exec+0x266>
if(argc >= MAXARG)
80100f45: 83 7d e4 1f cmpl $0x1f,-0x1c(%ebp)
80100f49: 0f 87 e0 01 00 00 ja 8010112f <exec+0x3ba>
goto bad;
sp = (sp - (strlen(argv[argc]) + 1)) & ~3;
80100f4f: 8b 45 e4 mov -0x1c(%ebp),%eax
80100f52: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80100f59: 8b 45 0c mov 0xc(%ebp),%eax
80100f5c: 01 d0 add %edx,%eax
80100f5e: 8b 00 mov (%eax),%eax
80100f60: 83 ec 0c sub $0xc,%esp
80100f63: 50 push %eax
80100f64: e8 19 43 00 00 call 80105282 <strlen>
80100f69: 83 c4 10 add $0x10,%esp
80100f6c: 89 c2 mov %eax,%edx
80100f6e: 8b 45 dc mov -0x24(%ebp),%eax
80100f71: 29 d0 sub %edx,%eax
80100f73: 83 e8 01 sub $0x1,%eax
80100f76: 83 e0 fc and $0xfffffffc,%eax
80100f79: 89 45 dc mov %eax,-0x24(%ebp)
if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0)
80100f7c: 8b 45 e4 mov -0x1c(%ebp),%eax
80100f7f: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80100f86: 8b 45 0c mov 0xc(%ebp),%eax
80100f89: 01 d0 add %edx,%eax
80100f8b: 8b 00 mov (%eax),%eax
80100f8d: 83 ec 0c sub $0xc,%esp
80100f90: 50 push %eax
80100f91: e8 ec 42 00 00 call 80105282 <strlen>
80100f96: 83 c4 10 add $0x10,%esp
80100f99: 83 c0 01 add $0x1,%eax
80100f9c: 89 c1 mov %eax,%ecx
80100f9e: 8b 45 e4 mov -0x1c(%ebp),%eax
80100fa1: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80100fa8: 8b 45 0c mov 0xc(%ebp),%eax
80100fab: 01 d0 add %edx,%eax
80100fad: 8b 00 mov (%eax),%eax
80100faf: 51 push %ecx
80100fb0: 50 push %eax
80100fb1: ff 75 dc pushl -0x24(%ebp)
80100fb4: ff 75 d4 pushl -0x2c(%ebp)
80100fb7: e8 23 73 00 00 call 801082df <copyout>
80100fbc: 83 c4 10 add $0x10,%esp
80100fbf: 85 c0 test %eax,%eax
80100fc1: 0f 88 6b 01 00 00 js 80101132 <exec+0x3bd>
goto bad;
ustack[3+argc] = sp;
80100fc7: 8b 45 e4 mov -0x1c(%ebp),%eax
80100fca: 8d 50 03 lea 0x3(%eax),%edx
80100fcd: 8b 45 dc mov -0x24(%ebp),%eax
80100fd0: 89 84 95 40 ff ff ff mov %eax,-0xc0(%ebp,%edx,4)
goto bad;
clearpteu(pgdir, (char*)(sz - 2*PGSIZE));
sp = sz;
// Push argument strings, prepare rest of stack in ustack.
for(argc = 0; argv[argc]; argc++) {
80100fd7: 83 45 e4 01 addl $0x1,-0x1c(%ebp)
80100fdb: 8b 45 e4 mov -0x1c(%ebp),%eax
80100fde: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80100fe5: 8b 45 0c mov 0xc(%ebp),%eax
80100fe8: 01 d0 add %edx,%eax
80100fea: 8b 00 mov (%eax),%eax
80100fec: 85 c0 test %eax,%eax
80100fee: 0f 85 51 ff ff ff jne 80100f45 <exec+0x1d0>
sp = (sp - (strlen(argv[argc]) + 1)) & ~3;
if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0)
goto bad;
ustack[3+argc] = sp;
}
ustack[3+argc] = 0;
80100ff4: 8b 45 e4 mov -0x1c(%ebp),%eax
80100ff7: 83 c0 03 add $0x3,%eax
80100ffa: c7 84 85 40 ff ff ff movl $0x0,-0xc0(%ebp,%eax,4)
80101001: 00 00 00 00
ustack[0] = 0xffffffff; // fake return PC
80101005: c7 85 40 ff ff ff ff movl $0xffffffff,-0xc0(%ebp)
8010100c: ff ff ff
ustack[1] = argc;
8010100f: 8b 45 e4 mov -0x1c(%ebp),%eax
80101012: 89 85 44 ff ff ff mov %eax,-0xbc(%ebp)
ustack[2] = sp - (argc+1)*4; // argv pointer
80101018: 8b 45 e4 mov -0x1c(%ebp),%eax
8010101b: 83 c0 01 add $0x1,%eax
8010101e: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80101025: 8b 45 dc mov -0x24(%ebp),%eax
80101028: 29 d0 sub %edx,%eax
8010102a: 89 85 48 ff ff ff mov %eax,-0xb8(%ebp)
sp -= (3+argc+1) * 4;
80101030: 8b 45 e4 mov -0x1c(%ebp),%eax
80101033: 83 c0 04 add $0x4,%eax
80101036: c1 e0 02 shl $0x2,%eax
80101039: 29 45 dc sub %eax,-0x24(%ebp)
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
8010103c: 8b 45 e4 mov -0x1c(%ebp),%eax
8010103f: 83 c0 04 add $0x4,%eax
80101042: c1 e0 02 shl $0x2,%eax
80101045: 50 push %eax
80101046: 8d 85 40 ff ff ff lea -0xc0(%ebp),%eax
8010104c: 50 push %eax
8010104d: ff 75 dc pushl -0x24(%ebp)
80101050: ff 75 d4 pushl -0x2c(%ebp)
80101053: e8 87 72 00 00 call 801082df <copyout>
80101058: 83 c4 10 add $0x10,%esp
8010105b: 85 c0 test %eax,%eax
8010105d: 0f 88 d2 00 00 00 js 80101135 <exec+0x3c0>
goto bad;
// Save program name for debugging.
for(last=s=path; *s; s++)
80101063: 8b 45 08 mov 0x8(%ebp),%eax
80101066: 89 45 f4 mov %eax,-0xc(%ebp)
80101069: 8b 45 f4 mov -0xc(%ebp),%eax
8010106c: 89 45 f0 mov %eax,-0x10(%ebp)
8010106f: eb 17 jmp 80101088 <exec+0x313>
if(*s == '/')
80101071: 8b 45 f4 mov -0xc(%ebp),%eax
80101074: 0f b6 00 movzbl (%eax),%eax
80101077: 3c 2f cmp $0x2f,%al
80101079: 75 09 jne 80101084 <exec+0x30f>
last = s+1;
8010107b: 8b 45 f4 mov -0xc(%ebp),%eax
8010107e: 83 c0 01 add $0x1,%eax
80101081: 89 45 f0 mov %eax,-0x10(%ebp)
sp -= (3+argc+1) * 4;
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
goto bad;
// Save program name for debugging.
for(last=s=path; *s; s++)
80101084: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80101088: 8b 45 f4 mov -0xc(%ebp),%eax
8010108b: 0f b6 00 movzbl (%eax),%eax
8010108e: 84 c0 test %al,%al
80101090: 75 df jne 80101071 <exec+0x2fc>
if(*s == '/')
last = s+1;
safestrcpy(proc->name, last, sizeof(proc->name));
80101092: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80101098: 83 c0 6c add $0x6c,%eax
8010109b: 83 ec 04 sub $0x4,%esp
8010109e: 6a 10 push $0x10
801010a0: ff 75 f0 pushl -0x10(%ebp)
801010a3: 50 push %eax
801010a4: e8 8f 41 00 00 call 80105238 <safestrcpy>
801010a9: 83 c4 10 add $0x10,%esp
// Commit to the user image.
oldpgdir = proc->pgdir;
801010ac: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010b2: 8b 40 04 mov 0x4(%eax),%eax
801010b5: 89 45 d0 mov %eax,-0x30(%ebp)
proc->pgdir = pgdir;
801010b8: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010be: 8b 55 d4 mov -0x2c(%ebp),%edx
801010c1: 89 50 04 mov %edx,0x4(%eax)
proc->sz = sz;
801010c4: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010ca: 8b 55 e0 mov -0x20(%ebp),%edx
801010cd: 89 10 mov %edx,(%eax)
proc->tf->eip = elf.entry; // main
801010cf: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010d5: 8b 40 18 mov 0x18(%eax),%eax
801010d8: 8b 95 24 ff ff ff mov -0xdc(%ebp),%edx
801010de: 89 50 38 mov %edx,0x38(%eax)
proc->tf->esp = sp;
801010e1: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010e7: 8b 40 18 mov 0x18(%eax),%eax
801010ea: 8b 55 dc mov -0x24(%ebp),%edx
801010ed: 89 50 44 mov %edx,0x44(%eax)
switchuvm(proc);
801010f0: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801010f6: 83 ec 0c sub $0xc,%esp
801010f9: 50 push %eax
801010fa: e8 56 6b 00 00 call 80107c55 <switchuvm>
801010ff: 83 c4 10 add $0x10,%esp
freevm(oldpgdir);
80101102: 83 ec 0c sub $0xc,%esp
80101105: ff 75 d0 pushl -0x30(%ebp)
80101108: e8 8e 6f 00 00 call 8010809b <freevm>
8010110d: 83 c4 10 add $0x10,%esp
return 0;
80101110: b8 00 00 00 00 mov $0x0,%eax
80101115: eb 4c jmp 80101163 <exec+0x3ee>
ilock(ip);
pgdir = 0;
// Check ELF header
if(readi(ip, (char*)&elf, 0, sizeof(elf)) < sizeof(elf))
goto bad;
80101117: 90 nop
80101118: eb 1c jmp 80101136 <exec+0x3c1>
if(elf.magic != ELF_MAGIC)
goto bad;
8010111a: 90 nop
8010111b: eb 19 jmp 80101136 <exec+0x3c1>
if((pgdir = setupkvm()) == 0)
goto bad;
8010111d: 90 nop
8010111e: eb 16 jmp 80101136 <exec+0x3c1>
// Load program into memory.
sz = 0;
for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph))
goto bad;
80101120: 90 nop
80101121: eb 13 jmp 80101136 <exec+0x3c1>
if(ph.type != ELF_PROG_LOAD)
continue;
if(ph.memsz < ph.filesz)
goto bad;
80101123: 90 nop
80101124: eb 10 jmp 80101136 <exec+0x3c1>
if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0)
goto bad;
80101126: 90 nop
80101127: eb 0d jmp 80101136 <exec+0x3c1>
if(loaduvm(pgdir, (char*)ph.vaddr, ip, ph.off, ph.filesz) < 0)
goto bad;
80101129: 90 nop
8010112a: eb 0a jmp 80101136 <exec+0x3c1>
// Allocate two pages at the next page boundary.
// Make the first inaccessible. Use the second as the user stack.
sz = PGROUNDUP(sz);
if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0)
goto bad;
8010112c: 90 nop
8010112d: eb 07 jmp 80101136 <exec+0x3c1>
sp = sz;
// Push argument strings, prepare rest of stack in ustack.
for(argc = 0; argv[argc]; argc++) {
if(argc >= MAXARG)
goto bad;
8010112f: 90 nop
80101130: eb 04 jmp 80101136 <exec+0x3c1>
sp = (sp - (strlen(argv[argc]) + 1)) & ~3;
if(copyout(pgdir, sp, argv[argc], strlen(argv[argc]) + 1) < 0)
goto bad;
80101132: 90 nop
80101133: eb 01 jmp 80101136 <exec+0x3c1>
ustack[1] = argc;
ustack[2] = sp - (argc+1)*4; // argv pointer
sp -= (3+argc+1) * 4;
if(copyout(pgdir, sp, ustack, (3+argc+1)*4) < 0)
goto bad;
80101135: 90 nop
switchuvm(proc);
freevm(oldpgdir);
return 0;
bad:
if(pgdir)
80101136: 83 7d d4 00 cmpl $0x0,-0x2c(%ebp)
8010113a: 74 0e je 8010114a <exec+0x3d5>
freevm(pgdir);
8010113c: 83 ec 0c sub $0xc,%esp
8010113f: ff 75 d4 pushl -0x2c(%ebp)
80101142: e8 54 6f 00 00 call 8010809b <freevm>
80101147: 83 c4 10 add $0x10,%esp
if(ip)
8010114a: 83 7d d8 00 cmpl $0x0,-0x28(%ebp)
8010114e: 74 0e je 8010115e <exec+0x3e9>
iunlockput(ip);
80101150: 83 ec 0c sub $0xc,%esp
80101153: ff 75 d8 pushl -0x28(%ebp)
80101156: e8 75 0c 00 00 call 80101dd0 <iunlockput>
8010115b: 83 c4 10 add $0x10,%esp
return -1;
8010115e: b8 ff ff ff ff mov $0xffffffff,%eax
}
80101163: c9 leave
80101164: c3 ret
80101165 <fileinit>:
struct file file[NFILE];
} ftable;
void
fileinit(void)
{
80101165: 55 push %ebp
80101166: 89 e5 mov %esp,%ebp
80101168: 83 ec 08 sub $0x8,%esp
initlock(&ftable.lock, "ftable");
8010116b: 83 ec 08 sub $0x8,%esp
8010116e: 68 f1 83 10 80 push $0x801083f1
80101173: 68 80 de 10 80 push $0x8010de80
80101178: e8 33 3c 00 00 call 80104db0 <initlock>
8010117d: 83 c4 10 add $0x10,%esp
}
80101180: 90 nop
80101181: c9 leave
80101182: c3 ret
80101183 <filealloc>:
// Allocate a file structure.
struct file*
filealloc(void)
{
80101183: 55 push %ebp
80101184: 89 e5 mov %esp,%ebp
80101186: 83 ec 18 sub $0x18,%esp
struct file *f;
acquire(&ftable.lock);
80101189: 83 ec 0c sub $0xc,%esp
8010118c: 68 80 de 10 80 push $0x8010de80
80101191: e8 3c 3c 00 00 call 80104dd2 <acquire>
80101196: 83 c4 10 add $0x10,%esp
for(f = ftable.file; f < ftable.file + NFILE; f++){
80101199: c7 45 f4 b4 de 10 80 movl $0x8010deb4,-0xc(%ebp)
801011a0: eb 2d jmp 801011cf <filealloc+0x4c>
if(f->ref == 0){
801011a2: 8b 45 f4 mov -0xc(%ebp),%eax
801011a5: 8b 40 04 mov 0x4(%eax),%eax
801011a8: 85 c0 test %eax,%eax
801011aa: 75 1f jne 801011cb <filealloc+0x48>
f->ref = 1;
801011ac: 8b 45 f4 mov -0xc(%ebp),%eax
801011af: c7 40 04 01 00 00 00 movl $0x1,0x4(%eax)
release(&ftable.lock);
801011b6: 83 ec 0c sub $0xc,%esp
801011b9: 68 80 de 10 80 push $0x8010de80
801011be: e8 76 3c 00 00 call 80104e39 <release>
801011c3: 83 c4 10 add $0x10,%esp
return f;
801011c6: 8b 45 f4 mov -0xc(%ebp),%eax
801011c9: eb 23 jmp 801011ee <filealloc+0x6b>
filealloc(void)
{
struct file *f;
acquire(&ftable.lock);
for(f = ftable.file; f < ftable.file + NFILE; f++){
801011cb: 83 45 f4 18 addl $0x18,-0xc(%ebp)
801011cf: b8 14 e8 10 80 mov $0x8010e814,%eax
801011d4: 39 45 f4 cmp %eax,-0xc(%ebp)
801011d7: 72 c9 jb 801011a2 <filealloc+0x1f>
f->ref = 1;
release(&ftable.lock);
return f;
}
}
release(&ftable.lock);
801011d9: 83 ec 0c sub $0xc,%esp
801011dc: 68 80 de 10 80 push $0x8010de80
801011e1: e8 53 3c 00 00 call 80104e39 <release>
801011e6: 83 c4 10 add $0x10,%esp
return 0;
801011e9: b8 00 00 00 00 mov $0x0,%eax
}
801011ee: c9 leave
801011ef: c3 ret
801011f0 <filedup>:
// Increment ref count for file f.
struct file*
filedup(struct file *f)
{
801011f0: 55 push %ebp
801011f1: 89 e5 mov %esp,%ebp
801011f3: 83 ec 08 sub $0x8,%esp
acquire(&ftable.lock);
801011f6: 83 ec 0c sub $0xc,%esp
801011f9: 68 80 de 10 80 push $0x8010de80
801011fe: e8 cf 3b 00 00 call 80104dd2 <acquire>
80101203: 83 c4 10 add $0x10,%esp
if(f->ref < 1)
80101206: 8b 45 08 mov 0x8(%ebp),%eax
80101209: 8b 40 04 mov 0x4(%eax),%eax
8010120c: 85 c0 test %eax,%eax
8010120e: 7f 0d jg 8010121d <filedup+0x2d>
panic("filedup");
80101210: 83 ec 0c sub $0xc,%esp
80101213: 68 f8 83 10 80 push $0x801083f8
80101218: e8 49 f3 ff ff call 80100566 <panic>
f->ref++;
8010121d: 8b 45 08 mov 0x8(%ebp),%eax
80101220: 8b 40 04 mov 0x4(%eax),%eax
80101223: 8d 50 01 lea 0x1(%eax),%edx
80101226: 8b 45 08 mov 0x8(%ebp),%eax
80101229: 89 50 04 mov %edx,0x4(%eax)
release(&ftable.lock);
8010122c: 83 ec 0c sub $0xc,%esp
8010122f: 68 80 de 10 80 push $0x8010de80
80101234: e8 00 3c 00 00 call 80104e39 <release>
80101239: 83 c4 10 add $0x10,%esp
return f;
8010123c: 8b 45 08 mov 0x8(%ebp),%eax
}
8010123f: c9 leave
80101240: c3 ret
80101241 <fileclose>:
// Close file f. (Decrement ref count, close when reaches 0.)
void
fileclose(struct file *f)
{
80101241: 55 push %ebp
80101242: 89 e5 mov %esp,%ebp
80101244: 83 ec 28 sub $0x28,%esp
struct file ff;
acquire(&ftable.lock);
80101247: 83 ec 0c sub $0xc,%esp
8010124a: 68 80 de 10 80 push $0x8010de80
8010124f: e8 7e 3b 00 00 call 80104dd2 <acquire>
80101254: 83 c4 10 add $0x10,%esp
if(f->ref < 1)
80101257: 8b 45 08 mov 0x8(%ebp),%eax
8010125a: 8b 40 04 mov 0x4(%eax),%eax
8010125d: 85 c0 test %eax,%eax
8010125f: 7f 0d jg 8010126e <fileclose+0x2d>
panic("fileclose");
80101261: 83 ec 0c sub $0xc,%esp
80101264: 68 00 84 10 80 push $0x80108400
80101269: e8 f8 f2 ff ff call 80100566 <panic>
if(--f->ref > 0){
8010126e: 8b 45 08 mov 0x8(%ebp),%eax
80101271: 8b 40 04 mov 0x4(%eax),%eax
80101274: 8d 50 ff lea -0x1(%eax),%edx
80101277: 8b 45 08 mov 0x8(%ebp),%eax
8010127a: 89 50 04 mov %edx,0x4(%eax)
8010127d: 8b 45 08 mov 0x8(%ebp),%eax
80101280: 8b 40 04 mov 0x4(%eax),%eax
80101283: 85 c0 test %eax,%eax
80101285: 7e 15 jle 8010129c <fileclose+0x5b>
release(&ftable.lock);
80101287: 83 ec 0c sub $0xc,%esp
8010128a: 68 80 de 10 80 push $0x8010de80
8010128f: e8 a5 3b 00 00 call 80104e39 <release>
80101294: 83 c4 10 add $0x10,%esp
80101297: e9 8b 00 00 00 jmp 80101327 <fileclose+0xe6>
return;
}
ff = *f;
8010129c: 8b 45 08 mov 0x8(%ebp),%eax
8010129f: 8b 10 mov (%eax),%edx
801012a1: 89 55 e0 mov %edx,-0x20(%ebp)
801012a4: 8b 50 04 mov 0x4(%eax),%edx
801012a7: 89 55 e4 mov %edx,-0x1c(%ebp)
801012aa: 8b 50 08 mov 0x8(%eax),%edx
801012ad: 89 55 e8 mov %edx,-0x18(%ebp)
801012b0: 8b 50 0c mov 0xc(%eax),%edx
801012b3: 89 55 ec mov %edx,-0x14(%ebp)
801012b6: 8b 50 10 mov 0x10(%eax),%edx
801012b9: 89 55 f0 mov %edx,-0x10(%ebp)
801012bc: 8b 40 14 mov 0x14(%eax),%eax
801012bf: 89 45 f4 mov %eax,-0xc(%ebp)
f->ref = 0;
801012c2: 8b 45 08 mov 0x8(%ebp),%eax
801012c5: c7 40 04 00 00 00 00 movl $0x0,0x4(%eax)
f->type = FD_NONE;
801012cc: 8b 45 08 mov 0x8(%ebp),%eax
801012cf: c7 00 00 00 00 00 movl $0x0,(%eax)
release(&ftable.lock);
801012d5: 83 ec 0c sub $0xc,%esp
801012d8: 68 80 de 10 80 push $0x8010de80
801012dd: e8 57 3b 00 00 call 80104e39 <release>
801012e2: 83 c4 10 add $0x10,%esp
if(ff.type == FD_PIPE)
801012e5: 8b 45 e0 mov -0x20(%ebp),%eax
801012e8: 83 f8 01 cmp $0x1,%eax
801012eb: 75 19 jne 80101306 <fileclose+0xc5>
pipeclose(ff.pipe, ff.writable);
801012ed: 0f b6 45 e9 movzbl -0x17(%ebp),%eax
801012f1: 0f be d0 movsbl %al,%edx
801012f4: 8b 45 ec mov -0x14(%ebp),%eax
801012f7: 83 ec 08 sub $0x8,%esp
801012fa: 52 push %edx
801012fb: 50 push %eax
801012fc: e8 a5 2c 00 00 call 80103fa6 <pipeclose>
80101301: 83 c4 10 add $0x10,%esp
80101304: eb 21 jmp 80101327 <fileclose+0xe6>
else if(ff.type == FD_INODE){
80101306: 8b 45 e0 mov -0x20(%ebp),%eax
80101309: 83 f8 02 cmp $0x2,%eax
8010130c: 75 19 jne 80101327 <fileclose+0xe6>
begin_trans();
8010130e: e8 87 21 00 00 call 8010349a <begin_trans>
iput(ff.ip);
80101313: 8b 45 f0 mov -0x10(%ebp),%eax
80101316: 83 ec 0c sub $0xc,%esp
80101319: 50 push %eax
8010131a: e8 c1 09 00 00 call 80101ce0 <iput>
8010131f: 83 c4 10 add $0x10,%esp
commit_trans();
80101322: e8 c6 21 00 00 call 801034ed <commit_trans>
}
}
80101327: c9 leave
80101328: c3 ret
80101329 <filestat>:
// Get metadata about file f.
int
filestat(struct file *f, struct stat *st)
{
80101329: 55 push %ebp
8010132a: 89 e5 mov %esp,%ebp
8010132c: 83 ec 08 sub $0x8,%esp
if(f->type == FD_INODE){
8010132f: 8b 45 08 mov 0x8(%ebp),%eax
80101332: 8b 00 mov (%eax),%eax
80101334: 83 f8 02 cmp $0x2,%eax
80101337: 75 40 jne 80101379 <filestat+0x50>
ilock(f->ip);
80101339: 8b 45 08 mov 0x8(%ebp),%eax
8010133c: 8b 40 10 mov 0x10(%eax),%eax
8010133f: 83 ec 0c sub $0xc,%esp
80101342: 50 push %eax
80101343: e8 ce 07 00 00 call 80101b16 <ilock>
80101348: 83 c4 10 add $0x10,%esp
stati(f->ip, st);
8010134b: 8b 45 08 mov 0x8(%ebp),%eax
8010134e: 8b 40 10 mov 0x10(%eax),%eax
80101351: 83 ec 08 sub $0x8,%esp
80101354: ff 75 0c pushl 0xc(%ebp)
80101357: 50 push %eax
80101358: e8 db 0c 00 00 call 80102038 <stati>
8010135d: 83 c4 10 add $0x10,%esp
iunlock(f->ip);
80101360: 8b 45 08 mov 0x8(%ebp),%eax
80101363: 8b 40 10 mov 0x10(%eax),%eax
80101366: 83 ec 0c sub $0xc,%esp
80101369: 50 push %eax
8010136a: e8 ff 08 00 00 call 80101c6e <iunlock>
8010136f: 83 c4 10 add $0x10,%esp
return 0;
80101372: b8 00 00 00 00 mov $0x0,%eax
80101377: eb 05 jmp 8010137e <filestat+0x55>
}
return -1;
80101379: b8 ff ff ff ff mov $0xffffffff,%eax
}
8010137e: c9 leave
8010137f: c3 ret
80101380 <fileread>:
// Read from file f.
int
fileread(struct file *f, char *addr, int n)
{
80101380: 55 push %ebp
80101381: 89 e5 mov %esp,%ebp
80101383: 83 ec 18 sub $0x18,%esp
int r;
if(f->readable == 0)
80101386: 8b 45 08 mov 0x8(%ebp),%eax
80101389: 0f b6 40 08 movzbl 0x8(%eax),%eax
8010138d: 84 c0 test %al,%al
8010138f: 75 0a jne 8010139b <fileread+0x1b>
return -1;
80101391: b8 ff ff ff ff mov $0xffffffff,%eax
80101396: e9 9b 00 00 00 jmp 80101436 <fileread+0xb6>
if(f->type == FD_PIPE)
8010139b: 8b 45 08 mov 0x8(%ebp),%eax
8010139e: 8b 00 mov (%eax),%eax
801013a0: 83 f8 01 cmp $0x1,%eax
801013a3: 75 1a jne 801013bf <fileread+0x3f>
return piperead(f->pipe, addr, n);
801013a5: 8b 45 08 mov 0x8(%ebp),%eax
801013a8: 8b 40 0c mov 0xc(%eax),%eax
801013ab: 83 ec 04 sub $0x4,%esp
801013ae: ff 75 10 pushl 0x10(%ebp)
801013b1: ff 75 0c pushl 0xc(%ebp)
801013b4: 50 push %eax
801013b5: e8 94 2d 00 00 call 8010414e <piperead>
801013ba: 83 c4 10 add $0x10,%esp
801013bd: eb 77 jmp 80101436 <fileread+0xb6>
if(f->type == FD_INODE){
801013bf: 8b 45 08 mov 0x8(%ebp),%eax
801013c2: 8b 00 mov (%eax),%eax
801013c4: 83 f8 02 cmp $0x2,%eax
801013c7: 75 60 jne 80101429 <fileread+0xa9>
ilock(f->ip);
801013c9: 8b 45 08 mov 0x8(%ebp),%eax
801013cc: 8b 40 10 mov 0x10(%eax),%eax
801013cf: 83 ec 0c sub $0xc,%esp
801013d2: 50 push %eax
801013d3: e8 3e 07 00 00 call 80101b16 <ilock>
801013d8: 83 c4 10 add $0x10,%esp
if((r = readi(f->ip, addr, f->off, n)) > 0)
801013db: 8b 4d 10 mov 0x10(%ebp),%ecx
801013de: 8b 45 08 mov 0x8(%ebp),%eax
801013e1: 8b 50 14 mov 0x14(%eax),%edx
801013e4: 8b 45 08 mov 0x8(%ebp),%eax
801013e7: 8b 40 10 mov 0x10(%eax),%eax
801013ea: 51 push %ecx
801013eb: 52 push %edx
801013ec: ff 75 0c pushl 0xc(%ebp)
801013ef: 50 push %eax
801013f0: e8 89 0c 00 00 call 8010207e <readi>
801013f5: 83 c4 10 add $0x10,%esp
801013f8: 89 45 f4 mov %eax,-0xc(%ebp)
801013fb: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801013ff: 7e 11 jle 80101412 <fileread+0x92>
f->off += r;
80101401: 8b 45 08 mov 0x8(%ebp),%eax
80101404: 8b 50 14 mov 0x14(%eax),%edx
80101407: 8b 45 f4 mov -0xc(%ebp),%eax
8010140a: 01 c2 add %eax,%edx
8010140c: 8b 45 08 mov 0x8(%ebp),%eax
8010140f: 89 50 14 mov %edx,0x14(%eax)
iunlock(f->ip);
80101412: 8b 45 08 mov 0x8(%ebp),%eax
80101415: 8b 40 10 mov 0x10(%eax),%eax
80101418: 83 ec 0c sub $0xc,%esp
8010141b: 50 push %eax
8010141c: e8 4d 08 00 00 call 80101c6e <iunlock>
80101421: 83 c4 10 add $0x10,%esp
return r;
80101424: 8b 45 f4 mov -0xc(%ebp),%eax
80101427: eb 0d jmp 80101436 <fileread+0xb6>
}
panic("fileread");
80101429: 83 ec 0c sub $0xc,%esp
8010142c: 68 0a 84 10 80 push $0x8010840a
80101431: e8 30 f1 ff ff call 80100566 <panic>
}
80101436: c9 leave
80101437: c3 ret
80101438 <filewrite>:
//PAGEBREAK!
// Write to file f.
int
filewrite(struct file *f, char *addr, int n)
{
80101438: 55 push %ebp
80101439: 89 e5 mov %esp,%ebp
8010143b: 53 push %ebx
8010143c: 83 ec 14 sub $0x14,%esp
int r;
if(f->writable == 0)
8010143f: 8b 45 08 mov 0x8(%ebp),%eax
80101442: 0f b6 40 09 movzbl 0x9(%eax),%eax
80101446: 84 c0 test %al,%al
80101448: 75 0a jne 80101454 <filewrite+0x1c>
return -1;
8010144a: b8 ff ff ff ff mov $0xffffffff,%eax
8010144f: e9 1b 01 00 00 jmp 8010156f <filewrite+0x137>
if(f->type == FD_PIPE)
80101454: 8b 45 08 mov 0x8(%ebp),%eax
80101457: 8b 00 mov (%eax),%eax
80101459: 83 f8 01 cmp $0x1,%eax
8010145c: 75 1d jne 8010147b <filewrite+0x43>
return pipewrite(f->pipe, addr, n);
8010145e: 8b 45 08 mov 0x8(%ebp),%eax
80101461: 8b 40 0c mov 0xc(%eax),%eax
80101464: 83 ec 04 sub $0x4,%esp
80101467: ff 75 10 pushl 0x10(%ebp)
8010146a: ff 75 0c pushl 0xc(%ebp)
8010146d: 50 push %eax
8010146e: e8 dd 2b 00 00 call 80104050 <pipewrite>
80101473: 83 c4 10 add $0x10,%esp
80101476: e9 f4 00 00 00 jmp 8010156f <filewrite+0x137>
if(f->type == FD_INODE){
8010147b: 8b 45 08 mov 0x8(%ebp),%eax
8010147e: 8b 00 mov (%eax),%eax
80101480: 83 f8 02 cmp $0x2,%eax
80101483: 0f 85 d9 00 00 00 jne 80101562 <filewrite+0x12a>
// the maximum log transaction size, including
// i-node, indirect block, allocation blocks,
// and 2 blocks of slop for non-aligned writes.
// this really belongs lower down, since writei()
// might be writing a device like the console.
int max = ((LOGSIZE-1-1-2) / 2) * 512;
80101489: c7 45 ec 00 06 00 00 movl $0x600,-0x14(%ebp)
int i = 0;
80101490: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
while(i < n){
80101497: e9 a3 00 00 00 jmp 8010153f <filewrite+0x107>
int n1 = n - i;
8010149c: 8b 45 10 mov 0x10(%ebp),%eax
8010149f: 2b 45 f4 sub -0xc(%ebp),%eax
801014a2: 89 45 f0 mov %eax,-0x10(%ebp)
if(n1 > max)
801014a5: 8b 45 f0 mov -0x10(%ebp),%eax
801014a8: 3b 45 ec cmp -0x14(%ebp),%eax
801014ab: 7e 06 jle 801014b3 <filewrite+0x7b>
n1 = max;
801014ad: 8b 45 ec mov -0x14(%ebp),%eax
801014b0: 89 45 f0 mov %eax,-0x10(%ebp)
begin_trans();
801014b3: e8 e2 1f 00 00 call 8010349a <begin_trans>
ilock(f->ip);
801014b8: 8b 45 08 mov 0x8(%ebp),%eax
801014bb: 8b 40 10 mov 0x10(%eax),%eax
801014be: 83 ec 0c sub $0xc,%esp
801014c1: 50 push %eax
801014c2: e8 4f 06 00 00 call 80101b16 <ilock>
801014c7: 83 c4 10 add $0x10,%esp
if ((r = writei(f->ip, addr + i, f->off, n1)) > 0)
801014ca: 8b 4d f0 mov -0x10(%ebp),%ecx
801014cd: 8b 45 08 mov 0x8(%ebp),%eax
801014d0: 8b 50 14 mov 0x14(%eax),%edx
801014d3: 8b 5d f4 mov -0xc(%ebp),%ebx
801014d6: 8b 45 0c mov 0xc(%ebp),%eax
801014d9: 01 c3 add %eax,%ebx
801014db: 8b 45 08 mov 0x8(%ebp),%eax
801014de: 8b 40 10 mov 0x10(%eax),%eax
801014e1: 51 push %ecx
801014e2: 52 push %edx
801014e3: 53 push %ebx
801014e4: 50 push %eax
801014e5: e8 eb 0c 00 00 call 801021d5 <writei>
801014ea: 83 c4 10 add $0x10,%esp
801014ed: 89 45 e8 mov %eax,-0x18(%ebp)
801014f0: 83 7d e8 00 cmpl $0x0,-0x18(%ebp)
801014f4: 7e 11 jle 80101507 <filewrite+0xcf>
f->off += r;
801014f6: 8b 45 08 mov 0x8(%ebp),%eax
801014f9: 8b 50 14 mov 0x14(%eax),%edx
801014fc: 8b 45 e8 mov -0x18(%ebp),%eax
801014ff: 01 c2 add %eax,%edx
80101501: 8b 45 08 mov 0x8(%ebp),%eax
80101504: 89 50 14 mov %edx,0x14(%eax)
iunlock(f->ip);
80101507: 8b 45 08 mov 0x8(%ebp),%eax
8010150a: 8b 40 10 mov 0x10(%eax),%eax
8010150d: 83 ec 0c sub $0xc,%esp
80101510: 50 push %eax
80101511: e8 58 07 00 00 call 80101c6e <iunlock>
80101516: 83 c4 10 add $0x10,%esp
commit_trans();
80101519: e8 cf 1f 00 00 call 801034ed <commit_trans>
if(r < 0)
8010151e: 83 7d e8 00 cmpl $0x0,-0x18(%ebp)
80101522: 78 29 js 8010154d <filewrite+0x115>
break;
if(r != n1)
80101524: 8b 45 e8 mov -0x18(%ebp),%eax
80101527: 3b 45 f0 cmp -0x10(%ebp),%eax
8010152a: 74 0d je 80101539 <filewrite+0x101>
panic("short filewrite");
8010152c: 83 ec 0c sub $0xc,%esp
8010152f: 68 13 84 10 80 push $0x80108413
80101534: e8 2d f0 ff ff call 80100566 <panic>
i += r;
80101539: 8b 45 e8 mov -0x18(%ebp),%eax
8010153c: 01 45 f4 add %eax,-0xc(%ebp)
// and 2 blocks of slop for non-aligned writes.
// this really belongs lower down, since writei()
// might be writing a device like the console.
int max = ((LOGSIZE-1-1-2) / 2) * 512;
int i = 0;
while(i < n){
8010153f: 8b 45 f4 mov -0xc(%ebp),%eax
80101542: 3b 45 10 cmp 0x10(%ebp),%eax
80101545: 0f 8c 51 ff ff ff jl 8010149c <filewrite+0x64>
8010154b: eb 01 jmp 8010154e <filewrite+0x116>
f->off += r;
iunlock(f->ip);
commit_trans();
if(r < 0)
break;
8010154d: 90 nop
if(r != n1)
panic("short filewrite");
i += r;
}
return i == n ? n : -1;
8010154e: 8b 45 f4 mov -0xc(%ebp),%eax
80101551: 3b 45 10 cmp 0x10(%ebp),%eax
80101554: 75 05 jne 8010155b <filewrite+0x123>
80101556: 8b 45 10 mov 0x10(%ebp),%eax
80101559: eb 14 jmp 8010156f <filewrite+0x137>
8010155b: b8 ff ff ff ff mov $0xffffffff,%eax
80101560: eb 0d jmp 8010156f <filewrite+0x137>
}
panic("filewrite");
80101562: 83 ec 0c sub $0xc,%esp
80101565: 68 23 84 10 80 push $0x80108423
8010156a: e8 f7 ef ff ff call 80100566 <panic>
}
8010156f: 8b 5d fc mov -0x4(%ebp),%ebx
80101572: c9 leave
80101573: c3 ret
80101574 <readsb>:
static void itrunc(struct inode*);
// Read the super block.
void
readsb(int dev, struct superblock *sb)
{
80101574: 55 push %ebp
80101575: 89 e5 mov %esp,%ebp
80101577: 83 ec 18 sub $0x18,%esp
struct buf *bp;
bp = bread(dev, 1);
8010157a: 8b 45 08 mov 0x8(%ebp),%eax
8010157d: 83 ec 08 sub $0x8,%esp
80101580: 6a 01 push $0x1
80101582: 50 push %eax
80101583: e8 2e ec ff ff call 801001b6 <bread>
80101588: 83 c4 10 add $0x10,%esp
8010158b: 89 45 f4 mov %eax,-0xc(%ebp)
memmove(sb, bp->data, sizeof(*sb));
8010158e: 8b 45 f4 mov -0xc(%ebp),%eax
80101591: 83 c0 18 add $0x18,%eax
80101594: 83 ec 04 sub $0x4,%esp
80101597: 6a 10 push $0x10
80101599: 50 push %eax
8010159a: ff 75 0c pushl 0xc(%ebp)
8010159d: e8 52 3b 00 00 call 801050f4 <memmove>
801015a2: 83 c4 10 add $0x10,%esp
brelse(bp);
801015a5: 83 ec 0c sub $0xc,%esp
801015a8: ff 75 f4 pushl -0xc(%ebp)
801015ab: e8 7e ec ff ff call 8010022e <brelse>
801015b0: 83 c4 10 add $0x10,%esp
}
801015b3: 90 nop
801015b4: c9 leave
801015b5: c3 ret
801015b6 <bzero>:
// Zero a block.
static void
bzero(int dev, int bno)
{
801015b6: 55 push %ebp
801015b7: 89 e5 mov %esp,%ebp
801015b9: 83 ec 18 sub $0x18,%esp
struct buf *bp;
bp = bread(dev, bno);
801015bc: 8b 55 0c mov 0xc(%ebp),%edx
801015bf: 8b 45 08 mov 0x8(%ebp),%eax
801015c2: 83 ec 08 sub $0x8,%esp
801015c5: 52 push %edx
801015c6: 50 push %eax
801015c7: e8 ea eb ff ff call 801001b6 <bread>
801015cc: 83 c4 10 add $0x10,%esp
801015cf: 89 45 f4 mov %eax,-0xc(%ebp)
memset(bp->data, 0, BSIZE);
801015d2: 8b 45 f4 mov -0xc(%ebp),%eax
801015d5: 83 c0 18 add $0x18,%eax
801015d8: 83 ec 04 sub $0x4,%esp
801015db: 68 00 02 00 00 push $0x200
801015e0: 6a 00 push $0x0
801015e2: 50 push %eax
801015e3: e8 4d 3a 00 00 call 80105035 <memset>
801015e8: 83 c4 10 add $0x10,%esp
log_write(bp);
801015eb: 83 ec 0c sub $0xc,%esp
801015ee: ff 75 f4 pushl -0xc(%ebp)
801015f1: e8 5c 1f 00 00 call 80103552 <log_write>
801015f6: 83 c4 10 add $0x10,%esp
brelse(bp);
801015f9: 83 ec 0c sub $0xc,%esp
801015fc: ff 75 f4 pushl -0xc(%ebp)
801015ff: e8 2a ec ff ff call 8010022e <brelse>
80101604: 83 c4 10 add $0x10,%esp
}
80101607: 90 nop
80101608: c9 leave
80101609: c3 ret
8010160a <balloc>:
// Blocks.
// Allocate a zeroed disk block.
static uint
balloc(uint dev)
{
8010160a: 55 push %ebp
8010160b: 89 e5 mov %esp,%ebp
8010160d: 83 ec 28 sub $0x28,%esp
int b, bi, m;
struct buf *bp;
struct superblock sb;
bp = 0;
80101610: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
readsb(dev, &sb);
80101617: 8b 45 08 mov 0x8(%ebp),%eax
8010161a: 83 ec 08 sub $0x8,%esp
8010161d: 8d 55 d8 lea -0x28(%ebp),%edx
80101620: 52 push %edx
80101621: 50 push %eax
80101622: e8 4d ff ff ff call 80101574 <readsb>
80101627: 83 c4 10 add $0x10,%esp
for(b = 0; b < sb.size; b += BPB){
8010162a: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80101631: e9 15 01 00 00 jmp 8010174b <balloc+0x141>
bp = bread(dev, BBLOCK(b, sb.ninodes));
80101636: 8b 45 f4 mov -0xc(%ebp),%eax
80101639: 8d 90 ff 0f 00 00 lea 0xfff(%eax),%edx
8010163f: 85 c0 test %eax,%eax
80101641: 0f 48 c2 cmovs %edx,%eax
80101644: c1 f8 0c sar $0xc,%eax
80101647: 89 c2 mov %eax,%edx
80101649: 8b 45 e0 mov -0x20(%ebp),%eax
8010164c: c1 e8 03 shr $0x3,%eax
8010164f: 01 d0 add %edx,%eax
80101651: 83 c0 03 add $0x3,%eax
80101654: 83 ec 08 sub $0x8,%esp
80101657: 50 push %eax
80101658: ff 75 08 pushl 0x8(%ebp)
8010165b: e8 56 eb ff ff call 801001b6 <bread>
80101660: 83 c4 10 add $0x10,%esp
80101663: 89 45 ec mov %eax,-0x14(%ebp)
for(bi = 0; bi < BPB && b + bi < sb.size; bi++){
80101666: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
8010166d: e9 a6 00 00 00 jmp 80101718 <balloc+0x10e>
m = 1 << (bi % 8);
80101672: 8b 45 f0 mov -0x10(%ebp),%eax
80101675: 99 cltd
80101676: c1 ea 1d shr $0x1d,%edx
80101679: 01 d0 add %edx,%eax
8010167b: 83 e0 07 and $0x7,%eax
8010167e: 29 d0 sub %edx,%eax
80101680: ba 01 00 00 00 mov $0x1,%edx
80101685: 89 c1 mov %eax,%ecx
80101687: d3 e2 shl %cl,%edx
80101689: 89 d0 mov %edx,%eax
8010168b: 89 45 e8 mov %eax,-0x18(%ebp)
if((bp->data[bi/8] & m) == 0){ // Is block free?
8010168e: 8b 45 f0 mov -0x10(%ebp),%eax
80101691: 8d 50 07 lea 0x7(%eax),%edx
80101694: 85 c0 test %eax,%eax
80101696: 0f 48 c2 cmovs %edx,%eax
80101699: c1 f8 03 sar $0x3,%eax
8010169c: 89 c2 mov %eax,%edx
8010169e: 8b 45 ec mov -0x14(%ebp),%eax
801016a1: 0f b6 44 10 18 movzbl 0x18(%eax,%edx,1),%eax
801016a6: 0f b6 c0 movzbl %al,%eax
801016a9: 23 45 e8 and -0x18(%ebp),%eax
801016ac: 85 c0 test %eax,%eax
801016ae: 75 64 jne 80101714 <balloc+0x10a>
bp->data[bi/8] |= m; // Mark block in use.
801016b0: 8b 45 f0 mov -0x10(%ebp),%eax
801016b3: 8d 50 07 lea 0x7(%eax),%edx
801016b6: 85 c0 test %eax,%eax
801016b8: 0f 48 c2 cmovs %edx,%eax
801016bb: c1 f8 03 sar $0x3,%eax
801016be: 8b 55 ec mov -0x14(%ebp),%edx
801016c1: 0f b6 54 02 18 movzbl 0x18(%edx,%eax,1),%edx
801016c6: 89 d1 mov %edx,%ecx
801016c8: 8b 55 e8 mov -0x18(%ebp),%edx
801016cb: 09 ca or %ecx,%edx
801016cd: 89 d1 mov %edx,%ecx
801016cf: 8b 55 ec mov -0x14(%ebp),%edx
801016d2: 88 4c 02 18 mov %cl,0x18(%edx,%eax,1)
log_write(bp);
801016d6: 83 ec 0c sub $0xc,%esp
801016d9: ff 75 ec pushl -0x14(%ebp)
801016dc: e8 71 1e 00 00 call 80103552 <log_write>
801016e1: 83 c4 10 add $0x10,%esp
brelse(bp);
801016e4: 83 ec 0c sub $0xc,%esp
801016e7: ff 75 ec pushl -0x14(%ebp)
801016ea: e8 3f eb ff ff call 8010022e <brelse>
801016ef: 83 c4 10 add $0x10,%esp
bzero(dev, b + bi);
801016f2: 8b 55 f4 mov -0xc(%ebp),%edx
801016f5: 8b 45 f0 mov -0x10(%ebp),%eax
801016f8: 01 c2 add %eax,%edx
801016fa: 8b 45 08 mov 0x8(%ebp),%eax
801016fd: 83 ec 08 sub $0x8,%esp
80101700: 52 push %edx
80101701: 50 push %eax
80101702: e8 af fe ff ff call 801015b6 <bzero>
80101707: 83 c4 10 add $0x10,%esp
return b + bi;
8010170a: 8b 55 f4 mov -0xc(%ebp),%edx
8010170d: 8b 45 f0 mov -0x10(%ebp),%eax
80101710: 01 d0 add %edx,%eax
80101712: eb 52 jmp 80101766 <balloc+0x15c>
bp = 0;
readsb(dev, &sb);
for(b = 0; b < sb.size; b += BPB){
bp = bread(dev, BBLOCK(b, sb.ninodes));
for(bi = 0; bi < BPB && b + bi < sb.size; bi++){
80101714: 83 45 f0 01 addl $0x1,-0x10(%ebp)
80101718: 81 7d f0 ff 0f 00 00 cmpl $0xfff,-0x10(%ebp)
8010171f: 7f 15 jg 80101736 <balloc+0x12c>
80101721: 8b 55 f4 mov -0xc(%ebp),%edx
80101724: 8b 45 f0 mov -0x10(%ebp),%eax
80101727: 01 d0 add %edx,%eax
80101729: 89 c2 mov %eax,%edx
8010172b: 8b 45 d8 mov -0x28(%ebp),%eax
8010172e: 39 c2 cmp %eax,%edx
80101730: 0f 82 3c ff ff ff jb 80101672 <balloc+0x68>
brelse(bp);
bzero(dev, b + bi);
return b + bi;
}
}
brelse(bp);
80101736: 83 ec 0c sub $0xc,%esp
80101739: ff 75 ec pushl -0x14(%ebp)
8010173c: e8 ed ea ff ff call 8010022e <brelse>
80101741: 83 c4 10 add $0x10,%esp
struct buf *bp;
struct superblock sb;
bp = 0;
readsb(dev, &sb);
for(b = 0; b < sb.size; b += BPB){
80101744: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
8010174b: 8b 55 d8 mov -0x28(%ebp),%edx
8010174e: 8b 45 f4 mov -0xc(%ebp),%eax
80101751: 39 c2 cmp %eax,%edx
80101753: 0f 87 dd fe ff ff ja 80101636 <balloc+0x2c>
return b + bi;
}
}
brelse(bp);
}
panic("balloc: out of blocks");
80101759: 83 ec 0c sub $0xc,%esp
8010175c: 68 2d 84 10 80 push $0x8010842d
80101761: e8 00 ee ff ff call 80100566 <panic>
}
80101766: c9 leave
80101767: c3 ret
80101768 <bfree>:
// Free a disk block.
static void
bfree(int dev, uint b)
{
80101768: 55 push %ebp
80101769: 89 e5 mov %esp,%ebp
8010176b: 83 ec 28 sub $0x28,%esp
struct buf *bp;
struct superblock sb;
int bi, m;
readsb(dev, &sb);
8010176e: 83 ec 08 sub $0x8,%esp
80101771: 8d 45 dc lea -0x24(%ebp),%eax
80101774: 50 push %eax
80101775: ff 75 08 pushl 0x8(%ebp)
80101778: e8 f7 fd ff ff call 80101574 <readsb>
8010177d: 83 c4 10 add $0x10,%esp
bp = bread(dev, BBLOCK(b, sb.ninodes));
80101780: 8b 45 0c mov 0xc(%ebp),%eax
80101783: c1 e8 0c shr $0xc,%eax
80101786: 89 c2 mov %eax,%edx
80101788: 8b 45 e4 mov -0x1c(%ebp),%eax
8010178b: c1 e8 03 shr $0x3,%eax
8010178e: 01 d0 add %edx,%eax
80101790: 8d 50 03 lea 0x3(%eax),%edx
80101793: 8b 45 08 mov 0x8(%ebp),%eax
80101796: 83 ec 08 sub $0x8,%esp
80101799: 52 push %edx
8010179a: 50 push %eax
8010179b: e8 16 ea ff ff call 801001b6 <bread>
801017a0: 83 c4 10 add $0x10,%esp
801017a3: 89 45 f4 mov %eax,-0xc(%ebp)
bi = b % BPB;
801017a6: 8b 45 0c mov 0xc(%ebp),%eax
801017a9: 25 ff 0f 00 00 and $0xfff,%eax
801017ae: 89 45 f0 mov %eax,-0x10(%ebp)
m = 1 << (bi % 8);
801017b1: 8b 45 f0 mov -0x10(%ebp),%eax
801017b4: 99 cltd
801017b5: c1 ea 1d shr $0x1d,%edx
801017b8: 01 d0 add %edx,%eax
801017ba: 83 e0 07 and $0x7,%eax
801017bd: 29 d0 sub %edx,%eax
801017bf: ba 01 00 00 00 mov $0x1,%edx
801017c4: 89 c1 mov %eax,%ecx
801017c6: d3 e2 shl %cl,%edx
801017c8: 89 d0 mov %edx,%eax
801017ca: 89 45 ec mov %eax,-0x14(%ebp)
if((bp->data[bi/8] & m) == 0)
801017cd: 8b 45 f0 mov -0x10(%ebp),%eax
801017d0: 8d 50 07 lea 0x7(%eax),%edx
801017d3: 85 c0 test %eax,%eax
801017d5: 0f 48 c2 cmovs %edx,%eax
801017d8: c1 f8 03 sar $0x3,%eax
801017db: 89 c2 mov %eax,%edx
801017dd: 8b 45 f4 mov -0xc(%ebp),%eax
801017e0: 0f b6 44 10 18 movzbl 0x18(%eax,%edx,1),%eax
801017e5: 0f b6 c0 movzbl %al,%eax
801017e8: 23 45 ec and -0x14(%ebp),%eax
801017eb: 85 c0 test %eax,%eax
801017ed: 75 0d jne 801017fc <bfree+0x94>
panic("freeing free block");
801017ef: 83 ec 0c sub $0xc,%esp
801017f2: 68 43 84 10 80 push $0x80108443
801017f7: e8 6a ed ff ff call 80100566 <panic>
bp->data[bi/8] &= ~m;
801017fc: 8b 45 f0 mov -0x10(%ebp),%eax
801017ff: 8d 50 07 lea 0x7(%eax),%edx
80101802: 85 c0 test %eax,%eax
80101804: 0f 48 c2 cmovs %edx,%eax
80101807: c1 f8 03 sar $0x3,%eax
8010180a: 8b 55 f4 mov -0xc(%ebp),%edx
8010180d: 0f b6 54 02 18 movzbl 0x18(%edx,%eax,1),%edx
80101812: 89 d1 mov %edx,%ecx
80101814: 8b 55 ec mov -0x14(%ebp),%edx
80101817: f7 d2 not %edx
80101819: 21 ca and %ecx,%edx
8010181b: 89 d1 mov %edx,%ecx
8010181d: 8b 55 f4 mov -0xc(%ebp),%edx
80101820: 88 4c 02 18 mov %cl,0x18(%edx,%eax,1)
log_write(bp);
80101824: 83 ec 0c sub $0xc,%esp
80101827: ff 75 f4 pushl -0xc(%ebp)
8010182a: e8 23 1d 00 00 call 80103552 <log_write>
8010182f: 83 c4 10 add $0x10,%esp
brelse(bp);
80101832: 83 ec 0c sub $0xc,%esp
80101835: ff 75 f4 pushl -0xc(%ebp)
80101838: e8 f1 e9 ff ff call 8010022e <brelse>
8010183d: 83 c4 10 add $0x10,%esp
}
80101840: 90 nop
80101841: c9 leave
80101842: c3 ret
80101843 <iinit>:
struct inode inode[NINODE];
} icache;
void
iinit(void)
{
80101843: 55 push %ebp
80101844: 89 e5 mov %esp,%ebp
80101846: 83 ec 08 sub $0x8,%esp
initlock(&icache.lock, "icache");
80101849: 83 ec 08 sub $0x8,%esp
8010184c: 68 56 84 10 80 push $0x80108456
80101851: 68 80 e8 10 80 push $0x8010e880
80101856: e8 55 35 00 00 call 80104db0 <initlock>
8010185b: 83 c4 10 add $0x10,%esp
}
8010185e: 90 nop
8010185f: c9 leave
80101860: c3 ret
80101861 <ialloc>:
//PAGEBREAK!
// Allocate a new inode with the given type on device dev.
// A free inode has a type of zero.
struct inode*
ialloc(uint dev, short type)
{
80101861: 55 push %ebp
80101862: 89 e5 mov %esp,%ebp
80101864: 83 ec 38 sub $0x38,%esp
80101867: 8b 45 0c mov 0xc(%ebp),%eax
8010186a: 66 89 45 d4 mov %ax,-0x2c(%ebp)
int inum;
struct buf *bp;
struct dinode *dip;
struct superblock sb;
readsb(dev, &sb);
8010186e: 8b 45 08 mov 0x8(%ebp),%eax
80101871: 83 ec 08 sub $0x8,%esp
80101874: 8d 55 dc lea -0x24(%ebp),%edx
80101877: 52 push %edx
80101878: 50 push %eax
80101879: e8 f6 fc ff ff call 80101574 <readsb>
8010187e: 83 c4 10 add $0x10,%esp
for(inum = 1; inum < sb.ninodes; inum++){
80101881: c7 45 f4 01 00 00 00 movl $0x1,-0xc(%ebp)
80101888: e9 98 00 00 00 jmp 80101925 <ialloc+0xc4>
bp = bread(dev, IBLOCK(inum));
8010188d: 8b 45 f4 mov -0xc(%ebp),%eax
80101890: c1 e8 03 shr $0x3,%eax
80101893: 83 c0 02 add $0x2,%eax
80101896: 83 ec 08 sub $0x8,%esp
80101899: 50 push %eax
8010189a: ff 75 08 pushl 0x8(%ebp)
8010189d: e8 14 e9 ff ff call 801001b6 <bread>
801018a2: 83 c4 10 add $0x10,%esp
801018a5: 89 45 f0 mov %eax,-0x10(%ebp)
dip = (struct dinode*)bp->data + inum%IPB;
801018a8: 8b 45 f0 mov -0x10(%ebp),%eax
801018ab: 8d 50 18 lea 0x18(%eax),%edx
801018ae: 8b 45 f4 mov -0xc(%ebp),%eax
801018b1: 83 e0 07 and $0x7,%eax
801018b4: c1 e0 06 shl $0x6,%eax
801018b7: 01 d0 add %edx,%eax
801018b9: 89 45 ec mov %eax,-0x14(%ebp)
if(dip->type == 0){ // a free inode
801018bc: 8b 45 ec mov -0x14(%ebp),%eax
801018bf: 0f b7 00 movzwl (%eax),%eax
801018c2: 66 85 c0 test %ax,%ax
801018c5: 75 4c jne 80101913 <ialloc+0xb2>
memset(dip, 0, sizeof(*dip));
801018c7: 83 ec 04 sub $0x4,%esp
801018ca: 6a 40 push $0x40
801018cc: 6a 00 push $0x0
801018ce: ff 75 ec pushl -0x14(%ebp)
801018d1: e8 5f 37 00 00 call 80105035 <memset>
801018d6: 83 c4 10 add $0x10,%esp
dip->type = type;
801018d9: 8b 45 ec mov -0x14(%ebp),%eax
801018dc: 0f b7 55 d4 movzwl -0x2c(%ebp),%edx
801018e0: 66 89 10 mov %dx,(%eax)
log_write(bp); // mark it allocated on the disk
801018e3: 83 ec 0c sub $0xc,%esp
801018e6: ff 75 f0 pushl -0x10(%ebp)
801018e9: e8 64 1c 00 00 call 80103552 <log_write>
801018ee: 83 c4 10 add $0x10,%esp
brelse(bp);
801018f1: 83 ec 0c sub $0xc,%esp
801018f4: ff 75 f0 pushl -0x10(%ebp)
801018f7: e8 32 e9 ff ff call 8010022e <brelse>
801018fc: 83 c4 10 add $0x10,%esp
return iget(dev, inum);
801018ff: 8b 45 f4 mov -0xc(%ebp),%eax
80101902: 83 ec 08 sub $0x8,%esp
80101905: 50 push %eax
80101906: ff 75 08 pushl 0x8(%ebp)
80101909: e8 ef 00 00 00 call 801019fd <iget>
8010190e: 83 c4 10 add $0x10,%esp
80101911: eb 2d jmp 80101940 <ialloc+0xdf>
}
brelse(bp);
80101913: 83 ec 0c sub $0xc,%esp
80101916: ff 75 f0 pushl -0x10(%ebp)
80101919: e8 10 e9 ff ff call 8010022e <brelse>
8010191e: 83 c4 10 add $0x10,%esp
struct dinode *dip;
struct superblock sb;
readsb(dev, &sb);
for(inum = 1; inum < sb.ninodes; inum++){
80101921: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80101925: 8b 55 e4 mov -0x1c(%ebp),%edx
80101928: 8b 45 f4 mov -0xc(%ebp),%eax
8010192b: 39 c2 cmp %eax,%edx
8010192d: 0f 87 5a ff ff ff ja 8010188d <ialloc+0x2c>
brelse(bp);
return iget(dev, inum);
}
brelse(bp);
}
panic("ialloc: no inodes");
80101933: 83 ec 0c sub $0xc,%esp
80101936: 68 5d 84 10 80 push $0x8010845d
8010193b: e8 26 ec ff ff call 80100566 <panic>
}
80101940: c9 leave
80101941: c3 ret
80101942 <iupdate>:
// Copy a modified in-memory inode to disk.
void
iupdate(struct inode *ip)
{
80101942: 55 push %ebp
80101943: 89 e5 mov %esp,%ebp
80101945: 83 ec 18 sub $0x18,%esp
struct buf *bp;
struct dinode *dip;
bp = bread(ip->dev, IBLOCK(ip->inum));
80101948: 8b 45 08 mov 0x8(%ebp),%eax
8010194b: 8b 40 04 mov 0x4(%eax),%eax
8010194e: c1 e8 03 shr $0x3,%eax
80101951: 8d 50 02 lea 0x2(%eax),%edx
80101954: 8b 45 08 mov 0x8(%ebp),%eax
80101957: 8b 00 mov (%eax),%eax
80101959: 83 ec 08 sub $0x8,%esp
8010195c: 52 push %edx
8010195d: 50 push %eax
8010195e: e8 53 e8 ff ff call 801001b6 <bread>
80101963: 83 c4 10 add $0x10,%esp
80101966: 89 45 f4 mov %eax,-0xc(%ebp)
dip = (struct dinode*)bp->data + ip->inum%IPB;
80101969: 8b 45 f4 mov -0xc(%ebp),%eax
8010196c: 8d 50 18 lea 0x18(%eax),%edx
8010196f: 8b 45 08 mov 0x8(%ebp),%eax
80101972: 8b 40 04 mov 0x4(%eax),%eax
80101975: 83 e0 07 and $0x7,%eax
80101978: c1 e0 06 shl $0x6,%eax
8010197b: 01 d0 add %edx,%eax
8010197d: 89 45 f0 mov %eax,-0x10(%ebp)
dip->type = ip->type;
80101980: 8b 45 08 mov 0x8(%ebp),%eax
80101983: 0f b7 50 10 movzwl 0x10(%eax),%edx
80101987: 8b 45 f0 mov -0x10(%ebp),%eax
8010198a: 66 89 10 mov %dx,(%eax)
dip->major = ip->major;
8010198d: 8b 45 08 mov 0x8(%ebp),%eax
80101990: 0f b7 50 12 movzwl 0x12(%eax),%edx
80101994: 8b 45 f0 mov -0x10(%ebp),%eax
80101997: 66 89 50 02 mov %dx,0x2(%eax)
dip->minor = ip->minor;
8010199b: 8b 45 08 mov 0x8(%ebp),%eax
8010199e: 0f b7 50 14 movzwl 0x14(%eax),%edx
801019a2: 8b 45 f0 mov -0x10(%ebp),%eax
801019a5: 66 89 50 04 mov %dx,0x4(%eax)
dip->nlink = ip->nlink;
801019a9: 8b 45 08 mov 0x8(%ebp),%eax
801019ac: 0f b7 50 16 movzwl 0x16(%eax),%edx
801019b0: 8b 45 f0 mov -0x10(%ebp),%eax
801019b3: 66 89 50 06 mov %dx,0x6(%eax)
dip->size = ip->size;
801019b7: 8b 45 08 mov 0x8(%ebp),%eax
801019ba: 8b 50 18 mov 0x18(%eax),%edx
801019bd: 8b 45 f0 mov -0x10(%ebp),%eax
801019c0: 89 50 08 mov %edx,0x8(%eax)
memmove(dip->addrs, ip->addrs, sizeof(ip->addrs));
801019c3: 8b 45 08 mov 0x8(%ebp),%eax
801019c6: 8d 50 1c lea 0x1c(%eax),%edx
801019c9: 8b 45 f0 mov -0x10(%ebp),%eax
801019cc: 83 c0 0c add $0xc,%eax
801019cf: 83 ec 04 sub $0x4,%esp
801019d2: 6a 34 push $0x34
801019d4: 52 push %edx
801019d5: 50 push %eax
801019d6: e8 19 37 00 00 call 801050f4 <memmove>
801019db: 83 c4 10 add $0x10,%esp
log_write(bp);
801019de: 83 ec 0c sub $0xc,%esp
801019e1: ff 75 f4 pushl -0xc(%ebp)
801019e4: e8 69 1b 00 00 call 80103552 <log_write>
801019e9: 83 c4 10 add $0x10,%esp
brelse(bp);
801019ec: 83 ec 0c sub $0xc,%esp
801019ef: ff 75 f4 pushl -0xc(%ebp)
801019f2: e8 37 e8 ff ff call 8010022e <brelse>
801019f7: 83 c4 10 add $0x10,%esp
}
801019fa: 90 nop
801019fb: c9 leave
801019fc: c3 ret
801019fd <iget>:
// Find the inode with number inum on device dev
// and return the in-memory copy. Does not lock
// the inode and does not read it from disk.
static struct inode*
iget(uint dev, uint inum)
{
801019fd: 55 push %ebp
801019fe: 89 e5 mov %esp,%ebp
80101a00: 83 ec 18 sub $0x18,%esp
struct inode *ip, *empty;
acquire(&icache.lock);
80101a03: 83 ec 0c sub $0xc,%esp
80101a06: 68 80 e8 10 80 push $0x8010e880
80101a0b: e8 c2 33 00 00 call 80104dd2 <acquire>
80101a10: 83 c4 10 add $0x10,%esp
// Is the inode already cached?
empty = 0;
80101a13: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
80101a1a: c7 45 f4 b4 e8 10 80 movl $0x8010e8b4,-0xc(%ebp)
80101a21: eb 5d jmp 80101a80 <iget+0x83>
if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){
80101a23: 8b 45 f4 mov -0xc(%ebp),%eax
80101a26: 8b 40 08 mov 0x8(%eax),%eax
80101a29: 85 c0 test %eax,%eax
80101a2b: 7e 39 jle 80101a66 <iget+0x69>
80101a2d: 8b 45 f4 mov -0xc(%ebp),%eax
80101a30: 8b 00 mov (%eax),%eax
80101a32: 3b 45 08 cmp 0x8(%ebp),%eax
80101a35: 75 2f jne 80101a66 <iget+0x69>
80101a37: 8b 45 f4 mov -0xc(%ebp),%eax
80101a3a: 8b 40 04 mov 0x4(%eax),%eax
80101a3d: 3b 45 0c cmp 0xc(%ebp),%eax
80101a40: 75 24 jne 80101a66 <iget+0x69>
ip->ref++;
80101a42: 8b 45 f4 mov -0xc(%ebp),%eax
80101a45: 8b 40 08 mov 0x8(%eax),%eax
80101a48: 8d 50 01 lea 0x1(%eax),%edx
80101a4b: 8b 45 f4 mov -0xc(%ebp),%eax
80101a4e: 89 50 08 mov %edx,0x8(%eax)
release(&icache.lock);
80101a51: 83 ec 0c sub $0xc,%esp
80101a54: 68 80 e8 10 80 push $0x8010e880
80101a59: e8 db 33 00 00 call 80104e39 <release>
80101a5e: 83 c4 10 add $0x10,%esp
return ip;
80101a61: 8b 45 f4 mov -0xc(%ebp),%eax
80101a64: eb 74 jmp 80101ada <iget+0xdd>
}
if(empty == 0 && ip->ref == 0) // Remember empty slot.
80101a66: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80101a6a: 75 10 jne 80101a7c <iget+0x7f>
80101a6c: 8b 45 f4 mov -0xc(%ebp),%eax
80101a6f: 8b 40 08 mov 0x8(%eax),%eax
80101a72: 85 c0 test %eax,%eax
80101a74: 75 06 jne 80101a7c <iget+0x7f>
empty = ip;
80101a76: 8b 45 f4 mov -0xc(%ebp),%eax
80101a79: 89 45 f0 mov %eax,-0x10(%ebp)
acquire(&icache.lock);
// Is the inode already cached?
empty = 0;
for(ip = &icache.inode[0]; ip < &icache.inode[NINODE]; ip++){
80101a7c: 83 45 f4 50 addl $0x50,-0xc(%ebp)
80101a80: 81 7d f4 54 f8 10 80 cmpl $0x8010f854,-0xc(%ebp)
80101a87: 72 9a jb 80101a23 <iget+0x26>
if(empty == 0 && ip->ref == 0) // Remember empty slot.
empty = ip;
}
// Recycle an inode cache entry.
if(empty == 0)
80101a89: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80101a8d: 75 0d jne 80101a9c <iget+0x9f>
panic("iget: no inodes");
80101a8f: 83 ec 0c sub $0xc,%esp
80101a92: 68 6f 84 10 80 push $0x8010846f
80101a97: e8 ca ea ff ff call 80100566 <panic>
ip = empty;
80101a9c: 8b 45 f0 mov -0x10(%ebp),%eax
80101a9f: 89 45 f4 mov %eax,-0xc(%ebp)
ip->dev = dev;
80101aa2: 8b 45 f4 mov -0xc(%ebp),%eax
80101aa5: 8b 55 08 mov 0x8(%ebp),%edx
80101aa8: 89 10 mov %edx,(%eax)
ip->inum = inum;
80101aaa: 8b 45 f4 mov -0xc(%ebp),%eax
80101aad: 8b 55 0c mov 0xc(%ebp),%edx
80101ab0: 89 50 04 mov %edx,0x4(%eax)
ip->ref = 1;
80101ab3: 8b 45 f4 mov -0xc(%ebp),%eax
80101ab6: c7 40 08 01 00 00 00 movl $0x1,0x8(%eax)
ip->flags = 0;
80101abd: 8b 45 f4 mov -0xc(%ebp),%eax
80101ac0: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
release(&icache.lock);
80101ac7: 83 ec 0c sub $0xc,%esp
80101aca: 68 80 e8 10 80 push $0x8010e880
80101acf: e8 65 33 00 00 call 80104e39 <release>
80101ad4: 83 c4 10 add $0x10,%esp
return ip;
80101ad7: 8b 45 f4 mov -0xc(%ebp),%eax
}
80101ada: c9 leave
80101adb: c3 ret
80101adc <idup>:
// Increment reference count for ip.
// Returns ip to enable ip = idup(ip1) idiom.
struct inode*
idup(struct inode *ip)
{
80101adc: 55 push %ebp
80101add: 89 e5 mov %esp,%ebp
80101adf: 83 ec 08 sub $0x8,%esp
acquire(&icache.lock);
80101ae2: 83 ec 0c sub $0xc,%esp
80101ae5: 68 80 e8 10 80 push $0x8010e880
80101aea: e8 e3 32 00 00 call 80104dd2 <acquire>
80101aef: 83 c4 10 add $0x10,%esp
ip->ref++;
80101af2: 8b 45 08 mov 0x8(%ebp),%eax
80101af5: 8b 40 08 mov 0x8(%eax),%eax
80101af8: 8d 50 01 lea 0x1(%eax),%edx
80101afb: 8b 45 08 mov 0x8(%ebp),%eax
80101afe: 89 50 08 mov %edx,0x8(%eax)
release(&icache.lock);
80101b01: 83 ec 0c sub $0xc,%esp
80101b04: 68 80 e8 10 80 push $0x8010e880
80101b09: e8 2b 33 00 00 call 80104e39 <release>
80101b0e: 83 c4 10 add $0x10,%esp
return ip;
80101b11: 8b 45 08 mov 0x8(%ebp),%eax
}
80101b14: c9 leave
80101b15: c3 ret
80101b16 <ilock>:
// Lock the given inode.
// Reads the inode from disk if necessary.
void
ilock(struct inode *ip)
{
80101b16: 55 push %ebp
80101b17: 89 e5 mov %esp,%ebp
80101b19: 83 ec 18 sub $0x18,%esp
struct buf *bp;
struct dinode *dip;
if(ip == 0 || ip->ref < 1)
80101b1c: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
80101b20: 74 0a je 80101b2c <ilock+0x16>
80101b22: 8b 45 08 mov 0x8(%ebp),%eax
80101b25: 8b 40 08 mov 0x8(%eax),%eax
80101b28: 85 c0 test %eax,%eax
80101b2a: 7f 0d jg 80101b39 <ilock+0x23>
panic("ilock");
80101b2c: 83 ec 0c sub $0xc,%esp
80101b2f: 68 7f 84 10 80 push $0x8010847f
80101b34: e8 2d ea ff ff call 80100566 <panic>
acquire(&icache.lock);
80101b39: 83 ec 0c sub $0xc,%esp
80101b3c: 68 80 e8 10 80 push $0x8010e880
80101b41: e8 8c 32 00 00 call 80104dd2 <acquire>
80101b46: 83 c4 10 add $0x10,%esp
while(ip->flags & I_BUSY)
80101b49: eb 13 jmp 80101b5e <ilock+0x48>
sleep(ip, &icache.lock);
80101b4b: 83 ec 08 sub $0x8,%esp
80101b4e: 68 80 e8 10 80 push $0x8010e880
80101b53: ff 75 08 pushl 0x8(%ebp)
80101b56: e8 7e 2f 00 00 call 80104ad9 <sleep>
80101b5b: 83 c4 10 add $0x10,%esp
if(ip == 0 || ip->ref < 1)
panic("ilock");
acquire(&icache.lock);
while(ip->flags & I_BUSY)
80101b5e: 8b 45 08 mov 0x8(%ebp),%eax
80101b61: 8b 40 0c mov 0xc(%eax),%eax
80101b64: 83 e0 01 and $0x1,%eax
80101b67: 85 c0 test %eax,%eax
80101b69: 75 e0 jne 80101b4b <ilock+0x35>
sleep(ip, &icache.lock);
ip->flags |= I_BUSY;
80101b6b: 8b 45 08 mov 0x8(%ebp),%eax
80101b6e: 8b 40 0c mov 0xc(%eax),%eax
80101b71: 83 c8 01 or $0x1,%eax
80101b74: 89 c2 mov %eax,%edx
80101b76: 8b 45 08 mov 0x8(%ebp),%eax
80101b79: 89 50 0c mov %edx,0xc(%eax)
release(&icache.lock);
80101b7c: 83 ec 0c sub $0xc,%esp
80101b7f: 68 80 e8 10 80 push $0x8010e880
80101b84: e8 b0 32 00 00 call 80104e39 <release>
80101b89: 83 c4 10 add $0x10,%esp
if(!(ip->flags & I_VALID)){
80101b8c: 8b 45 08 mov 0x8(%ebp),%eax
80101b8f: 8b 40 0c mov 0xc(%eax),%eax
80101b92: 83 e0 02 and $0x2,%eax
80101b95: 85 c0 test %eax,%eax
80101b97: 0f 85 ce 00 00 00 jne 80101c6b <ilock+0x155>
bp = bread(ip->dev, IBLOCK(ip->inum));
80101b9d: 8b 45 08 mov 0x8(%ebp),%eax
80101ba0: 8b 40 04 mov 0x4(%eax),%eax
80101ba3: c1 e8 03 shr $0x3,%eax
80101ba6: 8d 50 02 lea 0x2(%eax),%edx
80101ba9: 8b 45 08 mov 0x8(%ebp),%eax
80101bac: 8b 00 mov (%eax),%eax
80101bae: 83 ec 08 sub $0x8,%esp
80101bb1: 52 push %edx
80101bb2: 50 push %eax
80101bb3: e8 fe e5 ff ff call 801001b6 <bread>
80101bb8: 83 c4 10 add $0x10,%esp
80101bbb: 89 45 f4 mov %eax,-0xc(%ebp)
dip = (struct dinode*)bp->data + ip->inum%IPB;
80101bbe: 8b 45 f4 mov -0xc(%ebp),%eax
80101bc1: 8d 50 18 lea 0x18(%eax),%edx
80101bc4: 8b 45 08 mov 0x8(%ebp),%eax
80101bc7: 8b 40 04 mov 0x4(%eax),%eax
80101bca: 83 e0 07 and $0x7,%eax
80101bcd: c1 e0 06 shl $0x6,%eax
80101bd0: 01 d0 add %edx,%eax
80101bd2: 89 45 f0 mov %eax,-0x10(%ebp)
ip->type = dip->type;
80101bd5: 8b 45 f0 mov -0x10(%ebp),%eax
80101bd8: 0f b7 10 movzwl (%eax),%edx
80101bdb: 8b 45 08 mov 0x8(%ebp),%eax
80101bde: 66 89 50 10 mov %dx,0x10(%eax)
ip->major = dip->major;
80101be2: 8b 45 f0 mov -0x10(%ebp),%eax
80101be5: 0f b7 50 02 movzwl 0x2(%eax),%edx
80101be9: 8b 45 08 mov 0x8(%ebp),%eax
80101bec: 66 89 50 12 mov %dx,0x12(%eax)
ip->minor = dip->minor;
80101bf0: 8b 45 f0 mov -0x10(%ebp),%eax
80101bf3: 0f b7 50 04 movzwl 0x4(%eax),%edx
80101bf7: 8b 45 08 mov 0x8(%ebp),%eax
80101bfa: 66 89 50 14 mov %dx,0x14(%eax)
ip->nlink = dip->nlink;
80101bfe: 8b 45 f0 mov -0x10(%ebp),%eax
80101c01: 0f b7 50 06 movzwl 0x6(%eax),%edx
80101c05: 8b 45 08 mov 0x8(%ebp),%eax
80101c08: 66 89 50 16 mov %dx,0x16(%eax)
ip->size = dip->size;
80101c0c: 8b 45 f0 mov -0x10(%ebp),%eax
80101c0f: 8b 50 08 mov 0x8(%eax),%edx
80101c12: 8b 45 08 mov 0x8(%ebp),%eax
80101c15: 89 50 18 mov %edx,0x18(%eax)
memmove(ip->addrs, dip->addrs, sizeof(ip->addrs));
80101c18: 8b 45 f0 mov -0x10(%ebp),%eax
80101c1b: 8d 50 0c lea 0xc(%eax),%edx
80101c1e: 8b 45 08 mov 0x8(%ebp),%eax
80101c21: 83 c0 1c add $0x1c,%eax
80101c24: 83 ec 04 sub $0x4,%esp
80101c27: 6a 34 push $0x34
80101c29: 52 push %edx
80101c2a: 50 push %eax
80101c2b: e8 c4 34 00 00 call 801050f4 <memmove>
80101c30: 83 c4 10 add $0x10,%esp
brelse(bp);
80101c33: 83 ec 0c sub $0xc,%esp
80101c36: ff 75 f4 pushl -0xc(%ebp)
80101c39: e8 f0 e5 ff ff call 8010022e <brelse>
80101c3e: 83 c4 10 add $0x10,%esp
ip->flags |= I_VALID;
80101c41: 8b 45 08 mov 0x8(%ebp),%eax
80101c44: 8b 40 0c mov 0xc(%eax),%eax
80101c47: 83 c8 02 or $0x2,%eax
80101c4a: 89 c2 mov %eax,%edx
80101c4c: 8b 45 08 mov 0x8(%ebp),%eax
80101c4f: 89 50 0c mov %edx,0xc(%eax)
if(ip->type == 0)
80101c52: 8b 45 08 mov 0x8(%ebp),%eax
80101c55: 0f b7 40 10 movzwl 0x10(%eax),%eax
80101c59: 66 85 c0 test %ax,%ax
80101c5c: 75 0d jne 80101c6b <ilock+0x155>
panic("ilock: no type");
80101c5e: 83 ec 0c sub $0xc,%esp
80101c61: 68 85 84 10 80 push $0x80108485
80101c66: e8 fb e8 ff ff call 80100566 <panic>
}
}
80101c6b: 90 nop
80101c6c: c9 leave
80101c6d: c3 ret
80101c6e <iunlock>:
// Unlock the given inode.
void
iunlock(struct inode *ip)
{
80101c6e: 55 push %ebp
80101c6f: 89 e5 mov %esp,%ebp
80101c71: 83 ec 08 sub $0x8,%esp
if(ip == 0 || !(ip->flags & I_BUSY) || ip->ref < 1)
80101c74: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
80101c78: 74 17 je 80101c91 <iunlock+0x23>
80101c7a: 8b 45 08 mov 0x8(%ebp),%eax
80101c7d: 8b 40 0c mov 0xc(%eax),%eax
80101c80: 83 e0 01 and $0x1,%eax
80101c83: 85 c0 test %eax,%eax
80101c85: 74 0a je 80101c91 <iunlock+0x23>
80101c87: 8b 45 08 mov 0x8(%ebp),%eax
80101c8a: 8b 40 08 mov 0x8(%eax),%eax
80101c8d: 85 c0 test %eax,%eax
80101c8f: 7f 0d jg 80101c9e <iunlock+0x30>
panic("iunlock");
80101c91: 83 ec 0c sub $0xc,%esp
80101c94: 68 94 84 10 80 push $0x80108494
80101c99: e8 c8 e8 ff ff call 80100566 <panic>
acquire(&icache.lock);
80101c9e: 83 ec 0c sub $0xc,%esp
80101ca1: 68 80 e8 10 80 push $0x8010e880
80101ca6: e8 27 31 00 00 call 80104dd2 <acquire>
80101cab: 83 c4 10 add $0x10,%esp
ip->flags &= ~I_BUSY;
80101cae: 8b 45 08 mov 0x8(%ebp),%eax
80101cb1: 8b 40 0c mov 0xc(%eax),%eax
80101cb4: 83 e0 fe and $0xfffffffe,%eax
80101cb7: 89 c2 mov %eax,%edx
80101cb9: 8b 45 08 mov 0x8(%ebp),%eax
80101cbc: 89 50 0c mov %edx,0xc(%eax)
wakeup(ip);
80101cbf: 83 ec 0c sub $0xc,%esp
80101cc2: ff 75 08 pushl 0x8(%ebp)
80101cc5: e8 fa 2e 00 00 call 80104bc4 <wakeup>
80101cca: 83 c4 10 add $0x10,%esp
release(&icache.lock);
80101ccd: 83 ec 0c sub $0xc,%esp
80101cd0: 68 80 e8 10 80 push $0x8010e880
80101cd5: e8 5f 31 00 00 call 80104e39 <release>
80101cda: 83 c4 10 add $0x10,%esp
}
80101cdd: 90 nop
80101cde: c9 leave
80101cdf: c3 ret
80101ce0 <iput>:
// be recycled.
// If that was the last reference and the inode has no links
// to it, free the inode (and its content) on disk.
void
iput(struct inode *ip)
{
80101ce0: 55 push %ebp
80101ce1: 89 e5 mov %esp,%ebp
80101ce3: 83 ec 08 sub $0x8,%esp
acquire(&icache.lock);
80101ce6: 83 ec 0c sub $0xc,%esp
80101ce9: 68 80 e8 10 80 push $0x8010e880
80101cee: e8 df 30 00 00 call 80104dd2 <acquire>
80101cf3: 83 c4 10 add $0x10,%esp
if(ip->ref == 1 && (ip->flags & I_VALID) && ip->nlink == 0){
80101cf6: 8b 45 08 mov 0x8(%ebp),%eax
80101cf9: 8b 40 08 mov 0x8(%eax),%eax
80101cfc: 83 f8 01 cmp $0x1,%eax
80101cff: 0f 85 a9 00 00 00 jne 80101dae <iput+0xce>
80101d05: 8b 45 08 mov 0x8(%ebp),%eax
80101d08: 8b 40 0c mov 0xc(%eax),%eax
80101d0b: 83 e0 02 and $0x2,%eax
80101d0e: 85 c0 test %eax,%eax
80101d10: 0f 84 98 00 00 00 je 80101dae <iput+0xce>
80101d16: 8b 45 08 mov 0x8(%ebp),%eax
80101d19: 0f b7 40 16 movzwl 0x16(%eax),%eax
80101d1d: 66 85 c0 test %ax,%ax
80101d20: 0f 85 88 00 00 00 jne 80101dae <iput+0xce>
// inode has no links: truncate and free inode.
if(ip->flags & I_BUSY)
80101d26: 8b 45 08 mov 0x8(%ebp),%eax
80101d29: 8b 40 0c mov 0xc(%eax),%eax
80101d2c: 83 e0 01 and $0x1,%eax
80101d2f: 85 c0 test %eax,%eax
80101d31: 74 0d je 80101d40 <iput+0x60>
panic("iput busy");
80101d33: 83 ec 0c sub $0xc,%esp
80101d36: 68 9c 84 10 80 push $0x8010849c
80101d3b: e8 26 e8 ff ff call 80100566 <panic>
ip->flags |= I_BUSY;
80101d40: 8b 45 08 mov 0x8(%ebp),%eax
80101d43: 8b 40 0c mov 0xc(%eax),%eax
80101d46: 83 c8 01 or $0x1,%eax
80101d49: 89 c2 mov %eax,%edx
80101d4b: 8b 45 08 mov 0x8(%ebp),%eax
80101d4e: 89 50 0c mov %edx,0xc(%eax)
release(&icache.lock);
80101d51: 83 ec 0c sub $0xc,%esp
80101d54: 68 80 e8 10 80 push $0x8010e880
80101d59: e8 db 30 00 00 call 80104e39 <release>
80101d5e: 83 c4 10 add $0x10,%esp
itrunc(ip);
80101d61: 83 ec 0c sub $0xc,%esp
80101d64: ff 75 08 pushl 0x8(%ebp)
80101d67: e8 a8 01 00 00 call 80101f14 <itrunc>
80101d6c: 83 c4 10 add $0x10,%esp
ip->type = 0;
80101d6f: 8b 45 08 mov 0x8(%ebp),%eax
80101d72: 66 c7 40 10 00 00 movw $0x0,0x10(%eax)
iupdate(ip);
80101d78: 83 ec 0c sub $0xc,%esp
80101d7b: ff 75 08 pushl 0x8(%ebp)
80101d7e: e8 bf fb ff ff call 80101942 <iupdate>
80101d83: 83 c4 10 add $0x10,%esp
acquire(&icache.lock);
80101d86: 83 ec 0c sub $0xc,%esp
80101d89: 68 80 e8 10 80 push $0x8010e880
80101d8e: e8 3f 30 00 00 call 80104dd2 <acquire>
80101d93: 83 c4 10 add $0x10,%esp
ip->flags = 0;
80101d96: 8b 45 08 mov 0x8(%ebp),%eax
80101d99: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
wakeup(ip);
80101da0: 83 ec 0c sub $0xc,%esp
80101da3: ff 75 08 pushl 0x8(%ebp)
80101da6: e8 19 2e 00 00 call 80104bc4 <wakeup>
80101dab: 83 c4 10 add $0x10,%esp
}
ip->ref--;
80101dae: 8b 45 08 mov 0x8(%ebp),%eax
80101db1: 8b 40 08 mov 0x8(%eax),%eax
80101db4: 8d 50 ff lea -0x1(%eax),%edx
80101db7: 8b 45 08 mov 0x8(%ebp),%eax
80101dba: 89 50 08 mov %edx,0x8(%eax)
release(&icache.lock);
80101dbd: 83 ec 0c sub $0xc,%esp
80101dc0: 68 80 e8 10 80 push $0x8010e880
80101dc5: e8 6f 30 00 00 call 80104e39 <release>
80101dca: 83 c4 10 add $0x10,%esp
}
80101dcd: 90 nop
80101dce: c9 leave
80101dcf: c3 ret
80101dd0 <iunlockput>:
// Common idiom: unlock, then put.
void
iunlockput(struct inode *ip)
{
80101dd0: 55 push %ebp
80101dd1: 89 e5 mov %esp,%ebp
80101dd3: 83 ec 08 sub $0x8,%esp
iunlock(ip);
80101dd6: 83 ec 0c sub $0xc,%esp
80101dd9: ff 75 08 pushl 0x8(%ebp)
80101ddc: e8 8d fe ff ff call 80101c6e <iunlock>
80101de1: 83 c4 10 add $0x10,%esp
iput(ip);
80101de4: 83 ec 0c sub $0xc,%esp
80101de7: ff 75 08 pushl 0x8(%ebp)
80101dea: e8 f1 fe ff ff call 80101ce0 <iput>
80101def: 83 c4 10 add $0x10,%esp
}
80101df2: 90 nop
80101df3: c9 leave
80101df4: c3 ret
80101df5 <bmap>:
// Return the disk block address of the nth block in inode ip.
// If there is no such block, bmap allocates one.
static uint
bmap(struct inode *ip, uint bn)
{
80101df5: 55 push %ebp
80101df6: 89 e5 mov %esp,%ebp
80101df8: 53 push %ebx
80101df9: 83 ec 14 sub $0x14,%esp
uint addr, *a;
struct buf *bp;
if(bn < NDIRECT){
80101dfc: 83 7d 0c 0b cmpl $0xb,0xc(%ebp)
80101e00: 77 42 ja 80101e44 <bmap+0x4f>
if((addr = ip->addrs[bn]) == 0)
80101e02: 8b 45 08 mov 0x8(%ebp),%eax
80101e05: 8b 55 0c mov 0xc(%ebp),%edx
80101e08: 83 c2 04 add $0x4,%edx
80101e0b: 8b 44 90 0c mov 0xc(%eax,%edx,4),%eax
80101e0f: 89 45 f4 mov %eax,-0xc(%ebp)
80101e12: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80101e16: 75 24 jne 80101e3c <bmap+0x47>
ip->addrs[bn] = addr = balloc(ip->dev);
80101e18: 8b 45 08 mov 0x8(%ebp),%eax
80101e1b: 8b 00 mov (%eax),%eax
80101e1d: 83 ec 0c sub $0xc,%esp
80101e20: 50 push %eax
80101e21: e8 e4 f7 ff ff call 8010160a <balloc>
80101e26: 83 c4 10 add $0x10,%esp
80101e29: 89 45 f4 mov %eax,-0xc(%ebp)
80101e2c: 8b 45 08 mov 0x8(%ebp),%eax
80101e2f: 8b 55 0c mov 0xc(%ebp),%edx
80101e32: 8d 4a 04 lea 0x4(%edx),%ecx
80101e35: 8b 55 f4 mov -0xc(%ebp),%edx
80101e38: 89 54 88 0c mov %edx,0xc(%eax,%ecx,4)
return addr;
80101e3c: 8b 45 f4 mov -0xc(%ebp),%eax
80101e3f: e9 cb 00 00 00 jmp 80101f0f <bmap+0x11a>
}
bn -= NDIRECT;
80101e44: 83 6d 0c 0c subl $0xc,0xc(%ebp)
if(bn < NINDIRECT){
80101e48: 83 7d 0c 7f cmpl $0x7f,0xc(%ebp)
80101e4c: 0f 87 b0 00 00 00 ja 80101f02 <bmap+0x10d>
// Load indirect block, allocating if necessary.
if((addr = ip->addrs[NDIRECT]) == 0)
80101e52: 8b 45 08 mov 0x8(%ebp),%eax
80101e55: 8b 40 4c mov 0x4c(%eax),%eax
80101e58: 89 45 f4 mov %eax,-0xc(%ebp)
80101e5b: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80101e5f: 75 1d jne 80101e7e <bmap+0x89>
ip->addrs[NDIRECT] = addr = balloc(ip->dev);
80101e61: 8b 45 08 mov 0x8(%ebp),%eax
80101e64: 8b 00 mov (%eax),%eax
80101e66: 83 ec 0c sub $0xc,%esp
80101e69: 50 push %eax
80101e6a: e8 9b f7 ff ff call 8010160a <balloc>
80101e6f: 83 c4 10 add $0x10,%esp
80101e72: 89 45 f4 mov %eax,-0xc(%ebp)
80101e75: 8b 45 08 mov 0x8(%ebp),%eax
80101e78: 8b 55 f4 mov -0xc(%ebp),%edx
80101e7b: 89 50 4c mov %edx,0x4c(%eax)
bp = bread(ip->dev, addr);
80101e7e: 8b 45 08 mov 0x8(%ebp),%eax
80101e81: 8b 00 mov (%eax),%eax
80101e83: 83 ec 08 sub $0x8,%esp
80101e86: ff 75 f4 pushl -0xc(%ebp)
80101e89: 50 push %eax
80101e8a: e8 27 e3 ff ff call 801001b6 <bread>
80101e8f: 83 c4 10 add $0x10,%esp
80101e92: 89 45 f0 mov %eax,-0x10(%ebp)
a = (uint*)bp->data;
80101e95: 8b 45 f0 mov -0x10(%ebp),%eax
80101e98: 83 c0 18 add $0x18,%eax
80101e9b: 89 45 ec mov %eax,-0x14(%ebp)
if((addr = a[bn]) == 0){
80101e9e: 8b 45 0c mov 0xc(%ebp),%eax
80101ea1: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80101ea8: 8b 45 ec mov -0x14(%ebp),%eax
80101eab: 01 d0 add %edx,%eax
80101ead: 8b 00 mov (%eax),%eax
80101eaf: 89 45 f4 mov %eax,-0xc(%ebp)
80101eb2: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80101eb6: 75 37 jne 80101eef <bmap+0xfa>
a[bn] = addr = balloc(ip->dev);
80101eb8: 8b 45 0c mov 0xc(%ebp),%eax
80101ebb: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80101ec2: 8b 45 ec mov -0x14(%ebp),%eax
80101ec5: 8d 1c 02 lea (%edx,%eax,1),%ebx
80101ec8: 8b 45 08 mov 0x8(%ebp),%eax
80101ecb: 8b 00 mov (%eax),%eax
80101ecd: 83 ec 0c sub $0xc,%esp
80101ed0: 50 push %eax
80101ed1: e8 34 f7 ff ff call 8010160a <balloc>
80101ed6: 83 c4 10 add $0x10,%esp
80101ed9: 89 45 f4 mov %eax,-0xc(%ebp)
80101edc: 8b 45 f4 mov -0xc(%ebp),%eax
80101edf: 89 03 mov %eax,(%ebx)
log_write(bp);
80101ee1: 83 ec 0c sub $0xc,%esp
80101ee4: ff 75 f0 pushl -0x10(%ebp)
80101ee7: e8 66 16 00 00 call 80103552 <log_write>
80101eec: 83 c4 10 add $0x10,%esp
}
brelse(bp);
80101eef: 83 ec 0c sub $0xc,%esp
80101ef2: ff 75 f0 pushl -0x10(%ebp)
80101ef5: e8 34 e3 ff ff call 8010022e <brelse>
80101efa: 83 c4 10 add $0x10,%esp
return addr;
80101efd: 8b 45 f4 mov -0xc(%ebp),%eax
80101f00: eb 0d jmp 80101f0f <bmap+0x11a>
}
panic("bmap: out of range");
80101f02: 83 ec 0c sub $0xc,%esp
80101f05: 68 a6 84 10 80 push $0x801084a6
80101f0a: e8 57 e6 ff ff call 80100566 <panic>
}
80101f0f: 8b 5d fc mov -0x4(%ebp),%ebx
80101f12: c9 leave
80101f13: c3 ret
80101f14 <itrunc>:
// to it (no directory entries referring to it)
// and has no in-memory reference to it (is
// not an open file or current directory).
static void
itrunc(struct inode *ip)
{
80101f14: 55 push %ebp
80101f15: 89 e5 mov %esp,%ebp
80101f17: 83 ec 18 sub $0x18,%esp
int i, j;
struct buf *bp;
uint *a;
for(i = 0; i < NDIRECT; i++){
80101f1a: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80101f21: eb 45 jmp 80101f68 <itrunc+0x54>
if(ip->addrs[i]){
80101f23: 8b 45 08 mov 0x8(%ebp),%eax
80101f26: 8b 55 f4 mov -0xc(%ebp),%edx
80101f29: 83 c2 04 add $0x4,%edx
80101f2c: 8b 44 90 0c mov 0xc(%eax,%edx,4),%eax
80101f30: 85 c0 test %eax,%eax
80101f32: 74 30 je 80101f64 <itrunc+0x50>
bfree(ip->dev, ip->addrs[i]);
80101f34: 8b 45 08 mov 0x8(%ebp),%eax
80101f37: 8b 55 f4 mov -0xc(%ebp),%edx
80101f3a: 83 c2 04 add $0x4,%edx
80101f3d: 8b 44 90 0c mov 0xc(%eax,%edx,4),%eax
80101f41: 8b 55 08 mov 0x8(%ebp),%edx
80101f44: 8b 12 mov (%edx),%edx
80101f46: 83 ec 08 sub $0x8,%esp
80101f49: 50 push %eax
80101f4a: 52 push %edx
80101f4b: e8 18 f8 ff ff call 80101768 <bfree>
80101f50: 83 c4 10 add $0x10,%esp
ip->addrs[i] = 0;
80101f53: 8b 45 08 mov 0x8(%ebp),%eax
80101f56: 8b 55 f4 mov -0xc(%ebp),%edx
80101f59: 83 c2 04 add $0x4,%edx
80101f5c: c7 44 90 0c 00 00 00 movl $0x0,0xc(%eax,%edx,4)
80101f63: 00
{
int i, j;
struct buf *bp;
uint *a;
for(i = 0; i < NDIRECT; i++){
80101f64: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80101f68: 83 7d f4 0b cmpl $0xb,-0xc(%ebp)
80101f6c: 7e b5 jle 80101f23 <itrunc+0xf>
bfree(ip->dev, ip->addrs[i]);
ip->addrs[i] = 0;
}
}
if(ip->addrs[NDIRECT]){
80101f6e: 8b 45 08 mov 0x8(%ebp),%eax
80101f71: 8b 40 4c mov 0x4c(%eax),%eax
80101f74: 85 c0 test %eax,%eax
80101f76: 0f 84 a1 00 00 00 je 8010201d <itrunc+0x109>
bp = bread(ip->dev, ip->addrs[NDIRECT]);
80101f7c: 8b 45 08 mov 0x8(%ebp),%eax
80101f7f: 8b 50 4c mov 0x4c(%eax),%edx
80101f82: 8b 45 08 mov 0x8(%ebp),%eax
80101f85: 8b 00 mov (%eax),%eax
80101f87: 83 ec 08 sub $0x8,%esp
80101f8a: 52 push %edx
80101f8b: 50 push %eax
80101f8c: e8 25 e2 ff ff call 801001b6 <bread>
80101f91: 83 c4 10 add $0x10,%esp
80101f94: 89 45 ec mov %eax,-0x14(%ebp)
a = (uint*)bp->data;
80101f97: 8b 45 ec mov -0x14(%ebp),%eax
80101f9a: 83 c0 18 add $0x18,%eax
80101f9d: 89 45 e8 mov %eax,-0x18(%ebp)
for(j = 0; j < NINDIRECT; j++){
80101fa0: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
80101fa7: eb 3c jmp 80101fe5 <itrunc+0xd1>
if(a[j])
80101fa9: 8b 45 f0 mov -0x10(%ebp),%eax
80101fac: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80101fb3: 8b 45 e8 mov -0x18(%ebp),%eax
80101fb6: 01 d0 add %edx,%eax
80101fb8: 8b 00 mov (%eax),%eax
80101fba: 85 c0 test %eax,%eax
80101fbc: 74 23 je 80101fe1 <itrunc+0xcd>
bfree(ip->dev, a[j]);
80101fbe: 8b 45 f0 mov -0x10(%ebp),%eax
80101fc1: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80101fc8: 8b 45 e8 mov -0x18(%ebp),%eax
80101fcb: 01 d0 add %edx,%eax
80101fcd: 8b 00 mov (%eax),%eax
80101fcf: 8b 55 08 mov 0x8(%ebp),%edx
80101fd2: 8b 12 mov (%edx),%edx
80101fd4: 83 ec 08 sub $0x8,%esp
80101fd7: 50 push %eax
80101fd8: 52 push %edx
80101fd9: e8 8a f7 ff ff call 80101768 <bfree>
80101fde: 83 c4 10 add $0x10,%esp
}
if(ip->addrs[NDIRECT]){
bp = bread(ip->dev, ip->addrs[NDIRECT]);
a = (uint*)bp->data;
for(j = 0; j < NINDIRECT; j++){
80101fe1: 83 45 f0 01 addl $0x1,-0x10(%ebp)
80101fe5: 8b 45 f0 mov -0x10(%ebp),%eax
80101fe8: 83 f8 7f cmp $0x7f,%eax
80101feb: 76 bc jbe 80101fa9 <itrunc+0x95>
if(a[j])
bfree(ip->dev, a[j]);
}
brelse(bp);
80101fed: 83 ec 0c sub $0xc,%esp
80101ff0: ff 75 ec pushl -0x14(%ebp)
80101ff3: e8 36 e2 ff ff call 8010022e <brelse>
80101ff8: 83 c4 10 add $0x10,%esp
bfree(ip->dev, ip->addrs[NDIRECT]);
80101ffb: 8b 45 08 mov 0x8(%ebp),%eax
80101ffe: 8b 40 4c mov 0x4c(%eax),%eax
80102001: 8b 55 08 mov 0x8(%ebp),%edx
80102004: 8b 12 mov (%edx),%edx
80102006: 83 ec 08 sub $0x8,%esp
80102009: 50 push %eax
8010200a: 52 push %edx
8010200b: e8 58 f7 ff ff call 80101768 <bfree>
80102010: 83 c4 10 add $0x10,%esp
ip->addrs[NDIRECT] = 0;
80102013: 8b 45 08 mov 0x8(%ebp),%eax
80102016: c7 40 4c 00 00 00 00 movl $0x0,0x4c(%eax)
}
ip->size = 0;
8010201d: 8b 45 08 mov 0x8(%ebp),%eax
80102020: c7 40 18 00 00 00 00 movl $0x0,0x18(%eax)
iupdate(ip);
80102027: 83 ec 0c sub $0xc,%esp
8010202a: ff 75 08 pushl 0x8(%ebp)
8010202d: e8 10 f9 ff ff call 80101942 <iupdate>
80102032: 83 c4 10 add $0x10,%esp
}
80102035: 90 nop
80102036: c9 leave
80102037: c3 ret
80102038 <stati>:
// Copy stat information from inode.
void
stati(struct inode *ip, struct stat *st)
{
80102038: 55 push %ebp
80102039: 89 e5 mov %esp,%ebp
st->dev = ip->dev;
8010203b: 8b 45 08 mov 0x8(%ebp),%eax
8010203e: 8b 00 mov (%eax),%eax
80102040: 89 c2 mov %eax,%edx
80102042: 8b 45 0c mov 0xc(%ebp),%eax
80102045: 89 50 04 mov %edx,0x4(%eax)
st->ino = ip->inum;
80102048: 8b 45 08 mov 0x8(%ebp),%eax
8010204b: 8b 50 04 mov 0x4(%eax),%edx
8010204e: 8b 45 0c mov 0xc(%ebp),%eax
80102051: 89 50 08 mov %edx,0x8(%eax)
st->type = ip->type;
80102054: 8b 45 08 mov 0x8(%ebp),%eax
80102057: 0f b7 50 10 movzwl 0x10(%eax),%edx
8010205b: 8b 45 0c mov 0xc(%ebp),%eax
8010205e: 66 89 10 mov %dx,(%eax)
st->nlink = ip->nlink;
80102061: 8b 45 08 mov 0x8(%ebp),%eax
80102064: 0f b7 50 16 movzwl 0x16(%eax),%edx
80102068: 8b 45 0c mov 0xc(%ebp),%eax
8010206b: 66 89 50 0c mov %dx,0xc(%eax)
st->size = ip->size;
8010206f: 8b 45 08 mov 0x8(%ebp),%eax
80102072: 8b 50 18 mov 0x18(%eax),%edx
80102075: 8b 45 0c mov 0xc(%ebp),%eax
80102078: 89 50 10 mov %edx,0x10(%eax)
}
8010207b: 90 nop
8010207c: 5d pop %ebp
8010207d: c3 ret
8010207e <readi>:
//PAGEBREAK!
// Read data from inode.
int
readi(struct inode *ip, char *dst, uint off, uint n)
{
8010207e: 55 push %ebp
8010207f: 89 e5 mov %esp,%ebp
80102081: 83 ec 18 sub $0x18,%esp
uint tot, m;
struct buf *bp;
if(ip->type == T_DEV){
80102084: 8b 45 08 mov 0x8(%ebp),%eax
80102087: 0f b7 40 10 movzwl 0x10(%eax),%eax
8010208b: 66 83 f8 03 cmp $0x3,%ax
8010208f: 75 5c jne 801020ed <readi+0x6f>
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].read)
80102091: 8b 45 08 mov 0x8(%ebp),%eax
80102094: 0f b7 40 12 movzwl 0x12(%eax),%eax
80102098: 66 85 c0 test %ax,%ax
8010209b: 78 20 js 801020bd <readi+0x3f>
8010209d: 8b 45 08 mov 0x8(%ebp),%eax
801020a0: 0f b7 40 12 movzwl 0x12(%eax),%eax
801020a4: 66 83 f8 09 cmp $0x9,%ax
801020a8: 7f 13 jg 801020bd <readi+0x3f>
801020aa: 8b 45 08 mov 0x8(%ebp),%eax
801020ad: 0f b7 40 12 movzwl 0x12(%eax),%eax
801020b1: 98 cwtl
801020b2: 8b 04 c5 20 e8 10 80 mov -0x7fef17e0(,%eax,8),%eax
801020b9: 85 c0 test %eax,%eax
801020bb: 75 0a jne 801020c7 <readi+0x49>
return -1;
801020bd: b8 ff ff ff ff mov $0xffffffff,%eax
801020c2: e9 0c 01 00 00 jmp 801021d3 <readi+0x155>
return devsw[ip->major].read(ip, dst, n);
801020c7: 8b 45 08 mov 0x8(%ebp),%eax
801020ca: 0f b7 40 12 movzwl 0x12(%eax),%eax
801020ce: 98 cwtl
801020cf: 8b 04 c5 20 e8 10 80 mov -0x7fef17e0(,%eax,8),%eax
801020d6: 8b 55 14 mov 0x14(%ebp),%edx
801020d9: 83 ec 04 sub $0x4,%esp
801020dc: 52 push %edx
801020dd: ff 75 0c pushl 0xc(%ebp)
801020e0: ff 75 08 pushl 0x8(%ebp)
801020e3: ff d0 call *%eax
801020e5: 83 c4 10 add $0x10,%esp
801020e8: e9 e6 00 00 00 jmp 801021d3 <readi+0x155>
}
if(off > ip->size || off + n < off)
801020ed: 8b 45 08 mov 0x8(%ebp),%eax
801020f0: 8b 40 18 mov 0x18(%eax),%eax
801020f3: 3b 45 10 cmp 0x10(%ebp),%eax
801020f6: 72 0d jb 80102105 <readi+0x87>
801020f8: 8b 55 10 mov 0x10(%ebp),%edx
801020fb: 8b 45 14 mov 0x14(%ebp),%eax
801020fe: 01 d0 add %edx,%eax
80102100: 3b 45 10 cmp 0x10(%ebp),%eax
80102103: 73 0a jae 8010210f <readi+0x91>
return -1;
80102105: b8 ff ff ff ff mov $0xffffffff,%eax
8010210a: e9 c4 00 00 00 jmp 801021d3 <readi+0x155>
if(off + n > ip->size)
8010210f: 8b 55 10 mov 0x10(%ebp),%edx
80102112: 8b 45 14 mov 0x14(%ebp),%eax
80102115: 01 c2 add %eax,%edx
80102117: 8b 45 08 mov 0x8(%ebp),%eax
8010211a: 8b 40 18 mov 0x18(%eax),%eax
8010211d: 39 c2 cmp %eax,%edx
8010211f: 76 0c jbe 8010212d <readi+0xaf>
n = ip->size - off;
80102121: 8b 45 08 mov 0x8(%ebp),%eax
80102124: 8b 40 18 mov 0x18(%eax),%eax
80102127: 2b 45 10 sub 0x10(%ebp),%eax
8010212a: 89 45 14 mov %eax,0x14(%ebp)
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
8010212d: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80102134: e9 8b 00 00 00 jmp 801021c4 <readi+0x146>
bp = bread(ip->dev, bmap(ip, off/BSIZE));
80102139: 8b 45 10 mov 0x10(%ebp),%eax
8010213c: c1 e8 09 shr $0x9,%eax
8010213f: 83 ec 08 sub $0x8,%esp
80102142: 50 push %eax
80102143: ff 75 08 pushl 0x8(%ebp)
80102146: e8 aa fc ff ff call 80101df5 <bmap>
8010214b: 83 c4 10 add $0x10,%esp
8010214e: 89 c2 mov %eax,%edx
80102150: 8b 45 08 mov 0x8(%ebp),%eax
80102153: 8b 00 mov (%eax),%eax
80102155: 83 ec 08 sub $0x8,%esp
80102158: 52 push %edx
80102159: 50 push %eax
8010215a: e8 57 e0 ff ff call 801001b6 <bread>
8010215f: 83 c4 10 add $0x10,%esp
80102162: 89 45 f0 mov %eax,-0x10(%ebp)
m = min(n - tot, BSIZE - off%BSIZE);
80102165: 8b 45 10 mov 0x10(%ebp),%eax
80102168: 25 ff 01 00 00 and $0x1ff,%eax
8010216d: ba 00 02 00 00 mov $0x200,%edx
80102172: 29 c2 sub %eax,%edx
80102174: 8b 45 14 mov 0x14(%ebp),%eax
80102177: 2b 45 f4 sub -0xc(%ebp),%eax
8010217a: 39 c2 cmp %eax,%edx
8010217c: 0f 46 c2 cmovbe %edx,%eax
8010217f: 89 45 ec mov %eax,-0x14(%ebp)
memmove(dst, bp->data + off%BSIZE, m);
80102182: 8b 45 f0 mov -0x10(%ebp),%eax
80102185: 8d 50 18 lea 0x18(%eax),%edx
80102188: 8b 45 10 mov 0x10(%ebp),%eax
8010218b: 25 ff 01 00 00 and $0x1ff,%eax
80102190: 01 d0 add %edx,%eax
80102192: 83 ec 04 sub $0x4,%esp
80102195: ff 75 ec pushl -0x14(%ebp)
80102198: 50 push %eax
80102199: ff 75 0c pushl 0xc(%ebp)
8010219c: e8 53 2f 00 00 call 801050f4 <memmove>
801021a1: 83 c4 10 add $0x10,%esp
brelse(bp);
801021a4: 83 ec 0c sub $0xc,%esp
801021a7: ff 75 f0 pushl -0x10(%ebp)
801021aa: e8 7f e0 ff ff call 8010022e <brelse>
801021af: 83 c4 10 add $0x10,%esp
if(off > ip->size || off + n < off)
return -1;
if(off + n > ip->size)
n = ip->size - off;
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
801021b2: 8b 45 ec mov -0x14(%ebp),%eax
801021b5: 01 45 f4 add %eax,-0xc(%ebp)
801021b8: 8b 45 ec mov -0x14(%ebp),%eax
801021bb: 01 45 10 add %eax,0x10(%ebp)
801021be: 8b 45 ec mov -0x14(%ebp),%eax
801021c1: 01 45 0c add %eax,0xc(%ebp)
801021c4: 8b 45 f4 mov -0xc(%ebp),%eax
801021c7: 3b 45 14 cmp 0x14(%ebp),%eax
801021ca: 0f 82 69 ff ff ff jb 80102139 <readi+0xbb>
bp = bread(ip->dev, bmap(ip, off/BSIZE));
m = min(n - tot, BSIZE - off%BSIZE);
memmove(dst, bp->data + off%BSIZE, m);
brelse(bp);
}
return n;
801021d0: 8b 45 14 mov 0x14(%ebp),%eax
}
801021d3: c9 leave
801021d4: c3 ret
801021d5 <writei>:
// PAGEBREAK!
// Write data to inode.
int
writei(struct inode *ip, char *src, uint off, uint n)
{
801021d5: 55 push %ebp
801021d6: 89 e5 mov %esp,%ebp
801021d8: 83 ec 18 sub $0x18,%esp
uint tot, m;
struct buf *bp;
if(ip->type == T_DEV){
801021db: 8b 45 08 mov 0x8(%ebp),%eax
801021de: 0f b7 40 10 movzwl 0x10(%eax),%eax
801021e2: 66 83 f8 03 cmp $0x3,%ax
801021e6: 75 5c jne 80102244 <writei+0x6f>
if(ip->major < 0 || ip->major >= NDEV || !devsw[ip->major].write)
801021e8: 8b 45 08 mov 0x8(%ebp),%eax
801021eb: 0f b7 40 12 movzwl 0x12(%eax),%eax
801021ef: 66 85 c0 test %ax,%ax
801021f2: 78 20 js 80102214 <writei+0x3f>
801021f4: 8b 45 08 mov 0x8(%ebp),%eax
801021f7: 0f b7 40 12 movzwl 0x12(%eax),%eax
801021fb: 66 83 f8 09 cmp $0x9,%ax
801021ff: 7f 13 jg 80102214 <writei+0x3f>
80102201: 8b 45 08 mov 0x8(%ebp),%eax
80102204: 0f b7 40 12 movzwl 0x12(%eax),%eax
80102208: 98 cwtl
80102209: 8b 04 c5 24 e8 10 80 mov -0x7fef17dc(,%eax,8),%eax
80102210: 85 c0 test %eax,%eax
80102212: 75 0a jne 8010221e <writei+0x49>
return -1;
80102214: b8 ff ff ff ff mov $0xffffffff,%eax
80102219: e9 3d 01 00 00 jmp 8010235b <writei+0x186>
return devsw[ip->major].write(ip, src, n);
8010221e: 8b 45 08 mov 0x8(%ebp),%eax
80102221: 0f b7 40 12 movzwl 0x12(%eax),%eax
80102225: 98 cwtl
80102226: 8b 04 c5 24 e8 10 80 mov -0x7fef17dc(,%eax,8),%eax
8010222d: 8b 55 14 mov 0x14(%ebp),%edx
80102230: 83 ec 04 sub $0x4,%esp
80102233: 52 push %edx
80102234: ff 75 0c pushl 0xc(%ebp)
80102237: ff 75 08 pushl 0x8(%ebp)
8010223a: ff d0 call *%eax
8010223c: 83 c4 10 add $0x10,%esp
8010223f: e9 17 01 00 00 jmp 8010235b <writei+0x186>
}
if(off > ip->size || off + n < off)
80102244: 8b 45 08 mov 0x8(%ebp),%eax
80102247: 8b 40 18 mov 0x18(%eax),%eax
8010224a: 3b 45 10 cmp 0x10(%ebp),%eax
8010224d: 72 0d jb 8010225c <writei+0x87>
8010224f: 8b 55 10 mov 0x10(%ebp),%edx
80102252: 8b 45 14 mov 0x14(%ebp),%eax
80102255: 01 d0 add %edx,%eax
80102257: 3b 45 10 cmp 0x10(%ebp),%eax
8010225a: 73 0a jae 80102266 <writei+0x91>
return -1;
8010225c: b8 ff ff ff ff mov $0xffffffff,%eax
80102261: e9 f5 00 00 00 jmp 8010235b <writei+0x186>
if(off + n > MAXFILE*BSIZE)
80102266: 8b 55 10 mov 0x10(%ebp),%edx
80102269: 8b 45 14 mov 0x14(%ebp),%eax
8010226c: 01 d0 add %edx,%eax
8010226e: 3d 00 18 01 00 cmp $0x11800,%eax
80102273: 76 0a jbe 8010227f <writei+0xaa>
return -1;
80102275: b8 ff ff ff ff mov $0xffffffff,%eax
8010227a: e9 dc 00 00 00 jmp 8010235b <writei+0x186>
for(tot=0; tot<n; tot+=m, off+=m, src+=m){
8010227f: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80102286: e9 99 00 00 00 jmp 80102324 <writei+0x14f>
bp = bread(ip->dev, bmap(ip, off/BSIZE));
8010228b: 8b 45 10 mov 0x10(%ebp),%eax
8010228e: c1 e8 09 shr $0x9,%eax
80102291: 83 ec 08 sub $0x8,%esp
80102294: 50 push %eax
80102295: ff 75 08 pushl 0x8(%ebp)
80102298: e8 58 fb ff ff call 80101df5 <bmap>
8010229d: 83 c4 10 add $0x10,%esp
801022a0: 89 c2 mov %eax,%edx
801022a2: 8b 45 08 mov 0x8(%ebp),%eax
801022a5: 8b 00 mov (%eax),%eax
801022a7: 83 ec 08 sub $0x8,%esp
801022aa: 52 push %edx
801022ab: 50 push %eax
801022ac: e8 05 df ff ff call 801001b6 <bread>
801022b1: 83 c4 10 add $0x10,%esp
801022b4: 89 45 f0 mov %eax,-0x10(%ebp)
m = min(n - tot, BSIZE - off%BSIZE);
801022b7: 8b 45 10 mov 0x10(%ebp),%eax
801022ba: 25 ff 01 00 00 and $0x1ff,%eax
801022bf: ba 00 02 00 00 mov $0x200,%edx
801022c4: 29 c2 sub %eax,%edx
801022c6: 8b 45 14 mov 0x14(%ebp),%eax
801022c9: 2b 45 f4 sub -0xc(%ebp),%eax
801022cc: 39 c2 cmp %eax,%edx
801022ce: 0f 46 c2 cmovbe %edx,%eax
801022d1: 89 45 ec mov %eax,-0x14(%ebp)
memmove(bp->data + off%BSIZE, src, m);
801022d4: 8b 45 f0 mov -0x10(%ebp),%eax
801022d7: 8d 50 18 lea 0x18(%eax),%edx
801022da: 8b 45 10 mov 0x10(%ebp),%eax
801022dd: 25 ff 01 00 00 and $0x1ff,%eax
801022e2: 01 d0 add %edx,%eax
801022e4: 83 ec 04 sub $0x4,%esp
801022e7: ff 75 ec pushl -0x14(%ebp)
801022ea: ff 75 0c pushl 0xc(%ebp)
801022ed: 50 push %eax
801022ee: e8 01 2e 00 00 call 801050f4 <memmove>
801022f3: 83 c4 10 add $0x10,%esp
log_write(bp);
801022f6: 83 ec 0c sub $0xc,%esp
801022f9: ff 75 f0 pushl -0x10(%ebp)
801022fc: e8 51 12 00 00 call 80103552 <log_write>
80102301: 83 c4 10 add $0x10,%esp
brelse(bp);
80102304: 83 ec 0c sub $0xc,%esp
80102307: ff 75 f0 pushl -0x10(%ebp)
8010230a: e8 1f df ff ff call 8010022e <brelse>
8010230f: 83 c4 10 add $0x10,%esp
if(off > ip->size || off + n < off)
return -1;
if(off + n > MAXFILE*BSIZE)
return -1;
for(tot=0; tot<n; tot+=m, off+=m, src+=m){
80102312: 8b 45 ec mov -0x14(%ebp),%eax
80102315: 01 45 f4 add %eax,-0xc(%ebp)
80102318: 8b 45 ec mov -0x14(%ebp),%eax
8010231b: 01 45 10 add %eax,0x10(%ebp)
8010231e: 8b 45 ec mov -0x14(%ebp),%eax
80102321: 01 45 0c add %eax,0xc(%ebp)
80102324: 8b 45 f4 mov -0xc(%ebp),%eax
80102327: 3b 45 14 cmp 0x14(%ebp),%eax
8010232a: 0f 82 5b ff ff ff jb 8010228b <writei+0xb6>
memmove(bp->data + off%BSIZE, src, m);
log_write(bp);
brelse(bp);
}
if(n > 0 && off > ip->size){
80102330: 83 7d 14 00 cmpl $0x0,0x14(%ebp)
80102334: 74 22 je 80102358 <writei+0x183>
80102336: 8b 45 08 mov 0x8(%ebp),%eax
80102339: 8b 40 18 mov 0x18(%eax),%eax
8010233c: 3b 45 10 cmp 0x10(%ebp),%eax
8010233f: 73 17 jae 80102358 <writei+0x183>
ip->size = off;
80102341: 8b 45 08 mov 0x8(%ebp),%eax
80102344: 8b 55 10 mov 0x10(%ebp),%edx
80102347: 89 50 18 mov %edx,0x18(%eax)
iupdate(ip);
8010234a: 83 ec 0c sub $0xc,%esp
8010234d: ff 75 08 pushl 0x8(%ebp)
80102350: e8 ed f5 ff ff call 80101942 <iupdate>
80102355: 83 c4 10 add $0x10,%esp
}
return n;
80102358: 8b 45 14 mov 0x14(%ebp),%eax
}
8010235b: c9 leave
8010235c: c3 ret
8010235d <namecmp>:
//PAGEBREAK!
// Directories
int
namecmp(const char *s, const char *t)
{
8010235d: 55 push %ebp
8010235e: 89 e5 mov %esp,%ebp
80102360: 83 ec 08 sub $0x8,%esp
return strncmp(s, t, DIRSIZ);
80102363: 83 ec 04 sub $0x4,%esp
80102366: 6a 0e push $0xe
80102368: ff 75 0c pushl 0xc(%ebp)
8010236b: ff 75 08 pushl 0x8(%ebp)
8010236e: e8 17 2e 00 00 call 8010518a <strncmp>
80102373: 83 c4 10 add $0x10,%esp
}
80102376: c9 leave
80102377: c3 ret
80102378 <dirlookup>:
// Look for a directory entry in a directory.
// If found, set *poff to byte offset of entry.
struct inode*
dirlookup(struct inode *dp, char *name, uint *poff)
{
80102378: 55 push %ebp
80102379: 89 e5 mov %esp,%ebp
8010237b: 83 ec 28 sub $0x28,%esp
uint off, inum;
struct dirent de;
if(dp->type != T_DIR)
8010237e: 8b 45 08 mov 0x8(%ebp),%eax
80102381: 0f b7 40 10 movzwl 0x10(%eax),%eax
80102385: 66 83 f8 01 cmp $0x1,%ax
80102389: 74 0d je 80102398 <dirlookup+0x20>
panic("dirlookup not DIR");
8010238b: 83 ec 0c sub $0xc,%esp
8010238e: 68 b9 84 10 80 push $0x801084b9
80102393: e8 ce e1 ff ff call 80100566 <panic>
for(off = 0; off < dp->size; off += sizeof(de)){
80102398: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
8010239f: eb 7b jmp 8010241c <dirlookup+0xa4>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
801023a1: 6a 10 push $0x10
801023a3: ff 75 f4 pushl -0xc(%ebp)
801023a6: 8d 45 e0 lea -0x20(%ebp),%eax
801023a9: 50 push %eax
801023aa: ff 75 08 pushl 0x8(%ebp)
801023ad: e8 cc fc ff ff call 8010207e <readi>
801023b2: 83 c4 10 add $0x10,%esp
801023b5: 83 f8 10 cmp $0x10,%eax
801023b8: 74 0d je 801023c7 <dirlookup+0x4f>
panic("dirlink read");
801023ba: 83 ec 0c sub $0xc,%esp
801023bd: 68 cb 84 10 80 push $0x801084cb
801023c2: e8 9f e1 ff ff call 80100566 <panic>
if(de.inum == 0)
801023c7: 0f b7 45 e0 movzwl -0x20(%ebp),%eax
801023cb: 66 85 c0 test %ax,%ax
801023ce: 74 47 je 80102417 <dirlookup+0x9f>
continue;
if(namecmp(name, de.name) == 0){
801023d0: 83 ec 08 sub $0x8,%esp
801023d3: 8d 45 e0 lea -0x20(%ebp),%eax
801023d6: 83 c0 02 add $0x2,%eax
801023d9: 50 push %eax
801023da: ff 75 0c pushl 0xc(%ebp)
801023dd: e8 7b ff ff ff call 8010235d <namecmp>
801023e2: 83 c4 10 add $0x10,%esp
801023e5: 85 c0 test %eax,%eax
801023e7: 75 2f jne 80102418 <dirlookup+0xa0>
// entry matches path element
if(poff)
801023e9: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
801023ed: 74 08 je 801023f7 <dirlookup+0x7f>
*poff = off;
801023ef: 8b 45 10 mov 0x10(%ebp),%eax
801023f2: 8b 55 f4 mov -0xc(%ebp),%edx
801023f5: 89 10 mov %edx,(%eax)
inum = de.inum;
801023f7: 0f b7 45 e0 movzwl -0x20(%ebp),%eax
801023fb: 0f b7 c0 movzwl %ax,%eax
801023fe: 89 45 f0 mov %eax,-0x10(%ebp)
return iget(dp->dev, inum);
80102401: 8b 45 08 mov 0x8(%ebp),%eax
80102404: 8b 00 mov (%eax),%eax
80102406: 83 ec 08 sub $0x8,%esp
80102409: ff 75 f0 pushl -0x10(%ebp)
8010240c: 50 push %eax
8010240d: e8 eb f5 ff ff call 801019fd <iget>
80102412: 83 c4 10 add $0x10,%esp
80102415: eb 19 jmp 80102430 <dirlookup+0xb8>
for(off = 0; off < dp->size; off += sizeof(de)){
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
panic("dirlink read");
if(de.inum == 0)
continue;
80102417: 90 nop
struct dirent de;
if(dp->type != T_DIR)
panic("dirlookup not DIR");
for(off = 0; off < dp->size; off += sizeof(de)){
80102418: 83 45 f4 10 addl $0x10,-0xc(%ebp)
8010241c: 8b 45 08 mov 0x8(%ebp),%eax
8010241f: 8b 40 18 mov 0x18(%eax),%eax
80102422: 3b 45 f4 cmp -0xc(%ebp),%eax
80102425: 0f 87 76 ff ff ff ja 801023a1 <dirlookup+0x29>
inum = de.inum;
return iget(dp->dev, inum);
}
}
return 0;
8010242b: b8 00 00 00 00 mov $0x0,%eax
}
80102430: c9 leave
80102431: c3 ret
80102432 <dirlink>:
// Write a new directory entry (name, inum) into the directory dp.
int
dirlink(struct inode *dp, char *name, uint inum)
{
80102432: 55 push %ebp
80102433: 89 e5 mov %esp,%ebp
80102435: 83 ec 28 sub $0x28,%esp
int off;
struct dirent de;
struct inode *ip;
// Check that name is not present.
if((ip = dirlookup(dp, name, 0)) != 0){
80102438: 83 ec 04 sub $0x4,%esp
8010243b: 6a 00 push $0x0
8010243d: ff 75 0c pushl 0xc(%ebp)
80102440: ff 75 08 pushl 0x8(%ebp)
80102443: e8 30 ff ff ff call 80102378 <dirlookup>
80102448: 83 c4 10 add $0x10,%esp
8010244b: 89 45 f0 mov %eax,-0x10(%ebp)
8010244e: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80102452: 74 18 je 8010246c <dirlink+0x3a>
iput(ip);
80102454: 83 ec 0c sub $0xc,%esp
80102457: ff 75 f0 pushl -0x10(%ebp)
8010245a: e8 81 f8 ff ff call 80101ce0 <iput>
8010245f: 83 c4 10 add $0x10,%esp
return -1;
80102462: b8 ff ff ff ff mov $0xffffffff,%eax
80102467: e9 9c 00 00 00 jmp 80102508 <dirlink+0xd6>
}
// Look for an empty dirent.
for(off = 0; off < dp->size; off += sizeof(de)){
8010246c: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80102473: eb 39 jmp 801024ae <dirlink+0x7c>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80102475: 8b 45 f4 mov -0xc(%ebp),%eax
80102478: 6a 10 push $0x10
8010247a: 50 push %eax
8010247b: 8d 45 e0 lea -0x20(%ebp),%eax
8010247e: 50 push %eax
8010247f: ff 75 08 pushl 0x8(%ebp)
80102482: e8 f7 fb ff ff call 8010207e <readi>
80102487: 83 c4 10 add $0x10,%esp
8010248a: 83 f8 10 cmp $0x10,%eax
8010248d: 74 0d je 8010249c <dirlink+0x6a>
panic("dirlink read");
8010248f: 83 ec 0c sub $0xc,%esp
80102492: 68 cb 84 10 80 push $0x801084cb
80102497: e8 ca e0 ff ff call 80100566 <panic>
if(de.inum == 0)
8010249c: 0f b7 45 e0 movzwl -0x20(%ebp),%eax
801024a0: 66 85 c0 test %ax,%ax
801024a3: 74 18 je 801024bd <dirlink+0x8b>
iput(ip);
return -1;
}
// Look for an empty dirent.
for(off = 0; off < dp->size; off += sizeof(de)){
801024a5: 8b 45 f4 mov -0xc(%ebp),%eax
801024a8: 83 c0 10 add $0x10,%eax
801024ab: 89 45 f4 mov %eax,-0xc(%ebp)
801024ae: 8b 45 08 mov 0x8(%ebp),%eax
801024b1: 8b 50 18 mov 0x18(%eax),%edx
801024b4: 8b 45 f4 mov -0xc(%ebp),%eax
801024b7: 39 c2 cmp %eax,%edx
801024b9: 77 ba ja 80102475 <dirlink+0x43>
801024bb: eb 01 jmp 801024be <dirlink+0x8c>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
panic("dirlink read");
if(de.inum == 0)
break;
801024bd: 90 nop
}
strncpy(de.name, name, DIRSIZ);
801024be: 83 ec 04 sub $0x4,%esp
801024c1: 6a 0e push $0xe
801024c3: ff 75 0c pushl 0xc(%ebp)
801024c6: 8d 45 e0 lea -0x20(%ebp),%eax
801024c9: 83 c0 02 add $0x2,%eax
801024cc: 50 push %eax
801024cd: e8 0e 2d 00 00 call 801051e0 <strncpy>
801024d2: 83 c4 10 add $0x10,%esp
de.inum = inum;
801024d5: 8b 45 10 mov 0x10(%ebp),%eax
801024d8: 66 89 45 e0 mov %ax,-0x20(%ebp)
if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
801024dc: 8b 45 f4 mov -0xc(%ebp),%eax
801024df: 6a 10 push $0x10
801024e1: 50 push %eax
801024e2: 8d 45 e0 lea -0x20(%ebp),%eax
801024e5: 50 push %eax
801024e6: ff 75 08 pushl 0x8(%ebp)
801024e9: e8 e7 fc ff ff call 801021d5 <writei>
801024ee: 83 c4 10 add $0x10,%esp
801024f1: 83 f8 10 cmp $0x10,%eax
801024f4: 74 0d je 80102503 <dirlink+0xd1>
panic("dirlink");
801024f6: 83 ec 0c sub $0xc,%esp
801024f9: 68 d8 84 10 80 push $0x801084d8
801024fe: e8 63 e0 ff ff call 80100566 <panic>
return 0;
80102503: b8 00 00 00 00 mov $0x0,%eax
}
80102508: c9 leave
80102509: c3 ret
8010250a <skipelem>:
// skipelem("a", name) = "", setting name = "a"
// skipelem("", name) = skipelem("////", name) = 0
//
static char*
skipelem(char *path, char *name)
{
8010250a: 55 push %ebp
8010250b: 89 e5 mov %esp,%ebp
8010250d: 83 ec 18 sub $0x18,%esp
char *s;
int len;
while(*path == '/')
80102510: eb 04 jmp 80102516 <skipelem+0xc>
path++;
80102512: 83 45 08 01 addl $0x1,0x8(%ebp)
skipelem(char *path, char *name)
{
char *s;
int len;
while(*path == '/')
80102516: 8b 45 08 mov 0x8(%ebp),%eax
80102519: 0f b6 00 movzbl (%eax),%eax
8010251c: 3c 2f cmp $0x2f,%al
8010251e: 74 f2 je 80102512 <skipelem+0x8>
path++;
if(*path == 0)
80102520: 8b 45 08 mov 0x8(%ebp),%eax
80102523: 0f b6 00 movzbl (%eax),%eax
80102526: 84 c0 test %al,%al
80102528: 75 07 jne 80102531 <skipelem+0x27>
return 0;
8010252a: b8 00 00 00 00 mov $0x0,%eax
8010252f: eb 7b jmp 801025ac <skipelem+0xa2>
s = path;
80102531: 8b 45 08 mov 0x8(%ebp),%eax
80102534: 89 45 f4 mov %eax,-0xc(%ebp)
while(*path != '/' && *path != 0)
80102537: eb 04 jmp 8010253d <skipelem+0x33>
path++;
80102539: 83 45 08 01 addl $0x1,0x8(%ebp)
while(*path == '/')
path++;
if(*path == 0)
return 0;
s = path;
while(*path != '/' && *path != 0)
8010253d: 8b 45 08 mov 0x8(%ebp),%eax
80102540: 0f b6 00 movzbl (%eax),%eax
80102543: 3c 2f cmp $0x2f,%al
80102545: 74 0a je 80102551 <skipelem+0x47>
80102547: 8b 45 08 mov 0x8(%ebp),%eax
8010254a: 0f b6 00 movzbl (%eax),%eax
8010254d: 84 c0 test %al,%al
8010254f: 75 e8 jne 80102539 <skipelem+0x2f>
path++;
len = path - s;
80102551: 8b 55 08 mov 0x8(%ebp),%edx
80102554: 8b 45 f4 mov -0xc(%ebp),%eax
80102557: 29 c2 sub %eax,%edx
80102559: 89 d0 mov %edx,%eax
8010255b: 89 45 f0 mov %eax,-0x10(%ebp)
if(len >= DIRSIZ)
8010255e: 83 7d f0 0d cmpl $0xd,-0x10(%ebp)
80102562: 7e 15 jle 80102579 <skipelem+0x6f>
memmove(name, s, DIRSIZ);
80102564: 83 ec 04 sub $0x4,%esp
80102567: 6a 0e push $0xe
80102569: ff 75 f4 pushl -0xc(%ebp)
8010256c: ff 75 0c pushl 0xc(%ebp)
8010256f: e8 80 2b 00 00 call 801050f4 <memmove>
80102574: 83 c4 10 add $0x10,%esp
80102577: eb 26 jmp 8010259f <skipelem+0x95>
else {
memmove(name, s, len);
80102579: 8b 45 f0 mov -0x10(%ebp),%eax
8010257c: 83 ec 04 sub $0x4,%esp
8010257f: 50 push %eax
80102580: ff 75 f4 pushl -0xc(%ebp)
80102583: ff 75 0c pushl 0xc(%ebp)
80102586: e8 69 2b 00 00 call 801050f4 <memmove>
8010258b: 83 c4 10 add $0x10,%esp
name[len] = 0;
8010258e: 8b 55 f0 mov -0x10(%ebp),%edx
80102591: 8b 45 0c mov 0xc(%ebp),%eax
80102594: 01 d0 add %edx,%eax
80102596: c6 00 00 movb $0x0,(%eax)
}
while(*path == '/')
80102599: eb 04 jmp 8010259f <skipelem+0x95>
path++;
8010259b: 83 45 08 01 addl $0x1,0x8(%ebp)
memmove(name, s, DIRSIZ);
else {
memmove(name, s, len);
name[len] = 0;
}
while(*path == '/')
8010259f: 8b 45 08 mov 0x8(%ebp),%eax
801025a2: 0f b6 00 movzbl (%eax),%eax
801025a5: 3c 2f cmp $0x2f,%al
801025a7: 74 f2 je 8010259b <skipelem+0x91>
path++;
return path;
801025a9: 8b 45 08 mov 0x8(%ebp),%eax
}
801025ac: c9 leave
801025ad: c3 ret
801025ae <namex>:
// Look up and return the inode for a path name.
// If parent != 0, return the inode for the parent and copy the final
// path element into name, which must have room for DIRSIZ bytes.
static struct inode*
namex(char *path, int nameiparent, char *name)
{
801025ae: 55 push %ebp
801025af: 89 e5 mov %esp,%ebp
801025b1: 83 ec 18 sub $0x18,%esp
struct inode *ip, *next;
if(*path == '/')
801025b4: 8b 45 08 mov 0x8(%ebp),%eax
801025b7: 0f b6 00 movzbl (%eax),%eax
801025ba: 3c 2f cmp $0x2f,%al
801025bc: 75 17 jne 801025d5 <namex+0x27>
ip = iget(ROOTDEV, ROOTINO);
801025be: 83 ec 08 sub $0x8,%esp
801025c1: 6a 01 push $0x1
801025c3: 6a 01 push $0x1
801025c5: e8 33 f4 ff ff call 801019fd <iget>
801025ca: 83 c4 10 add $0x10,%esp
801025cd: 89 45 f4 mov %eax,-0xc(%ebp)
801025d0: e9 bb 00 00 00 jmp 80102690 <namex+0xe2>
else
ip = idup(proc->cwd);
801025d5: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801025db: 8b 40 68 mov 0x68(%eax),%eax
801025de: 83 ec 0c sub $0xc,%esp
801025e1: 50 push %eax
801025e2: e8 f5 f4 ff ff call 80101adc <idup>
801025e7: 83 c4 10 add $0x10,%esp
801025ea: 89 45 f4 mov %eax,-0xc(%ebp)
while((path = skipelem(path, name)) != 0){
801025ed: e9 9e 00 00 00 jmp 80102690 <namex+0xe2>
ilock(ip);
801025f2: 83 ec 0c sub $0xc,%esp
801025f5: ff 75 f4 pushl -0xc(%ebp)
801025f8: e8 19 f5 ff ff call 80101b16 <ilock>
801025fd: 83 c4 10 add $0x10,%esp
if(ip->type != T_DIR){
80102600: 8b 45 f4 mov -0xc(%ebp),%eax
80102603: 0f b7 40 10 movzwl 0x10(%eax),%eax
80102607: 66 83 f8 01 cmp $0x1,%ax
8010260b: 74 18 je 80102625 <namex+0x77>
iunlockput(ip);
8010260d: 83 ec 0c sub $0xc,%esp
80102610: ff 75 f4 pushl -0xc(%ebp)
80102613: e8 b8 f7 ff ff call 80101dd0 <iunlockput>
80102618: 83 c4 10 add $0x10,%esp
return 0;
8010261b: b8 00 00 00 00 mov $0x0,%eax
80102620: e9 a7 00 00 00 jmp 801026cc <namex+0x11e>
}
if(nameiparent && *path == '\0'){
80102625: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
80102629: 74 20 je 8010264b <namex+0x9d>
8010262b: 8b 45 08 mov 0x8(%ebp),%eax
8010262e: 0f b6 00 movzbl (%eax),%eax
80102631: 84 c0 test %al,%al
80102633: 75 16 jne 8010264b <namex+0x9d>
// Stop one level early.
iunlock(ip);
80102635: 83 ec 0c sub $0xc,%esp
80102638: ff 75 f4 pushl -0xc(%ebp)
8010263b: e8 2e f6 ff ff call 80101c6e <iunlock>
80102640: 83 c4 10 add $0x10,%esp
return ip;
80102643: 8b 45 f4 mov -0xc(%ebp),%eax
80102646: e9 81 00 00 00 jmp 801026cc <namex+0x11e>
}
if((next = dirlookup(ip, name, 0)) == 0){
8010264b: 83 ec 04 sub $0x4,%esp
8010264e: 6a 00 push $0x0
80102650: ff 75 10 pushl 0x10(%ebp)
80102653: ff 75 f4 pushl -0xc(%ebp)
80102656: e8 1d fd ff ff call 80102378 <dirlookup>
8010265b: 83 c4 10 add $0x10,%esp
8010265e: 89 45 f0 mov %eax,-0x10(%ebp)
80102661: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80102665: 75 15 jne 8010267c <namex+0xce>
iunlockput(ip);
80102667: 83 ec 0c sub $0xc,%esp
8010266a: ff 75 f4 pushl -0xc(%ebp)
8010266d: e8 5e f7 ff ff call 80101dd0 <iunlockput>
80102672: 83 c4 10 add $0x10,%esp
return 0;
80102675: b8 00 00 00 00 mov $0x0,%eax
8010267a: eb 50 jmp 801026cc <namex+0x11e>
}
iunlockput(ip);
8010267c: 83 ec 0c sub $0xc,%esp
8010267f: ff 75 f4 pushl -0xc(%ebp)
80102682: e8 49 f7 ff ff call 80101dd0 <iunlockput>
80102687: 83 c4 10 add $0x10,%esp
ip = next;
8010268a: 8b 45 f0 mov -0x10(%ebp),%eax
8010268d: 89 45 f4 mov %eax,-0xc(%ebp)
if(*path == '/')
ip = iget(ROOTDEV, ROOTINO);
else
ip = idup(proc->cwd);
while((path = skipelem(path, name)) != 0){
80102690: 83 ec 08 sub $0x8,%esp
80102693: ff 75 10 pushl 0x10(%ebp)
80102696: ff 75 08 pushl 0x8(%ebp)
80102699: e8 6c fe ff ff call 8010250a <skipelem>
8010269e: 83 c4 10 add $0x10,%esp
801026a1: 89 45 08 mov %eax,0x8(%ebp)
801026a4: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
801026a8: 0f 85 44 ff ff ff jne 801025f2 <namex+0x44>
return 0;
}
iunlockput(ip);
ip = next;
}
if(nameiparent){
801026ae: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
801026b2: 74 15 je 801026c9 <namex+0x11b>
iput(ip);
801026b4: 83 ec 0c sub $0xc,%esp
801026b7: ff 75 f4 pushl -0xc(%ebp)
801026ba: e8 21 f6 ff ff call 80101ce0 <iput>
801026bf: 83 c4 10 add $0x10,%esp
return 0;
801026c2: b8 00 00 00 00 mov $0x0,%eax
801026c7: eb 03 jmp 801026cc <namex+0x11e>
}
return ip;
801026c9: 8b 45 f4 mov -0xc(%ebp),%eax
}
801026cc: c9 leave
801026cd: c3 ret
801026ce <namei>:
struct inode*
namei(char *path)
{
801026ce: 55 push %ebp
801026cf: 89 e5 mov %esp,%ebp
801026d1: 83 ec 18 sub $0x18,%esp
char name[DIRSIZ];
return namex(path, 0, name);
801026d4: 83 ec 04 sub $0x4,%esp
801026d7: 8d 45 ea lea -0x16(%ebp),%eax
801026da: 50 push %eax
801026db: 6a 00 push $0x0
801026dd: ff 75 08 pushl 0x8(%ebp)
801026e0: e8 c9 fe ff ff call 801025ae <namex>
801026e5: 83 c4 10 add $0x10,%esp
}
801026e8: c9 leave
801026e9: c3 ret
801026ea <nameiparent>:
struct inode*
nameiparent(char *path, char *name)
{
801026ea: 55 push %ebp
801026eb: 89 e5 mov %esp,%ebp
801026ed: 83 ec 08 sub $0x8,%esp
return namex(path, 1, name);
801026f0: 83 ec 04 sub $0x4,%esp
801026f3: ff 75 0c pushl 0xc(%ebp)
801026f6: 6a 01 push $0x1
801026f8: ff 75 08 pushl 0x8(%ebp)
801026fb: e8 ae fe ff ff call 801025ae <namex>
80102700: 83 c4 10 add $0x10,%esp
}
80102703: c9 leave
80102704: c3 ret
80102705 <inb>:
// Routines to let C code use special x86 instructions.
static inline uchar
inb(ushort port)
{
80102705: 55 push %ebp
80102706: 89 e5 mov %esp,%ebp
80102708: 83 ec 14 sub $0x14,%esp
8010270b: 8b 45 08 mov 0x8(%ebp),%eax
8010270e: 66 89 45 ec mov %ax,-0x14(%ebp)
uchar data;
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80102712: 0f b7 45 ec movzwl -0x14(%ebp),%eax
80102716: 89 c2 mov %eax,%edx
80102718: ec in (%dx),%al
80102719: 88 45 ff mov %al,-0x1(%ebp)
return data;
8010271c: 0f b6 45 ff movzbl -0x1(%ebp),%eax
}
80102720: c9 leave
80102721: c3 ret
80102722 <insl>:
static inline void
insl(int port, void *addr, int cnt)
{
80102722: 55 push %ebp
80102723: 89 e5 mov %esp,%ebp
80102725: 57 push %edi
80102726: 53 push %ebx
asm volatile("cld; rep insl" :
80102727: 8b 55 08 mov 0x8(%ebp),%edx
8010272a: 8b 4d 0c mov 0xc(%ebp),%ecx
8010272d: 8b 45 10 mov 0x10(%ebp),%eax
80102730: 89 cb mov %ecx,%ebx
80102732: 89 df mov %ebx,%edi
80102734: 89 c1 mov %eax,%ecx
80102736: fc cld
80102737: f3 6d rep insl (%dx),%es:(%edi)
80102739: 89 c8 mov %ecx,%eax
8010273b: 89 fb mov %edi,%ebx
8010273d: 89 5d 0c mov %ebx,0xc(%ebp)
80102740: 89 45 10 mov %eax,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"d" (port), "0" (addr), "1" (cnt) :
"memory", "cc");
}
80102743: 90 nop
80102744: 5b pop %ebx
80102745: 5f pop %edi
80102746: 5d pop %ebp
80102747: c3 ret
80102748 <outb>:
static inline void
outb(ushort port, uchar data)
{
80102748: 55 push %ebp
80102749: 89 e5 mov %esp,%ebp
8010274b: 83 ec 08 sub $0x8,%esp
8010274e: 8b 55 08 mov 0x8(%ebp),%edx
80102751: 8b 45 0c mov 0xc(%ebp),%eax
80102754: 66 89 55 fc mov %dx,-0x4(%ebp)
80102758: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
8010275b: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
8010275f: 0f b7 55 fc movzwl -0x4(%ebp),%edx
80102763: ee out %al,(%dx)
}
80102764: 90 nop
80102765: c9 leave
80102766: c3 ret
80102767 <outsl>:
asm volatile("out %0,%1" : : "a" (data), "d" (port));
}
static inline void
outsl(int port, const void *addr, int cnt)
{
80102767: 55 push %ebp
80102768: 89 e5 mov %esp,%ebp
8010276a: 56 push %esi
8010276b: 53 push %ebx
asm volatile("cld; rep outsl" :
8010276c: 8b 55 08 mov 0x8(%ebp),%edx
8010276f: 8b 4d 0c mov 0xc(%ebp),%ecx
80102772: 8b 45 10 mov 0x10(%ebp),%eax
80102775: 89 cb mov %ecx,%ebx
80102777: 89 de mov %ebx,%esi
80102779: 89 c1 mov %eax,%ecx
8010277b: fc cld
8010277c: f3 6f rep outsl %ds:(%esi),(%dx)
8010277e: 89 c8 mov %ecx,%eax
80102780: 89 f3 mov %esi,%ebx
80102782: 89 5d 0c mov %ebx,0xc(%ebp)
80102785: 89 45 10 mov %eax,0x10(%ebp)
"=S" (addr), "=c" (cnt) :
"d" (port), "0" (addr), "1" (cnt) :
"cc");
}
80102788: 90 nop
80102789: 5b pop %ebx
8010278a: 5e pop %esi
8010278b: 5d pop %ebp
8010278c: c3 ret
8010278d <idewait>:
static void idestart(struct buf*);
// Wait for IDE disk to become ready.
static int
idewait(int checkerr)
{
8010278d: 55 push %ebp
8010278e: 89 e5 mov %esp,%ebp
80102790: 83 ec 10 sub $0x10,%esp
int r;
while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY)
80102793: 90 nop
80102794: 68 f7 01 00 00 push $0x1f7
80102799: e8 67 ff ff ff call 80102705 <inb>
8010279e: 83 c4 04 add $0x4,%esp
801027a1: 0f b6 c0 movzbl %al,%eax
801027a4: 89 45 fc mov %eax,-0x4(%ebp)
801027a7: 8b 45 fc mov -0x4(%ebp),%eax
801027aa: 25 c0 00 00 00 and $0xc0,%eax
801027af: 83 f8 40 cmp $0x40,%eax
801027b2: 75 e0 jne 80102794 <idewait+0x7>
;
if(checkerr && (r & (IDE_DF|IDE_ERR)) != 0)
801027b4: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
801027b8: 74 11 je 801027cb <idewait+0x3e>
801027ba: 8b 45 fc mov -0x4(%ebp),%eax
801027bd: 83 e0 21 and $0x21,%eax
801027c0: 85 c0 test %eax,%eax
801027c2: 74 07 je 801027cb <idewait+0x3e>
return -1;
801027c4: b8 ff ff ff ff mov $0xffffffff,%eax
801027c9: eb 05 jmp 801027d0 <idewait+0x43>
return 0;
801027cb: b8 00 00 00 00 mov $0x0,%eax
}
801027d0: c9 leave
801027d1: c3 ret
801027d2 <ideinit>:
void
ideinit(void)
{
801027d2: 55 push %ebp
801027d3: 89 e5 mov %esp,%ebp
801027d5: 83 ec 18 sub $0x18,%esp
int i;
initlock(&idelock, "ide");
801027d8: 83 ec 08 sub $0x8,%esp
801027db: 68 e0 84 10 80 push $0x801084e0
801027e0: 68 20 b6 10 80 push $0x8010b620
801027e5: e8 c6 25 00 00 call 80104db0 <initlock>
801027ea: 83 c4 10 add $0x10,%esp
picenable(IRQ_IDE);
801027ed: 83 ec 0c sub $0xc,%esp
801027f0: 6a 0e push $0xe
801027f2: e8 46 15 00 00 call 80103d3d <picenable>
801027f7: 83 c4 10 add $0x10,%esp
ioapicenable(IRQ_IDE, ncpu - 1);
801027fa: a1 20 ff 10 80 mov 0x8010ff20,%eax
801027ff: 83 e8 01 sub $0x1,%eax
80102802: 83 ec 08 sub $0x8,%esp
80102805: 50 push %eax
80102806: 6a 0e push $0xe
80102808: e8 37 04 00 00 call 80102c44 <ioapicenable>
8010280d: 83 c4 10 add $0x10,%esp
idewait(0);
80102810: 83 ec 0c sub $0xc,%esp
80102813: 6a 00 push $0x0
80102815: e8 73 ff ff ff call 8010278d <idewait>
8010281a: 83 c4 10 add $0x10,%esp
// Check if disk 1 is present
outb(0x1f6, 0xe0 | (1<<4));
8010281d: 83 ec 08 sub $0x8,%esp
80102820: 68 f0 00 00 00 push $0xf0
80102825: 68 f6 01 00 00 push $0x1f6
8010282a: e8 19 ff ff ff call 80102748 <outb>
8010282f: 83 c4 10 add $0x10,%esp
for(i=0; i<1000; i++){
80102832: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80102839: eb 24 jmp 8010285f <ideinit+0x8d>
if(inb(0x1f7) != 0){
8010283b: 83 ec 0c sub $0xc,%esp
8010283e: 68 f7 01 00 00 push $0x1f7
80102843: e8 bd fe ff ff call 80102705 <inb>
80102848: 83 c4 10 add $0x10,%esp
8010284b: 84 c0 test %al,%al
8010284d: 74 0c je 8010285b <ideinit+0x89>
havedisk1 = 1;
8010284f: c7 05 58 b6 10 80 01 movl $0x1,0x8010b658
80102856: 00 00 00
break;
80102859: eb 0d jmp 80102868 <ideinit+0x96>
ioapicenable(IRQ_IDE, ncpu - 1);
idewait(0);
// Check if disk 1 is present
outb(0x1f6, 0xe0 | (1<<4));
for(i=0; i<1000; i++){
8010285b: 83 45 f4 01 addl $0x1,-0xc(%ebp)
8010285f: 81 7d f4 e7 03 00 00 cmpl $0x3e7,-0xc(%ebp)
80102866: 7e d3 jle 8010283b <ideinit+0x69>
break;
}
}
// Switch back to disk 0.
outb(0x1f6, 0xe0 | (0<<4));
80102868: 83 ec 08 sub $0x8,%esp
8010286b: 68 e0 00 00 00 push $0xe0
80102870: 68 f6 01 00 00 push $0x1f6
80102875: e8 ce fe ff ff call 80102748 <outb>
8010287a: 83 c4 10 add $0x10,%esp
}
8010287d: 90 nop
8010287e: c9 leave
8010287f: c3 ret
80102880 <idestart>:
// Start the request for b. Caller must hold idelock.
static void
idestart(struct buf *b)
{
80102880: 55 push %ebp
80102881: 89 e5 mov %esp,%ebp
80102883: 83 ec 08 sub $0x8,%esp
if(b == 0)
80102886: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
8010288a: 75 0d jne 80102899 <idestart+0x19>
panic("idestart");
8010288c: 83 ec 0c sub $0xc,%esp
8010288f: 68 e4 84 10 80 push $0x801084e4
80102894: e8 cd dc ff ff call 80100566 <panic>
idewait(0);
80102899: 83 ec 0c sub $0xc,%esp
8010289c: 6a 00 push $0x0
8010289e: e8 ea fe ff ff call 8010278d <idewait>
801028a3: 83 c4 10 add $0x10,%esp
outb(0x3f6, 0); // generate interrupt
801028a6: 83 ec 08 sub $0x8,%esp
801028a9: 6a 00 push $0x0
801028ab: 68 f6 03 00 00 push $0x3f6
801028b0: e8 93 fe ff ff call 80102748 <outb>
801028b5: 83 c4 10 add $0x10,%esp
outb(0x1f2, 1); // number of sectors
801028b8: 83 ec 08 sub $0x8,%esp
801028bb: 6a 01 push $0x1
801028bd: 68 f2 01 00 00 push $0x1f2
801028c2: e8 81 fe ff ff call 80102748 <outb>
801028c7: 83 c4 10 add $0x10,%esp
outb(0x1f3, b->sector & 0xff);
801028ca: 8b 45 08 mov 0x8(%ebp),%eax
801028cd: 8b 40 08 mov 0x8(%eax),%eax
801028d0: 0f b6 c0 movzbl %al,%eax
801028d3: 83 ec 08 sub $0x8,%esp
801028d6: 50 push %eax
801028d7: 68 f3 01 00 00 push $0x1f3
801028dc: e8 67 fe ff ff call 80102748 <outb>
801028e1: 83 c4 10 add $0x10,%esp
outb(0x1f4, (b->sector >> 8) & 0xff);
801028e4: 8b 45 08 mov 0x8(%ebp),%eax
801028e7: 8b 40 08 mov 0x8(%eax),%eax
801028ea: c1 e8 08 shr $0x8,%eax
801028ed: 0f b6 c0 movzbl %al,%eax
801028f0: 83 ec 08 sub $0x8,%esp
801028f3: 50 push %eax
801028f4: 68 f4 01 00 00 push $0x1f4
801028f9: e8 4a fe ff ff call 80102748 <outb>
801028fe: 83 c4 10 add $0x10,%esp
outb(0x1f5, (b->sector >> 16) & 0xff);
80102901: 8b 45 08 mov 0x8(%ebp),%eax
80102904: 8b 40 08 mov 0x8(%eax),%eax
80102907: c1 e8 10 shr $0x10,%eax
8010290a: 0f b6 c0 movzbl %al,%eax
8010290d: 83 ec 08 sub $0x8,%esp
80102910: 50 push %eax
80102911: 68 f5 01 00 00 push $0x1f5
80102916: e8 2d fe ff ff call 80102748 <outb>
8010291b: 83 c4 10 add $0x10,%esp
outb(0x1f6, 0xe0 | ((b->dev&1)<<4) | ((b->sector>>24)&0x0f));
8010291e: 8b 45 08 mov 0x8(%ebp),%eax
80102921: 8b 40 04 mov 0x4(%eax),%eax
80102924: 83 e0 01 and $0x1,%eax
80102927: c1 e0 04 shl $0x4,%eax
8010292a: 89 c2 mov %eax,%edx
8010292c: 8b 45 08 mov 0x8(%ebp),%eax
8010292f: 8b 40 08 mov 0x8(%eax),%eax
80102932: c1 e8 18 shr $0x18,%eax
80102935: 83 e0 0f and $0xf,%eax
80102938: 09 d0 or %edx,%eax
8010293a: 83 c8 e0 or $0xffffffe0,%eax
8010293d: 0f b6 c0 movzbl %al,%eax
80102940: 83 ec 08 sub $0x8,%esp
80102943: 50 push %eax
80102944: 68 f6 01 00 00 push $0x1f6
80102949: e8 fa fd ff ff call 80102748 <outb>
8010294e: 83 c4 10 add $0x10,%esp
if(b->flags & B_DIRTY){
80102951: 8b 45 08 mov 0x8(%ebp),%eax
80102954: 8b 00 mov (%eax),%eax
80102956: 83 e0 04 and $0x4,%eax
80102959: 85 c0 test %eax,%eax
8010295b: 74 30 je 8010298d <idestart+0x10d>
outb(0x1f7, IDE_CMD_WRITE);
8010295d: 83 ec 08 sub $0x8,%esp
80102960: 6a 30 push $0x30
80102962: 68 f7 01 00 00 push $0x1f7
80102967: e8 dc fd ff ff call 80102748 <outb>
8010296c: 83 c4 10 add $0x10,%esp
outsl(0x1f0, b->data, 512/4);
8010296f: 8b 45 08 mov 0x8(%ebp),%eax
80102972: 83 c0 18 add $0x18,%eax
80102975: 83 ec 04 sub $0x4,%esp
80102978: 68 80 00 00 00 push $0x80
8010297d: 50 push %eax
8010297e: 68 f0 01 00 00 push $0x1f0
80102983: e8 df fd ff ff call 80102767 <outsl>
80102988: 83 c4 10 add $0x10,%esp
} else {
outb(0x1f7, IDE_CMD_READ);
}
}
8010298b: eb 12 jmp 8010299f <idestart+0x11f>
outb(0x1f6, 0xe0 | ((b->dev&1)<<4) | ((b->sector>>24)&0x0f));
if(b->flags & B_DIRTY){
outb(0x1f7, IDE_CMD_WRITE);
outsl(0x1f0, b->data, 512/4);
} else {
outb(0x1f7, IDE_CMD_READ);
8010298d: 83 ec 08 sub $0x8,%esp
80102990: 6a 20 push $0x20
80102992: 68 f7 01 00 00 push $0x1f7
80102997: e8 ac fd ff ff call 80102748 <outb>
8010299c: 83 c4 10 add $0x10,%esp
}
}
8010299f: 90 nop
801029a0: c9 leave
801029a1: c3 ret
801029a2 <ideintr>:
// Interrupt handler.
void
ideintr(void)
{
801029a2: 55 push %ebp
801029a3: 89 e5 mov %esp,%ebp
801029a5: 83 ec 18 sub $0x18,%esp
struct buf *b;
// First queued buffer is the active request.
acquire(&idelock);
801029a8: 83 ec 0c sub $0xc,%esp
801029ab: 68 20 b6 10 80 push $0x8010b620
801029b0: e8 1d 24 00 00 call 80104dd2 <acquire>
801029b5: 83 c4 10 add $0x10,%esp
if((b = idequeue) == 0){
801029b8: a1 54 b6 10 80 mov 0x8010b654,%eax
801029bd: 89 45 f4 mov %eax,-0xc(%ebp)
801029c0: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801029c4: 75 15 jne 801029db <ideintr+0x39>
release(&idelock);
801029c6: 83 ec 0c sub $0xc,%esp
801029c9: 68 20 b6 10 80 push $0x8010b620
801029ce: e8 66 24 00 00 call 80104e39 <release>
801029d3: 83 c4 10 add $0x10,%esp
// cprintf("spurious IDE interrupt\n");
return;
801029d6: e9 9a 00 00 00 jmp 80102a75 <ideintr+0xd3>
}
idequeue = b->qnext;
801029db: 8b 45 f4 mov -0xc(%ebp),%eax
801029de: 8b 40 14 mov 0x14(%eax),%eax
801029e1: a3 54 b6 10 80 mov %eax,0x8010b654
// Read data if needed.
if(!(b->flags & B_DIRTY) && idewait(1) >= 0)
801029e6: 8b 45 f4 mov -0xc(%ebp),%eax
801029e9: 8b 00 mov (%eax),%eax
801029eb: 83 e0 04 and $0x4,%eax
801029ee: 85 c0 test %eax,%eax
801029f0: 75 2d jne 80102a1f <ideintr+0x7d>
801029f2: 83 ec 0c sub $0xc,%esp
801029f5: 6a 01 push $0x1
801029f7: e8 91 fd ff ff call 8010278d <idewait>
801029fc: 83 c4 10 add $0x10,%esp
801029ff: 85 c0 test %eax,%eax
80102a01: 78 1c js 80102a1f <ideintr+0x7d>
insl(0x1f0, b->data, 512/4);
80102a03: 8b 45 f4 mov -0xc(%ebp),%eax
80102a06: 83 c0 18 add $0x18,%eax
80102a09: 83 ec 04 sub $0x4,%esp
80102a0c: 68 80 00 00 00 push $0x80
80102a11: 50 push %eax
80102a12: 68 f0 01 00 00 push $0x1f0
80102a17: e8 06 fd ff ff call 80102722 <insl>
80102a1c: 83 c4 10 add $0x10,%esp
// Wake process waiting for this buf.
b->flags |= B_VALID;
80102a1f: 8b 45 f4 mov -0xc(%ebp),%eax
80102a22: 8b 00 mov (%eax),%eax
80102a24: 83 c8 02 or $0x2,%eax
80102a27: 89 c2 mov %eax,%edx
80102a29: 8b 45 f4 mov -0xc(%ebp),%eax
80102a2c: 89 10 mov %edx,(%eax)
b->flags &= ~B_DIRTY;
80102a2e: 8b 45 f4 mov -0xc(%ebp),%eax
80102a31: 8b 00 mov (%eax),%eax
80102a33: 83 e0 fb and $0xfffffffb,%eax
80102a36: 89 c2 mov %eax,%edx
80102a38: 8b 45 f4 mov -0xc(%ebp),%eax
80102a3b: 89 10 mov %edx,(%eax)
wakeup(b);
80102a3d: 83 ec 0c sub $0xc,%esp
80102a40: ff 75 f4 pushl -0xc(%ebp)
80102a43: e8 7c 21 00 00 call 80104bc4 <wakeup>
80102a48: 83 c4 10 add $0x10,%esp
// Start disk on next buf in queue.
if(idequeue != 0)
80102a4b: a1 54 b6 10 80 mov 0x8010b654,%eax
80102a50: 85 c0 test %eax,%eax
80102a52: 74 11 je 80102a65 <ideintr+0xc3>
idestart(idequeue);
80102a54: a1 54 b6 10 80 mov 0x8010b654,%eax
80102a59: 83 ec 0c sub $0xc,%esp
80102a5c: 50 push %eax
80102a5d: e8 1e fe ff ff call 80102880 <idestart>
80102a62: 83 c4 10 add $0x10,%esp
release(&idelock);
80102a65: 83 ec 0c sub $0xc,%esp
80102a68: 68 20 b6 10 80 push $0x8010b620
80102a6d: e8 c7 23 00 00 call 80104e39 <release>
80102a72: 83 c4 10 add $0x10,%esp
}
80102a75: c9 leave
80102a76: c3 ret
80102a77 <iderw>:
// Sync buf with disk.
// If B_DIRTY is set, write buf to disk, clear B_DIRTY, set B_VALID.
// Else if B_VALID is not set, read buf from disk, set B_VALID.
void
iderw(struct buf *b)
{
80102a77: 55 push %ebp
80102a78: 89 e5 mov %esp,%ebp
80102a7a: 83 ec 18 sub $0x18,%esp
struct buf **pp;
if(!(b->flags & B_BUSY))
80102a7d: 8b 45 08 mov 0x8(%ebp),%eax
80102a80: 8b 00 mov (%eax),%eax
80102a82: 83 e0 01 and $0x1,%eax
80102a85: 85 c0 test %eax,%eax
80102a87: 75 0d jne 80102a96 <iderw+0x1f>
panic("iderw: buf not busy");
80102a89: 83 ec 0c sub $0xc,%esp
80102a8c: 68 ed 84 10 80 push $0x801084ed
80102a91: e8 d0 da ff ff call 80100566 <panic>
if((b->flags & (B_VALID|B_DIRTY)) == B_VALID)
80102a96: 8b 45 08 mov 0x8(%ebp),%eax
80102a99: 8b 00 mov (%eax),%eax
80102a9b: 83 e0 06 and $0x6,%eax
80102a9e: 83 f8 02 cmp $0x2,%eax
80102aa1: 75 0d jne 80102ab0 <iderw+0x39>
panic("iderw: nothing to do");
80102aa3: 83 ec 0c sub $0xc,%esp
80102aa6: 68 01 85 10 80 push $0x80108501
80102aab: e8 b6 da ff ff call 80100566 <panic>
if(b->dev != 0 && !havedisk1)
80102ab0: 8b 45 08 mov 0x8(%ebp),%eax
80102ab3: 8b 40 04 mov 0x4(%eax),%eax
80102ab6: 85 c0 test %eax,%eax
80102ab8: 74 16 je 80102ad0 <iderw+0x59>
80102aba: a1 58 b6 10 80 mov 0x8010b658,%eax
80102abf: 85 c0 test %eax,%eax
80102ac1: 75 0d jne 80102ad0 <iderw+0x59>
panic("iderw: ide disk 1 not present");
80102ac3: 83 ec 0c sub $0xc,%esp
80102ac6: 68 16 85 10 80 push $0x80108516
80102acb: e8 96 da ff ff call 80100566 <panic>
acquire(&idelock); //DOC:acquire-lock
80102ad0: 83 ec 0c sub $0xc,%esp
80102ad3: 68 20 b6 10 80 push $0x8010b620
80102ad8: e8 f5 22 00 00 call 80104dd2 <acquire>
80102add: 83 c4 10 add $0x10,%esp
// Append b to idequeue.
b->qnext = 0;
80102ae0: 8b 45 08 mov 0x8(%ebp),%eax
80102ae3: c7 40 14 00 00 00 00 movl $0x0,0x14(%eax)
for(pp=&idequeue; *pp; pp=&(*pp)->qnext) //DOC:insert-queue
80102aea: c7 45 f4 54 b6 10 80 movl $0x8010b654,-0xc(%ebp)
80102af1: eb 0b jmp 80102afe <iderw+0x87>
80102af3: 8b 45 f4 mov -0xc(%ebp),%eax
80102af6: 8b 00 mov (%eax),%eax
80102af8: 83 c0 14 add $0x14,%eax
80102afb: 89 45 f4 mov %eax,-0xc(%ebp)
80102afe: 8b 45 f4 mov -0xc(%ebp),%eax
80102b01: 8b 00 mov (%eax),%eax
80102b03: 85 c0 test %eax,%eax
80102b05: 75 ec jne 80102af3 <iderw+0x7c>
;
*pp = b;
80102b07: 8b 45 f4 mov -0xc(%ebp),%eax
80102b0a: 8b 55 08 mov 0x8(%ebp),%edx
80102b0d: 89 10 mov %edx,(%eax)
// Start disk if necessary.
if(idequeue == b)
80102b0f: a1 54 b6 10 80 mov 0x8010b654,%eax
80102b14: 3b 45 08 cmp 0x8(%ebp),%eax
80102b17: 75 23 jne 80102b3c <iderw+0xc5>
idestart(b);
80102b19: 83 ec 0c sub $0xc,%esp
80102b1c: ff 75 08 pushl 0x8(%ebp)
80102b1f: e8 5c fd ff ff call 80102880 <idestart>
80102b24: 83 c4 10 add $0x10,%esp
// Wait for request to finish.
while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){
80102b27: eb 13 jmp 80102b3c <iderw+0xc5>
sleep(b, &idelock);
80102b29: 83 ec 08 sub $0x8,%esp
80102b2c: 68 20 b6 10 80 push $0x8010b620
80102b31: ff 75 08 pushl 0x8(%ebp)
80102b34: e8 a0 1f 00 00 call 80104ad9 <sleep>
80102b39: 83 c4 10 add $0x10,%esp
// Start disk if necessary.
if(idequeue == b)
idestart(b);
// Wait for request to finish.
while((b->flags & (B_VALID|B_DIRTY)) != B_VALID){
80102b3c: 8b 45 08 mov 0x8(%ebp),%eax
80102b3f: 8b 00 mov (%eax),%eax
80102b41: 83 e0 06 and $0x6,%eax
80102b44: 83 f8 02 cmp $0x2,%eax
80102b47: 75 e0 jne 80102b29 <iderw+0xb2>
sleep(b, &idelock);
}
release(&idelock);
80102b49: 83 ec 0c sub $0xc,%esp
80102b4c: 68 20 b6 10 80 push $0x8010b620
80102b51: e8 e3 22 00 00 call 80104e39 <release>
80102b56: 83 c4 10 add $0x10,%esp
}
80102b59: 90 nop
80102b5a: c9 leave
80102b5b: c3 ret
80102b5c <ioapicread>:
uint data;
};
static uint
ioapicread(int reg)
{
80102b5c: 55 push %ebp
80102b5d: 89 e5 mov %esp,%ebp
ioapic->reg = reg;
80102b5f: a1 54 f8 10 80 mov 0x8010f854,%eax
80102b64: 8b 55 08 mov 0x8(%ebp),%edx
80102b67: 89 10 mov %edx,(%eax)
return ioapic->data;
80102b69: a1 54 f8 10 80 mov 0x8010f854,%eax
80102b6e: 8b 40 10 mov 0x10(%eax),%eax
}
80102b71: 5d pop %ebp
80102b72: c3 ret
80102b73 <ioapicwrite>:
static void
ioapicwrite(int reg, uint data)
{
80102b73: 55 push %ebp
80102b74: 89 e5 mov %esp,%ebp
ioapic->reg = reg;
80102b76: a1 54 f8 10 80 mov 0x8010f854,%eax
80102b7b: 8b 55 08 mov 0x8(%ebp),%edx
80102b7e: 89 10 mov %edx,(%eax)
ioapic->data = data;
80102b80: a1 54 f8 10 80 mov 0x8010f854,%eax
80102b85: 8b 55 0c mov 0xc(%ebp),%edx
80102b88: 89 50 10 mov %edx,0x10(%eax)
}
80102b8b: 90 nop
80102b8c: 5d pop %ebp
80102b8d: c3 ret
80102b8e <ioapicinit>:
void
ioapicinit(void)
{
80102b8e: 55 push %ebp
80102b8f: 89 e5 mov %esp,%ebp
80102b91: 83 ec 18 sub $0x18,%esp
int i, id, maxintr;
if(!ismp)
80102b94: a1 24 f9 10 80 mov 0x8010f924,%eax
80102b99: 85 c0 test %eax,%eax
80102b9b: 0f 84 a0 00 00 00 je 80102c41 <ioapicinit+0xb3>
return;
ioapic = (volatile struct ioapic*)IOAPIC;
80102ba1: c7 05 54 f8 10 80 00 movl $0xfec00000,0x8010f854
80102ba8: 00 c0 fe
maxintr = (ioapicread(REG_VER) >> 16) & 0xFF;
80102bab: 6a 01 push $0x1
80102bad: e8 aa ff ff ff call 80102b5c <ioapicread>
80102bb2: 83 c4 04 add $0x4,%esp
80102bb5: c1 e8 10 shr $0x10,%eax
80102bb8: 25 ff 00 00 00 and $0xff,%eax
80102bbd: 89 45 f0 mov %eax,-0x10(%ebp)
id = ioapicread(REG_ID) >> 24;
80102bc0: 6a 00 push $0x0
80102bc2: e8 95 ff ff ff call 80102b5c <ioapicread>
80102bc7: 83 c4 04 add $0x4,%esp
80102bca: c1 e8 18 shr $0x18,%eax
80102bcd: 89 45 ec mov %eax,-0x14(%ebp)
if(id != ioapicid)
80102bd0: 0f b6 05 20 f9 10 80 movzbl 0x8010f920,%eax
80102bd7: 0f b6 c0 movzbl %al,%eax
80102bda: 3b 45 ec cmp -0x14(%ebp),%eax
80102bdd: 74 10 je 80102bef <ioapicinit+0x61>
cprintf("ioapicinit: id isn't equal to ioapicid; not a MP\n");
80102bdf: 83 ec 0c sub $0xc,%esp
80102be2: 68 34 85 10 80 push $0x80108534
80102be7: e8 da d7 ff ff call 801003c6 <cprintf>
80102bec: 83 c4 10 add $0x10,%esp
// Mark all interrupts edge-triggered, active high, disabled,
// and not routed to any CPUs.
for(i = 0; i <= maxintr; i++){
80102bef: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80102bf6: eb 3f jmp 80102c37 <ioapicinit+0xa9>
ioapicwrite(REG_TABLE+2*i, INT_DISABLED | (T_IRQ0 + i));
80102bf8: 8b 45 f4 mov -0xc(%ebp),%eax
80102bfb: 83 c0 20 add $0x20,%eax
80102bfe: 0d 00 00 01 00 or $0x10000,%eax
80102c03: 89 c2 mov %eax,%edx
80102c05: 8b 45 f4 mov -0xc(%ebp),%eax
80102c08: 83 c0 08 add $0x8,%eax
80102c0b: 01 c0 add %eax,%eax
80102c0d: 83 ec 08 sub $0x8,%esp
80102c10: 52 push %edx
80102c11: 50 push %eax
80102c12: e8 5c ff ff ff call 80102b73 <ioapicwrite>
80102c17: 83 c4 10 add $0x10,%esp
ioapicwrite(REG_TABLE+2*i+1, 0);
80102c1a: 8b 45 f4 mov -0xc(%ebp),%eax
80102c1d: 83 c0 08 add $0x8,%eax
80102c20: 01 c0 add %eax,%eax
80102c22: 83 c0 01 add $0x1,%eax
80102c25: 83 ec 08 sub $0x8,%esp
80102c28: 6a 00 push $0x0
80102c2a: 50 push %eax
80102c2b: e8 43 ff ff ff call 80102b73 <ioapicwrite>
80102c30: 83 c4 10 add $0x10,%esp
if(id != ioapicid)
cprintf("ioapicinit: id isn't equal to ioapicid; not a MP\n");
// Mark all interrupts edge-triggered, active high, disabled,
// and not routed to any CPUs.
for(i = 0; i <= maxintr; i++){
80102c33: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80102c37: 8b 45 f4 mov -0xc(%ebp),%eax
80102c3a: 3b 45 f0 cmp -0x10(%ebp),%eax
80102c3d: 7e b9 jle 80102bf8 <ioapicinit+0x6a>
80102c3f: eb 01 jmp 80102c42 <ioapicinit+0xb4>
ioapicinit(void)
{
int i, id, maxintr;
if(!ismp)
return;
80102c41: 90 nop
// and not routed to any CPUs.
for(i = 0; i <= maxintr; i++){
ioapicwrite(REG_TABLE+2*i, INT_DISABLED | (T_IRQ0 + i));
ioapicwrite(REG_TABLE+2*i+1, 0);
}
}
80102c42: c9 leave
80102c43: c3 ret
80102c44 <ioapicenable>:
void
ioapicenable(int irq, int cpunum)
{
80102c44: 55 push %ebp
80102c45: 89 e5 mov %esp,%ebp
if(!ismp)
80102c47: a1 24 f9 10 80 mov 0x8010f924,%eax
80102c4c: 85 c0 test %eax,%eax
80102c4e: 74 39 je 80102c89 <ioapicenable+0x45>
return;
// Mark interrupt edge-triggered, active high,
// enabled, and routed to the given cpunum,
// which happens to be that cpu's APIC ID.
ioapicwrite(REG_TABLE+2*irq, T_IRQ0 + irq);
80102c50: 8b 45 08 mov 0x8(%ebp),%eax
80102c53: 83 c0 20 add $0x20,%eax
80102c56: 89 c2 mov %eax,%edx
80102c58: 8b 45 08 mov 0x8(%ebp),%eax
80102c5b: 83 c0 08 add $0x8,%eax
80102c5e: 01 c0 add %eax,%eax
80102c60: 52 push %edx
80102c61: 50 push %eax
80102c62: e8 0c ff ff ff call 80102b73 <ioapicwrite>
80102c67: 83 c4 08 add $0x8,%esp
ioapicwrite(REG_TABLE+2*irq+1, cpunum << 24);
80102c6a: 8b 45 0c mov 0xc(%ebp),%eax
80102c6d: c1 e0 18 shl $0x18,%eax
80102c70: 89 c2 mov %eax,%edx
80102c72: 8b 45 08 mov 0x8(%ebp),%eax
80102c75: 83 c0 08 add $0x8,%eax
80102c78: 01 c0 add %eax,%eax
80102c7a: 83 c0 01 add $0x1,%eax
80102c7d: 52 push %edx
80102c7e: 50 push %eax
80102c7f: e8 ef fe ff ff call 80102b73 <ioapicwrite>
80102c84: 83 c4 08 add $0x8,%esp
80102c87: eb 01 jmp 80102c8a <ioapicenable+0x46>
void
ioapicenable(int irq, int cpunum)
{
if(!ismp)
return;
80102c89: 90 nop
// Mark interrupt edge-triggered, active high,
// enabled, and routed to the given cpunum,
// which happens to be that cpu's APIC ID.
ioapicwrite(REG_TABLE+2*irq, T_IRQ0 + irq);
ioapicwrite(REG_TABLE+2*irq+1, cpunum << 24);
}
80102c8a: c9 leave
80102c8b: c3 ret
80102c8c <v2p>:
#define KERNBASE 0x80000000 // First kernel virtual address
#define KERNLINK (KERNBASE+EXTMEM) // Address where kernel is linked
#ifndef __ASSEMBLER__
static inline uint v2p(void *a) { return ((uint) (a)) - KERNBASE; }
80102c8c: 55 push %ebp
80102c8d: 89 e5 mov %esp,%ebp
80102c8f: 8b 45 08 mov 0x8(%ebp),%eax
80102c92: 05 00 00 00 80 add $0x80000000,%eax
80102c97: 5d pop %ebp
80102c98: c3 ret
80102c99 <kinit1>:
// the pages mapped by entrypgdir on free list.
// 2. main() calls kinit2() with the rest of the physical pages
// after installing a full page table that maps them on all cores.
void
kinit1(void *vstart, void *vend)
{
80102c99: 55 push %ebp
80102c9a: 89 e5 mov %esp,%ebp
80102c9c: 83 ec 08 sub $0x8,%esp
initlock(&kmem.lock, "kmem");
80102c9f: 83 ec 08 sub $0x8,%esp
80102ca2: 68 66 85 10 80 push $0x80108566
80102ca7: 68 60 f8 10 80 push $0x8010f860
80102cac: e8 ff 20 00 00 call 80104db0 <initlock>
80102cb1: 83 c4 10 add $0x10,%esp
kmem.use_lock = 0;
80102cb4: c7 05 94 f8 10 80 00 movl $0x0,0x8010f894
80102cbb: 00 00 00
freerange(vstart, vend);
80102cbe: 83 ec 08 sub $0x8,%esp
80102cc1: ff 75 0c pushl 0xc(%ebp)
80102cc4: ff 75 08 pushl 0x8(%ebp)
80102cc7: e8 2a 00 00 00 call 80102cf6 <freerange>
80102ccc: 83 c4 10 add $0x10,%esp
}
80102ccf: 90 nop
80102cd0: c9 leave
80102cd1: c3 ret
80102cd2 <kinit2>:
void
kinit2(void *vstart, void *vend)
{
80102cd2: 55 push %ebp
80102cd3: 89 e5 mov %esp,%ebp
80102cd5: 83 ec 08 sub $0x8,%esp
freerange(vstart, vend);
80102cd8: 83 ec 08 sub $0x8,%esp
80102cdb: ff 75 0c pushl 0xc(%ebp)
80102cde: ff 75 08 pushl 0x8(%ebp)
80102ce1: e8 10 00 00 00 call 80102cf6 <freerange>
80102ce6: 83 c4 10 add $0x10,%esp
kmem.use_lock = 1;
80102ce9: c7 05 94 f8 10 80 01 movl $0x1,0x8010f894
80102cf0: 00 00 00
}
80102cf3: 90 nop
80102cf4: c9 leave
80102cf5: c3 ret
80102cf6 <freerange>:
void
freerange(void *vstart, void *vend)
{
80102cf6: 55 push %ebp
80102cf7: 89 e5 mov %esp,%ebp
80102cf9: 83 ec 18 sub $0x18,%esp
char *p;
p = (char*)PGROUNDUP((uint)vstart);
80102cfc: 8b 45 08 mov 0x8(%ebp),%eax
80102cff: 05 ff 0f 00 00 add $0xfff,%eax
80102d04: 25 00 f0 ff ff and $0xfffff000,%eax
80102d09: 89 45 f4 mov %eax,-0xc(%ebp)
for(; p + PGSIZE <= (char*)vend; p += PGSIZE)
80102d0c: eb 15 jmp 80102d23 <freerange+0x2d>
kfree(p);
80102d0e: 83 ec 0c sub $0xc,%esp
80102d11: ff 75 f4 pushl -0xc(%ebp)
80102d14: e8 1a 00 00 00 call 80102d33 <kfree>
80102d19: 83 c4 10 add $0x10,%esp
void
freerange(void *vstart, void *vend)
{
char *p;
p = (char*)PGROUNDUP((uint)vstart);
for(; p + PGSIZE <= (char*)vend; p += PGSIZE)
80102d1c: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
80102d23: 8b 45 f4 mov -0xc(%ebp),%eax
80102d26: 05 00 10 00 00 add $0x1000,%eax
80102d2b: 3b 45 0c cmp 0xc(%ebp),%eax
80102d2e: 76 de jbe 80102d0e <freerange+0x18>
kfree(p);
}
80102d30: 90 nop
80102d31: c9 leave
80102d32: c3 ret
80102d33 <kfree>:
// which normally should have been returned by a
// call to kalloc(). (The exception is when
// initializing the allocator; see kinit above.)
void
kfree(char *v)
{
80102d33: 55 push %ebp
80102d34: 89 e5 mov %esp,%ebp
80102d36: 83 ec 18 sub $0x18,%esp
struct run *r;
if((uint)v % PGSIZE || v < end || v2p(v) >= PHYSTOP)
80102d39: 8b 45 08 mov 0x8(%ebp),%eax
80102d3c: 25 ff 0f 00 00 and $0xfff,%eax
80102d41: 85 c0 test %eax,%eax
80102d43: 75 1b jne 80102d60 <kfree+0x2d>
80102d45: 81 7d 08 1c 27 11 80 cmpl $0x8011271c,0x8(%ebp)
80102d4c: 72 12 jb 80102d60 <kfree+0x2d>
80102d4e: ff 75 08 pushl 0x8(%ebp)
80102d51: e8 36 ff ff ff call 80102c8c <v2p>
80102d56: 83 c4 04 add $0x4,%esp
80102d59: 3d ff ff ff 0d cmp $0xdffffff,%eax
80102d5e: 76 0d jbe 80102d6d <kfree+0x3a>
panic("kfree");
80102d60: 83 ec 0c sub $0xc,%esp
80102d63: 68 6b 85 10 80 push $0x8010856b
80102d68: e8 f9 d7 ff ff call 80100566 <panic>
// Fill with junk to catch dangling refs.
memset(v, 1, PGSIZE);
80102d6d: 83 ec 04 sub $0x4,%esp
80102d70: 68 00 10 00 00 push $0x1000
80102d75: 6a 01 push $0x1
80102d77: ff 75 08 pushl 0x8(%ebp)
80102d7a: e8 b6 22 00 00 call 80105035 <memset>
80102d7f: 83 c4 10 add $0x10,%esp
if(kmem.use_lock)
80102d82: a1 94 f8 10 80 mov 0x8010f894,%eax
80102d87: 85 c0 test %eax,%eax
80102d89: 74 10 je 80102d9b <kfree+0x68>
acquire(&kmem.lock);
80102d8b: 83 ec 0c sub $0xc,%esp
80102d8e: 68 60 f8 10 80 push $0x8010f860
80102d93: e8 3a 20 00 00 call 80104dd2 <acquire>
80102d98: 83 c4 10 add $0x10,%esp
r = (struct run*)v;
80102d9b: 8b 45 08 mov 0x8(%ebp),%eax
80102d9e: 89 45 f4 mov %eax,-0xc(%ebp)
r->next = kmem.freelist;
80102da1: 8b 15 98 f8 10 80 mov 0x8010f898,%edx
80102da7: 8b 45 f4 mov -0xc(%ebp),%eax
80102daa: 89 10 mov %edx,(%eax)
kmem.freelist = r;
80102dac: 8b 45 f4 mov -0xc(%ebp),%eax
80102daf: a3 98 f8 10 80 mov %eax,0x8010f898
if(kmem.use_lock)
80102db4: a1 94 f8 10 80 mov 0x8010f894,%eax
80102db9: 85 c0 test %eax,%eax
80102dbb: 74 10 je 80102dcd <kfree+0x9a>
release(&kmem.lock);
80102dbd: 83 ec 0c sub $0xc,%esp
80102dc0: 68 60 f8 10 80 push $0x8010f860
80102dc5: e8 6f 20 00 00 call 80104e39 <release>
80102dca: 83 c4 10 add $0x10,%esp
}
80102dcd: 90 nop
80102dce: c9 leave
80102dcf: c3 ret
80102dd0 <kalloc>:
// Allocate one 4096-byte page of physical memory.
// Returns a pointer that the kernel can use.
// Returns 0 if the memory cannot be allocated.
char*
kalloc(void)
{
80102dd0: 55 push %ebp
80102dd1: 89 e5 mov %esp,%ebp
80102dd3: 83 ec 18 sub $0x18,%esp
struct run *r;
if(kmem.use_lock)
80102dd6: a1 94 f8 10 80 mov 0x8010f894,%eax
80102ddb: 85 c0 test %eax,%eax
80102ddd: 74 10 je 80102def <kalloc+0x1f>
acquire(&kmem.lock);
80102ddf: 83 ec 0c sub $0xc,%esp
80102de2: 68 60 f8 10 80 push $0x8010f860
80102de7: e8 e6 1f 00 00 call 80104dd2 <acquire>
80102dec: 83 c4 10 add $0x10,%esp
r = kmem.freelist;
80102def: a1 98 f8 10 80 mov 0x8010f898,%eax
80102df4: 89 45 f4 mov %eax,-0xc(%ebp)
if(r)
80102df7: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80102dfb: 74 0a je 80102e07 <kalloc+0x37>
kmem.freelist = r->next;
80102dfd: 8b 45 f4 mov -0xc(%ebp),%eax
80102e00: 8b 00 mov (%eax),%eax
80102e02: a3 98 f8 10 80 mov %eax,0x8010f898
if(kmem.use_lock)
80102e07: a1 94 f8 10 80 mov 0x8010f894,%eax
80102e0c: 85 c0 test %eax,%eax
80102e0e: 74 10 je 80102e20 <kalloc+0x50>
release(&kmem.lock);
80102e10: 83 ec 0c sub $0xc,%esp
80102e13: 68 60 f8 10 80 push $0x8010f860
80102e18: e8 1c 20 00 00 call 80104e39 <release>
80102e1d: 83 c4 10 add $0x10,%esp
return (char*)r;
80102e20: 8b 45 f4 mov -0xc(%ebp),%eax
}
80102e23: c9 leave
80102e24: c3 ret
80102e25 <inb>:
// Routines to let C code use special x86 instructions.
static inline uchar
inb(ushort port)
{
80102e25: 55 push %ebp
80102e26: 89 e5 mov %esp,%ebp
80102e28: 83 ec 14 sub $0x14,%esp
80102e2b: 8b 45 08 mov 0x8(%ebp),%eax
80102e2e: 66 89 45 ec mov %ax,-0x14(%ebp)
uchar data;
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
80102e32: 0f b7 45 ec movzwl -0x14(%ebp),%eax
80102e36: 89 c2 mov %eax,%edx
80102e38: ec in (%dx),%al
80102e39: 88 45 ff mov %al,-0x1(%ebp)
return data;
80102e3c: 0f b6 45 ff movzbl -0x1(%ebp),%eax
}
80102e40: c9 leave
80102e41: c3 ret
80102e42 <kbdgetc>:
#include "defs.h"
#include "kbd.h"
int
kbdgetc(void)
{
80102e42: 55 push %ebp
80102e43: 89 e5 mov %esp,%ebp
80102e45: 83 ec 10 sub $0x10,%esp
static uchar *charcode[4] = {
normalmap, shiftmap, ctlmap, ctlmap
};
uint st, data, c;
st = inb(KBSTATP);
80102e48: 6a 64 push $0x64
80102e4a: e8 d6 ff ff ff call 80102e25 <inb>
80102e4f: 83 c4 04 add $0x4,%esp
80102e52: 0f b6 c0 movzbl %al,%eax
80102e55: 89 45 f4 mov %eax,-0xc(%ebp)
if((st & KBS_DIB) == 0)
80102e58: 8b 45 f4 mov -0xc(%ebp),%eax
80102e5b: 83 e0 01 and $0x1,%eax
80102e5e: 85 c0 test %eax,%eax
80102e60: 75 0a jne 80102e6c <kbdgetc+0x2a>
return -1;
80102e62: b8 ff ff ff ff mov $0xffffffff,%eax
80102e67: e9 23 01 00 00 jmp 80102f8f <kbdgetc+0x14d>
data = inb(KBDATAP);
80102e6c: 6a 60 push $0x60
80102e6e: e8 b2 ff ff ff call 80102e25 <inb>
80102e73: 83 c4 04 add $0x4,%esp
80102e76: 0f b6 c0 movzbl %al,%eax
80102e79: 89 45 fc mov %eax,-0x4(%ebp)
if(data == 0xE0){
80102e7c: 81 7d fc e0 00 00 00 cmpl $0xe0,-0x4(%ebp)
80102e83: 75 17 jne 80102e9c <kbdgetc+0x5a>
shift |= E0ESC;
80102e85: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102e8a: 83 c8 40 or $0x40,%eax
80102e8d: a3 5c b6 10 80 mov %eax,0x8010b65c
return 0;
80102e92: b8 00 00 00 00 mov $0x0,%eax
80102e97: e9 f3 00 00 00 jmp 80102f8f <kbdgetc+0x14d>
} else if(data & 0x80){
80102e9c: 8b 45 fc mov -0x4(%ebp),%eax
80102e9f: 25 80 00 00 00 and $0x80,%eax
80102ea4: 85 c0 test %eax,%eax
80102ea6: 74 45 je 80102eed <kbdgetc+0xab>
// Key released
data = (shift & E0ESC ? data : data & 0x7F);
80102ea8: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102ead: 83 e0 40 and $0x40,%eax
80102eb0: 85 c0 test %eax,%eax
80102eb2: 75 08 jne 80102ebc <kbdgetc+0x7a>
80102eb4: 8b 45 fc mov -0x4(%ebp),%eax
80102eb7: 83 e0 7f and $0x7f,%eax
80102eba: eb 03 jmp 80102ebf <kbdgetc+0x7d>
80102ebc: 8b 45 fc mov -0x4(%ebp),%eax
80102ebf: 89 45 fc mov %eax,-0x4(%ebp)
shift &= ~(shiftcode[data] | E0ESC);
80102ec2: 8b 45 fc mov -0x4(%ebp),%eax
80102ec5: 05 20 90 10 80 add $0x80109020,%eax
80102eca: 0f b6 00 movzbl (%eax),%eax
80102ecd: 83 c8 40 or $0x40,%eax
80102ed0: 0f b6 c0 movzbl %al,%eax
80102ed3: f7 d0 not %eax
80102ed5: 89 c2 mov %eax,%edx
80102ed7: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102edc: 21 d0 and %edx,%eax
80102ede: a3 5c b6 10 80 mov %eax,0x8010b65c
return 0;
80102ee3: b8 00 00 00 00 mov $0x0,%eax
80102ee8: e9 a2 00 00 00 jmp 80102f8f <kbdgetc+0x14d>
} else if(shift & E0ESC){
80102eed: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102ef2: 83 e0 40 and $0x40,%eax
80102ef5: 85 c0 test %eax,%eax
80102ef7: 74 14 je 80102f0d <kbdgetc+0xcb>
// Last character was an E0 escape; or with 0x80
data |= 0x80;
80102ef9: 81 4d fc 80 00 00 00 orl $0x80,-0x4(%ebp)
shift &= ~E0ESC;
80102f00: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102f05: 83 e0 bf and $0xffffffbf,%eax
80102f08: a3 5c b6 10 80 mov %eax,0x8010b65c
}
shift |= shiftcode[data];
80102f0d: 8b 45 fc mov -0x4(%ebp),%eax
80102f10: 05 20 90 10 80 add $0x80109020,%eax
80102f15: 0f b6 00 movzbl (%eax),%eax
80102f18: 0f b6 d0 movzbl %al,%edx
80102f1b: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102f20: 09 d0 or %edx,%eax
80102f22: a3 5c b6 10 80 mov %eax,0x8010b65c
shift ^= togglecode[data];
80102f27: 8b 45 fc mov -0x4(%ebp),%eax
80102f2a: 05 20 91 10 80 add $0x80109120,%eax
80102f2f: 0f b6 00 movzbl (%eax),%eax
80102f32: 0f b6 d0 movzbl %al,%edx
80102f35: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102f3a: 31 d0 xor %edx,%eax
80102f3c: a3 5c b6 10 80 mov %eax,0x8010b65c
c = charcode[shift & (CTL | SHIFT)][data];
80102f41: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102f46: 83 e0 03 and $0x3,%eax
80102f49: 8b 14 85 20 95 10 80 mov -0x7fef6ae0(,%eax,4),%edx
80102f50: 8b 45 fc mov -0x4(%ebp),%eax
80102f53: 01 d0 add %edx,%eax
80102f55: 0f b6 00 movzbl (%eax),%eax
80102f58: 0f b6 c0 movzbl %al,%eax
80102f5b: 89 45 f8 mov %eax,-0x8(%ebp)
if(shift & CAPSLOCK){
80102f5e: a1 5c b6 10 80 mov 0x8010b65c,%eax
80102f63: 83 e0 08 and $0x8,%eax
80102f66: 85 c0 test %eax,%eax
80102f68: 74 22 je 80102f8c <kbdgetc+0x14a>
if('a' <= c && c <= 'z')
80102f6a: 83 7d f8 60 cmpl $0x60,-0x8(%ebp)
80102f6e: 76 0c jbe 80102f7c <kbdgetc+0x13a>
80102f70: 83 7d f8 7a cmpl $0x7a,-0x8(%ebp)
80102f74: 77 06 ja 80102f7c <kbdgetc+0x13a>
c += 'A' - 'a';
80102f76: 83 6d f8 20 subl $0x20,-0x8(%ebp)
80102f7a: eb 10 jmp 80102f8c <kbdgetc+0x14a>
else if('A' <= c && c <= 'Z')
80102f7c: 83 7d f8 40 cmpl $0x40,-0x8(%ebp)
80102f80: 76 0a jbe 80102f8c <kbdgetc+0x14a>
80102f82: 83 7d f8 5a cmpl $0x5a,-0x8(%ebp)
80102f86: 77 04 ja 80102f8c <kbdgetc+0x14a>
c += 'a' - 'A';
80102f88: 83 45 f8 20 addl $0x20,-0x8(%ebp)
}
return c;
80102f8c: 8b 45 f8 mov -0x8(%ebp),%eax
}
80102f8f: c9 leave
80102f90: c3 ret
80102f91 <kbdintr>:
void
kbdintr(void)
{
80102f91: 55 push %ebp
80102f92: 89 e5 mov %esp,%ebp
80102f94: 83 ec 08 sub $0x8,%esp
consoleintr(kbdgetc);
80102f97: 83 ec 0c sub $0xc,%esp
80102f9a: 68 42 2e 10 80 push $0x80102e42
80102f9f: e8 39 d8 ff ff call 801007dd <consoleintr>
80102fa4: 83 c4 10 add $0x10,%esp
}
80102fa7: 90 nop
80102fa8: c9 leave
80102fa9: c3 ret
80102faa <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
80102faa: 55 push %ebp
80102fab: 89 e5 mov %esp,%ebp
80102fad: 83 ec 08 sub $0x8,%esp
80102fb0: 8b 55 08 mov 0x8(%ebp),%edx
80102fb3: 8b 45 0c mov 0xc(%ebp),%eax
80102fb6: 66 89 55 fc mov %dx,-0x4(%ebp)
80102fba: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80102fbd: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
80102fc1: 0f b7 55 fc movzwl -0x4(%ebp),%edx
80102fc5: ee out %al,(%dx)
}
80102fc6: 90 nop
80102fc7: c9 leave
80102fc8: c3 ret
80102fc9 <readeflags>:
asm volatile("ltr %0" : : "r" (sel));
}
static inline uint
readeflags(void)
{
80102fc9: 55 push %ebp
80102fca: 89 e5 mov %esp,%ebp
80102fcc: 83 ec 10 sub $0x10,%esp
uint eflags;
asm volatile("pushfl; popl %0" : "=r" (eflags));
80102fcf: 9c pushf
80102fd0: 58 pop %eax
80102fd1: 89 45 fc mov %eax,-0x4(%ebp)
return eflags;
80102fd4: 8b 45 fc mov -0x4(%ebp),%eax
}
80102fd7: c9 leave
80102fd8: c3 ret
80102fd9 <lapicw>:
volatile uint *lapic; // Initialized in mp.c
static void
lapicw(int index, int value)
{
80102fd9: 55 push %ebp
80102fda: 89 e5 mov %esp,%ebp
lapic[index] = value;
80102fdc: a1 9c f8 10 80 mov 0x8010f89c,%eax
80102fe1: 8b 55 08 mov 0x8(%ebp),%edx
80102fe4: c1 e2 02 shl $0x2,%edx
80102fe7: 01 c2 add %eax,%edx
80102fe9: 8b 45 0c mov 0xc(%ebp),%eax
80102fec: 89 02 mov %eax,(%edx)
lapic[ID]; // wait for write to finish, by reading
80102fee: a1 9c f8 10 80 mov 0x8010f89c,%eax
80102ff3: 83 c0 20 add $0x20,%eax
80102ff6: 8b 00 mov (%eax),%eax
}
80102ff8: 90 nop
80102ff9: 5d pop %ebp
80102ffa: c3 ret
80102ffb <lapicinit>:
//PAGEBREAK!
void
lapicinit(void)
{
80102ffb: 55 push %ebp
80102ffc: 89 e5 mov %esp,%ebp
if(!lapic)
80102ffe: a1 9c f8 10 80 mov 0x8010f89c,%eax
80103003: 85 c0 test %eax,%eax
80103005: 0f 84 0b 01 00 00 je 80103116 <lapicinit+0x11b>
return;
// Enable local APIC; set spurious interrupt vector.
lapicw(SVR, ENABLE | (T_IRQ0 + IRQ_SPURIOUS));
8010300b: 68 3f 01 00 00 push $0x13f
80103010: 6a 3c push $0x3c
80103012: e8 c2 ff ff ff call 80102fd9 <lapicw>
80103017: 83 c4 08 add $0x8,%esp
// The timer repeatedly counts down at bus frequency
// from lapic[TICR] and then issues an interrupt.
// If xv6 cared more about precise timekeeping,
// TICR would be calibrated using an external time source.
lapicw(TDCR, X1);
8010301a: 6a 0b push $0xb
8010301c: 68 f8 00 00 00 push $0xf8
80103021: e8 b3 ff ff ff call 80102fd9 <lapicw>
80103026: 83 c4 08 add $0x8,%esp
lapicw(TIMER, PERIODIC | (T_IRQ0 + IRQ_TIMER));
80103029: 68 20 00 02 00 push $0x20020
8010302e: 68 c8 00 00 00 push $0xc8
80103033: e8 a1 ff ff ff call 80102fd9 <lapicw>
80103038: 83 c4 08 add $0x8,%esp
lapicw(TICR, 10000000);
8010303b: 68 80 96 98 00 push $0x989680
80103040: 68 e0 00 00 00 push $0xe0
80103045: e8 8f ff ff ff call 80102fd9 <lapicw>
8010304a: 83 c4 08 add $0x8,%esp
// Disable logical interrupt lines.
lapicw(LINT0, MASKED);
8010304d: 68 00 00 01 00 push $0x10000
80103052: 68 d4 00 00 00 push $0xd4
80103057: e8 7d ff ff ff call 80102fd9 <lapicw>
8010305c: 83 c4 08 add $0x8,%esp
lapicw(LINT1, MASKED);
8010305f: 68 00 00 01 00 push $0x10000
80103064: 68 d8 00 00 00 push $0xd8
80103069: e8 6b ff ff ff call 80102fd9 <lapicw>
8010306e: 83 c4 08 add $0x8,%esp
// Disable performance counter overflow interrupts
// on machines that provide that interrupt entry.
if(((lapic[VER]>>16) & 0xFF) >= 4)
80103071: a1 9c f8 10 80 mov 0x8010f89c,%eax
80103076: 83 c0 30 add $0x30,%eax
80103079: 8b 00 mov (%eax),%eax
8010307b: c1 e8 10 shr $0x10,%eax
8010307e: 0f b6 c0 movzbl %al,%eax
80103081: 83 f8 03 cmp $0x3,%eax
80103084: 76 12 jbe 80103098 <lapicinit+0x9d>
lapicw(PCINT, MASKED);
80103086: 68 00 00 01 00 push $0x10000
8010308b: 68 d0 00 00 00 push $0xd0
80103090: e8 44 ff ff ff call 80102fd9 <lapicw>
80103095: 83 c4 08 add $0x8,%esp
// Map error interrupt to IRQ_ERROR.
lapicw(ERROR, T_IRQ0 + IRQ_ERROR);
80103098: 6a 33 push $0x33
8010309a: 68 dc 00 00 00 push $0xdc
8010309f: e8 35 ff ff ff call 80102fd9 <lapicw>
801030a4: 83 c4 08 add $0x8,%esp
// Clear error status register (requires back-to-back writes).
lapicw(ESR, 0);
801030a7: 6a 00 push $0x0
801030a9: 68 a0 00 00 00 push $0xa0
801030ae: e8 26 ff ff ff call 80102fd9 <lapicw>
801030b3: 83 c4 08 add $0x8,%esp
lapicw(ESR, 0);
801030b6: 6a 00 push $0x0
801030b8: 68 a0 00 00 00 push $0xa0
801030bd: e8 17 ff ff ff call 80102fd9 <lapicw>
801030c2: 83 c4 08 add $0x8,%esp
// Ack any outstanding interrupts.
lapicw(EOI, 0);
801030c5: 6a 00 push $0x0
801030c7: 6a 2c push $0x2c
801030c9: e8 0b ff ff ff call 80102fd9 <lapicw>
801030ce: 83 c4 08 add $0x8,%esp
// Send an Init Level De-Assert to synchronise arbitration ID's.
lapicw(ICRHI, 0);
801030d1: 6a 00 push $0x0
801030d3: 68 c4 00 00 00 push $0xc4
801030d8: e8 fc fe ff ff call 80102fd9 <lapicw>
801030dd: 83 c4 08 add $0x8,%esp
lapicw(ICRLO, BCAST | INIT | LEVEL);
801030e0: 68 00 85 08 00 push $0x88500
801030e5: 68 c0 00 00 00 push $0xc0
801030ea: e8 ea fe ff ff call 80102fd9 <lapicw>
801030ef: 83 c4 08 add $0x8,%esp
while(lapic[ICRLO] & DELIVS)
801030f2: 90 nop
801030f3: a1 9c f8 10 80 mov 0x8010f89c,%eax
801030f8: 05 00 03 00 00 add $0x300,%eax
801030fd: 8b 00 mov (%eax),%eax
801030ff: 25 00 10 00 00 and $0x1000,%eax
80103104: 85 c0 test %eax,%eax
80103106: 75 eb jne 801030f3 <lapicinit+0xf8>
;
// Enable interrupts on the APIC (but not on the processor).
lapicw(TPR, 0);
80103108: 6a 00 push $0x0
8010310a: 6a 20 push $0x20
8010310c: e8 c8 fe ff ff call 80102fd9 <lapicw>
80103111: 83 c4 08 add $0x8,%esp
80103114: eb 01 jmp 80103117 <lapicinit+0x11c>
void
lapicinit(void)
{
if(!lapic)
return;
80103116: 90 nop
while(lapic[ICRLO] & DELIVS)
;
// Enable interrupts on the APIC (but not on the processor).
lapicw(TPR, 0);
}
80103117: c9 leave
80103118: c3 ret
80103119 <cpunum>:
int
cpunum(void)
{
80103119: 55 push %ebp
8010311a: 89 e5 mov %esp,%ebp
8010311c: 83 ec 08 sub $0x8,%esp
// Cannot call cpu when interrupts are enabled:
// result not guaranteed to last long enough to be used!
// Would prefer to panic but even printing is chancy here:
// almost everything, including cprintf and panic, calls cpu,
// often indirectly through acquire and release.
if(readeflags()&FL_IF){
8010311f: e8 a5 fe ff ff call 80102fc9 <readeflags>
80103124: 25 00 02 00 00 and $0x200,%eax
80103129: 85 c0 test %eax,%eax
8010312b: 74 26 je 80103153 <cpunum+0x3a>
static int n;
if(n++ == 0)
8010312d: a1 60 b6 10 80 mov 0x8010b660,%eax
80103132: 8d 50 01 lea 0x1(%eax),%edx
80103135: 89 15 60 b6 10 80 mov %edx,0x8010b660
8010313b: 85 c0 test %eax,%eax
8010313d: 75 14 jne 80103153 <cpunum+0x3a>
cprintf("cpu called from %x with interrupts enabled\n",
8010313f: 8b 45 04 mov 0x4(%ebp),%eax
80103142: 83 ec 08 sub $0x8,%esp
80103145: 50 push %eax
80103146: 68 74 85 10 80 push $0x80108574
8010314b: e8 76 d2 ff ff call 801003c6 <cprintf>
80103150: 83 c4 10 add $0x10,%esp
__builtin_return_address(0));
}
if(lapic)
80103153: a1 9c f8 10 80 mov 0x8010f89c,%eax
80103158: 85 c0 test %eax,%eax
8010315a: 74 0f je 8010316b <cpunum+0x52>
return lapic[ID]>>24;
8010315c: a1 9c f8 10 80 mov 0x8010f89c,%eax
80103161: 83 c0 20 add $0x20,%eax
80103164: 8b 00 mov (%eax),%eax
80103166: c1 e8 18 shr $0x18,%eax
80103169: eb 05 jmp 80103170 <cpunum+0x57>
return 0;
8010316b: b8 00 00 00 00 mov $0x0,%eax
}
80103170: c9 leave
80103171: c3 ret
80103172 <lapiceoi>:
// Acknowledge interrupt.
void
lapiceoi(void)
{
80103172: 55 push %ebp
80103173: 89 e5 mov %esp,%ebp
if(lapic)
80103175: a1 9c f8 10 80 mov 0x8010f89c,%eax
8010317a: 85 c0 test %eax,%eax
8010317c: 74 0c je 8010318a <lapiceoi+0x18>
lapicw(EOI, 0);
8010317e: 6a 00 push $0x0
80103180: 6a 2c push $0x2c
80103182: e8 52 fe ff ff call 80102fd9 <lapicw>
80103187: 83 c4 08 add $0x8,%esp
}
8010318a: 90 nop
8010318b: c9 leave
8010318c: c3 ret
8010318d <microdelay>:
// Spin for a given number of microseconds.
// On real hardware would want to tune this dynamically.
void
microdelay(int us)
{
8010318d: 55 push %ebp
8010318e: 89 e5 mov %esp,%ebp
}
80103190: 90 nop
80103191: 5d pop %ebp
80103192: c3 ret
80103193 <lapicstartap>:
// Start additional processor running entry code at addr.
// See Appendix B of MultiProcessor Specification.
void
lapicstartap(uchar apicid, uint addr)
{
80103193: 55 push %ebp
80103194: 89 e5 mov %esp,%ebp
80103196: 83 ec 14 sub $0x14,%esp
80103199: 8b 45 08 mov 0x8(%ebp),%eax
8010319c: 88 45 ec mov %al,-0x14(%ebp)
ushort *wrv;
// "The BSP must initialize CMOS shutdown code to 0AH
// and the warm reset vector (DWORD based at 40:67) to point at
// the AP startup code prior to the [universal startup algorithm]."
outb(IO_RTC, 0xF); // offset 0xF is shutdown code
8010319f: 6a 0f push $0xf
801031a1: 6a 70 push $0x70
801031a3: e8 02 fe ff ff call 80102faa <outb>
801031a8: 83 c4 08 add $0x8,%esp
outb(IO_RTC+1, 0x0A);
801031ab: 6a 0a push $0xa
801031ad: 6a 71 push $0x71
801031af: e8 f6 fd ff ff call 80102faa <outb>
801031b4: 83 c4 08 add $0x8,%esp
wrv = (ushort*)P2V((0x40<<4 | 0x67)); // Warm reset vector
801031b7: c7 45 f8 67 04 00 80 movl $0x80000467,-0x8(%ebp)
wrv[0] = 0;
801031be: 8b 45 f8 mov -0x8(%ebp),%eax
801031c1: 66 c7 00 00 00 movw $0x0,(%eax)
wrv[1] = addr >> 4;
801031c6: 8b 45 f8 mov -0x8(%ebp),%eax
801031c9: 83 c0 02 add $0x2,%eax
801031cc: 8b 55 0c mov 0xc(%ebp),%edx
801031cf: c1 ea 04 shr $0x4,%edx
801031d2: 66 89 10 mov %dx,(%eax)
// "Universal startup algorithm."
// Send INIT (level-triggered) interrupt to reset other CPU.
lapicw(ICRHI, apicid<<24);
801031d5: 0f b6 45 ec movzbl -0x14(%ebp),%eax
801031d9: c1 e0 18 shl $0x18,%eax
801031dc: 50 push %eax
801031dd: 68 c4 00 00 00 push $0xc4
801031e2: e8 f2 fd ff ff call 80102fd9 <lapicw>
801031e7: 83 c4 08 add $0x8,%esp
lapicw(ICRLO, INIT | LEVEL | ASSERT);
801031ea: 68 00 c5 00 00 push $0xc500
801031ef: 68 c0 00 00 00 push $0xc0
801031f4: e8 e0 fd ff ff call 80102fd9 <lapicw>
801031f9: 83 c4 08 add $0x8,%esp
microdelay(200);
801031fc: 68 c8 00 00 00 push $0xc8
80103201: e8 87 ff ff ff call 8010318d <microdelay>
80103206: 83 c4 04 add $0x4,%esp
lapicw(ICRLO, INIT | LEVEL);
80103209: 68 00 85 00 00 push $0x8500
8010320e: 68 c0 00 00 00 push $0xc0
80103213: e8 c1 fd ff ff call 80102fd9 <lapicw>
80103218: 83 c4 08 add $0x8,%esp
microdelay(100); // should be 10ms, but too slow in Bochs!
8010321b: 6a 64 push $0x64
8010321d: e8 6b ff ff ff call 8010318d <microdelay>
80103222: 83 c4 04 add $0x4,%esp
// Send startup IPI (twice!) to enter code.
// Regular hardware is supposed to only accept a STARTUP
// when it is in the halted state due to an INIT. So the second
// should be ignored, but it is part of the official Intel algorithm.
// Bochs complains about the second one. Too bad for Bochs.
for(i = 0; i < 2; i++){
80103225: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
8010322c: eb 3d jmp 8010326b <lapicstartap+0xd8>
lapicw(ICRHI, apicid<<24);
8010322e: 0f b6 45 ec movzbl -0x14(%ebp),%eax
80103232: c1 e0 18 shl $0x18,%eax
80103235: 50 push %eax
80103236: 68 c4 00 00 00 push $0xc4
8010323b: e8 99 fd ff ff call 80102fd9 <lapicw>
80103240: 83 c4 08 add $0x8,%esp
lapicw(ICRLO, STARTUP | (addr>>12));
80103243: 8b 45 0c mov 0xc(%ebp),%eax
80103246: c1 e8 0c shr $0xc,%eax
80103249: 80 cc 06 or $0x6,%ah
8010324c: 50 push %eax
8010324d: 68 c0 00 00 00 push $0xc0
80103252: e8 82 fd ff ff call 80102fd9 <lapicw>
80103257: 83 c4 08 add $0x8,%esp
microdelay(200);
8010325a: 68 c8 00 00 00 push $0xc8
8010325f: e8 29 ff ff ff call 8010318d <microdelay>
80103264: 83 c4 04 add $0x4,%esp
// Send startup IPI (twice!) to enter code.
// Regular hardware is supposed to only accept a STARTUP
// when it is in the halted state due to an INIT. So the second
// should be ignored, but it is part of the official Intel algorithm.
// Bochs complains about the second one. Too bad for Bochs.
for(i = 0; i < 2; i++){
80103267: 83 45 fc 01 addl $0x1,-0x4(%ebp)
8010326b: 83 7d fc 01 cmpl $0x1,-0x4(%ebp)
8010326f: 7e bd jle 8010322e <lapicstartap+0x9b>
lapicw(ICRHI, apicid<<24);
lapicw(ICRLO, STARTUP | (addr>>12));
microdelay(200);
}
}
80103271: 90 nop
80103272: c9 leave
80103273: c3 ret
80103274 <initlog>:
static void recover_from_log(void);
void
initlog(void)
{
80103274: 55 push %ebp
80103275: 89 e5 mov %esp,%ebp
80103277: 83 ec 18 sub $0x18,%esp
if (sizeof(struct logheader) >= BSIZE)
panic("initlog: too big logheader");
struct superblock sb;
initlock(&log.lock, "log");
8010327a: 83 ec 08 sub $0x8,%esp
8010327d: 68 a0 85 10 80 push $0x801085a0
80103282: 68 a0 f8 10 80 push $0x8010f8a0
80103287: e8 24 1b 00 00 call 80104db0 <initlock>
8010328c: 83 c4 10 add $0x10,%esp
readsb(ROOTDEV, &sb);
8010328f: 83 ec 08 sub $0x8,%esp
80103292: 8d 45 e8 lea -0x18(%ebp),%eax
80103295: 50 push %eax
80103296: 6a 01 push $0x1
80103298: e8 d7 e2 ff ff call 80101574 <readsb>
8010329d: 83 c4 10 add $0x10,%esp
log.start = sb.size - sb.nlog;
801032a0: 8b 55 e8 mov -0x18(%ebp),%edx
801032a3: 8b 45 f4 mov -0xc(%ebp),%eax
801032a6: 29 c2 sub %eax,%edx
801032a8: 89 d0 mov %edx,%eax
801032aa: a3 d4 f8 10 80 mov %eax,0x8010f8d4
log.size = sb.nlog;
801032af: 8b 45 f4 mov -0xc(%ebp),%eax
801032b2: a3 d8 f8 10 80 mov %eax,0x8010f8d8
log.dev = ROOTDEV;
801032b7: c7 05 e0 f8 10 80 01 movl $0x1,0x8010f8e0
801032be: 00 00 00
recover_from_log();
801032c1: e8 b2 01 00 00 call 80103478 <recover_from_log>
}
801032c6: 90 nop
801032c7: c9 leave
801032c8: c3 ret
801032c9 <install_trans>:
// Copy committed blocks from log to their home location
static void
install_trans(void)
{
801032c9: 55 push %ebp
801032ca: 89 e5 mov %esp,%ebp
801032cc: 83 ec 18 sub $0x18,%esp
int tail;
for (tail = 0; tail < log.lh.n; tail++) {
801032cf: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801032d6: e9 95 00 00 00 jmp 80103370 <install_trans+0xa7>
struct buf *lbuf = bread(log.dev, log.start+tail+1); // read log block
801032db: 8b 15 d4 f8 10 80 mov 0x8010f8d4,%edx
801032e1: 8b 45 f4 mov -0xc(%ebp),%eax
801032e4: 01 d0 add %edx,%eax
801032e6: 83 c0 01 add $0x1,%eax
801032e9: 89 c2 mov %eax,%edx
801032eb: a1 e0 f8 10 80 mov 0x8010f8e0,%eax
801032f0: 83 ec 08 sub $0x8,%esp
801032f3: 52 push %edx
801032f4: 50 push %eax
801032f5: e8 bc ce ff ff call 801001b6 <bread>
801032fa: 83 c4 10 add $0x10,%esp
801032fd: 89 45 f0 mov %eax,-0x10(%ebp)
struct buf *dbuf = bread(log.dev, log.lh.sector[tail]); // read dst
80103300: 8b 45 f4 mov -0xc(%ebp),%eax
80103303: 83 c0 10 add $0x10,%eax
80103306: 8b 04 85 a8 f8 10 80 mov -0x7fef0758(,%eax,4),%eax
8010330d: 89 c2 mov %eax,%edx
8010330f: a1 e0 f8 10 80 mov 0x8010f8e0,%eax
80103314: 83 ec 08 sub $0x8,%esp
80103317: 52 push %edx
80103318: 50 push %eax
80103319: e8 98 ce ff ff call 801001b6 <bread>
8010331e: 83 c4 10 add $0x10,%esp
80103321: 89 45 ec mov %eax,-0x14(%ebp)
memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst
80103324: 8b 45 f0 mov -0x10(%ebp),%eax
80103327: 8d 50 18 lea 0x18(%eax),%edx
8010332a: 8b 45 ec mov -0x14(%ebp),%eax
8010332d: 83 c0 18 add $0x18,%eax
80103330: 83 ec 04 sub $0x4,%esp
80103333: 68 00 02 00 00 push $0x200
80103338: 52 push %edx
80103339: 50 push %eax
8010333a: e8 b5 1d 00 00 call 801050f4 <memmove>
8010333f: 83 c4 10 add $0x10,%esp
bwrite(dbuf); // write dst to disk
80103342: 83 ec 0c sub $0xc,%esp
80103345: ff 75 ec pushl -0x14(%ebp)
80103348: e8 a2 ce ff ff call 801001ef <bwrite>
8010334d: 83 c4 10 add $0x10,%esp
brelse(lbuf);
80103350: 83 ec 0c sub $0xc,%esp
80103353: ff 75 f0 pushl -0x10(%ebp)
80103356: e8 d3 ce ff ff call 8010022e <brelse>
8010335b: 83 c4 10 add $0x10,%esp
brelse(dbuf);
8010335e: 83 ec 0c sub $0xc,%esp
80103361: ff 75 ec pushl -0x14(%ebp)
80103364: e8 c5 ce ff ff call 8010022e <brelse>
80103369: 83 c4 10 add $0x10,%esp
static void
install_trans(void)
{
int tail;
for (tail = 0; tail < log.lh.n; tail++) {
8010336c: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80103370: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
80103375: 3b 45 f4 cmp -0xc(%ebp),%eax
80103378: 0f 8f 5d ff ff ff jg 801032db <install_trans+0x12>
memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst
bwrite(dbuf); // write dst to disk
brelse(lbuf);
brelse(dbuf);
}
}
8010337e: 90 nop
8010337f: c9 leave
80103380: c3 ret
80103381 <read_head>:
// Read the log header from disk into the in-memory log header
static void
read_head(void)
{
80103381: 55 push %ebp
80103382: 89 e5 mov %esp,%ebp
80103384: 83 ec 18 sub $0x18,%esp
struct buf *buf = bread(log.dev, log.start);
80103387: a1 d4 f8 10 80 mov 0x8010f8d4,%eax
8010338c: 89 c2 mov %eax,%edx
8010338e: a1 e0 f8 10 80 mov 0x8010f8e0,%eax
80103393: 83 ec 08 sub $0x8,%esp
80103396: 52 push %edx
80103397: 50 push %eax
80103398: e8 19 ce ff ff call 801001b6 <bread>
8010339d: 83 c4 10 add $0x10,%esp
801033a0: 89 45 f0 mov %eax,-0x10(%ebp)
struct logheader *lh = (struct logheader *) (buf->data);
801033a3: 8b 45 f0 mov -0x10(%ebp),%eax
801033a6: 83 c0 18 add $0x18,%eax
801033a9: 89 45 ec mov %eax,-0x14(%ebp)
int i;
log.lh.n = lh->n;
801033ac: 8b 45 ec mov -0x14(%ebp),%eax
801033af: 8b 00 mov (%eax),%eax
801033b1: a3 e4 f8 10 80 mov %eax,0x8010f8e4
for (i = 0; i < log.lh.n; i++) {
801033b6: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801033bd: eb 1b jmp 801033da <read_head+0x59>
log.lh.sector[i] = lh->sector[i];
801033bf: 8b 45 ec mov -0x14(%ebp),%eax
801033c2: 8b 55 f4 mov -0xc(%ebp),%edx
801033c5: 8b 44 90 04 mov 0x4(%eax,%edx,4),%eax
801033c9: 8b 55 f4 mov -0xc(%ebp),%edx
801033cc: 83 c2 10 add $0x10,%edx
801033cf: 89 04 95 a8 f8 10 80 mov %eax,-0x7fef0758(,%edx,4)
{
struct buf *buf = bread(log.dev, log.start);
struct logheader *lh = (struct logheader *) (buf->data);
int i;
log.lh.n = lh->n;
for (i = 0; i < log.lh.n; i++) {
801033d6: 83 45 f4 01 addl $0x1,-0xc(%ebp)
801033da: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
801033df: 3b 45 f4 cmp -0xc(%ebp),%eax
801033e2: 7f db jg 801033bf <read_head+0x3e>
log.lh.sector[i] = lh->sector[i];
}
brelse(buf);
801033e4: 83 ec 0c sub $0xc,%esp
801033e7: ff 75 f0 pushl -0x10(%ebp)
801033ea: e8 3f ce ff ff call 8010022e <brelse>
801033ef: 83 c4 10 add $0x10,%esp
}
801033f2: 90 nop
801033f3: c9 leave
801033f4: c3 ret
801033f5 <write_head>:
// Write in-memory log header to disk.
// This is the true point at which the
// current transaction commits.
static void
write_head(void)
{
801033f5: 55 push %ebp
801033f6: 89 e5 mov %esp,%ebp
801033f8: 83 ec 18 sub $0x18,%esp
struct buf *buf = bread(log.dev, log.start);
801033fb: a1 d4 f8 10 80 mov 0x8010f8d4,%eax
80103400: 89 c2 mov %eax,%edx
80103402: a1 e0 f8 10 80 mov 0x8010f8e0,%eax
80103407: 83 ec 08 sub $0x8,%esp
8010340a: 52 push %edx
8010340b: 50 push %eax
8010340c: e8 a5 cd ff ff call 801001b6 <bread>
80103411: 83 c4 10 add $0x10,%esp
80103414: 89 45 f0 mov %eax,-0x10(%ebp)
struct logheader *hb = (struct logheader *) (buf->data);
80103417: 8b 45 f0 mov -0x10(%ebp),%eax
8010341a: 83 c0 18 add $0x18,%eax
8010341d: 89 45 ec mov %eax,-0x14(%ebp)
int i;
hb->n = log.lh.n;
80103420: 8b 15 e4 f8 10 80 mov 0x8010f8e4,%edx
80103426: 8b 45 ec mov -0x14(%ebp),%eax
80103429: 89 10 mov %edx,(%eax)
for (i = 0; i < log.lh.n; i++) {
8010342b: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80103432: eb 1b jmp 8010344f <write_head+0x5a>
hb->sector[i] = log.lh.sector[i];
80103434: 8b 45 f4 mov -0xc(%ebp),%eax
80103437: 83 c0 10 add $0x10,%eax
8010343a: 8b 0c 85 a8 f8 10 80 mov -0x7fef0758(,%eax,4),%ecx
80103441: 8b 45 ec mov -0x14(%ebp),%eax
80103444: 8b 55 f4 mov -0xc(%ebp),%edx
80103447: 89 4c 90 04 mov %ecx,0x4(%eax,%edx,4)
{
struct buf *buf = bread(log.dev, log.start);
struct logheader *hb = (struct logheader *) (buf->data);
int i;
hb->n = log.lh.n;
for (i = 0; i < log.lh.n; i++) {
8010344b: 83 45 f4 01 addl $0x1,-0xc(%ebp)
8010344f: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
80103454: 3b 45 f4 cmp -0xc(%ebp),%eax
80103457: 7f db jg 80103434 <write_head+0x3f>
hb->sector[i] = log.lh.sector[i];
}
bwrite(buf);
80103459: 83 ec 0c sub $0xc,%esp
8010345c: ff 75 f0 pushl -0x10(%ebp)
8010345f: e8 8b cd ff ff call 801001ef <bwrite>
80103464: 83 c4 10 add $0x10,%esp
brelse(buf);
80103467: 83 ec 0c sub $0xc,%esp
8010346a: ff 75 f0 pushl -0x10(%ebp)
8010346d: e8 bc cd ff ff call 8010022e <brelse>
80103472: 83 c4 10 add $0x10,%esp
}
80103475: 90 nop
80103476: c9 leave
80103477: c3 ret
80103478 <recover_from_log>:
static void
recover_from_log(void)
{
80103478: 55 push %ebp
80103479: 89 e5 mov %esp,%ebp
8010347b: 83 ec 08 sub $0x8,%esp
read_head();
8010347e: e8 fe fe ff ff call 80103381 <read_head>
install_trans(); // if committed, copy from log to disk
80103483: e8 41 fe ff ff call 801032c9 <install_trans>
log.lh.n = 0;
80103488: c7 05 e4 f8 10 80 00 movl $0x0,0x8010f8e4
8010348f: 00 00 00
write_head(); // clear the log
80103492: e8 5e ff ff ff call 801033f5 <write_head>
}
80103497: 90 nop
80103498: c9 leave
80103499: c3 ret
8010349a <begin_trans>:
void
begin_trans(void)
{
8010349a: 55 push %ebp
8010349b: 89 e5 mov %esp,%ebp
8010349d: 83 ec 08 sub $0x8,%esp
acquire(&log.lock);
801034a0: 83 ec 0c sub $0xc,%esp
801034a3: 68 a0 f8 10 80 push $0x8010f8a0
801034a8: e8 25 19 00 00 call 80104dd2 <acquire>
801034ad: 83 c4 10 add $0x10,%esp
while (log.busy) {
801034b0: eb 15 jmp 801034c7 <begin_trans+0x2d>
sleep(&log, &log.lock);
801034b2: 83 ec 08 sub $0x8,%esp
801034b5: 68 a0 f8 10 80 push $0x8010f8a0
801034ba: 68 a0 f8 10 80 push $0x8010f8a0
801034bf: e8 15 16 00 00 call 80104ad9 <sleep>
801034c4: 83 c4 10 add $0x10,%esp
void
begin_trans(void)
{
acquire(&log.lock);
while (log.busy) {
801034c7: a1 dc f8 10 80 mov 0x8010f8dc,%eax
801034cc: 85 c0 test %eax,%eax
801034ce: 75 e2 jne 801034b2 <begin_trans+0x18>
sleep(&log, &log.lock);
}
log.busy = 1;
801034d0: c7 05 dc f8 10 80 01 movl $0x1,0x8010f8dc
801034d7: 00 00 00
release(&log.lock);
801034da: 83 ec 0c sub $0xc,%esp
801034dd: 68 a0 f8 10 80 push $0x8010f8a0
801034e2: e8 52 19 00 00 call 80104e39 <release>
801034e7: 83 c4 10 add $0x10,%esp
}
801034ea: 90 nop
801034eb: c9 leave
801034ec: c3 ret
801034ed <commit_trans>:
void
commit_trans(void)
{
801034ed: 55 push %ebp
801034ee: 89 e5 mov %esp,%ebp
801034f0: 83 ec 08 sub $0x8,%esp
if (log.lh.n > 0) {
801034f3: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
801034f8: 85 c0 test %eax,%eax
801034fa: 7e 19 jle 80103515 <commit_trans+0x28>
write_head(); // Write header to disk -- the real commit
801034fc: e8 f4 fe ff ff call 801033f5 <write_head>
install_trans(); // Now install writes to home locations
80103501: e8 c3 fd ff ff call 801032c9 <install_trans>
log.lh.n = 0;
80103506: c7 05 e4 f8 10 80 00 movl $0x0,0x8010f8e4
8010350d: 00 00 00
write_head(); // Erase the transaction from the log
80103510: e8 e0 fe ff ff call 801033f5 <write_head>
}
acquire(&log.lock);
80103515: 83 ec 0c sub $0xc,%esp
80103518: 68 a0 f8 10 80 push $0x8010f8a0
8010351d: e8 b0 18 00 00 call 80104dd2 <acquire>
80103522: 83 c4 10 add $0x10,%esp
log.busy = 0;
80103525: c7 05 dc f8 10 80 00 movl $0x0,0x8010f8dc
8010352c: 00 00 00
wakeup(&log);
8010352f: 83 ec 0c sub $0xc,%esp
80103532: 68 a0 f8 10 80 push $0x8010f8a0
80103537: e8 88 16 00 00 call 80104bc4 <wakeup>
8010353c: 83 c4 10 add $0x10,%esp
release(&log.lock);
8010353f: 83 ec 0c sub $0xc,%esp
80103542: 68 a0 f8 10 80 push $0x8010f8a0
80103547: e8 ed 18 00 00 call 80104e39 <release>
8010354c: 83 c4 10 add $0x10,%esp
}
8010354f: 90 nop
80103550: c9 leave
80103551: c3 ret
80103552 <log_write>:
// modify bp->data[]
// log_write(bp)
// brelse(bp)
void
log_write(struct buf *b)
{
80103552: 55 push %ebp
80103553: 89 e5 mov %esp,%ebp
80103555: 83 ec 18 sub $0x18,%esp
int i;
if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1)
80103558: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
8010355d: 83 f8 09 cmp $0x9,%eax
80103560: 7f 12 jg 80103574 <log_write+0x22>
80103562: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
80103567: 8b 15 d8 f8 10 80 mov 0x8010f8d8,%edx
8010356d: 83 ea 01 sub $0x1,%edx
80103570: 39 d0 cmp %edx,%eax
80103572: 7c 0d jl 80103581 <log_write+0x2f>
panic("too big a transaction");
80103574: 83 ec 0c sub $0xc,%esp
80103577: 68 a4 85 10 80 push $0x801085a4
8010357c: e8 e5 cf ff ff call 80100566 <panic>
if (!log.busy)
80103581: a1 dc f8 10 80 mov 0x8010f8dc,%eax
80103586: 85 c0 test %eax,%eax
80103588: 75 0d jne 80103597 <log_write+0x45>
panic("write outside of trans");
8010358a: 83 ec 0c sub $0xc,%esp
8010358d: 68 ba 85 10 80 push $0x801085ba
80103592: e8 cf cf ff ff call 80100566 <panic>
for (i = 0; i < log.lh.n; i++) {
80103597: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
8010359e: eb 1d jmp 801035bd <log_write+0x6b>
if (log.lh.sector[i] == b->sector) // log absorbtion?
801035a0: 8b 45 f4 mov -0xc(%ebp),%eax
801035a3: 83 c0 10 add $0x10,%eax
801035a6: 8b 04 85 a8 f8 10 80 mov -0x7fef0758(,%eax,4),%eax
801035ad: 89 c2 mov %eax,%edx
801035af: 8b 45 08 mov 0x8(%ebp),%eax
801035b2: 8b 40 08 mov 0x8(%eax),%eax
801035b5: 39 c2 cmp %eax,%edx
801035b7: 74 10 je 801035c9 <log_write+0x77>
if (log.lh.n >= LOGSIZE || log.lh.n >= log.size - 1)
panic("too big a transaction");
if (!log.busy)
panic("write outside of trans");
for (i = 0; i < log.lh.n; i++) {
801035b9: 83 45 f4 01 addl $0x1,-0xc(%ebp)
801035bd: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
801035c2: 3b 45 f4 cmp -0xc(%ebp),%eax
801035c5: 7f d9 jg 801035a0 <log_write+0x4e>
801035c7: eb 01 jmp 801035ca <log_write+0x78>
if (log.lh.sector[i] == b->sector) // log absorbtion?
break;
801035c9: 90 nop
}
log.lh.sector[i] = b->sector;
801035ca: 8b 45 08 mov 0x8(%ebp),%eax
801035cd: 8b 40 08 mov 0x8(%eax),%eax
801035d0: 89 c2 mov %eax,%edx
801035d2: 8b 45 f4 mov -0xc(%ebp),%eax
801035d5: 83 c0 10 add $0x10,%eax
801035d8: 89 14 85 a8 f8 10 80 mov %edx,-0x7fef0758(,%eax,4)
struct buf *lbuf = bread(b->dev, log.start+i+1);
801035df: 8b 15 d4 f8 10 80 mov 0x8010f8d4,%edx
801035e5: 8b 45 f4 mov -0xc(%ebp),%eax
801035e8: 01 d0 add %edx,%eax
801035ea: 83 c0 01 add $0x1,%eax
801035ed: 89 c2 mov %eax,%edx
801035ef: 8b 45 08 mov 0x8(%ebp),%eax
801035f2: 8b 40 04 mov 0x4(%eax),%eax
801035f5: 83 ec 08 sub $0x8,%esp
801035f8: 52 push %edx
801035f9: 50 push %eax
801035fa: e8 b7 cb ff ff call 801001b6 <bread>
801035ff: 83 c4 10 add $0x10,%esp
80103602: 89 45 f0 mov %eax,-0x10(%ebp)
memmove(lbuf->data, b->data, BSIZE);
80103605: 8b 45 08 mov 0x8(%ebp),%eax
80103608: 8d 50 18 lea 0x18(%eax),%edx
8010360b: 8b 45 f0 mov -0x10(%ebp),%eax
8010360e: 83 c0 18 add $0x18,%eax
80103611: 83 ec 04 sub $0x4,%esp
80103614: 68 00 02 00 00 push $0x200
80103619: 52 push %edx
8010361a: 50 push %eax
8010361b: e8 d4 1a 00 00 call 801050f4 <memmove>
80103620: 83 c4 10 add $0x10,%esp
bwrite(lbuf);
80103623: 83 ec 0c sub $0xc,%esp
80103626: ff 75 f0 pushl -0x10(%ebp)
80103629: e8 c1 cb ff ff call 801001ef <bwrite>
8010362e: 83 c4 10 add $0x10,%esp
brelse(lbuf);
80103631: 83 ec 0c sub $0xc,%esp
80103634: ff 75 f0 pushl -0x10(%ebp)
80103637: e8 f2 cb ff ff call 8010022e <brelse>
8010363c: 83 c4 10 add $0x10,%esp
if (i == log.lh.n)
8010363f: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
80103644: 3b 45 f4 cmp -0xc(%ebp),%eax
80103647: 75 0d jne 80103656 <log_write+0x104>
log.lh.n++;
80103649: a1 e4 f8 10 80 mov 0x8010f8e4,%eax
8010364e: 83 c0 01 add $0x1,%eax
80103651: a3 e4 f8 10 80 mov %eax,0x8010f8e4
b->flags |= B_DIRTY; // XXX prevent eviction
80103656: 8b 45 08 mov 0x8(%ebp),%eax
80103659: 8b 00 mov (%eax),%eax
8010365b: 83 c8 04 or $0x4,%eax
8010365e: 89 c2 mov %eax,%edx
80103660: 8b 45 08 mov 0x8(%ebp),%eax
80103663: 89 10 mov %edx,(%eax)
}
80103665: 90 nop
80103666: c9 leave
80103667: c3 ret
80103668 <v2p>:
80103668: 55 push %ebp
80103669: 89 e5 mov %esp,%ebp
8010366b: 8b 45 08 mov 0x8(%ebp),%eax
8010366e: 05 00 00 00 80 add $0x80000000,%eax
80103673: 5d pop %ebp
80103674: c3 ret
80103675 <p2v>:
static inline void *p2v(uint a) { return (void *) ((a) + KERNBASE); }
80103675: 55 push %ebp
80103676: 89 e5 mov %esp,%ebp
80103678: 8b 45 08 mov 0x8(%ebp),%eax
8010367b: 05 00 00 00 80 add $0x80000000,%eax
80103680: 5d pop %ebp
80103681: c3 ret
80103682 <xchg>:
asm volatile("sti");
}
static inline uint
xchg(volatile uint *addr, uint newval)
{
80103682: 55 push %ebp
80103683: 89 e5 mov %esp,%ebp
80103685: 83 ec 10 sub $0x10,%esp
uint result;
// The + in "+m" denotes a read-modify-write operand.
asm volatile("lock; xchgl %0, %1" :
80103688: 8b 55 08 mov 0x8(%ebp),%edx
8010368b: 8b 45 0c mov 0xc(%ebp),%eax
8010368e: 8b 4d 08 mov 0x8(%ebp),%ecx
80103691: f0 87 02 lock xchg %eax,(%edx)
80103694: 89 45 fc mov %eax,-0x4(%ebp)
"+m" (*addr), "=a" (result) :
"1" (newval) :
"cc");
return result;
80103697: 8b 45 fc mov -0x4(%ebp),%eax
}
8010369a: c9 leave
8010369b: c3 ret
8010369c <main>:
// Bootstrap processor starts running C code here.
// Allocate a real stack and switch to it, first
// doing some setup required for memory allocator to work.
int
main(void)
{
8010369c: 8d 4c 24 04 lea 0x4(%esp),%ecx
801036a0: 83 e4 f0 and $0xfffffff0,%esp
801036a3: ff 71 fc pushl -0x4(%ecx)
801036a6: 55 push %ebp
801036a7: 89 e5 mov %esp,%ebp
801036a9: 51 push %ecx
801036aa: 83 ec 04 sub $0x4,%esp
kinit1(end, P2V(4*1024*1024)); // phys page allocator
801036ad: 83 ec 08 sub $0x8,%esp
801036b0: 68 00 00 40 80 push $0x80400000
801036b5: 68 1c 27 11 80 push $0x8011271c
801036ba: e8 da f5 ff ff call 80102c99 <kinit1>
801036bf: 83 c4 10 add $0x10,%esp
kvmalloc(); // kernel page table
801036c2: e8 59 45 00 00 call 80107c20 <kvmalloc>
mpinit(); // collect info about this machine
801036c7: e8 48 04 00 00 call 80103b14 <mpinit>
lapicinit();
801036cc: e8 2a f9 ff ff call 80102ffb <lapicinit>
seginit(); // set up segments
801036d1: e8 f3 3e 00 00 call 801075c9 <seginit>
cprintf("\ncpu%d: starting xv6\n\n", cpu->id);
801036d6: 65 a1 00 00 00 00 mov %gs:0x0,%eax
801036dc: 0f b6 00 movzbl (%eax),%eax
801036df: 0f b6 c0 movzbl %al,%eax
801036e2: 83 ec 08 sub $0x8,%esp
801036e5: 50 push %eax
801036e6: 68 d1 85 10 80 push $0x801085d1
801036eb: e8 d6 cc ff ff call 801003c6 <cprintf>
801036f0: 83 c4 10 add $0x10,%esp
picinit(); // interrupt controller
801036f3: e8 72 06 00 00 call 80103d6a <picinit>
ioapicinit(); // another interrupt controller
801036f8: e8 91 f4 ff ff call 80102b8e <ioapicinit>
consoleinit(); // I/O devices & their interrupts
801036fd: e8 e7 d3 ff ff call 80100ae9 <consoleinit>
uartinit(); // serial port
80103702: e8 1e 32 00 00 call 80106925 <uartinit>
pinit(); // process table
80103707: e8 5b 0b 00 00 call 80104267 <pinit>
tvinit(); // trap vectors
8010370c: e8 de 2d 00 00 call 801064ef <tvinit>
binit(); // buffer cache
80103711: e8 1e c9 ff ff call 80100034 <binit>
fileinit(); // file table
80103716: e8 4a da ff ff call 80101165 <fileinit>
iinit(); // inode cache
8010371b: e8 23 e1 ff ff call 80101843 <iinit>
ideinit(); // disk
80103720: e8 ad f0 ff ff call 801027d2 <ideinit>
if(!ismp)
80103725: a1 24 f9 10 80 mov 0x8010f924,%eax
8010372a: 85 c0 test %eax,%eax
8010372c: 75 05 jne 80103733 <main+0x97>
timerinit(); // uniprocessor timer
8010372e: e8 19 2d 00 00 call 8010644c <timerinit>
startothers(); // start other processors
80103733: e8 7f 00 00 00 call 801037b7 <startothers>
kinit2(P2V(4*1024*1024), P2V(PHYSTOP)); // must come after startothers()
80103738: 83 ec 08 sub $0x8,%esp
8010373b: 68 00 00 00 8e push $0x8e000000
80103740: 68 00 00 40 80 push $0x80400000
80103745: e8 88 f5 ff ff call 80102cd2 <kinit2>
8010374a: 83 c4 10 add $0x10,%esp
userinit(); // first user process
8010374d: e8 39 0c 00 00 call 8010438b <userinit>
// Finish setting up this processor in mpmain.
mpmain();
80103752: e8 1a 00 00 00 call 80103771 <mpmain>
80103757 <mpenter>:
}
// Other CPUs jump here from entryother.S.
static void
mpenter(void)
{
80103757: 55 push %ebp
80103758: 89 e5 mov %esp,%ebp
8010375a: 83 ec 08 sub $0x8,%esp
switchkvm();
8010375d: e8 d6 44 00 00 call 80107c38 <switchkvm>
seginit();
80103762: e8 62 3e 00 00 call 801075c9 <seginit>
lapicinit();
80103767: e8 8f f8 ff ff call 80102ffb <lapicinit>
mpmain();
8010376c: e8 00 00 00 00 call 80103771 <mpmain>
80103771 <mpmain>:
}
// Common CPU setup code.
static void
mpmain(void)
{
80103771: 55 push %ebp
80103772: 89 e5 mov %esp,%ebp
80103774: 83 ec 08 sub $0x8,%esp
cprintf("cpu%d: starting\n", cpu->id);
80103777: 65 a1 00 00 00 00 mov %gs:0x0,%eax
8010377d: 0f b6 00 movzbl (%eax),%eax
80103780: 0f b6 c0 movzbl %al,%eax
80103783: 83 ec 08 sub $0x8,%esp
80103786: 50 push %eax
80103787: 68 e8 85 10 80 push $0x801085e8
8010378c: e8 35 cc ff ff call 801003c6 <cprintf>
80103791: 83 c4 10 add $0x10,%esp
idtinit(); // load idt register
80103794: e8 cc 2e 00 00 call 80106665 <idtinit>
xchg(&cpu->started, 1); // tell startothers() we're up
80103799: 65 a1 00 00 00 00 mov %gs:0x0,%eax
8010379f: 05 a8 00 00 00 add $0xa8,%eax
801037a4: 83 ec 08 sub $0x8,%esp
801037a7: 6a 01 push $0x1
801037a9: 50 push %eax
801037aa: e8 d3 fe ff ff call 80103682 <xchg>
801037af: 83 c4 10 add $0x10,%esp
scheduler(); // start running processes
801037b2: e8 55 11 00 00 call 8010490c <scheduler>
801037b7 <startothers>:
pde_t entrypgdir[]; // For entry.S
// Start the non-boot (AP) processors.
static void
startothers(void)
{
801037b7: 55 push %ebp
801037b8: 89 e5 mov %esp,%ebp
801037ba: 53 push %ebx
801037bb: 83 ec 14 sub $0x14,%esp
char *stack;
// Write entry code to unused memory at 0x7000.
// The linker has placed the image of entryother.S in
// _binary_entryother_start.
code = p2v(0x7000);
801037be: 68 00 70 00 00 push $0x7000
801037c3: e8 ad fe ff ff call 80103675 <p2v>
801037c8: 83 c4 04 add $0x4,%esp
801037cb: 89 45 f0 mov %eax,-0x10(%ebp)
memmove(code, _binary_entryother_start, (uint)_binary_entryother_size);
801037ce: b8 8a 00 00 00 mov $0x8a,%eax
801037d3: 83 ec 04 sub $0x4,%esp
801037d6: 50 push %eax
801037d7: 68 2c b5 10 80 push $0x8010b52c
801037dc: ff 75 f0 pushl -0x10(%ebp)
801037df: e8 10 19 00 00 call 801050f4 <memmove>
801037e4: 83 c4 10 add $0x10,%esp
for(c = cpus; c < cpus+ncpu; c++){
801037e7: c7 45 f4 40 f9 10 80 movl $0x8010f940,-0xc(%ebp)
801037ee: e9 90 00 00 00 jmp 80103883 <startothers+0xcc>
if(c == cpus+cpunum()) // We've started already.
801037f3: e8 21 f9 ff ff call 80103119 <cpunum>
801037f8: 69 c0 bc 00 00 00 imul $0xbc,%eax,%eax
801037fe: 05 40 f9 10 80 add $0x8010f940,%eax
80103803: 3b 45 f4 cmp -0xc(%ebp),%eax
80103806: 74 73 je 8010387b <startothers+0xc4>
continue;
// Tell entryother.S what stack to use, where to enter, and what
// pgdir to use. We cannot use kpgdir yet, because the AP processor
// is running in low memory, so we use entrypgdir for the APs too.
stack = kalloc();
80103808: e8 c3 f5 ff ff call 80102dd0 <kalloc>
8010380d: 89 45 ec mov %eax,-0x14(%ebp)
*(void**)(code-4) = stack + KSTACKSIZE;
80103810: 8b 45 f0 mov -0x10(%ebp),%eax
80103813: 83 e8 04 sub $0x4,%eax
80103816: 8b 55 ec mov -0x14(%ebp),%edx
80103819: 81 c2 00 10 00 00 add $0x1000,%edx
8010381f: 89 10 mov %edx,(%eax)
*(void**)(code-8) = mpenter;
80103821: 8b 45 f0 mov -0x10(%ebp),%eax
80103824: 83 e8 08 sub $0x8,%eax
80103827: c7 00 57 37 10 80 movl $0x80103757,(%eax)
*(int**)(code-12) = (void *) v2p(entrypgdir);
8010382d: 8b 45 f0 mov -0x10(%ebp),%eax
80103830: 8d 58 f4 lea -0xc(%eax),%ebx
80103833: 83 ec 0c sub $0xc,%esp
80103836: 68 00 a0 10 80 push $0x8010a000
8010383b: e8 28 fe ff ff call 80103668 <v2p>
80103840: 83 c4 10 add $0x10,%esp
80103843: 89 03 mov %eax,(%ebx)
lapicstartap(c->id, v2p(code));
80103845: 83 ec 0c sub $0xc,%esp
80103848: ff 75 f0 pushl -0x10(%ebp)
8010384b: e8 18 fe ff ff call 80103668 <v2p>
80103850: 83 c4 10 add $0x10,%esp
80103853: 89 c2 mov %eax,%edx
80103855: 8b 45 f4 mov -0xc(%ebp),%eax
80103858: 0f b6 00 movzbl (%eax),%eax
8010385b: 0f b6 c0 movzbl %al,%eax
8010385e: 83 ec 08 sub $0x8,%esp
80103861: 52 push %edx
80103862: 50 push %eax
80103863: e8 2b f9 ff ff call 80103193 <lapicstartap>
80103868: 83 c4 10 add $0x10,%esp
// wait for cpu to finish mpmain()
while(c->started == 0)
8010386b: 90 nop
8010386c: 8b 45 f4 mov -0xc(%ebp),%eax
8010386f: 8b 80 a8 00 00 00 mov 0xa8(%eax),%eax
80103875: 85 c0 test %eax,%eax
80103877: 74 f3 je 8010386c <startothers+0xb5>
80103879: eb 01 jmp 8010387c <startothers+0xc5>
code = p2v(0x7000);
memmove(code, _binary_entryother_start, (uint)_binary_entryother_size);
for(c = cpus; c < cpus+ncpu; c++){
if(c == cpus+cpunum()) // We've started already.
continue;
8010387b: 90 nop
// The linker has placed the image of entryother.S in
// _binary_entryother_start.
code = p2v(0x7000);
memmove(code, _binary_entryother_start, (uint)_binary_entryother_size);
for(c = cpus; c < cpus+ncpu; c++){
8010387c: 81 45 f4 bc 00 00 00 addl $0xbc,-0xc(%ebp)
80103883: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103888: 69 c0 bc 00 00 00 imul $0xbc,%eax,%eax
8010388e: 05 40 f9 10 80 add $0x8010f940,%eax
80103893: 3b 45 f4 cmp -0xc(%ebp),%eax
80103896: 0f 87 57 ff ff ff ja 801037f3 <startothers+0x3c>
// wait for cpu to finish mpmain()
while(c->started == 0)
;
}
}
8010389c: 90 nop
8010389d: 8b 5d fc mov -0x4(%ebp),%ebx
801038a0: c9 leave
801038a1: c3 ret
801038a2 <p2v>:
801038a2: 55 push %ebp
801038a3: 89 e5 mov %esp,%ebp
801038a5: 8b 45 08 mov 0x8(%ebp),%eax
801038a8: 05 00 00 00 80 add $0x80000000,%eax
801038ad: 5d pop %ebp
801038ae: c3 ret
801038af <inb>:
// Routines to let C code use special x86 instructions.
static inline uchar
inb(ushort port)
{
801038af: 55 push %ebp
801038b0: 89 e5 mov %esp,%ebp
801038b2: 83 ec 14 sub $0x14,%esp
801038b5: 8b 45 08 mov 0x8(%ebp),%eax
801038b8: 66 89 45 ec mov %ax,-0x14(%ebp)
uchar data;
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
801038bc: 0f b7 45 ec movzwl -0x14(%ebp),%eax
801038c0: 89 c2 mov %eax,%edx
801038c2: ec in (%dx),%al
801038c3: 88 45 ff mov %al,-0x1(%ebp)
return data;
801038c6: 0f b6 45 ff movzbl -0x1(%ebp),%eax
}
801038ca: c9 leave
801038cb: c3 ret
801038cc <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
801038cc: 55 push %ebp
801038cd: 89 e5 mov %esp,%ebp
801038cf: 83 ec 08 sub $0x8,%esp
801038d2: 8b 55 08 mov 0x8(%ebp),%edx
801038d5: 8b 45 0c mov 0xc(%ebp),%eax
801038d8: 66 89 55 fc mov %dx,-0x4(%ebp)
801038dc: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
801038df: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
801038e3: 0f b7 55 fc movzwl -0x4(%ebp),%edx
801038e7: ee out %al,(%dx)
}
801038e8: 90 nop
801038e9: c9 leave
801038ea: c3 ret
801038eb <mpbcpu>:
int ncpu;
uchar ioapicid;
int
mpbcpu(void)
{
801038eb: 55 push %ebp
801038ec: 89 e5 mov %esp,%ebp
return bcpu-cpus;
801038ee: a1 64 b6 10 80 mov 0x8010b664,%eax
801038f3: 89 c2 mov %eax,%edx
801038f5: b8 40 f9 10 80 mov $0x8010f940,%eax
801038fa: 29 c2 sub %eax,%edx
801038fc: 89 d0 mov %edx,%eax
801038fe: c1 f8 02 sar $0x2,%eax
80103901: 69 c0 cf 46 7d 67 imul $0x677d46cf,%eax,%eax
}
80103907: 5d pop %ebp
80103908: c3 ret
80103909 <sum>:
static uchar
sum(uchar *addr, int len)
{
80103909: 55 push %ebp
8010390a: 89 e5 mov %esp,%ebp
8010390c: 83 ec 10 sub $0x10,%esp
int i, sum;
sum = 0;
8010390f: c7 45 f8 00 00 00 00 movl $0x0,-0x8(%ebp)
for(i=0; i<len; i++)
80103916: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
8010391d: eb 15 jmp 80103934 <sum+0x2b>
sum += addr[i];
8010391f: 8b 55 fc mov -0x4(%ebp),%edx
80103922: 8b 45 08 mov 0x8(%ebp),%eax
80103925: 01 d0 add %edx,%eax
80103927: 0f b6 00 movzbl (%eax),%eax
8010392a: 0f b6 c0 movzbl %al,%eax
8010392d: 01 45 f8 add %eax,-0x8(%ebp)
sum(uchar *addr, int len)
{
int i, sum;
sum = 0;
for(i=0; i<len; i++)
80103930: 83 45 fc 01 addl $0x1,-0x4(%ebp)
80103934: 8b 45 fc mov -0x4(%ebp),%eax
80103937: 3b 45 0c cmp 0xc(%ebp),%eax
8010393a: 7c e3 jl 8010391f <sum+0x16>
sum += addr[i];
return sum;
8010393c: 8b 45 f8 mov -0x8(%ebp),%eax
}
8010393f: c9 leave
80103940: c3 ret
80103941 <mpsearch1>:
// Look for an MP structure in the len bytes at addr.
static struct mp*
mpsearch1(uint a, int len)
{
80103941: 55 push %ebp
80103942: 89 e5 mov %esp,%ebp
80103944: 83 ec 18 sub $0x18,%esp
uchar *e, *p, *addr;
addr = p2v(a);
80103947: ff 75 08 pushl 0x8(%ebp)
8010394a: e8 53 ff ff ff call 801038a2 <p2v>
8010394f: 83 c4 04 add $0x4,%esp
80103952: 89 45 f0 mov %eax,-0x10(%ebp)
e = addr+len;
80103955: 8b 55 0c mov 0xc(%ebp),%edx
80103958: 8b 45 f0 mov -0x10(%ebp),%eax
8010395b: 01 d0 add %edx,%eax
8010395d: 89 45 ec mov %eax,-0x14(%ebp)
for(p = addr; p < e; p += sizeof(struct mp))
80103960: 8b 45 f0 mov -0x10(%ebp),%eax
80103963: 89 45 f4 mov %eax,-0xc(%ebp)
80103966: eb 36 jmp 8010399e <mpsearch1+0x5d>
if(memcmp(p, "_MP_", 4) == 0 && sum(p, sizeof(struct mp)) == 0)
80103968: 83 ec 04 sub $0x4,%esp
8010396b: 6a 04 push $0x4
8010396d: 68 fc 85 10 80 push $0x801085fc
80103972: ff 75 f4 pushl -0xc(%ebp)
80103975: e8 22 17 00 00 call 8010509c <memcmp>
8010397a: 83 c4 10 add $0x10,%esp
8010397d: 85 c0 test %eax,%eax
8010397f: 75 19 jne 8010399a <mpsearch1+0x59>
80103981: 83 ec 08 sub $0x8,%esp
80103984: 6a 10 push $0x10
80103986: ff 75 f4 pushl -0xc(%ebp)
80103989: e8 7b ff ff ff call 80103909 <sum>
8010398e: 83 c4 10 add $0x10,%esp
80103991: 84 c0 test %al,%al
80103993: 75 05 jne 8010399a <mpsearch1+0x59>
return (struct mp*)p;
80103995: 8b 45 f4 mov -0xc(%ebp),%eax
80103998: eb 11 jmp 801039ab <mpsearch1+0x6a>
{
uchar *e, *p, *addr;
addr = p2v(a);
e = addr+len;
for(p = addr; p < e; p += sizeof(struct mp))
8010399a: 83 45 f4 10 addl $0x10,-0xc(%ebp)
8010399e: 8b 45 f4 mov -0xc(%ebp),%eax
801039a1: 3b 45 ec cmp -0x14(%ebp),%eax
801039a4: 72 c2 jb 80103968 <mpsearch1+0x27>
if(memcmp(p, "_MP_", 4) == 0 && sum(p, sizeof(struct mp)) == 0)
return (struct mp*)p;
return 0;
801039a6: b8 00 00 00 00 mov $0x0,%eax
}
801039ab: c9 leave
801039ac: c3 ret
801039ad <mpsearch>:
// 1) in the first KB of the EBDA;
// 2) in the last KB of system base memory;
// 3) in the BIOS ROM between 0xE0000 and 0xFFFFF.
static struct mp*
mpsearch(void)
{
801039ad: 55 push %ebp
801039ae: 89 e5 mov %esp,%ebp
801039b0: 83 ec 18 sub $0x18,%esp
uchar *bda;
uint p;
struct mp *mp;
bda = (uchar *) P2V(0x400);
801039b3: c7 45 f4 00 04 00 80 movl $0x80000400,-0xc(%ebp)
if((p = ((bda[0x0F]<<8)| bda[0x0E]) << 4)){
801039ba: 8b 45 f4 mov -0xc(%ebp),%eax
801039bd: 83 c0 0f add $0xf,%eax
801039c0: 0f b6 00 movzbl (%eax),%eax
801039c3: 0f b6 c0 movzbl %al,%eax
801039c6: c1 e0 08 shl $0x8,%eax
801039c9: 89 c2 mov %eax,%edx
801039cb: 8b 45 f4 mov -0xc(%ebp),%eax
801039ce: 83 c0 0e add $0xe,%eax
801039d1: 0f b6 00 movzbl (%eax),%eax
801039d4: 0f b6 c0 movzbl %al,%eax
801039d7: 09 d0 or %edx,%eax
801039d9: c1 e0 04 shl $0x4,%eax
801039dc: 89 45 f0 mov %eax,-0x10(%ebp)
801039df: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
801039e3: 74 21 je 80103a06 <mpsearch+0x59>
if((mp = mpsearch1(p, 1024)))
801039e5: 83 ec 08 sub $0x8,%esp
801039e8: 68 00 04 00 00 push $0x400
801039ed: ff 75 f0 pushl -0x10(%ebp)
801039f0: e8 4c ff ff ff call 80103941 <mpsearch1>
801039f5: 83 c4 10 add $0x10,%esp
801039f8: 89 45 ec mov %eax,-0x14(%ebp)
801039fb: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
801039ff: 74 51 je 80103a52 <mpsearch+0xa5>
return mp;
80103a01: 8b 45 ec mov -0x14(%ebp),%eax
80103a04: eb 61 jmp 80103a67 <mpsearch+0xba>
} else {
p = ((bda[0x14]<<8)|bda[0x13])*1024;
80103a06: 8b 45 f4 mov -0xc(%ebp),%eax
80103a09: 83 c0 14 add $0x14,%eax
80103a0c: 0f b6 00 movzbl (%eax),%eax
80103a0f: 0f b6 c0 movzbl %al,%eax
80103a12: c1 e0 08 shl $0x8,%eax
80103a15: 89 c2 mov %eax,%edx
80103a17: 8b 45 f4 mov -0xc(%ebp),%eax
80103a1a: 83 c0 13 add $0x13,%eax
80103a1d: 0f b6 00 movzbl (%eax),%eax
80103a20: 0f b6 c0 movzbl %al,%eax
80103a23: 09 d0 or %edx,%eax
80103a25: c1 e0 0a shl $0xa,%eax
80103a28: 89 45 f0 mov %eax,-0x10(%ebp)
if((mp = mpsearch1(p-1024, 1024)))
80103a2b: 8b 45 f0 mov -0x10(%ebp),%eax
80103a2e: 2d 00 04 00 00 sub $0x400,%eax
80103a33: 83 ec 08 sub $0x8,%esp
80103a36: 68 00 04 00 00 push $0x400
80103a3b: 50 push %eax
80103a3c: e8 00 ff ff ff call 80103941 <mpsearch1>
80103a41: 83 c4 10 add $0x10,%esp
80103a44: 89 45 ec mov %eax,-0x14(%ebp)
80103a47: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
80103a4b: 74 05 je 80103a52 <mpsearch+0xa5>
return mp;
80103a4d: 8b 45 ec mov -0x14(%ebp),%eax
80103a50: eb 15 jmp 80103a67 <mpsearch+0xba>
}
return mpsearch1(0xF0000, 0x10000);
80103a52: 83 ec 08 sub $0x8,%esp
80103a55: 68 00 00 01 00 push $0x10000
80103a5a: 68 00 00 0f 00 push $0xf0000
80103a5f: e8 dd fe ff ff call 80103941 <mpsearch1>
80103a64: 83 c4 10 add $0x10,%esp
}
80103a67: c9 leave
80103a68: c3 ret
80103a69 <mpconfig>:
// Check for correct signature, calculate the checksum and,
// if correct, check the version.
// To do: check extended table checksum.
static struct mpconf*
mpconfig(struct mp **pmp)
{
80103a69: 55 push %ebp
80103a6a: 89 e5 mov %esp,%ebp
80103a6c: 83 ec 18 sub $0x18,%esp
struct mpconf *conf;
struct mp *mp;
if((mp = mpsearch()) == 0 || mp->physaddr == 0)
80103a6f: e8 39 ff ff ff call 801039ad <mpsearch>
80103a74: 89 45 f4 mov %eax,-0xc(%ebp)
80103a77: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80103a7b: 74 0a je 80103a87 <mpconfig+0x1e>
80103a7d: 8b 45 f4 mov -0xc(%ebp),%eax
80103a80: 8b 40 04 mov 0x4(%eax),%eax
80103a83: 85 c0 test %eax,%eax
80103a85: 75 0a jne 80103a91 <mpconfig+0x28>
return 0;
80103a87: b8 00 00 00 00 mov $0x0,%eax
80103a8c: e9 81 00 00 00 jmp 80103b12 <mpconfig+0xa9>
conf = (struct mpconf*) p2v((uint) mp->physaddr);
80103a91: 8b 45 f4 mov -0xc(%ebp),%eax
80103a94: 8b 40 04 mov 0x4(%eax),%eax
80103a97: 83 ec 0c sub $0xc,%esp
80103a9a: 50 push %eax
80103a9b: e8 02 fe ff ff call 801038a2 <p2v>
80103aa0: 83 c4 10 add $0x10,%esp
80103aa3: 89 45 f0 mov %eax,-0x10(%ebp)
if(memcmp(conf, "PCMP", 4) != 0)
80103aa6: 83 ec 04 sub $0x4,%esp
80103aa9: 6a 04 push $0x4
80103aab: 68 01 86 10 80 push $0x80108601
80103ab0: ff 75 f0 pushl -0x10(%ebp)
80103ab3: e8 e4 15 00 00 call 8010509c <memcmp>
80103ab8: 83 c4 10 add $0x10,%esp
80103abb: 85 c0 test %eax,%eax
80103abd: 74 07 je 80103ac6 <mpconfig+0x5d>
return 0;
80103abf: b8 00 00 00 00 mov $0x0,%eax
80103ac4: eb 4c jmp 80103b12 <mpconfig+0xa9>
if(conf->version != 1 && conf->version != 4)
80103ac6: 8b 45 f0 mov -0x10(%ebp),%eax
80103ac9: 0f b6 40 06 movzbl 0x6(%eax),%eax
80103acd: 3c 01 cmp $0x1,%al
80103acf: 74 12 je 80103ae3 <mpconfig+0x7a>
80103ad1: 8b 45 f0 mov -0x10(%ebp),%eax
80103ad4: 0f b6 40 06 movzbl 0x6(%eax),%eax
80103ad8: 3c 04 cmp $0x4,%al
80103ada: 74 07 je 80103ae3 <mpconfig+0x7a>
return 0;
80103adc: b8 00 00 00 00 mov $0x0,%eax
80103ae1: eb 2f jmp 80103b12 <mpconfig+0xa9>
if(sum((uchar*)conf, conf->length) != 0)
80103ae3: 8b 45 f0 mov -0x10(%ebp),%eax
80103ae6: 0f b7 40 04 movzwl 0x4(%eax),%eax
80103aea: 0f b7 c0 movzwl %ax,%eax
80103aed: 83 ec 08 sub $0x8,%esp
80103af0: 50 push %eax
80103af1: ff 75 f0 pushl -0x10(%ebp)
80103af4: e8 10 fe ff ff call 80103909 <sum>
80103af9: 83 c4 10 add $0x10,%esp
80103afc: 84 c0 test %al,%al
80103afe: 74 07 je 80103b07 <mpconfig+0x9e>
return 0;
80103b00: b8 00 00 00 00 mov $0x0,%eax
80103b05: eb 0b jmp 80103b12 <mpconfig+0xa9>
*pmp = mp;
80103b07: 8b 45 08 mov 0x8(%ebp),%eax
80103b0a: 8b 55 f4 mov -0xc(%ebp),%edx
80103b0d: 89 10 mov %edx,(%eax)
return conf;
80103b0f: 8b 45 f0 mov -0x10(%ebp),%eax
}
80103b12: c9 leave
80103b13: c3 ret
80103b14 <mpinit>:
void
mpinit(void)
{
80103b14: 55 push %ebp
80103b15: 89 e5 mov %esp,%ebp
80103b17: 83 ec 28 sub $0x28,%esp
struct mp *mp;
struct mpconf *conf;
struct mpproc *proc;
struct mpioapic *ioapic;
bcpu = &cpus[0];
80103b1a: c7 05 64 b6 10 80 40 movl $0x8010f940,0x8010b664
80103b21: f9 10 80
if((conf = mpconfig(&mp)) == 0)
80103b24: 83 ec 0c sub $0xc,%esp
80103b27: 8d 45 e0 lea -0x20(%ebp),%eax
80103b2a: 50 push %eax
80103b2b: e8 39 ff ff ff call 80103a69 <mpconfig>
80103b30: 83 c4 10 add $0x10,%esp
80103b33: 89 45 f0 mov %eax,-0x10(%ebp)
80103b36: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80103b3a: 0f 84 96 01 00 00 je 80103cd6 <mpinit+0x1c2>
return;
ismp = 1;
80103b40: c7 05 24 f9 10 80 01 movl $0x1,0x8010f924
80103b47: 00 00 00
lapic = (uint*)conf->lapicaddr;
80103b4a: 8b 45 f0 mov -0x10(%ebp),%eax
80103b4d: 8b 40 24 mov 0x24(%eax),%eax
80103b50: a3 9c f8 10 80 mov %eax,0x8010f89c
for(p=(uchar*)(conf+1), e=(uchar*)conf+conf->length; p<e; ){
80103b55: 8b 45 f0 mov -0x10(%ebp),%eax
80103b58: 83 c0 2c add $0x2c,%eax
80103b5b: 89 45 f4 mov %eax,-0xc(%ebp)
80103b5e: 8b 45 f0 mov -0x10(%ebp),%eax
80103b61: 0f b7 40 04 movzwl 0x4(%eax),%eax
80103b65: 0f b7 d0 movzwl %ax,%edx
80103b68: 8b 45 f0 mov -0x10(%ebp),%eax
80103b6b: 01 d0 add %edx,%eax
80103b6d: 89 45 ec mov %eax,-0x14(%ebp)
80103b70: e9 f2 00 00 00 jmp 80103c67 <mpinit+0x153>
switch(*p){
80103b75: 8b 45 f4 mov -0xc(%ebp),%eax
80103b78: 0f b6 00 movzbl (%eax),%eax
80103b7b: 0f b6 c0 movzbl %al,%eax
80103b7e: 83 f8 04 cmp $0x4,%eax
80103b81: 0f 87 bc 00 00 00 ja 80103c43 <mpinit+0x12f>
80103b87: 8b 04 85 44 86 10 80 mov -0x7fef79bc(,%eax,4),%eax
80103b8e: ff e0 jmp *%eax
case MPPROC:
proc = (struct mpproc*)p;
80103b90: 8b 45 f4 mov -0xc(%ebp),%eax
80103b93: 89 45 e8 mov %eax,-0x18(%ebp)
if(ncpu != proc->apicid){
80103b96: 8b 45 e8 mov -0x18(%ebp),%eax
80103b99: 0f b6 40 01 movzbl 0x1(%eax),%eax
80103b9d: 0f b6 d0 movzbl %al,%edx
80103ba0: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103ba5: 39 c2 cmp %eax,%edx
80103ba7: 74 2b je 80103bd4 <mpinit+0xc0>
cprintf("mpinit: ncpu=%d apicid=%d\n", ncpu, proc->apicid);
80103ba9: 8b 45 e8 mov -0x18(%ebp),%eax
80103bac: 0f b6 40 01 movzbl 0x1(%eax),%eax
80103bb0: 0f b6 d0 movzbl %al,%edx
80103bb3: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103bb8: 83 ec 04 sub $0x4,%esp
80103bbb: 52 push %edx
80103bbc: 50 push %eax
80103bbd: 68 06 86 10 80 push $0x80108606
80103bc2: e8 ff c7 ff ff call 801003c6 <cprintf>
80103bc7: 83 c4 10 add $0x10,%esp
ismp = 0;
80103bca: c7 05 24 f9 10 80 00 movl $0x0,0x8010f924
80103bd1: 00 00 00
}
if(proc->flags & MPBOOT)
80103bd4: 8b 45 e8 mov -0x18(%ebp),%eax
80103bd7: 0f b6 40 03 movzbl 0x3(%eax),%eax
80103bdb: 0f b6 c0 movzbl %al,%eax
80103bde: 83 e0 02 and $0x2,%eax
80103be1: 85 c0 test %eax,%eax
80103be3: 74 15 je 80103bfa <mpinit+0xe6>
bcpu = &cpus[ncpu];
80103be5: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103bea: 69 c0 bc 00 00 00 imul $0xbc,%eax,%eax
80103bf0: 05 40 f9 10 80 add $0x8010f940,%eax
80103bf5: a3 64 b6 10 80 mov %eax,0x8010b664
cpus[ncpu].id = ncpu;
80103bfa: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103bff: 8b 15 20 ff 10 80 mov 0x8010ff20,%edx
80103c05: 69 c0 bc 00 00 00 imul $0xbc,%eax,%eax
80103c0b: 05 40 f9 10 80 add $0x8010f940,%eax
80103c10: 88 10 mov %dl,(%eax)
ncpu++;
80103c12: a1 20 ff 10 80 mov 0x8010ff20,%eax
80103c17: 83 c0 01 add $0x1,%eax
80103c1a: a3 20 ff 10 80 mov %eax,0x8010ff20
p += sizeof(struct mpproc);
80103c1f: 83 45 f4 14 addl $0x14,-0xc(%ebp)
continue;
80103c23: eb 42 jmp 80103c67 <mpinit+0x153>
case MPIOAPIC:
ioapic = (struct mpioapic*)p;
80103c25: 8b 45 f4 mov -0xc(%ebp),%eax
80103c28: 89 45 e4 mov %eax,-0x1c(%ebp)
ioapicid = ioapic->apicno;
80103c2b: 8b 45 e4 mov -0x1c(%ebp),%eax
80103c2e: 0f b6 40 01 movzbl 0x1(%eax),%eax
80103c32: a2 20 f9 10 80 mov %al,0x8010f920
p += sizeof(struct mpioapic);
80103c37: 83 45 f4 08 addl $0x8,-0xc(%ebp)
continue;
80103c3b: eb 2a jmp 80103c67 <mpinit+0x153>
case MPBUS:
case MPIOINTR:
case MPLINTR:
p += 8;
80103c3d: 83 45 f4 08 addl $0x8,-0xc(%ebp)
continue;
80103c41: eb 24 jmp 80103c67 <mpinit+0x153>
default:
cprintf("mpinit: unknown config type %x\n", *p);
80103c43: 8b 45 f4 mov -0xc(%ebp),%eax
80103c46: 0f b6 00 movzbl (%eax),%eax
80103c49: 0f b6 c0 movzbl %al,%eax
80103c4c: 83 ec 08 sub $0x8,%esp
80103c4f: 50 push %eax
80103c50: 68 24 86 10 80 push $0x80108624
80103c55: e8 6c c7 ff ff call 801003c6 <cprintf>
80103c5a: 83 c4 10 add $0x10,%esp
ismp = 0;
80103c5d: c7 05 24 f9 10 80 00 movl $0x0,0x8010f924
80103c64: 00 00 00
bcpu = &cpus[0];
if((conf = mpconfig(&mp)) == 0)
return;
ismp = 1;
lapic = (uint*)conf->lapicaddr;
for(p=(uchar*)(conf+1), e=(uchar*)conf+conf->length; p<e; ){
80103c67: 8b 45 f4 mov -0xc(%ebp),%eax
80103c6a: 3b 45 ec cmp -0x14(%ebp),%eax
80103c6d: 0f 82 02 ff ff ff jb 80103b75 <mpinit+0x61>
default:
cprintf("mpinit: unknown config type %x\n", *p);
ismp = 0;
}
}
if(!ismp){
80103c73: a1 24 f9 10 80 mov 0x8010f924,%eax
80103c78: 85 c0 test %eax,%eax
80103c7a: 75 1d jne 80103c99 <mpinit+0x185>
// Didn't like what we found; fall back to no MP.
ncpu = 1;
80103c7c: c7 05 20 ff 10 80 01 movl $0x1,0x8010ff20
80103c83: 00 00 00
lapic = 0;
80103c86: c7 05 9c f8 10 80 00 movl $0x0,0x8010f89c
80103c8d: 00 00 00
ioapicid = 0;
80103c90: c6 05 20 f9 10 80 00 movb $0x0,0x8010f920
return;
80103c97: eb 3e jmp 80103cd7 <mpinit+0x1c3>
}
if(mp->imcrp){
80103c99: 8b 45 e0 mov -0x20(%ebp),%eax
80103c9c: 0f b6 40 0c movzbl 0xc(%eax),%eax
80103ca0: 84 c0 test %al,%al
80103ca2: 74 33 je 80103cd7 <mpinit+0x1c3>
// Bochs doesn't support IMCR, so this doesn't run on Bochs.
// But it would on real hardware.
outb(0x22, 0x70); // Select IMCR
80103ca4: 83 ec 08 sub $0x8,%esp
80103ca7: 6a 70 push $0x70
80103ca9: 6a 22 push $0x22
80103cab: e8 1c fc ff ff call 801038cc <outb>
80103cb0: 83 c4 10 add $0x10,%esp
outb(0x23, inb(0x23) | 1); // Mask external interrupts.
80103cb3: 83 ec 0c sub $0xc,%esp
80103cb6: 6a 23 push $0x23
80103cb8: e8 f2 fb ff ff call 801038af <inb>
80103cbd: 83 c4 10 add $0x10,%esp
80103cc0: 83 c8 01 or $0x1,%eax
80103cc3: 0f b6 c0 movzbl %al,%eax
80103cc6: 83 ec 08 sub $0x8,%esp
80103cc9: 50 push %eax
80103cca: 6a 23 push $0x23
80103ccc: e8 fb fb ff ff call 801038cc <outb>
80103cd1: 83 c4 10 add $0x10,%esp
80103cd4: eb 01 jmp 80103cd7 <mpinit+0x1c3>
struct mpproc *proc;
struct mpioapic *ioapic;
bcpu = &cpus[0];
if((conf = mpconfig(&mp)) == 0)
return;
80103cd6: 90 nop
// Bochs doesn't support IMCR, so this doesn't run on Bochs.
// But it would on real hardware.
outb(0x22, 0x70); // Select IMCR
outb(0x23, inb(0x23) | 1); // Mask external interrupts.
}
}
80103cd7: c9 leave
80103cd8: c3 ret
80103cd9 <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
80103cd9: 55 push %ebp
80103cda: 89 e5 mov %esp,%ebp
80103cdc: 83 ec 08 sub $0x8,%esp
80103cdf: 8b 55 08 mov 0x8(%ebp),%edx
80103ce2: 8b 45 0c mov 0xc(%ebp),%eax
80103ce5: 66 89 55 fc mov %dx,-0x4(%ebp)
80103ce9: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80103cec: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
80103cf0: 0f b7 55 fc movzwl -0x4(%ebp),%edx
80103cf4: ee out %al,(%dx)
}
80103cf5: 90 nop
80103cf6: c9 leave
80103cf7: c3 ret
80103cf8 <picsetmask>:
// Initial IRQ mask has interrupt 2 enabled (for slave 8259A).
static ushort irqmask = 0xFFFF & ~(1<<IRQ_SLAVE);
static void
picsetmask(ushort mask)
{
80103cf8: 55 push %ebp
80103cf9: 89 e5 mov %esp,%ebp
80103cfb: 83 ec 04 sub $0x4,%esp
80103cfe: 8b 45 08 mov 0x8(%ebp),%eax
80103d01: 66 89 45 fc mov %ax,-0x4(%ebp)
irqmask = mask;
80103d05: 0f b7 45 fc movzwl -0x4(%ebp),%eax
80103d09: 66 a3 00 b0 10 80 mov %ax,0x8010b000
outb(IO_PIC1+1, mask);
80103d0f: 0f b7 45 fc movzwl -0x4(%ebp),%eax
80103d13: 0f b6 c0 movzbl %al,%eax
80103d16: 50 push %eax
80103d17: 6a 21 push $0x21
80103d19: e8 bb ff ff ff call 80103cd9 <outb>
80103d1e: 83 c4 08 add $0x8,%esp
outb(IO_PIC2+1, mask >> 8);
80103d21: 0f b7 45 fc movzwl -0x4(%ebp),%eax
80103d25: 66 c1 e8 08 shr $0x8,%ax
80103d29: 0f b6 c0 movzbl %al,%eax
80103d2c: 50 push %eax
80103d2d: 68 a1 00 00 00 push $0xa1
80103d32: e8 a2 ff ff ff call 80103cd9 <outb>
80103d37: 83 c4 08 add $0x8,%esp
}
80103d3a: 90 nop
80103d3b: c9 leave
80103d3c: c3 ret
80103d3d <picenable>:
void
picenable(int irq)
{
80103d3d: 55 push %ebp
80103d3e: 89 e5 mov %esp,%ebp
picsetmask(irqmask & ~(1<<irq));
80103d40: 8b 45 08 mov 0x8(%ebp),%eax
80103d43: ba 01 00 00 00 mov $0x1,%edx
80103d48: 89 c1 mov %eax,%ecx
80103d4a: d3 e2 shl %cl,%edx
80103d4c: 89 d0 mov %edx,%eax
80103d4e: f7 d0 not %eax
80103d50: 89 c2 mov %eax,%edx
80103d52: 0f b7 05 00 b0 10 80 movzwl 0x8010b000,%eax
80103d59: 21 d0 and %edx,%eax
80103d5b: 0f b7 c0 movzwl %ax,%eax
80103d5e: 50 push %eax
80103d5f: e8 94 ff ff ff call 80103cf8 <picsetmask>
80103d64: 83 c4 04 add $0x4,%esp
}
80103d67: 90 nop
80103d68: c9 leave
80103d69: c3 ret
80103d6a <picinit>:
// Initialize the 8259A interrupt controllers.
void
picinit(void)
{
80103d6a: 55 push %ebp
80103d6b: 89 e5 mov %esp,%ebp
// mask all interrupts
outb(IO_PIC1+1, 0xFF);
80103d6d: 68 ff 00 00 00 push $0xff
80103d72: 6a 21 push $0x21
80103d74: e8 60 ff ff ff call 80103cd9 <outb>
80103d79: 83 c4 08 add $0x8,%esp
outb(IO_PIC2+1, 0xFF);
80103d7c: 68 ff 00 00 00 push $0xff
80103d81: 68 a1 00 00 00 push $0xa1
80103d86: e8 4e ff ff ff call 80103cd9 <outb>
80103d8b: 83 c4 08 add $0x8,%esp
// ICW1: 0001g0hi
// g: 0 = edge triggering, 1 = level triggering
// h: 0 = cascaded PICs, 1 = master only
// i: 0 = no ICW4, 1 = ICW4 required
outb(IO_PIC1, 0x11);
80103d8e: 6a 11 push $0x11
80103d90: 6a 20 push $0x20
80103d92: e8 42 ff ff ff call 80103cd9 <outb>
80103d97: 83 c4 08 add $0x8,%esp
// ICW2: Vector offset
outb(IO_PIC1+1, T_IRQ0);
80103d9a: 6a 20 push $0x20
80103d9c: 6a 21 push $0x21
80103d9e: e8 36 ff ff ff call 80103cd9 <outb>
80103da3: 83 c4 08 add $0x8,%esp
// ICW3: (master PIC) bit mask of IR lines connected to slaves
// (slave PIC) 3-bit # of slave's connection to master
outb(IO_PIC1+1, 1<<IRQ_SLAVE);
80103da6: 6a 04 push $0x4
80103da8: 6a 21 push $0x21
80103daa: e8 2a ff ff ff call 80103cd9 <outb>
80103daf: 83 c4 08 add $0x8,%esp
// m: 0 = slave PIC, 1 = master PIC
// (ignored when b is 0, as the master/slave role
// can be hardwired).
// a: 1 = Automatic EOI mode
// p: 0 = MCS-80/85 mode, 1 = intel x86 mode
outb(IO_PIC1+1, 0x3);
80103db2: 6a 03 push $0x3
80103db4: 6a 21 push $0x21
80103db6: e8 1e ff ff ff call 80103cd9 <outb>
80103dbb: 83 c4 08 add $0x8,%esp
// Set up slave (8259A-2)
outb(IO_PIC2, 0x11); // ICW1
80103dbe: 6a 11 push $0x11
80103dc0: 68 a0 00 00 00 push $0xa0
80103dc5: e8 0f ff ff ff call 80103cd9 <outb>
80103dca: 83 c4 08 add $0x8,%esp
outb(IO_PIC2+1, T_IRQ0 + 8); // ICW2
80103dcd: 6a 28 push $0x28
80103dcf: 68 a1 00 00 00 push $0xa1
80103dd4: e8 00 ff ff ff call 80103cd9 <outb>
80103dd9: 83 c4 08 add $0x8,%esp
outb(IO_PIC2+1, IRQ_SLAVE); // ICW3
80103ddc: 6a 02 push $0x2
80103dde: 68 a1 00 00 00 push $0xa1
80103de3: e8 f1 fe ff ff call 80103cd9 <outb>
80103de8: 83 c4 08 add $0x8,%esp
// NB Automatic EOI mode doesn't tend to work on the slave.
// Linux source code says it's "to be investigated".
outb(IO_PIC2+1, 0x3); // ICW4
80103deb: 6a 03 push $0x3
80103ded: 68 a1 00 00 00 push $0xa1
80103df2: e8 e2 fe ff ff call 80103cd9 <outb>
80103df7: 83 c4 08 add $0x8,%esp
// OCW3: 0ef01prs
// ef: 0x = NOP, 10 = clear specific mask, 11 = set specific mask
// p: 0 = no polling, 1 = polling mode
// rs: 0x = NOP, 10 = read IRR, 11 = read ISR
outb(IO_PIC1, 0x68); // clear specific mask
80103dfa: 6a 68 push $0x68
80103dfc: 6a 20 push $0x20
80103dfe: e8 d6 fe ff ff call 80103cd9 <outb>
80103e03: 83 c4 08 add $0x8,%esp
outb(IO_PIC1, 0x0a); // read IRR by default
80103e06: 6a 0a push $0xa
80103e08: 6a 20 push $0x20
80103e0a: e8 ca fe ff ff call 80103cd9 <outb>
80103e0f: 83 c4 08 add $0x8,%esp
outb(IO_PIC2, 0x68); // OCW3
80103e12: 6a 68 push $0x68
80103e14: 68 a0 00 00 00 push $0xa0
80103e19: e8 bb fe ff ff call 80103cd9 <outb>
80103e1e: 83 c4 08 add $0x8,%esp
outb(IO_PIC2, 0x0a); // OCW3
80103e21: 6a 0a push $0xa
80103e23: 68 a0 00 00 00 push $0xa0
80103e28: e8 ac fe ff ff call 80103cd9 <outb>
80103e2d: 83 c4 08 add $0x8,%esp
if(irqmask != 0xFFFF)
80103e30: 0f b7 05 00 b0 10 80 movzwl 0x8010b000,%eax
80103e37: 66 83 f8 ff cmp $0xffff,%ax
80103e3b: 74 13 je 80103e50 <picinit+0xe6>
picsetmask(irqmask);
80103e3d: 0f b7 05 00 b0 10 80 movzwl 0x8010b000,%eax
80103e44: 0f b7 c0 movzwl %ax,%eax
80103e47: 50 push %eax
80103e48: e8 ab fe ff ff call 80103cf8 <picsetmask>
80103e4d: 83 c4 04 add $0x4,%esp
}
80103e50: 90 nop
80103e51: c9 leave
80103e52: c3 ret
80103e53 <pipealloc>:
int writeopen; // write fd is still open
};
int
pipealloc(struct file **f0, struct file **f1)
{
80103e53: 55 push %ebp
80103e54: 89 e5 mov %esp,%ebp
80103e56: 83 ec 18 sub $0x18,%esp
struct pipe *p;
p = 0;
80103e59: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
*f0 = *f1 = 0;
80103e60: 8b 45 0c mov 0xc(%ebp),%eax
80103e63: c7 00 00 00 00 00 movl $0x0,(%eax)
80103e69: 8b 45 0c mov 0xc(%ebp),%eax
80103e6c: 8b 10 mov (%eax),%edx
80103e6e: 8b 45 08 mov 0x8(%ebp),%eax
80103e71: 89 10 mov %edx,(%eax)
if((*f0 = filealloc()) == 0 || (*f1 = filealloc()) == 0)
80103e73: e8 0b d3 ff ff call 80101183 <filealloc>
80103e78: 89 c2 mov %eax,%edx
80103e7a: 8b 45 08 mov 0x8(%ebp),%eax
80103e7d: 89 10 mov %edx,(%eax)
80103e7f: 8b 45 08 mov 0x8(%ebp),%eax
80103e82: 8b 00 mov (%eax),%eax
80103e84: 85 c0 test %eax,%eax
80103e86: 0f 84 cb 00 00 00 je 80103f57 <pipealloc+0x104>
80103e8c: e8 f2 d2 ff ff call 80101183 <filealloc>
80103e91: 89 c2 mov %eax,%edx
80103e93: 8b 45 0c mov 0xc(%ebp),%eax
80103e96: 89 10 mov %edx,(%eax)
80103e98: 8b 45 0c mov 0xc(%ebp),%eax
80103e9b: 8b 00 mov (%eax),%eax
80103e9d: 85 c0 test %eax,%eax
80103e9f: 0f 84 b2 00 00 00 je 80103f57 <pipealloc+0x104>
goto bad;
if((p = (struct pipe*)kalloc()) == 0)
80103ea5: e8 26 ef ff ff call 80102dd0 <kalloc>
80103eaa: 89 45 f4 mov %eax,-0xc(%ebp)
80103ead: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80103eb1: 0f 84 9f 00 00 00 je 80103f56 <pipealloc+0x103>
goto bad;
p->readopen = 1;
80103eb7: 8b 45 f4 mov -0xc(%ebp),%eax
80103eba: c7 80 3c 02 00 00 01 movl $0x1,0x23c(%eax)
80103ec1: 00 00 00
p->writeopen = 1;
80103ec4: 8b 45 f4 mov -0xc(%ebp),%eax
80103ec7: c7 80 40 02 00 00 01 movl $0x1,0x240(%eax)
80103ece: 00 00 00
p->nwrite = 0;
80103ed1: 8b 45 f4 mov -0xc(%ebp),%eax
80103ed4: c7 80 38 02 00 00 00 movl $0x0,0x238(%eax)
80103edb: 00 00 00
p->nread = 0;
80103ede: 8b 45 f4 mov -0xc(%ebp),%eax
80103ee1: c7 80 34 02 00 00 00 movl $0x0,0x234(%eax)
80103ee8: 00 00 00
initlock(&p->lock, "pipe");
80103eeb: 8b 45 f4 mov -0xc(%ebp),%eax
80103eee: 83 ec 08 sub $0x8,%esp
80103ef1: 68 58 86 10 80 push $0x80108658
80103ef6: 50 push %eax
80103ef7: e8 b4 0e 00 00 call 80104db0 <initlock>
80103efc: 83 c4 10 add $0x10,%esp
(*f0)->type = FD_PIPE;
80103eff: 8b 45 08 mov 0x8(%ebp),%eax
80103f02: 8b 00 mov (%eax),%eax
80103f04: c7 00 01 00 00 00 movl $0x1,(%eax)
(*f0)->readable = 1;
80103f0a: 8b 45 08 mov 0x8(%ebp),%eax
80103f0d: 8b 00 mov (%eax),%eax
80103f0f: c6 40 08 01 movb $0x1,0x8(%eax)
(*f0)->writable = 0;
80103f13: 8b 45 08 mov 0x8(%ebp),%eax
80103f16: 8b 00 mov (%eax),%eax
80103f18: c6 40 09 00 movb $0x0,0x9(%eax)
(*f0)->pipe = p;
80103f1c: 8b 45 08 mov 0x8(%ebp),%eax
80103f1f: 8b 00 mov (%eax),%eax
80103f21: 8b 55 f4 mov -0xc(%ebp),%edx
80103f24: 89 50 0c mov %edx,0xc(%eax)
(*f1)->type = FD_PIPE;
80103f27: 8b 45 0c mov 0xc(%ebp),%eax
80103f2a: 8b 00 mov (%eax),%eax
80103f2c: c7 00 01 00 00 00 movl $0x1,(%eax)
(*f1)->readable = 0;
80103f32: 8b 45 0c mov 0xc(%ebp),%eax
80103f35: 8b 00 mov (%eax),%eax
80103f37: c6 40 08 00 movb $0x0,0x8(%eax)
(*f1)->writable = 1;
80103f3b: 8b 45 0c mov 0xc(%ebp),%eax
80103f3e: 8b 00 mov (%eax),%eax
80103f40: c6 40 09 01 movb $0x1,0x9(%eax)
(*f1)->pipe = p;
80103f44: 8b 45 0c mov 0xc(%ebp),%eax
80103f47: 8b 00 mov (%eax),%eax
80103f49: 8b 55 f4 mov -0xc(%ebp),%edx
80103f4c: 89 50 0c mov %edx,0xc(%eax)
return 0;
80103f4f: b8 00 00 00 00 mov $0x0,%eax
80103f54: eb 4e jmp 80103fa4 <pipealloc+0x151>
p = 0;
*f0 = *f1 = 0;
if((*f0 = filealloc()) == 0 || (*f1 = filealloc()) == 0)
goto bad;
if((p = (struct pipe*)kalloc()) == 0)
goto bad;
80103f56: 90 nop
(*f1)->pipe = p;
return 0;
//PAGEBREAK: 20
bad:
if(p)
80103f57: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80103f5b: 74 0e je 80103f6b <pipealloc+0x118>
kfree((char*)p);
80103f5d: 83 ec 0c sub $0xc,%esp
80103f60: ff 75 f4 pushl -0xc(%ebp)
80103f63: e8 cb ed ff ff call 80102d33 <kfree>
80103f68: 83 c4 10 add $0x10,%esp
if(*f0)
80103f6b: 8b 45 08 mov 0x8(%ebp),%eax
80103f6e: 8b 00 mov (%eax),%eax
80103f70: 85 c0 test %eax,%eax
80103f72: 74 11 je 80103f85 <pipealloc+0x132>
fileclose(*f0);
80103f74: 8b 45 08 mov 0x8(%ebp),%eax
80103f77: 8b 00 mov (%eax),%eax
80103f79: 83 ec 0c sub $0xc,%esp
80103f7c: 50 push %eax
80103f7d: e8 bf d2 ff ff call 80101241 <fileclose>
80103f82: 83 c4 10 add $0x10,%esp
if(*f1)
80103f85: 8b 45 0c mov 0xc(%ebp),%eax
80103f88: 8b 00 mov (%eax),%eax
80103f8a: 85 c0 test %eax,%eax
80103f8c: 74 11 je 80103f9f <pipealloc+0x14c>
fileclose(*f1);
80103f8e: 8b 45 0c mov 0xc(%ebp),%eax
80103f91: 8b 00 mov (%eax),%eax
80103f93: 83 ec 0c sub $0xc,%esp
80103f96: 50 push %eax
80103f97: e8 a5 d2 ff ff call 80101241 <fileclose>
80103f9c: 83 c4 10 add $0x10,%esp
return -1;
80103f9f: b8 ff ff ff ff mov $0xffffffff,%eax
}
80103fa4: c9 leave
80103fa5: c3 ret
80103fa6 <pipeclose>:
void
pipeclose(struct pipe *p, int writable)
{
80103fa6: 55 push %ebp
80103fa7: 89 e5 mov %esp,%ebp
80103fa9: 83 ec 08 sub $0x8,%esp
acquire(&p->lock);
80103fac: 8b 45 08 mov 0x8(%ebp),%eax
80103faf: 83 ec 0c sub $0xc,%esp
80103fb2: 50 push %eax
80103fb3: e8 1a 0e 00 00 call 80104dd2 <acquire>
80103fb8: 83 c4 10 add $0x10,%esp
if(writable){
80103fbb: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
80103fbf: 74 23 je 80103fe4 <pipeclose+0x3e>
p->writeopen = 0;
80103fc1: 8b 45 08 mov 0x8(%ebp),%eax
80103fc4: c7 80 40 02 00 00 00 movl $0x0,0x240(%eax)
80103fcb: 00 00 00
wakeup(&p->nread);
80103fce: 8b 45 08 mov 0x8(%ebp),%eax
80103fd1: 05 34 02 00 00 add $0x234,%eax
80103fd6: 83 ec 0c sub $0xc,%esp
80103fd9: 50 push %eax
80103fda: e8 e5 0b 00 00 call 80104bc4 <wakeup>
80103fdf: 83 c4 10 add $0x10,%esp
80103fe2: eb 21 jmp 80104005 <pipeclose+0x5f>
} else {
p->readopen = 0;
80103fe4: 8b 45 08 mov 0x8(%ebp),%eax
80103fe7: c7 80 3c 02 00 00 00 movl $0x0,0x23c(%eax)
80103fee: 00 00 00
wakeup(&p->nwrite);
80103ff1: 8b 45 08 mov 0x8(%ebp),%eax
80103ff4: 05 38 02 00 00 add $0x238,%eax
80103ff9: 83 ec 0c sub $0xc,%esp
80103ffc: 50 push %eax
80103ffd: e8 c2 0b 00 00 call 80104bc4 <wakeup>
80104002: 83 c4 10 add $0x10,%esp
}
if(p->readopen == 0 && p->writeopen == 0){
80104005: 8b 45 08 mov 0x8(%ebp),%eax
80104008: 8b 80 3c 02 00 00 mov 0x23c(%eax),%eax
8010400e: 85 c0 test %eax,%eax
80104010: 75 2c jne 8010403e <pipeclose+0x98>
80104012: 8b 45 08 mov 0x8(%ebp),%eax
80104015: 8b 80 40 02 00 00 mov 0x240(%eax),%eax
8010401b: 85 c0 test %eax,%eax
8010401d: 75 1f jne 8010403e <pipeclose+0x98>
release(&p->lock);
8010401f: 8b 45 08 mov 0x8(%ebp),%eax
80104022: 83 ec 0c sub $0xc,%esp
80104025: 50 push %eax
80104026: e8 0e 0e 00 00 call 80104e39 <release>
8010402b: 83 c4 10 add $0x10,%esp
kfree((char*)p);
8010402e: 83 ec 0c sub $0xc,%esp
80104031: ff 75 08 pushl 0x8(%ebp)
80104034: e8 fa ec ff ff call 80102d33 <kfree>
80104039: 83 c4 10 add $0x10,%esp
8010403c: eb 0f jmp 8010404d <pipeclose+0xa7>
} else
release(&p->lock);
8010403e: 8b 45 08 mov 0x8(%ebp),%eax
80104041: 83 ec 0c sub $0xc,%esp
80104044: 50 push %eax
80104045: e8 ef 0d 00 00 call 80104e39 <release>
8010404a: 83 c4 10 add $0x10,%esp
}
8010404d: 90 nop
8010404e: c9 leave
8010404f: c3 ret
80104050 <pipewrite>:
//PAGEBREAK: 40
int
pipewrite(struct pipe *p, char *addr, int n)
{
80104050: 55 push %ebp
80104051: 89 e5 mov %esp,%ebp
80104053: 83 ec 18 sub $0x18,%esp
int i;
acquire(&p->lock);
80104056: 8b 45 08 mov 0x8(%ebp),%eax
80104059: 83 ec 0c sub $0xc,%esp
8010405c: 50 push %eax
8010405d: e8 70 0d 00 00 call 80104dd2 <acquire>
80104062: 83 c4 10 add $0x10,%esp
for(i = 0; i < n; i++){
80104065: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
8010406c: e9 ad 00 00 00 jmp 8010411e <pipewrite+0xce>
while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full
if(p->readopen == 0 || proc->killed){
80104071: 8b 45 08 mov 0x8(%ebp),%eax
80104074: 8b 80 3c 02 00 00 mov 0x23c(%eax),%eax
8010407a: 85 c0 test %eax,%eax
8010407c: 74 0d je 8010408b <pipewrite+0x3b>
8010407e: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104084: 8b 40 24 mov 0x24(%eax),%eax
80104087: 85 c0 test %eax,%eax
80104089: 74 19 je 801040a4 <pipewrite+0x54>
release(&p->lock);
8010408b: 8b 45 08 mov 0x8(%ebp),%eax
8010408e: 83 ec 0c sub $0xc,%esp
80104091: 50 push %eax
80104092: e8 a2 0d 00 00 call 80104e39 <release>
80104097: 83 c4 10 add $0x10,%esp
return -1;
8010409a: b8 ff ff ff ff mov $0xffffffff,%eax
8010409f: e9 a8 00 00 00 jmp 8010414c <pipewrite+0xfc>
}
wakeup(&p->nread);
801040a4: 8b 45 08 mov 0x8(%ebp),%eax
801040a7: 05 34 02 00 00 add $0x234,%eax
801040ac: 83 ec 0c sub $0xc,%esp
801040af: 50 push %eax
801040b0: e8 0f 0b 00 00 call 80104bc4 <wakeup>
801040b5: 83 c4 10 add $0x10,%esp
sleep(&p->nwrite, &p->lock); //DOC: pipewrite-sleep
801040b8: 8b 45 08 mov 0x8(%ebp),%eax
801040bb: 8b 55 08 mov 0x8(%ebp),%edx
801040be: 81 c2 38 02 00 00 add $0x238,%edx
801040c4: 83 ec 08 sub $0x8,%esp
801040c7: 50 push %eax
801040c8: 52 push %edx
801040c9: e8 0b 0a 00 00 call 80104ad9 <sleep>
801040ce: 83 c4 10 add $0x10,%esp
{
int i;
acquire(&p->lock);
for(i = 0; i < n; i++){
while(p->nwrite == p->nread + PIPESIZE){ //DOC: pipewrite-full
801040d1: 8b 45 08 mov 0x8(%ebp),%eax
801040d4: 8b 90 38 02 00 00 mov 0x238(%eax),%edx
801040da: 8b 45 08 mov 0x8(%ebp),%eax
801040dd: 8b 80 34 02 00 00 mov 0x234(%eax),%eax
801040e3: 05 00 02 00 00 add $0x200,%eax
801040e8: 39 c2 cmp %eax,%edx
801040ea: 74 85 je 80104071 <pipewrite+0x21>
return -1;
}
wakeup(&p->nread);
sleep(&p->nwrite, &p->lock); //DOC: pipewrite-sleep
}
p->data[p->nwrite++ % PIPESIZE] = addr[i];
801040ec: 8b 45 08 mov 0x8(%ebp),%eax
801040ef: 8b 80 38 02 00 00 mov 0x238(%eax),%eax
801040f5: 8d 48 01 lea 0x1(%eax),%ecx
801040f8: 8b 55 08 mov 0x8(%ebp),%edx
801040fb: 89 8a 38 02 00 00 mov %ecx,0x238(%edx)
80104101: 25 ff 01 00 00 and $0x1ff,%eax
80104106: 89 c1 mov %eax,%ecx
80104108: 8b 55 f4 mov -0xc(%ebp),%edx
8010410b: 8b 45 0c mov 0xc(%ebp),%eax
8010410e: 01 d0 add %edx,%eax
80104110: 0f b6 10 movzbl (%eax),%edx
80104113: 8b 45 08 mov 0x8(%ebp),%eax
80104116: 88 54 08 34 mov %dl,0x34(%eax,%ecx,1)
pipewrite(struct pipe *p, char *addr, int n)
{
int i;
acquire(&p->lock);
for(i = 0; i < n; i++){
8010411a: 83 45 f4 01 addl $0x1,-0xc(%ebp)
8010411e: 8b 45 f4 mov -0xc(%ebp),%eax
80104121: 3b 45 10 cmp 0x10(%ebp),%eax
80104124: 7c ab jl 801040d1 <pipewrite+0x81>
wakeup(&p->nread);
sleep(&p->nwrite, &p->lock); //DOC: pipewrite-sleep
}
p->data[p->nwrite++ % PIPESIZE] = addr[i];
}
wakeup(&p->nread); //DOC: pipewrite-wakeup1
80104126: 8b 45 08 mov 0x8(%ebp),%eax
80104129: 05 34 02 00 00 add $0x234,%eax
8010412e: 83 ec 0c sub $0xc,%esp
80104131: 50 push %eax
80104132: e8 8d 0a 00 00 call 80104bc4 <wakeup>
80104137: 83 c4 10 add $0x10,%esp
release(&p->lock);
8010413a: 8b 45 08 mov 0x8(%ebp),%eax
8010413d: 83 ec 0c sub $0xc,%esp
80104140: 50 push %eax
80104141: e8 f3 0c 00 00 call 80104e39 <release>
80104146: 83 c4 10 add $0x10,%esp
return n;
80104149: 8b 45 10 mov 0x10(%ebp),%eax
}
8010414c: c9 leave
8010414d: c3 ret
8010414e <piperead>:
int
piperead(struct pipe *p, char *addr, int n)
{
8010414e: 55 push %ebp
8010414f: 89 e5 mov %esp,%ebp
80104151: 53 push %ebx
80104152: 83 ec 14 sub $0x14,%esp
int i;
acquire(&p->lock);
80104155: 8b 45 08 mov 0x8(%ebp),%eax
80104158: 83 ec 0c sub $0xc,%esp
8010415b: 50 push %eax
8010415c: e8 71 0c 00 00 call 80104dd2 <acquire>
80104161: 83 c4 10 add $0x10,%esp
while(p->nread == p->nwrite && p->writeopen){ //DOC: pipe-empty
80104164: eb 3f jmp 801041a5 <piperead+0x57>
if(proc->killed){
80104166: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010416c: 8b 40 24 mov 0x24(%eax),%eax
8010416f: 85 c0 test %eax,%eax
80104171: 74 19 je 8010418c <piperead+0x3e>
release(&p->lock);
80104173: 8b 45 08 mov 0x8(%ebp),%eax
80104176: 83 ec 0c sub $0xc,%esp
80104179: 50 push %eax
8010417a: e8 ba 0c 00 00 call 80104e39 <release>
8010417f: 83 c4 10 add $0x10,%esp
return -1;
80104182: b8 ff ff ff ff mov $0xffffffff,%eax
80104187: e9 bf 00 00 00 jmp 8010424b <piperead+0xfd>
}
sleep(&p->nread, &p->lock); //DOC: piperead-sleep
8010418c: 8b 45 08 mov 0x8(%ebp),%eax
8010418f: 8b 55 08 mov 0x8(%ebp),%edx
80104192: 81 c2 34 02 00 00 add $0x234,%edx
80104198: 83 ec 08 sub $0x8,%esp
8010419b: 50 push %eax
8010419c: 52 push %edx
8010419d: e8 37 09 00 00 call 80104ad9 <sleep>
801041a2: 83 c4 10 add $0x10,%esp
piperead(struct pipe *p, char *addr, int n)
{
int i;
acquire(&p->lock);
while(p->nread == p->nwrite && p->writeopen){ //DOC: pipe-empty
801041a5: 8b 45 08 mov 0x8(%ebp),%eax
801041a8: 8b 90 34 02 00 00 mov 0x234(%eax),%edx
801041ae: 8b 45 08 mov 0x8(%ebp),%eax
801041b1: 8b 80 38 02 00 00 mov 0x238(%eax),%eax
801041b7: 39 c2 cmp %eax,%edx
801041b9: 75 0d jne 801041c8 <piperead+0x7a>
801041bb: 8b 45 08 mov 0x8(%ebp),%eax
801041be: 8b 80 40 02 00 00 mov 0x240(%eax),%eax
801041c4: 85 c0 test %eax,%eax
801041c6: 75 9e jne 80104166 <piperead+0x18>
release(&p->lock);
return -1;
}
sleep(&p->nread, &p->lock); //DOC: piperead-sleep
}
for(i = 0; i < n; i++){ //DOC: piperead-copy
801041c8: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801041cf: eb 49 jmp 8010421a <piperead+0xcc>
if(p->nread == p->nwrite)
801041d1: 8b 45 08 mov 0x8(%ebp),%eax
801041d4: 8b 90 34 02 00 00 mov 0x234(%eax),%edx
801041da: 8b 45 08 mov 0x8(%ebp),%eax
801041dd: 8b 80 38 02 00 00 mov 0x238(%eax),%eax
801041e3: 39 c2 cmp %eax,%edx
801041e5: 74 3d je 80104224 <piperead+0xd6>
break;
addr[i] = p->data[p->nread++ % PIPESIZE];
801041e7: 8b 55 f4 mov -0xc(%ebp),%edx
801041ea: 8b 45 0c mov 0xc(%ebp),%eax
801041ed: 8d 1c 02 lea (%edx,%eax,1),%ebx
801041f0: 8b 45 08 mov 0x8(%ebp),%eax
801041f3: 8b 80 34 02 00 00 mov 0x234(%eax),%eax
801041f9: 8d 48 01 lea 0x1(%eax),%ecx
801041fc: 8b 55 08 mov 0x8(%ebp),%edx
801041ff: 89 8a 34 02 00 00 mov %ecx,0x234(%edx)
80104205: 25 ff 01 00 00 and $0x1ff,%eax
8010420a: 89 c2 mov %eax,%edx
8010420c: 8b 45 08 mov 0x8(%ebp),%eax
8010420f: 0f b6 44 10 34 movzbl 0x34(%eax,%edx,1),%eax
80104214: 88 03 mov %al,(%ebx)
release(&p->lock);
return -1;
}
sleep(&p->nread, &p->lock); //DOC: piperead-sleep
}
for(i = 0; i < n; i++){ //DOC: piperead-copy
80104216: 83 45 f4 01 addl $0x1,-0xc(%ebp)
8010421a: 8b 45 f4 mov -0xc(%ebp),%eax
8010421d: 3b 45 10 cmp 0x10(%ebp),%eax
80104220: 7c af jl 801041d1 <piperead+0x83>
80104222: eb 01 jmp 80104225 <piperead+0xd7>
if(p->nread == p->nwrite)
break;
80104224: 90 nop
addr[i] = p->data[p->nread++ % PIPESIZE];
}
wakeup(&p->nwrite); //DOC: piperead-wakeup
80104225: 8b 45 08 mov 0x8(%ebp),%eax
80104228: 05 38 02 00 00 add $0x238,%eax
8010422d: 83 ec 0c sub $0xc,%esp
80104230: 50 push %eax
80104231: e8 8e 09 00 00 call 80104bc4 <wakeup>
80104236: 83 c4 10 add $0x10,%esp
release(&p->lock);
80104239: 8b 45 08 mov 0x8(%ebp),%eax
8010423c: 83 ec 0c sub $0xc,%esp
8010423f: 50 push %eax
80104240: e8 f4 0b 00 00 call 80104e39 <release>
80104245: 83 c4 10 add $0x10,%esp
return i;
80104248: 8b 45 f4 mov -0xc(%ebp),%eax
}
8010424b: 8b 5d fc mov -0x4(%ebp),%ebx
8010424e: c9 leave
8010424f: c3 ret
80104250 <readeflags>:
asm volatile("ltr %0" : : "r" (sel));
}
static inline uint
readeflags(void)
{
80104250: 55 push %ebp
80104251: 89 e5 mov %esp,%ebp
80104253: 83 ec 10 sub $0x10,%esp
uint eflags;
asm volatile("pushfl; popl %0" : "=r" (eflags));
80104256: 9c pushf
80104257: 58 pop %eax
80104258: 89 45 fc mov %eax,-0x4(%ebp)
return eflags;
8010425b: 8b 45 fc mov -0x4(%ebp),%eax
}
8010425e: c9 leave
8010425f: c3 ret
80104260 <sti>:
asm volatile("cli");
}
static inline void
sti(void)
{
80104260: 55 push %ebp
80104261: 89 e5 mov %esp,%ebp
asm volatile("sti");
80104263: fb sti
}
80104264: 90 nop
80104265: 5d pop %ebp
80104266: c3 ret
80104267 <pinit>:
static void wakeup1(void *chan);
void
pinit(void)
{
80104267: 55 push %ebp
80104268: 89 e5 mov %esp,%ebp
8010426a: 83 ec 08 sub $0x8,%esp
initlock(&ptable.lock, "ptable");
8010426d: 83 ec 08 sub $0x8,%esp
80104270: 68 5d 86 10 80 push $0x8010865d
80104275: 68 40 ff 10 80 push $0x8010ff40
8010427a: e8 31 0b 00 00 call 80104db0 <initlock>
8010427f: 83 c4 10 add $0x10,%esp
}
80104282: 90 nop
80104283: c9 leave
80104284: c3 ret
80104285 <allocproc>:
// If found, change state to EMBRYO and initialize
// state required to run in the kernel.
// Otherwise return 0.
static struct proc*
allocproc(void)
{
80104285: 55 push %ebp
80104286: 89 e5 mov %esp,%ebp
80104288: 83 ec 18 sub $0x18,%esp
struct proc *p;
char *sp;
acquire(&ptable.lock);
8010428b: 83 ec 0c sub $0xc,%esp
8010428e: 68 40 ff 10 80 push $0x8010ff40
80104293: e8 3a 0b 00 00 call 80104dd2 <acquire>
80104298: 83 c4 10 add $0x10,%esp
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++)
8010429b: c7 45 f4 74 ff 10 80 movl $0x8010ff74,-0xc(%ebp)
801042a2: eb 0e jmp 801042b2 <allocproc+0x2d>
if(p->state == UNUSED)
801042a4: 8b 45 f4 mov -0xc(%ebp),%eax
801042a7: 8b 40 0c mov 0xc(%eax),%eax
801042aa: 85 c0 test %eax,%eax
801042ac: 74 27 je 801042d5 <allocproc+0x50>
{
struct proc *p;
char *sp;
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++)
801042ae: 83 45 f4 7c addl $0x7c,-0xc(%ebp)
801042b2: 81 7d f4 74 1e 11 80 cmpl $0x80111e74,-0xc(%ebp)
801042b9: 72 e9 jb 801042a4 <allocproc+0x1f>
if(p->state == UNUSED)
goto found;
release(&ptable.lock);
801042bb: 83 ec 0c sub $0xc,%esp
801042be: 68 40 ff 10 80 push $0x8010ff40
801042c3: e8 71 0b 00 00 call 80104e39 <release>
801042c8: 83 c4 10 add $0x10,%esp
return 0;
801042cb: b8 00 00 00 00 mov $0x0,%eax
801042d0: e9 b4 00 00 00 jmp 80104389 <allocproc+0x104>
char *sp;
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++)
if(p->state == UNUSED)
goto found;
801042d5: 90 nop
release(&ptable.lock);
return 0;
found:
p->state = EMBRYO;
801042d6: 8b 45 f4 mov -0xc(%ebp),%eax
801042d9: c7 40 0c 01 00 00 00 movl $0x1,0xc(%eax)
p->pid = nextpid++;
801042e0: a1 04 b0 10 80 mov 0x8010b004,%eax
801042e5: 8d 50 01 lea 0x1(%eax),%edx
801042e8: 89 15 04 b0 10 80 mov %edx,0x8010b004
801042ee: 8b 55 f4 mov -0xc(%ebp),%edx
801042f1: 89 42 10 mov %eax,0x10(%edx)
release(&ptable.lock);
801042f4: 83 ec 0c sub $0xc,%esp
801042f7: 68 40 ff 10 80 push $0x8010ff40
801042fc: e8 38 0b 00 00 call 80104e39 <release>
80104301: 83 c4 10 add $0x10,%esp
// Allocate kernel stack.
if((p->kstack = kalloc()) == 0){
80104304: e8 c7 ea ff ff call 80102dd0 <kalloc>
80104309: 89 c2 mov %eax,%edx
8010430b: 8b 45 f4 mov -0xc(%ebp),%eax
8010430e: 89 50 08 mov %edx,0x8(%eax)
80104311: 8b 45 f4 mov -0xc(%ebp),%eax
80104314: 8b 40 08 mov 0x8(%eax),%eax
80104317: 85 c0 test %eax,%eax
80104319: 75 11 jne 8010432c <allocproc+0xa7>
p->state = UNUSED;
8010431b: 8b 45 f4 mov -0xc(%ebp),%eax
8010431e: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
return 0;
80104325: b8 00 00 00 00 mov $0x0,%eax
8010432a: eb 5d jmp 80104389 <allocproc+0x104>
}
sp = p->kstack + KSTACKSIZE;
8010432c: 8b 45 f4 mov -0xc(%ebp),%eax
8010432f: 8b 40 08 mov 0x8(%eax),%eax
80104332: 05 00 10 00 00 add $0x1000,%eax
80104337: 89 45 f0 mov %eax,-0x10(%ebp)
// Leave room for trap frame.
sp -= sizeof *p->tf;
8010433a: 83 6d f0 4c subl $0x4c,-0x10(%ebp)
p->tf = (struct trapframe*)sp;
8010433e: 8b 45 f4 mov -0xc(%ebp),%eax
80104341: 8b 55 f0 mov -0x10(%ebp),%edx
80104344: 89 50 18 mov %edx,0x18(%eax)
// Set up new context to start executing at forkret,
// which returns to trapret.
sp -= 4;
80104347: 83 6d f0 04 subl $0x4,-0x10(%ebp)
*(uint*)sp = (uint)trapret;
8010434b: ba a9 64 10 80 mov $0x801064a9,%edx
80104350: 8b 45 f0 mov -0x10(%ebp),%eax
80104353: 89 10 mov %edx,(%eax)
sp -= sizeof *p->context;
80104355: 83 6d f0 14 subl $0x14,-0x10(%ebp)
p->context = (struct context*)sp;
80104359: 8b 45 f4 mov -0xc(%ebp),%eax
8010435c: 8b 55 f0 mov -0x10(%ebp),%edx
8010435f: 89 50 1c mov %edx,0x1c(%eax)
memset(p->context, 0, sizeof *p->context);
80104362: 8b 45 f4 mov -0xc(%ebp),%eax
80104365: 8b 40 1c mov 0x1c(%eax),%eax
80104368: 83 ec 04 sub $0x4,%esp
8010436b: 6a 14 push $0x14
8010436d: 6a 00 push $0x0
8010436f: 50 push %eax
80104370: e8 c0 0c 00 00 call 80105035 <memset>
80104375: 83 c4 10 add $0x10,%esp
p->context->eip = (uint)forkret;
80104378: 8b 45 f4 mov -0xc(%ebp),%eax
8010437b: 8b 40 1c mov 0x1c(%eax),%eax
8010437e: ba a8 4a 10 80 mov $0x80104aa8,%edx
80104383: 89 50 10 mov %edx,0x10(%eax)
return p;
80104386: 8b 45 f4 mov -0xc(%ebp),%eax
}
80104389: c9 leave
8010438a: c3 ret
8010438b <userinit>:
//PAGEBREAK: 32
// Set up first user process.
void
userinit(void)
{
8010438b: 55 push %ebp
8010438c: 89 e5 mov %esp,%ebp
8010438e: 83 ec 18 sub $0x18,%esp
struct proc *p;
extern char _binary_initcode_start[], _binary_initcode_size[];
p = allocproc();
80104391: e8 ef fe ff ff call 80104285 <allocproc>
80104396: 89 45 f4 mov %eax,-0xc(%ebp)
initproc = p;
80104399: 8b 45 f4 mov -0xc(%ebp),%eax
8010439c: a3 68 b6 10 80 mov %eax,0x8010b668
if((p->pgdir = setupkvm()) == 0)
801043a1: e8 c8 37 00 00 call 80107b6e <setupkvm>
801043a6: 89 c2 mov %eax,%edx
801043a8: 8b 45 f4 mov -0xc(%ebp),%eax
801043ab: 89 50 04 mov %edx,0x4(%eax)
801043ae: 8b 45 f4 mov -0xc(%ebp),%eax
801043b1: 8b 40 04 mov 0x4(%eax),%eax
801043b4: 85 c0 test %eax,%eax
801043b6: 75 0d jne 801043c5 <userinit+0x3a>
panic("userinit: out of memory?");
801043b8: 83 ec 0c sub $0xc,%esp
801043bb: 68 64 86 10 80 push $0x80108664
801043c0: e8 a1 c1 ff ff call 80100566 <panic>
inituvm(p->pgdir, _binary_initcode_start, (int)_binary_initcode_size);
801043c5: ba 2c 00 00 00 mov $0x2c,%edx
801043ca: 8b 45 f4 mov -0xc(%ebp),%eax
801043cd: 8b 40 04 mov 0x4(%eax),%eax
801043d0: 83 ec 04 sub $0x4,%esp
801043d3: 52 push %edx
801043d4: 68 00 b5 10 80 push $0x8010b500
801043d9: 50 push %eax
801043da: e8 e9 39 00 00 call 80107dc8 <inituvm>
801043df: 83 c4 10 add $0x10,%esp
p->sz = PGSIZE;
801043e2: 8b 45 f4 mov -0xc(%ebp),%eax
801043e5: c7 00 00 10 00 00 movl $0x1000,(%eax)
memset(p->tf, 0, sizeof(*p->tf));
801043eb: 8b 45 f4 mov -0xc(%ebp),%eax
801043ee: 8b 40 18 mov 0x18(%eax),%eax
801043f1: 83 ec 04 sub $0x4,%esp
801043f4: 6a 4c push $0x4c
801043f6: 6a 00 push $0x0
801043f8: 50 push %eax
801043f9: e8 37 0c 00 00 call 80105035 <memset>
801043fe: 83 c4 10 add $0x10,%esp
p->tf->cs = (SEG_UCODE << 3) | DPL_USER;
80104401: 8b 45 f4 mov -0xc(%ebp),%eax
80104404: 8b 40 18 mov 0x18(%eax),%eax
80104407: 66 c7 40 3c 23 00 movw $0x23,0x3c(%eax)
p->tf->ds = (SEG_UDATA << 3) | DPL_USER;
8010440d: 8b 45 f4 mov -0xc(%ebp),%eax
80104410: 8b 40 18 mov 0x18(%eax),%eax
80104413: 66 c7 40 2c 2b 00 movw $0x2b,0x2c(%eax)
p->tf->es = p->tf->ds;
80104419: 8b 45 f4 mov -0xc(%ebp),%eax
8010441c: 8b 40 18 mov 0x18(%eax),%eax
8010441f: 8b 55 f4 mov -0xc(%ebp),%edx
80104422: 8b 52 18 mov 0x18(%edx),%edx
80104425: 0f b7 52 2c movzwl 0x2c(%edx),%edx
80104429: 66 89 50 28 mov %dx,0x28(%eax)
p->tf->ss = p->tf->ds;
8010442d: 8b 45 f4 mov -0xc(%ebp),%eax
80104430: 8b 40 18 mov 0x18(%eax),%eax
80104433: 8b 55 f4 mov -0xc(%ebp),%edx
80104436: 8b 52 18 mov 0x18(%edx),%edx
80104439: 0f b7 52 2c movzwl 0x2c(%edx),%edx
8010443d: 66 89 50 48 mov %dx,0x48(%eax)
p->tf->eflags = FL_IF;
80104441: 8b 45 f4 mov -0xc(%ebp),%eax
80104444: 8b 40 18 mov 0x18(%eax),%eax
80104447: c7 40 40 00 02 00 00 movl $0x200,0x40(%eax)
p->tf->esp = PGSIZE;
8010444e: 8b 45 f4 mov -0xc(%ebp),%eax
80104451: 8b 40 18 mov 0x18(%eax),%eax
80104454: c7 40 44 00 10 00 00 movl $0x1000,0x44(%eax)
p->tf->eip = 0; // beginning of initcode.S
8010445b: 8b 45 f4 mov -0xc(%ebp),%eax
8010445e: 8b 40 18 mov 0x18(%eax),%eax
80104461: c7 40 38 00 00 00 00 movl $0x0,0x38(%eax)
safestrcpy(p->name, "initcode", sizeof(p->name));
80104468: 8b 45 f4 mov -0xc(%ebp),%eax
8010446b: 83 c0 6c add $0x6c,%eax
8010446e: 83 ec 04 sub $0x4,%esp
80104471: 6a 10 push $0x10
80104473: 68 7d 86 10 80 push $0x8010867d
80104478: 50 push %eax
80104479: e8 ba 0d 00 00 call 80105238 <safestrcpy>
8010447e: 83 c4 10 add $0x10,%esp
p->cwd = namei("/");
80104481: 83 ec 0c sub $0xc,%esp
80104484: 68 86 86 10 80 push $0x80108686
80104489: e8 40 e2 ff ff call 801026ce <namei>
8010448e: 83 c4 10 add $0x10,%esp
80104491: 89 c2 mov %eax,%edx
80104493: 8b 45 f4 mov -0xc(%ebp),%eax
80104496: 89 50 68 mov %edx,0x68(%eax)
p->state = RUNNABLE;
80104499: 8b 45 f4 mov -0xc(%ebp),%eax
8010449c: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
}
801044a3: 90 nop
801044a4: c9 leave
801044a5: c3 ret
801044a6 <growproc>:
// Grow current process's memory by n bytes.
// Return 0 on success, -1 on failure.
int
growproc(int n)
{
801044a6: 55 push %ebp
801044a7: 89 e5 mov %esp,%ebp
801044a9: 83 ec 18 sub $0x18,%esp
uint sz;
sz = proc->sz;
801044ac: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801044b2: 8b 00 mov (%eax),%eax
801044b4: 89 45 f4 mov %eax,-0xc(%ebp)
if(n > 0){
801044b7: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
801044bb: 7e 31 jle 801044ee <growproc+0x48>
if((sz = allocuvm(proc->pgdir, sz, sz + n)) == 0)
801044bd: 8b 55 08 mov 0x8(%ebp),%edx
801044c0: 8b 45 f4 mov -0xc(%ebp),%eax
801044c3: 01 c2 add %eax,%edx
801044c5: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801044cb: 8b 40 04 mov 0x4(%eax),%eax
801044ce: 83 ec 04 sub $0x4,%esp
801044d1: 52 push %edx
801044d2: ff 75 f4 pushl -0xc(%ebp)
801044d5: 50 push %eax
801044d6: e8 3a 3a 00 00 call 80107f15 <allocuvm>
801044db: 83 c4 10 add $0x10,%esp
801044de: 89 45 f4 mov %eax,-0xc(%ebp)
801044e1: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801044e5: 75 3e jne 80104525 <growproc+0x7f>
return -1;
801044e7: b8 ff ff ff ff mov $0xffffffff,%eax
801044ec: eb 59 jmp 80104547 <growproc+0xa1>
} else if(n < 0){
801044ee: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
801044f2: 79 31 jns 80104525 <growproc+0x7f>
if((sz = deallocuvm(proc->pgdir, sz, sz + n)) == 0)
801044f4: 8b 55 08 mov 0x8(%ebp),%edx
801044f7: 8b 45 f4 mov -0xc(%ebp),%eax
801044fa: 01 c2 add %eax,%edx
801044fc: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104502: 8b 40 04 mov 0x4(%eax),%eax
80104505: 83 ec 04 sub $0x4,%esp
80104508: 52 push %edx
80104509: ff 75 f4 pushl -0xc(%ebp)
8010450c: 50 push %eax
8010450d: e8 cc 3a 00 00 call 80107fde <deallocuvm>
80104512: 83 c4 10 add $0x10,%esp
80104515: 89 45 f4 mov %eax,-0xc(%ebp)
80104518: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
8010451c: 75 07 jne 80104525 <growproc+0x7f>
return -1;
8010451e: b8 ff ff ff ff mov $0xffffffff,%eax
80104523: eb 22 jmp 80104547 <growproc+0xa1>
}
proc->sz = sz;
80104525: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010452b: 8b 55 f4 mov -0xc(%ebp),%edx
8010452e: 89 10 mov %edx,(%eax)
switchuvm(proc);
80104530: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104536: 83 ec 0c sub $0xc,%esp
80104539: 50 push %eax
8010453a: e8 16 37 00 00 call 80107c55 <switchuvm>
8010453f: 83 c4 10 add $0x10,%esp
return 0;
80104542: b8 00 00 00 00 mov $0x0,%eax
}
80104547: c9 leave
80104548: c3 ret
80104549 <fork>:
// Create a new process copying p as the parent.
// Sets up stack to return as if from system call.
// Caller must set state of returned proc to RUNNABLE.
int
fork(void)
{
80104549: 55 push %ebp
8010454a: 89 e5 mov %esp,%ebp
8010454c: 57 push %edi
8010454d: 56 push %esi
8010454e: 53 push %ebx
8010454f: 83 ec 1c sub $0x1c,%esp
int i, pid;
struct proc *np;
// Allocate process.
if((np = allocproc()) == 0)
80104552: e8 2e fd ff ff call 80104285 <allocproc>
80104557: 89 45 e0 mov %eax,-0x20(%ebp)
8010455a: 83 7d e0 00 cmpl $0x0,-0x20(%ebp)
8010455e: 75 0a jne 8010456a <fork+0x21>
return -1;
80104560: b8 ff ff ff ff mov $0xffffffff,%eax
80104565: e9 48 01 00 00 jmp 801046b2 <fork+0x169>
// Copy process state from p.
if((np->pgdir = copyuvm(proc->pgdir, proc->sz)) == 0){
8010456a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104570: 8b 10 mov (%eax),%edx
80104572: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104578: 8b 40 04 mov 0x4(%eax),%eax
8010457b: 83 ec 08 sub $0x8,%esp
8010457e: 52 push %edx
8010457f: 50 push %eax
80104580: e8 f7 3b 00 00 call 8010817c <copyuvm>
80104585: 83 c4 10 add $0x10,%esp
80104588: 89 c2 mov %eax,%edx
8010458a: 8b 45 e0 mov -0x20(%ebp),%eax
8010458d: 89 50 04 mov %edx,0x4(%eax)
80104590: 8b 45 e0 mov -0x20(%ebp),%eax
80104593: 8b 40 04 mov 0x4(%eax),%eax
80104596: 85 c0 test %eax,%eax
80104598: 75 30 jne 801045ca <fork+0x81>
kfree(np->kstack);
8010459a: 8b 45 e0 mov -0x20(%ebp),%eax
8010459d: 8b 40 08 mov 0x8(%eax),%eax
801045a0: 83 ec 0c sub $0xc,%esp
801045a3: 50 push %eax
801045a4: e8 8a e7 ff ff call 80102d33 <kfree>
801045a9: 83 c4 10 add $0x10,%esp
np->kstack = 0;
801045ac: 8b 45 e0 mov -0x20(%ebp),%eax
801045af: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
np->state = UNUSED;
801045b6: 8b 45 e0 mov -0x20(%ebp),%eax
801045b9: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
return -1;
801045c0: b8 ff ff ff ff mov $0xffffffff,%eax
801045c5: e9 e8 00 00 00 jmp 801046b2 <fork+0x169>
}
np->sz = proc->sz;
801045ca: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801045d0: 8b 10 mov (%eax),%edx
801045d2: 8b 45 e0 mov -0x20(%ebp),%eax
801045d5: 89 10 mov %edx,(%eax)
np->parent = proc;
801045d7: 65 8b 15 04 00 00 00 mov %gs:0x4,%edx
801045de: 8b 45 e0 mov -0x20(%ebp),%eax
801045e1: 89 50 14 mov %edx,0x14(%eax)
*np->tf = *proc->tf;
801045e4: 8b 45 e0 mov -0x20(%ebp),%eax
801045e7: 8b 50 18 mov 0x18(%eax),%edx
801045ea: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801045f0: 8b 40 18 mov 0x18(%eax),%eax
801045f3: 89 c3 mov %eax,%ebx
801045f5: b8 13 00 00 00 mov $0x13,%eax
801045fa: 89 d7 mov %edx,%edi
801045fc: 89 de mov %ebx,%esi
801045fe: 89 c1 mov %eax,%ecx
80104600: f3 a5 rep movsl %ds:(%esi),%es:(%edi)
// Clear %eax so that fork returns 0 in the child.
np->tf->eax = 0;
80104602: 8b 45 e0 mov -0x20(%ebp),%eax
80104605: 8b 40 18 mov 0x18(%eax),%eax
80104608: c7 40 1c 00 00 00 00 movl $0x0,0x1c(%eax)
for(i = 0; i < NOFILE; i++)
8010460f: c7 45 e4 00 00 00 00 movl $0x0,-0x1c(%ebp)
80104616: eb 43 jmp 8010465b <fork+0x112>
if(proc->ofile[i])
80104618: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010461e: 8b 55 e4 mov -0x1c(%ebp),%edx
80104621: 83 c2 08 add $0x8,%edx
80104624: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
80104628: 85 c0 test %eax,%eax
8010462a: 74 2b je 80104657 <fork+0x10e>
np->ofile[i] = filedup(proc->ofile[i]);
8010462c: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104632: 8b 55 e4 mov -0x1c(%ebp),%edx
80104635: 83 c2 08 add $0x8,%edx
80104638: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
8010463c: 83 ec 0c sub $0xc,%esp
8010463f: 50 push %eax
80104640: e8 ab cb ff ff call 801011f0 <filedup>
80104645: 83 c4 10 add $0x10,%esp
80104648: 89 c1 mov %eax,%ecx
8010464a: 8b 45 e0 mov -0x20(%ebp),%eax
8010464d: 8b 55 e4 mov -0x1c(%ebp),%edx
80104650: 83 c2 08 add $0x8,%edx
80104653: 89 4c 90 08 mov %ecx,0x8(%eax,%edx,4)
*np->tf = *proc->tf;
// Clear %eax so that fork returns 0 in the child.
np->tf->eax = 0;
for(i = 0; i < NOFILE; i++)
80104657: 83 45 e4 01 addl $0x1,-0x1c(%ebp)
8010465b: 83 7d e4 0f cmpl $0xf,-0x1c(%ebp)
8010465f: 7e b7 jle 80104618 <fork+0xcf>
if(proc->ofile[i])
np->ofile[i] = filedup(proc->ofile[i]);
np->cwd = idup(proc->cwd);
80104661: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104667: 8b 40 68 mov 0x68(%eax),%eax
8010466a: 83 ec 0c sub $0xc,%esp
8010466d: 50 push %eax
8010466e: e8 69 d4 ff ff call 80101adc <idup>
80104673: 83 c4 10 add $0x10,%esp
80104676: 89 c2 mov %eax,%edx
80104678: 8b 45 e0 mov -0x20(%ebp),%eax
8010467b: 89 50 68 mov %edx,0x68(%eax)
pid = np->pid;
8010467e: 8b 45 e0 mov -0x20(%ebp),%eax
80104681: 8b 40 10 mov 0x10(%eax),%eax
80104684: 89 45 dc mov %eax,-0x24(%ebp)
np->state = RUNNABLE;
80104687: 8b 45 e0 mov -0x20(%ebp),%eax
8010468a: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
safestrcpy(np->name, proc->name, sizeof(proc->name));
80104691: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104697: 8d 50 6c lea 0x6c(%eax),%edx
8010469a: 8b 45 e0 mov -0x20(%ebp),%eax
8010469d: 83 c0 6c add $0x6c,%eax
801046a0: 83 ec 04 sub $0x4,%esp
801046a3: 6a 10 push $0x10
801046a5: 52 push %edx
801046a6: 50 push %eax
801046a7: e8 8c 0b 00 00 call 80105238 <safestrcpy>
801046ac: 83 c4 10 add $0x10,%esp
return pid;
801046af: 8b 45 dc mov -0x24(%ebp),%eax
}
801046b2: 8d 65 f4 lea -0xc(%ebp),%esp
801046b5: 5b pop %ebx
801046b6: 5e pop %esi
801046b7: 5f pop %edi
801046b8: 5d pop %ebp
801046b9: c3 ret
801046ba <exit>:
// Exit the current process. Does not return.
// An exited process remains in the zombie state
// until its parent calls wait() to find out it exited.
void
exit(void)
{
801046ba: 55 push %ebp
801046bb: 89 e5 mov %esp,%ebp
801046bd: 83 ec 18 sub $0x18,%esp
struct proc *p;
int fd;
if(proc == initproc)
801046c0: 65 8b 15 04 00 00 00 mov %gs:0x4,%edx
801046c7: a1 68 b6 10 80 mov 0x8010b668,%eax
801046cc: 39 c2 cmp %eax,%edx
801046ce: 75 0d jne 801046dd <exit+0x23>
panic("init exiting");
801046d0: 83 ec 0c sub $0xc,%esp
801046d3: 68 88 86 10 80 push $0x80108688
801046d8: e8 89 be ff ff call 80100566 <panic>
// Close all open files.
for(fd = 0; fd < NOFILE; fd++){
801046dd: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
801046e4: eb 48 jmp 8010472e <exit+0x74>
if(proc->ofile[fd]){
801046e6: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801046ec: 8b 55 f0 mov -0x10(%ebp),%edx
801046ef: 83 c2 08 add $0x8,%edx
801046f2: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
801046f6: 85 c0 test %eax,%eax
801046f8: 74 30 je 8010472a <exit+0x70>
fileclose(proc->ofile[fd]);
801046fa: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104700: 8b 55 f0 mov -0x10(%ebp),%edx
80104703: 83 c2 08 add $0x8,%edx
80104706: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
8010470a: 83 ec 0c sub $0xc,%esp
8010470d: 50 push %eax
8010470e: e8 2e cb ff ff call 80101241 <fileclose>
80104713: 83 c4 10 add $0x10,%esp
proc->ofile[fd] = 0;
80104716: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010471c: 8b 55 f0 mov -0x10(%ebp),%edx
8010471f: 83 c2 08 add $0x8,%edx
80104722: c7 44 90 08 00 00 00 movl $0x0,0x8(%eax,%edx,4)
80104729: 00
if(proc == initproc)
panic("init exiting");
// Close all open files.
for(fd = 0; fd < NOFILE; fd++){
8010472a: 83 45 f0 01 addl $0x1,-0x10(%ebp)
8010472e: 83 7d f0 0f cmpl $0xf,-0x10(%ebp)
80104732: 7e b2 jle 801046e6 <exit+0x2c>
fileclose(proc->ofile[fd]);
proc->ofile[fd] = 0;
}
}
iput(proc->cwd);
80104734: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010473a: 8b 40 68 mov 0x68(%eax),%eax
8010473d: 83 ec 0c sub $0xc,%esp
80104740: 50 push %eax
80104741: e8 9a d5 ff ff call 80101ce0 <iput>
80104746: 83 c4 10 add $0x10,%esp
proc->cwd = 0;
80104749: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010474f: c7 40 68 00 00 00 00 movl $0x0,0x68(%eax)
acquire(&ptable.lock);
80104756: 83 ec 0c sub $0xc,%esp
80104759: 68 40 ff 10 80 push $0x8010ff40
8010475e: e8 6f 06 00 00 call 80104dd2 <acquire>
80104763: 83 c4 10 add $0x10,%esp
// Parent might be sleeping in wait().
wakeup1(proc->parent);
80104766: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010476c: 8b 40 14 mov 0x14(%eax),%eax
8010476f: 83 ec 0c sub $0xc,%esp
80104772: 50 push %eax
80104773: e8 0d 04 00 00 call 80104b85 <wakeup1>
80104778: 83 c4 10 add $0x10,%esp
// Pass abandoned children to init.
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
8010477b: c7 45 f4 74 ff 10 80 movl $0x8010ff74,-0xc(%ebp)
80104782: eb 3c jmp 801047c0 <exit+0x106>
if(p->parent == proc){
80104784: 8b 45 f4 mov -0xc(%ebp),%eax
80104787: 8b 50 14 mov 0x14(%eax),%edx
8010478a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104790: 39 c2 cmp %eax,%edx
80104792: 75 28 jne 801047bc <exit+0x102>
p->parent = initproc;
80104794: 8b 15 68 b6 10 80 mov 0x8010b668,%edx
8010479a: 8b 45 f4 mov -0xc(%ebp),%eax
8010479d: 89 50 14 mov %edx,0x14(%eax)
if(p->state == ZOMBIE)
801047a0: 8b 45 f4 mov -0xc(%ebp),%eax
801047a3: 8b 40 0c mov 0xc(%eax),%eax
801047a6: 83 f8 05 cmp $0x5,%eax
801047a9: 75 11 jne 801047bc <exit+0x102>
wakeup1(initproc);
801047ab: a1 68 b6 10 80 mov 0x8010b668,%eax
801047b0: 83 ec 0c sub $0xc,%esp
801047b3: 50 push %eax
801047b4: e8 cc 03 00 00 call 80104b85 <wakeup1>
801047b9: 83 c4 10 add $0x10,%esp
// Parent might be sleeping in wait().
wakeup1(proc->parent);
// Pass abandoned children to init.
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
801047bc: 83 45 f4 7c addl $0x7c,-0xc(%ebp)
801047c0: 81 7d f4 74 1e 11 80 cmpl $0x80111e74,-0xc(%ebp)
801047c7: 72 bb jb 80104784 <exit+0xca>
wakeup1(initproc);
}
}
// Jump into the scheduler, never to return.
proc->state = ZOMBIE;
801047c9: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801047cf: c7 40 0c 05 00 00 00 movl $0x5,0xc(%eax)
sched();
801047d6: e8 d6 01 00 00 call 801049b1 <sched>
panic("zombie exit");
801047db: 83 ec 0c sub $0xc,%esp
801047de: 68 95 86 10 80 push $0x80108695
801047e3: e8 7e bd ff ff call 80100566 <panic>
801047e8 <wait>:
// Wait for a child process to exit and return its pid.
// Return -1 if this process has no children.
int
wait(void)
{
801047e8: 55 push %ebp
801047e9: 89 e5 mov %esp,%ebp
801047eb: 83 ec 18 sub $0x18,%esp
struct proc *p;
int havekids, pid;
acquire(&ptable.lock);
801047ee: 83 ec 0c sub $0xc,%esp
801047f1: 68 40 ff 10 80 push $0x8010ff40
801047f6: e8 d7 05 00 00 call 80104dd2 <acquire>
801047fb: 83 c4 10 add $0x10,%esp
for(;;){
// Scan through table looking for zombie children.
havekids = 0;
801047fe: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104805: c7 45 f4 74 ff 10 80 movl $0x8010ff74,-0xc(%ebp)
8010480c: e9 a6 00 00 00 jmp 801048b7 <wait+0xcf>
if(p->parent != proc)
80104811: 8b 45 f4 mov -0xc(%ebp),%eax
80104814: 8b 50 14 mov 0x14(%eax),%edx
80104817: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010481d: 39 c2 cmp %eax,%edx
8010481f: 0f 85 8d 00 00 00 jne 801048b2 <wait+0xca>
continue;
havekids = 1;
80104825: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp)
if(p->state == ZOMBIE){
8010482c: 8b 45 f4 mov -0xc(%ebp),%eax
8010482f: 8b 40 0c mov 0xc(%eax),%eax
80104832: 83 f8 05 cmp $0x5,%eax
80104835: 75 7c jne 801048b3 <wait+0xcb>
// Found one.
pid = p->pid;
80104837: 8b 45 f4 mov -0xc(%ebp),%eax
8010483a: 8b 40 10 mov 0x10(%eax),%eax
8010483d: 89 45 ec mov %eax,-0x14(%ebp)
kfree(p->kstack);
80104840: 8b 45 f4 mov -0xc(%ebp),%eax
80104843: 8b 40 08 mov 0x8(%eax),%eax
80104846: 83 ec 0c sub $0xc,%esp
80104849: 50 push %eax
8010484a: e8 e4 e4 ff ff call 80102d33 <kfree>
8010484f: 83 c4 10 add $0x10,%esp
p->kstack = 0;
80104852: 8b 45 f4 mov -0xc(%ebp),%eax
80104855: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
freevm(p->pgdir);
8010485c: 8b 45 f4 mov -0xc(%ebp),%eax
8010485f: 8b 40 04 mov 0x4(%eax),%eax
80104862: 83 ec 0c sub $0xc,%esp
80104865: 50 push %eax
80104866: e8 30 38 00 00 call 8010809b <freevm>
8010486b: 83 c4 10 add $0x10,%esp
p->state = UNUSED;
8010486e: 8b 45 f4 mov -0xc(%ebp),%eax
80104871: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
p->pid = 0;
80104878: 8b 45 f4 mov -0xc(%ebp),%eax
8010487b: c7 40 10 00 00 00 00 movl $0x0,0x10(%eax)
p->parent = 0;
80104882: 8b 45 f4 mov -0xc(%ebp),%eax
80104885: c7 40 14 00 00 00 00 movl $0x0,0x14(%eax)
p->name[0] = 0;
8010488c: 8b 45 f4 mov -0xc(%ebp),%eax
8010488f: c6 40 6c 00 movb $0x0,0x6c(%eax)
p->killed = 0;
80104893: 8b 45 f4 mov -0xc(%ebp),%eax
80104896: c7 40 24 00 00 00 00 movl $0x0,0x24(%eax)
release(&ptable.lock);
8010489d: 83 ec 0c sub $0xc,%esp
801048a0: 68 40 ff 10 80 push $0x8010ff40
801048a5: e8 8f 05 00 00 call 80104e39 <release>
801048aa: 83 c4 10 add $0x10,%esp
return pid;
801048ad: 8b 45 ec mov -0x14(%ebp),%eax
801048b0: eb 58 jmp 8010490a <wait+0x122>
for(;;){
// Scan through table looking for zombie children.
havekids = 0;
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
if(p->parent != proc)
continue;
801048b2: 90 nop
acquire(&ptable.lock);
for(;;){
// Scan through table looking for zombie children.
havekids = 0;
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
801048b3: 83 45 f4 7c addl $0x7c,-0xc(%ebp)
801048b7: 81 7d f4 74 1e 11 80 cmpl $0x80111e74,-0xc(%ebp)
801048be: 0f 82 4d ff ff ff jb 80104811 <wait+0x29>
return pid;
}
}
// No point waiting if we don't have any children.
if(!havekids || proc->killed){
801048c4: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
801048c8: 74 0d je 801048d7 <wait+0xef>
801048ca: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801048d0: 8b 40 24 mov 0x24(%eax),%eax
801048d3: 85 c0 test %eax,%eax
801048d5: 74 17 je 801048ee <wait+0x106>
release(&ptable.lock);
801048d7: 83 ec 0c sub $0xc,%esp
801048da: 68 40 ff 10 80 push $0x8010ff40
801048df: e8 55 05 00 00 call 80104e39 <release>
801048e4: 83 c4 10 add $0x10,%esp
return -1;
801048e7: b8 ff ff ff ff mov $0xffffffff,%eax
801048ec: eb 1c jmp 8010490a <wait+0x122>
}
// Wait for children to exit. (See wakeup1 call in proc_exit.)
sleep(proc, &ptable.lock); //DOC: wait-sleep
801048ee: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801048f4: 83 ec 08 sub $0x8,%esp
801048f7: 68 40 ff 10 80 push $0x8010ff40
801048fc: 50 push %eax
801048fd: e8 d7 01 00 00 call 80104ad9 <sleep>
80104902: 83 c4 10 add $0x10,%esp
}
80104905: e9 f4 fe ff ff jmp 801047fe <wait+0x16>
}
8010490a: c9 leave
8010490b: c3 ret
8010490c <scheduler>:
// - swtch to start running that process
// - eventually that process transfers control
// via swtch back to the scheduler.
void
scheduler(void)
{
8010490c: 55 push %ebp
8010490d: 89 e5 mov %esp,%ebp
8010490f: 83 ec 18 sub $0x18,%esp
struct proc *p;
for(;;){
// Enable interrupts on this processor.
sti();
80104912: e8 49 f9 ff ff call 80104260 <sti>
// Loop over process table looking for process to run.
acquire(&ptable.lock);
80104917: 83 ec 0c sub $0xc,%esp
8010491a: 68 40 ff 10 80 push $0x8010ff40
8010491f: e8 ae 04 00 00 call 80104dd2 <acquire>
80104924: 83 c4 10 add $0x10,%esp
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104927: c7 45 f4 74 ff 10 80 movl $0x8010ff74,-0xc(%ebp)
8010492e: eb 63 jmp 80104993 <scheduler+0x87>
if(p->state != RUNNABLE)
80104930: 8b 45 f4 mov -0xc(%ebp),%eax
80104933: 8b 40 0c mov 0xc(%eax),%eax
80104936: 83 f8 03 cmp $0x3,%eax
80104939: 75 53 jne 8010498e <scheduler+0x82>
continue;
// Switch to chosen process. It is the process's job
// to release ptable.lock and then reacquire it
// before jumping back to us.
proc = p;
8010493b: 8b 45 f4 mov -0xc(%ebp),%eax
8010493e: 65 a3 04 00 00 00 mov %eax,%gs:0x4
switchuvm(p);
80104944: 83 ec 0c sub $0xc,%esp
80104947: ff 75 f4 pushl -0xc(%ebp)
8010494a: e8 06 33 00 00 call 80107c55 <switchuvm>
8010494f: 83 c4 10 add $0x10,%esp
p->state = RUNNING;
80104952: 8b 45 f4 mov -0xc(%ebp),%eax
80104955: c7 40 0c 04 00 00 00 movl $0x4,0xc(%eax)
swtch(&cpu->scheduler, proc->context);
8010495c: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104962: 8b 40 1c mov 0x1c(%eax),%eax
80104965: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
8010496c: 83 c2 04 add $0x4,%edx
8010496f: 83 ec 08 sub $0x8,%esp
80104972: 50 push %eax
80104973: 52 push %edx
80104974: e8 30 09 00 00 call 801052a9 <swtch>
80104979: 83 c4 10 add $0x10,%esp
switchkvm();
8010497c: e8 b7 32 00 00 call 80107c38 <switchkvm>
// Process is done running for now.
// It should have changed its p->state before coming back.
proc = 0;
80104981: 65 c7 05 04 00 00 00 movl $0x0,%gs:0x4
80104988: 00 00 00 00
8010498c: eb 01 jmp 8010498f <scheduler+0x83>
// Loop over process table looking for process to run.
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
if(p->state != RUNNABLE)
continue;
8010498e: 90 nop
// Enable interrupts on this processor.
sti();
// Loop over process table looking for process to run.
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
8010498f: 83 45 f4 7c addl $0x7c,-0xc(%ebp)
80104993: 81 7d f4 74 1e 11 80 cmpl $0x80111e74,-0xc(%ebp)
8010499a: 72 94 jb 80104930 <scheduler+0x24>
// Process is done running for now.
// It should have changed its p->state before coming back.
proc = 0;
}
release(&ptable.lock);
8010499c: 83 ec 0c sub $0xc,%esp
8010499f: 68 40 ff 10 80 push $0x8010ff40
801049a4: e8 90 04 00 00 call 80104e39 <release>
801049a9: 83 c4 10 add $0x10,%esp
}
801049ac: e9 61 ff ff ff jmp 80104912 <scheduler+0x6>
801049b1 <sched>:
// Enter scheduler. Must hold only ptable.lock
// and have changed proc->state.
void
sched(void)
{
801049b1: 55 push %ebp
801049b2: 89 e5 mov %esp,%ebp
801049b4: 83 ec 18 sub $0x18,%esp
int intena;
if(!holding(&ptable.lock))
801049b7: 83 ec 0c sub $0xc,%esp
801049ba: 68 40 ff 10 80 push $0x8010ff40
801049bf: e8 41 05 00 00 call 80104f05 <holding>
801049c4: 83 c4 10 add $0x10,%esp
801049c7: 85 c0 test %eax,%eax
801049c9: 75 0d jne 801049d8 <sched+0x27>
panic("sched ptable.lock");
801049cb: 83 ec 0c sub $0xc,%esp
801049ce: 68 a1 86 10 80 push $0x801086a1
801049d3: e8 8e bb ff ff call 80100566 <panic>
if(cpu->ncli != 1)
801049d8: 65 a1 00 00 00 00 mov %gs:0x0,%eax
801049de: 8b 80 ac 00 00 00 mov 0xac(%eax),%eax
801049e4: 83 f8 01 cmp $0x1,%eax
801049e7: 74 0d je 801049f6 <sched+0x45>
panic("sched locks");
801049e9: 83 ec 0c sub $0xc,%esp
801049ec: 68 b3 86 10 80 push $0x801086b3
801049f1: e8 70 bb ff ff call 80100566 <panic>
if(proc->state == RUNNING)
801049f6: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801049fc: 8b 40 0c mov 0xc(%eax),%eax
801049ff: 83 f8 04 cmp $0x4,%eax
80104a02: 75 0d jne 80104a11 <sched+0x60>
panic("sched running");
80104a04: 83 ec 0c sub $0xc,%esp
80104a07: 68 bf 86 10 80 push $0x801086bf
80104a0c: e8 55 bb ff ff call 80100566 <panic>
if(readeflags()&FL_IF)
80104a11: e8 3a f8 ff ff call 80104250 <readeflags>
80104a16: 25 00 02 00 00 and $0x200,%eax
80104a1b: 85 c0 test %eax,%eax
80104a1d: 74 0d je 80104a2c <sched+0x7b>
panic("sched interruptible");
80104a1f: 83 ec 0c sub $0xc,%esp
80104a22: 68 cd 86 10 80 push $0x801086cd
80104a27: e8 3a bb ff ff call 80100566 <panic>
intena = cpu->intena;
80104a2c: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104a32: 8b 80 b0 00 00 00 mov 0xb0(%eax),%eax
80104a38: 89 45 f4 mov %eax,-0xc(%ebp)
swtch(&proc->context, cpu->scheduler);
80104a3b: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104a41: 8b 40 04 mov 0x4(%eax),%eax
80104a44: 65 8b 15 04 00 00 00 mov %gs:0x4,%edx
80104a4b: 83 c2 1c add $0x1c,%edx
80104a4e: 83 ec 08 sub $0x8,%esp
80104a51: 50 push %eax
80104a52: 52 push %edx
80104a53: e8 51 08 00 00 call 801052a9 <swtch>
80104a58: 83 c4 10 add $0x10,%esp
cpu->intena = intena;
80104a5b: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104a61: 8b 55 f4 mov -0xc(%ebp),%edx
80104a64: 89 90 b0 00 00 00 mov %edx,0xb0(%eax)
}
80104a6a: 90 nop
80104a6b: c9 leave
80104a6c: c3 ret
80104a6d <yield>:
// Give up the CPU for one scheduling round.
void
yield(void)
{
80104a6d: 55 push %ebp
80104a6e: 89 e5 mov %esp,%ebp
80104a70: 83 ec 08 sub $0x8,%esp
acquire(&ptable.lock); //DOC: yieldlock
80104a73: 83 ec 0c sub $0xc,%esp
80104a76: 68 40 ff 10 80 push $0x8010ff40
80104a7b: e8 52 03 00 00 call 80104dd2 <acquire>
80104a80: 83 c4 10 add $0x10,%esp
proc->state = RUNNABLE;
80104a83: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104a89: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
sched();
80104a90: e8 1c ff ff ff call 801049b1 <sched>
release(&ptable.lock);
80104a95: 83 ec 0c sub $0xc,%esp
80104a98: 68 40 ff 10 80 push $0x8010ff40
80104a9d: e8 97 03 00 00 call 80104e39 <release>
80104aa2: 83 c4 10 add $0x10,%esp
}
80104aa5: 90 nop
80104aa6: c9 leave
80104aa7: c3 ret
80104aa8 <forkret>:
// A fork child's very first scheduling by scheduler()
// will swtch here. "Return" to user space.
void
forkret(void)
{
80104aa8: 55 push %ebp
80104aa9: 89 e5 mov %esp,%ebp
80104aab: 83 ec 08 sub $0x8,%esp
static int first = 1;
// Still holding ptable.lock from scheduler.
release(&ptable.lock);
80104aae: 83 ec 0c sub $0xc,%esp
80104ab1: 68 40 ff 10 80 push $0x8010ff40
80104ab6: e8 7e 03 00 00 call 80104e39 <release>
80104abb: 83 c4 10 add $0x10,%esp
if (first) {
80104abe: a1 08 b0 10 80 mov 0x8010b008,%eax
80104ac3: 85 c0 test %eax,%eax
80104ac5: 74 0f je 80104ad6 <forkret+0x2e>
// Some initialization functions must be run in the context
// of a regular process (e.g., they call sleep), and thus cannot
// be run from main().
first = 0;
80104ac7: c7 05 08 b0 10 80 00 movl $0x0,0x8010b008
80104ace: 00 00 00
initlog();
80104ad1: e8 9e e7 ff ff call 80103274 <initlog>
}
// Return to "caller", actually trapret (see allocproc).
}
80104ad6: 90 nop
80104ad7: c9 leave
80104ad8: c3 ret
80104ad9 <sleep>:
// Atomically release lock and sleep on chan.
// Reacquires lock when awakened.
void
sleep(void *chan, struct spinlock *lk)
{
80104ad9: 55 push %ebp
80104ada: 89 e5 mov %esp,%ebp
80104adc: 83 ec 08 sub $0x8,%esp
if(proc == 0)
80104adf: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104ae5: 85 c0 test %eax,%eax
80104ae7: 75 0d jne 80104af6 <sleep+0x1d>
panic("sleep");
80104ae9: 83 ec 0c sub $0xc,%esp
80104aec: 68 e1 86 10 80 push $0x801086e1
80104af1: e8 70 ba ff ff call 80100566 <panic>
if(lk == 0)
80104af6: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
80104afa: 75 0d jne 80104b09 <sleep+0x30>
panic("sleep without lk");
80104afc: 83 ec 0c sub $0xc,%esp
80104aff: 68 e7 86 10 80 push $0x801086e7
80104b04: e8 5d ba ff ff call 80100566 <panic>
// change p->state and then call sched.
// Once we hold ptable.lock, we can be
// guaranteed that we won't miss any wakeup
// (wakeup runs with ptable.lock locked),
// so it's okay to release lk.
if(lk != &ptable.lock){ //DOC: sleeplock0
80104b09: 81 7d 0c 40 ff 10 80 cmpl $0x8010ff40,0xc(%ebp)
80104b10: 74 1e je 80104b30 <sleep+0x57>
acquire(&ptable.lock); //DOC: sleeplock1
80104b12: 83 ec 0c sub $0xc,%esp
80104b15: 68 40 ff 10 80 push $0x8010ff40
80104b1a: e8 b3 02 00 00 call 80104dd2 <acquire>
80104b1f: 83 c4 10 add $0x10,%esp
release(lk);
80104b22: 83 ec 0c sub $0xc,%esp
80104b25: ff 75 0c pushl 0xc(%ebp)
80104b28: e8 0c 03 00 00 call 80104e39 <release>
80104b2d: 83 c4 10 add $0x10,%esp
}
// Go to sleep.
proc->chan = chan;
80104b30: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104b36: 8b 55 08 mov 0x8(%ebp),%edx
80104b39: 89 50 20 mov %edx,0x20(%eax)
proc->state = SLEEPING;
80104b3c: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104b42: c7 40 0c 02 00 00 00 movl $0x2,0xc(%eax)
sched();
80104b49: e8 63 fe ff ff call 801049b1 <sched>
// Tidy up.
proc->chan = 0;
80104b4e: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80104b54: c7 40 20 00 00 00 00 movl $0x0,0x20(%eax)
// Reacquire original lock.
if(lk != &ptable.lock){ //DOC: sleeplock2
80104b5b: 81 7d 0c 40 ff 10 80 cmpl $0x8010ff40,0xc(%ebp)
80104b62: 74 1e je 80104b82 <sleep+0xa9>
release(&ptable.lock);
80104b64: 83 ec 0c sub $0xc,%esp
80104b67: 68 40 ff 10 80 push $0x8010ff40
80104b6c: e8 c8 02 00 00 call 80104e39 <release>
80104b71: 83 c4 10 add $0x10,%esp
acquire(lk);
80104b74: 83 ec 0c sub $0xc,%esp
80104b77: ff 75 0c pushl 0xc(%ebp)
80104b7a: e8 53 02 00 00 call 80104dd2 <acquire>
80104b7f: 83 c4 10 add $0x10,%esp
}
}
80104b82: 90 nop
80104b83: c9 leave
80104b84: c3 ret
80104b85 <wakeup1>:
//PAGEBREAK!
// Wake up all processes sleeping on chan.
// The ptable lock must be held.
static void
wakeup1(void *chan)
{
80104b85: 55 push %ebp
80104b86: 89 e5 mov %esp,%ebp
80104b88: 83 ec 10 sub $0x10,%esp
struct proc *p;
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++)
80104b8b: c7 45 fc 74 ff 10 80 movl $0x8010ff74,-0x4(%ebp)
80104b92: eb 24 jmp 80104bb8 <wakeup1+0x33>
if(p->state == SLEEPING && p->chan == chan)
80104b94: 8b 45 fc mov -0x4(%ebp),%eax
80104b97: 8b 40 0c mov 0xc(%eax),%eax
80104b9a: 83 f8 02 cmp $0x2,%eax
80104b9d: 75 15 jne 80104bb4 <wakeup1+0x2f>
80104b9f: 8b 45 fc mov -0x4(%ebp),%eax
80104ba2: 8b 40 20 mov 0x20(%eax),%eax
80104ba5: 3b 45 08 cmp 0x8(%ebp),%eax
80104ba8: 75 0a jne 80104bb4 <wakeup1+0x2f>
p->state = RUNNABLE;
80104baa: 8b 45 fc mov -0x4(%ebp),%eax
80104bad: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
static void
wakeup1(void *chan)
{
struct proc *p;
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++)
80104bb4: 83 45 fc 7c addl $0x7c,-0x4(%ebp)
80104bb8: 81 7d fc 74 1e 11 80 cmpl $0x80111e74,-0x4(%ebp)
80104bbf: 72 d3 jb 80104b94 <wakeup1+0xf>
if(p->state == SLEEPING && p->chan == chan)
p->state = RUNNABLE;
}
80104bc1: 90 nop
80104bc2: c9 leave
80104bc3: c3 ret
80104bc4 <wakeup>:
// Wake up all processes sleeping on chan.
void
wakeup(void *chan)
{
80104bc4: 55 push %ebp
80104bc5: 89 e5 mov %esp,%ebp
80104bc7: 83 ec 08 sub $0x8,%esp
acquire(&ptable.lock);
80104bca: 83 ec 0c sub $0xc,%esp
80104bcd: 68 40 ff 10 80 push $0x8010ff40
80104bd2: e8 fb 01 00 00 call 80104dd2 <acquire>
80104bd7: 83 c4 10 add $0x10,%esp
wakeup1(chan);
80104bda: 83 ec 0c sub $0xc,%esp
80104bdd: ff 75 08 pushl 0x8(%ebp)
80104be0: e8 a0 ff ff ff call 80104b85 <wakeup1>
80104be5: 83 c4 10 add $0x10,%esp
release(&ptable.lock);
80104be8: 83 ec 0c sub $0xc,%esp
80104beb: 68 40 ff 10 80 push $0x8010ff40
80104bf0: e8 44 02 00 00 call 80104e39 <release>
80104bf5: 83 c4 10 add $0x10,%esp
}
80104bf8: 90 nop
80104bf9: c9 leave
80104bfa: c3 ret
80104bfb <kill>:
// Kill the process with the given pid.
// Process won't exit until it returns
// to user space (see trap in trap.c).
int
kill(int pid)
{
80104bfb: 55 push %ebp
80104bfc: 89 e5 mov %esp,%ebp
80104bfe: 83 ec 18 sub $0x18,%esp
struct proc *p;
acquire(&ptable.lock);
80104c01: 83 ec 0c sub $0xc,%esp
80104c04: 68 40 ff 10 80 push $0x8010ff40
80104c09: e8 c4 01 00 00 call 80104dd2 <acquire>
80104c0e: 83 c4 10 add $0x10,%esp
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104c11: c7 45 f4 74 ff 10 80 movl $0x8010ff74,-0xc(%ebp)
80104c18: eb 45 jmp 80104c5f <kill+0x64>
if(p->pid == pid){
80104c1a: 8b 45 f4 mov -0xc(%ebp),%eax
80104c1d: 8b 40 10 mov 0x10(%eax),%eax
80104c20: 3b 45 08 cmp 0x8(%ebp),%eax
80104c23: 75 36 jne 80104c5b <kill+0x60>
p->killed = 1;
80104c25: 8b 45 f4 mov -0xc(%ebp),%eax
80104c28: c7 40 24 01 00 00 00 movl $0x1,0x24(%eax)
// Wake process from sleep if necessary.
if(p->state == SLEEPING)
80104c2f: 8b 45 f4 mov -0xc(%ebp),%eax
80104c32: 8b 40 0c mov 0xc(%eax),%eax
80104c35: 83 f8 02 cmp $0x2,%eax
80104c38: 75 0a jne 80104c44 <kill+0x49>
p->state = RUNNABLE;
80104c3a: 8b 45 f4 mov -0xc(%ebp),%eax
80104c3d: c7 40 0c 03 00 00 00 movl $0x3,0xc(%eax)
release(&ptable.lock);
80104c44: 83 ec 0c sub $0xc,%esp
80104c47: 68 40 ff 10 80 push $0x8010ff40
80104c4c: e8 e8 01 00 00 call 80104e39 <release>
80104c51: 83 c4 10 add $0x10,%esp
return 0;
80104c54: b8 00 00 00 00 mov $0x0,%eax
80104c59: eb 22 jmp 80104c7d <kill+0x82>
kill(int pid)
{
struct proc *p;
acquire(&ptable.lock);
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104c5b: 83 45 f4 7c addl $0x7c,-0xc(%ebp)
80104c5f: 81 7d f4 74 1e 11 80 cmpl $0x80111e74,-0xc(%ebp)
80104c66: 72 b2 jb 80104c1a <kill+0x1f>
p->state = RUNNABLE;
release(&ptable.lock);
return 0;
}
}
release(&ptable.lock);
80104c68: 83 ec 0c sub $0xc,%esp
80104c6b: 68 40 ff 10 80 push $0x8010ff40
80104c70: e8 c4 01 00 00 call 80104e39 <release>
80104c75: 83 c4 10 add $0x10,%esp
return -1;
80104c78: b8 ff ff ff ff mov $0xffffffff,%eax
}
80104c7d: c9 leave
80104c7e: c3 ret
80104c7f <procdump>:
// Print a process listing to console. For debugging.
// Runs when user types ^P on console.
// No lock to avoid wedging a stuck machine further.
void
procdump(void)
{
80104c7f: 55 push %ebp
80104c80: 89 e5 mov %esp,%ebp
80104c82: 83 ec 48 sub $0x48,%esp
int i;
struct proc *p;
char *state;
uint pc[10];
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104c85: c7 45 f0 74 ff 10 80 movl $0x8010ff74,-0x10(%ebp)
80104c8c: e9 d7 00 00 00 jmp 80104d68 <procdump+0xe9>
if(p->state == UNUSED)
80104c91: 8b 45 f0 mov -0x10(%ebp),%eax
80104c94: 8b 40 0c mov 0xc(%eax),%eax
80104c97: 85 c0 test %eax,%eax
80104c99: 0f 84 c4 00 00 00 je 80104d63 <procdump+0xe4>
continue;
if(p->state >= 0 && p->state < NELEM(states) && states[p->state])
80104c9f: 8b 45 f0 mov -0x10(%ebp),%eax
80104ca2: 8b 40 0c mov 0xc(%eax),%eax
80104ca5: 83 f8 05 cmp $0x5,%eax
80104ca8: 77 23 ja 80104ccd <procdump+0x4e>
80104caa: 8b 45 f0 mov -0x10(%ebp),%eax
80104cad: 8b 40 0c mov 0xc(%eax),%eax
80104cb0: 8b 04 85 0c b0 10 80 mov -0x7fef4ff4(,%eax,4),%eax
80104cb7: 85 c0 test %eax,%eax
80104cb9: 74 12 je 80104ccd <procdump+0x4e>
state = states[p->state];
80104cbb: 8b 45 f0 mov -0x10(%ebp),%eax
80104cbe: 8b 40 0c mov 0xc(%eax),%eax
80104cc1: 8b 04 85 0c b0 10 80 mov -0x7fef4ff4(,%eax,4),%eax
80104cc8: 89 45 ec mov %eax,-0x14(%ebp)
80104ccb: eb 07 jmp 80104cd4 <procdump+0x55>
else
state = "???";
80104ccd: c7 45 ec f8 86 10 80 movl $0x801086f8,-0x14(%ebp)
cprintf("%d %s %s", p->pid, state, p->name);
80104cd4: 8b 45 f0 mov -0x10(%ebp),%eax
80104cd7: 8d 50 6c lea 0x6c(%eax),%edx
80104cda: 8b 45 f0 mov -0x10(%ebp),%eax
80104cdd: 8b 40 10 mov 0x10(%eax),%eax
80104ce0: 52 push %edx
80104ce1: ff 75 ec pushl -0x14(%ebp)
80104ce4: 50 push %eax
80104ce5: 68 fc 86 10 80 push $0x801086fc
80104cea: e8 d7 b6 ff ff call 801003c6 <cprintf>
80104cef: 83 c4 10 add $0x10,%esp
if(p->state == SLEEPING){
80104cf2: 8b 45 f0 mov -0x10(%ebp),%eax
80104cf5: 8b 40 0c mov 0xc(%eax),%eax
80104cf8: 83 f8 02 cmp $0x2,%eax
80104cfb: 75 54 jne 80104d51 <procdump+0xd2>
getcallerpcs((uint*)p->context->ebp+2, pc);
80104cfd: 8b 45 f0 mov -0x10(%ebp),%eax
80104d00: 8b 40 1c mov 0x1c(%eax),%eax
80104d03: 8b 40 0c mov 0xc(%eax),%eax
80104d06: 83 c0 08 add $0x8,%eax
80104d09: 89 c2 mov %eax,%edx
80104d0b: 83 ec 08 sub $0x8,%esp
80104d0e: 8d 45 c4 lea -0x3c(%ebp),%eax
80104d11: 50 push %eax
80104d12: 52 push %edx
80104d13: e8 73 01 00 00 call 80104e8b <getcallerpcs>
80104d18: 83 c4 10 add $0x10,%esp
for(i=0; i<10 && pc[i] != 0; i++)
80104d1b: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80104d22: eb 1c jmp 80104d40 <procdump+0xc1>
cprintf(" %p", pc[i]);
80104d24: 8b 45 f4 mov -0xc(%ebp),%eax
80104d27: 8b 44 85 c4 mov -0x3c(%ebp,%eax,4),%eax
80104d2b: 83 ec 08 sub $0x8,%esp
80104d2e: 50 push %eax
80104d2f: 68 05 87 10 80 push $0x80108705
80104d34: e8 8d b6 ff ff call 801003c6 <cprintf>
80104d39: 83 c4 10 add $0x10,%esp
else
state = "???";
cprintf("%d %s %s", p->pid, state, p->name);
if(p->state == SLEEPING){
getcallerpcs((uint*)p->context->ebp+2, pc);
for(i=0; i<10 && pc[i] != 0; i++)
80104d3c: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80104d40: 83 7d f4 09 cmpl $0x9,-0xc(%ebp)
80104d44: 7f 0b jg 80104d51 <procdump+0xd2>
80104d46: 8b 45 f4 mov -0xc(%ebp),%eax
80104d49: 8b 44 85 c4 mov -0x3c(%ebp,%eax,4),%eax
80104d4d: 85 c0 test %eax,%eax
80104d4f: 75 d3 jne 80104d24 <procdump+0xa5>
cprintf(" %p", pc[i]);
}
cprintf("\n");
80104d51: 83 ec 0c sub $0xc,%esp
80104d54: 68 09 87 10 80 push $0x80108709
80104d59: e8 68 b6 ff ff call 801003c6 <cprintf>
80104d5e: 83 c4 10 add $0x10,%esp
80104d61: eb 01 jmp 80104d64 <procdump+0xe5>
char *state;
uint pc[10];
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
if(p->state == UNUSED)
continue;
80104d63: 90 nop
int i;
struct proc *p;
char *state;
uint pc[10];
for(p = ptable.proc; p < &ptable.proc[NPROC]; p++){
80104d64: 83 45 f0 7c addl $0x7c,-0x10(%ebp)
80104d68: 81 7d f0 74 1e 11 80 cmpl $0x80111e74,-0x10(%ebp)
80104d6f: 0f 82 1c ff ff ff jb 80104c91 <procdump+0x12>
for(i=0; i<10 && pc[i] != 0; i++)
cprintf(" %p", pc[i]);
}
cprintf("\n");
}
}
80104d75: 90 nop
80104d76: c9 leave
80104d77: c3 ret
80104d78 <readeflags>:
asm volatile("ltr %0" : : "r" (sel));
}
static inline uint
readeflags(void)
{
80104d78: 55 push %ebp
80104d79: 89 e5 mov %esp,%ebp
80104d7b: 83 ec 10 sub $0x10,%esp
uint eflags;
asm volatile("pushfl; popl %0" : "=r" (eflags));
80104d7e: 9c pushf
80104d7f: 58 pop %eax
80104d80: 89 45 fc mov %eax,-0x4(%ebp)
return eflags;
80104d83: 8b 45 fc mov -0x4(%ebp),%eax
}
80104d86: c9 leave
80104d87: c3 ret
80104d88 <cli>:
asm volatile("movw %0, %%gs" : : "r" (v));
}
static inline void
cli(void)
{
80104d88: 55 push %ebp
80104d89: 89 e5 mov %esp,%ebp
asm volatile("cli");
80104d8b: fa cli
}
80104d8c: 90 nop
80104d8d: 5d pop %ebp
80104d8e: c3 ret
80104d8f <sti>:
static inline void
sti(void)
{
80104d8f: 55 push %ebp
80104d90: 89 e5 mov %esp,%ebp
asm volatile("sti");
80104d92: fb sti
}
80104d93: 90 nop
80104d94: 5d pop %ebp
80104d95: c3 ret
80104d96 <xchg>:
static inline uint
xchg(volatile uint *addr, uint newval)
{
80104d96: 55 push %ebp
80104d97: 89 e5 mov %esp,%ebp
80104d99: 83 ec 10 sub $0x10,%esp
uint result;
// The + in "+m" denotes a read-modify-write operand.
asm volatile("lock; xchgl %0, %1" :
80104d9c: 8b 55 08 mov 0x8(%ebp),%edx
80104d9f: 8b 45 0c mov 0xc(%ebp),%eax
80104da2: 8b 4d 08 mov 0x8(%ebp),%ecx
80104da5: f0 87 02 lock xchg %eax,(%edx)
80104da8: 89 45 fc mov %eax,-0x4(%ebp)
"+m" (*addr), "=a" (result) :
"1" (newval) :
"cc");
return result;
80104dab: 8b 45 fc mov -0x4(%ebp),%eax
}
80104dae: c9 leave
80104daf: c3 ret
80104db0 <initlock>:
#include "proc.h"
#include "spinlock.h"
void
initlock(struct spinlock *lk, char *name)
{
80104db0: 55 push %ebp
80104db1: 89 e5 mov %esp,%ebp
lk->name = name;
80104db3: 8b 45 08 mov 0x8(%ebp),%eax
80104db6: 8b 55 0c mov 0xc(%ebp),%edx
80104db9: 89 50 04 mov %edx,0x4(%eax)
lk->locked = 0;
80104dbc: 8b 45 08 mov 0x8(%ebp),%eax
80104dbf: c7 00 00 00 00 00 movl $0x0,(%eax)
lk->cpu = 0;
80104dc5: 8b 45 08 mov 0x8(%ebp),%eax
80104dc8: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
}
80104dcf: 90 nop
80104dd0: 5d pop %ebp
80104dd1: c3 ret
80104dd2 <acquire>:
// Loops (spins) until the lock is acquired.
// Holding a lock for a long time may cause
// other CPUs to waste time spinning to acquire it.
void
acquire(struct spinlock *lk)
{
80104dd2: 55 push %ebp
80104dd3: 89 e5 mov %esp,%ebp
80104dd5: 83 ec 08 sub $0x8,%esp
pushcli(); // disable interrupts to avoid deadlock.
80104dd8: e8 52 01 00 00 call 80104f2f <pushcli>
if(holding(lk))
80104ddd: 8b 45 08 mov 0x8(%ebp),%eax
80104de0: 83 ec 0c sub $0xc,%esp
80104de3: 50 push %eax
80104de4: e8 1c 01 00 00 call 80104f05 <holding>
80104de9: 83 c4 10 add $0x10,%esp
80104dec: 85 c0 test %eax,%eax
80104dee: 74 0d je 80104dfd <acquire+0x2b>
panic("acquire");
80104df0: 83 ec 0c sub $0xc,%esp
80104df3: 68 35 87 10 80 push $0x80108735
80104df8: e8 69 b7 ff ff call 80100566 <panic>
// The xchg is atomic.
// It also serializes, so that reads after acquire are not
// reordered before it.
while(xchg(&lk->locked, 1) != 0)
80104dfd: 90 nop
80104dfe: 8b 45 08 mov 0x8(%ebp),%eax
80104e01: 83 ec 08 sub $0x8,%esp
80104e04: 6a 01 push $0x1
80104e06: 50 push %eax
80104e07: e8 8a ff ff ff call 80104d96 <xchg>
80104e0c: 83 c4 10 add $0x10,%esp
80104e0f: 85 c0 test %eax,%eax
80104e11: 75 eb jne 80104dfe <acquire+0x2c>
;
// Record info about lock acquisition for debugging.
lk->cpu = cpu;
80104e13: 8b 45 08 mov 0x8(%ebp),%eax
80104e16: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
80104e1d: 89 50 08 mov %edx,0x8(%eax)
getcallerpcs(&lk, lk->pcs);
80104e20: 8b 45 08 mov 0x8(%ebp),%eax
80104e23: 83 c0 0c add $0xc,%eax
80104e26: 83 ec 08 sub $0x8,%esp
80104e29: 50 push %eax
80104e2a: 8d 45 08 lea 0x8(%ebp),%eax
80104e2d: 50 push %eax
80104e2e: e8 58 00 00 00 call 80104e8b <getcallerpcs>
80104e33: 83 c4 10 add $0x10,%esp
}
80104e36: 90 nop
80104e37: c9 leave
80104e38: c3 ret
80104e39 <release>:
// Release the lock.
void
release(struct spinlock *lk)
{
80104e39: 55 push %ebp
80104e3a: 89 e5 mov %esp,%ebp
80104e3c: 83 ec 08 sub $0x8,%esp
if(!holding(lk))
80104e3f: 83 ec 0c sub $0xc,%esp
80104e42: ff 75 08 pushl 0x8(%ebp)
80104e45: e8 bb 00 00 00 call 80104f05 <holding>
80104e4a: 83 c4 10 add $0x10,%esp
80104e4d: 85 c0 test %eax,%eax
80104e4f: 75 0d jne 80104e5e <release+0x25>
panic("release");
80104e51: 83 ec 0c sub $0xc,%esp
80104e54: 68 3d 87 10 80 push $0x8010873d
80104e59: e8 08 b7 ff ff call 80100566 <panic>
lk->pcs[0] = 0;
80104e5e: 8b 45 08 mov 0x8(%ebp),%eax
80104e61: c7 40 0c 00 00 00 00 movl $0x0,0xc(%eax)
lk->cpu = 0;
80104e68: 8b 45 08 mov 0x8(%ebp),%eax
80104e6b: c7 40 08 00 00 00 00 movl $0x0,0x8(%eax)
// But the 2007 Intel 64 Architecture Memory Ordering White
// Paper says that Intel 64 and IA-32 will not move a load
// after a store. So lock->locked = 0 would work here.
// The xchg being asm volatile ensures gcc emits it after
// the above assignments (and after the critical section).
xchg(&lk->locked, 0);
80104e72: 8b 45 08 mov 0x8(%ebp),%eax
80104e75: 83 ec 08 sub $0x8,%esp
80104e78: 6a 00 push $0x0
80104e7a: 50 push %eax
80104e7b: e8 16 ff ff ff call 80104d96 <xchg>
80104e80: 83 c4 10 add $0x10,%esp
popcli();
80104e83: e8 ec 00 00 00 call 80104f74 <popcli>
}
80104e88: 90 nop
80104e89: c9 leave
80104e8a: c3 ret
80104e8b <getcallerpcs>:
// Record the current call stack in pcs[] by following the %ebp chain.
void
getcallerpcs(void *v, uint pcs[])
{
80104e8b: 55 push %ebp
80104e8c: 89 e5 mov %esp,%ebp
80104e8e: 83 ec 10 sub $0x10,%esp
uint *ebp;
int i;
ebp = (uint*)v - 2;
80104e91: 8b 45 08 mov 0x8(%ebp),%eax
80104e94: 83 e8 08 sub $0x8,%eax
80104e97: 89 45 fc mov %eax,-0x4(%ebp)
for(i = 0; i < 10; i++){
80104e9a: c7 45 f8 00 00 00 00 movl $0x0,-0x8(%ebp)
80104ea1: eb 38 jmp 80104edb <getcallerpcs+0x50>
if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff)
80104ea3: 83 7d fc 00 cmpl $0x0,-0x4(%ebp)
80104ea7: 74 53 je 80104efc <getcallerpcs+0x71>
80104ea9: 81 7d fc ff ff ff 7f cmpl $0x7fffffff,-0x4(%ebp)
80104eb0: 76 4a jbe 80104efc <getcallerpcs+0x71>
80104eb2: 83 7d fc ff cmpl $0xffffffff,-0x4(%ebp)
80104eb6: 74 44 je 80104efc <getcallerpcs+0x71>
break;
pcs[i] = ebp[1]; // saved %eip
80104eb8: 8b 45 f8 mov -0x8(%ebp),%eax
80104ebb: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80104ec2: 8b 45 0c mov 0xc(%ebp),%eax
80104ec5: 01 c2 add %eax,%edx
80104ec7: 8b 45 fc mov -0x4(%ebp),%eax
80104eca: 8b 40 04 mov 0x4(%eax),%eax
80104ecd: 89 02 mov %eax,(%edx)
ebp = (uint*)ebp[0]; // saved %ebp
80104ecf: 8b 45 fc mov -0x4(%ebp),%eax
80104ed2: 8b 00 mov (%eax),%eax
80104ed4: 89 45 fc mov %eax,-0x4(%ebp)
{
uint *ebp;
int i;
ebp = (uint*)v - 2;
for(i = 0; i < 10; i++){
80104ed7: 83 45 f8 01 addl $0x1,-0x8(%ebp)
80104edb: 83 7d f8 09 cmpl $0x9,-0x8(%ebp)
80104edf: 7e c2 jle 80104ea3 <getcallerpcs+0x18>
if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff)
break;
pcs[i] = ebp[1]; // saved %eip
ebp = (uint*)ebp[0]; // saved %ebp
}
for(; i < 10; i++)
80104ee1: eb 19 jmp 80104efc <getcallerpcs+0x71>
pcs[i] = 0;
80104ee3: 8b 45 f8 mov -0x8(%ebp),%eax
80104ee6: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80104eed: 8b 45 0c mov 0xc(%ebp),%eax
80104ef0: 01 d0 add %edx,%eax
80104ef2: c7 00 00 00 00 00 movl $0x0,(%eax)
if(ebp == 0 || ebp < (uint*)KERNBASE || ebp == (uint*)0xffffffff)
break;
pcs[i] = ebp[1]; // saved %eip
ebp = (uint*)ebp[0]; // saved %ebp
}
for(; i < 10; i++)
80104ef8: 83 45 f8 01 addl $0x1,-0x8(%ebp)
80104efc: 83 7d f8 09 cmpl $0x9,-0x8(%ebp)
80104f00: 7e e1 jle 80104ee3 <getcallerpcs+0x58>
pcs[i] = 0;
}
80104f02: 90 nop
80104f03: c9 leave
80104f04: c3 ret
80104f05 <holding>:
// Check whether this cpu is holding the lock.
int
holding(struct spinlock *lock)
{
80104f05: 55 push %ebp
80104f06: 89 e5 mov %esp,%ebp
return lock->locked && lock->cpu == cpu;
80104f08: 8b 45 08 mov 0x8(%ebp),%eax
80104f0b: 8b 00 mov (%eax),%eax
80104f0d: 85 c0 test %eax,%eax
80104f0f: 74 17 je 80104f28 <holding+0x23>
80104f11: 8b 45 08 mov 0x8(%ebp),%eax
80104f14: 8b 50 08 mov 0x8(%eax),%edx
80104f17: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104f1d: 39 c2 cmp %eax,%edx
80104f1f: 75 07 jne 80104f28 <holding+0x23>
80104f21: b8 01 00 00 00 mov $0x1,%eax
80104f26: eb 05 jmp 80104f2d <holding+0x28>
80104f28: b8 00 00 00 00 mov $0x0,%eax
}
80104f2d: 5d pop %ebp
80104f2e: c3 ret
80104f2f <pushcli>:
// it takes two popcli to undo two pushcli. Also, if interrupts
// are off, then pushcli, popcli leaves them off.
void
pushcli(void)
{
80104f2f: 55 push %ebp
80104f30: 89 e5 mov %esp,%ebp
80104f32: 83 ec 10 sub $0x10,%esp
int eflags;
eflags = readeflags();
80104f35: e8 3e fe ff ff call 80104d78 <readeflags>
80104f3a: 89 45 fc mov %eax,-0x4(%ebp)
cli();
80104f3d: e8 46 fe ff ff call 80104d88 <cli>
if(cpu->ncli++ == 0)
80104f42: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
80104f49: 8b 82 ac 00 00 00 mov 0xac(%edx),%eax
80104f4f: 8d 48 01 lea 0x1(%eax),%ecx
80104f52: 89 8a ac 00 00 00 mov %ecx,0xac(%edx)
80104f58: 85 c0 test %eax,%eax
80104f5a: 75 15 jne 80104f71 <pushcli+0x42>
cpu->intena = eflags & FL_IF;
80104f5c: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104f62: 8b 55 fc mov -0x4(%ebp),%edx
80104f65: 81 e2 00 02 00 00 and $0x200,%edx
80104f6b: 89 90 b0 00 00 00 mov %edx,0xb0(%eax)
}
80104f71: 90 nop
80104f72: c9 leave
80104f73: c3 ret
80104f74 <popcli>:
void
popcli(void)
{
80104f74: 55 push %ebp
80104f75: 89 e5 mov %esp,%ebp
80104f77: 83 ec 08 sub $0x8,%esp
if(readeflags()&FL_IF)
80104f7a: e8 f9 fd ff ff call 80104d78 <readeflags>
80104f7f: 25 00 02 00 00 and $0x200,%eax
80104f84: 85 c0 test %eax,%eax
80104f86: 74 0d je 80104f95 <popcli+0x21>
panic("popcli - interruptible");
80104f88: 83 ec 0c sub $0xc,%esp
80104f8b: 68 45 87 10 80 push $0x80108745
80104f90: e8 d1 b5 ff ff call 80100566 <panic>
if(--cpu->ncli < 0)
80104f95: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104f9b: 8b 90 ac 00 00 00 mov 0xac(%eax),%edx
80104fa1: 83 ea 01 sub $0x1,%edx
80104fa4: 89 90 ac 00 00 00 mov %edx,0xac(%eax)
80104faa: 8b 80 ac 00 00 00 mov 0xac(%eax),%eax
80104fb0: 85 c0 test %eax,%eax
80104fb2: 79 0d jns 80104fc1 <popcli+0x4d>
panic("popcli");
80104fb4: 83 ec 0c sub $0xc,%esp
80104fb7: 68 5c 87 10 80 push $0x8010875c
80104fbc: e8 a5 b5 ff ff call 80100566 <panic>
if(cpu->ncli == 0 && cpu->intena)
80104fc1: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104fc7: 8b 80 ac 00 00 00 mov 0xac(%eax),%eax
80104fcd: 85 c0 test %eax,%eax
80104fcf: 75 15 jne 80104fe6 <popcli+0x72>
80104fd1: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80104fd7: 8b 80 b0 00 00 00 mov 0xb0(%eax),%eax
80104fdd: 85 c0 test %eax,%eax
80104fdf: 74 05 je 80104fe6 <popcli+0x72>
sti();
80104fe1: e8 a9 fd ff ff call 80104d8f <sti>
}
80104fe6: 90 nop
80104fe7: c9 leave
80104fe8: c3 ret
80104fe9 <stosb>:
"cc");
}
static inline void
stosb(void *addr, int data, int cnt)
{
80104fe9: 55 push %ebp
80104fea: 89 e5 mov %esp,%ebp
80104fec: 57 push %edi
80104fed: 53 push %ebx
asm volatile("cld; rep stosb" :
80104fee: 8b 4d 08 mov 0x8(%ebp),%ecx
80104ff1: 8b 55 10 mov 0x10(%ebp),%edx
80104ff4: 8b 45 0c mov 0xc(%ebp),%eax
80104ff7: 89 cb mov %ecx,%ebx
80104ff9: 89 df mov %ebx,%edi
80104ffb: 89 d1 mov %edx,%ecx
80104ffd: fc cld
80104ffe: f3 aa rep stos %al,%es:(%edi)
80105000: 89 ca mov %ecx,%edx
80105002: 89 fb mov %edi,%ebx
80105004: 89 5d 08 mov %ebx,0x8(%ebp)
80105007: 89 55 10 mov %edx,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"0" (addr), "1" (cnt), "a" (data) :
"memory", "cc");
}
8010500a: 90 nop
8010500b: 5b pop %ebx
8010500c: 5f pop %edi
8010500d: 5d pop %ebp
8010500e: c3 ret
8010500f <stosl>:
static inline void
stosl(void *addr, int data, int cnt)
{
8010500f: 55 push %ebp
80105010: 89 e5 mov %esp,%ebp
80105012: 57 push %edi
80105013: 53 push %ebx
asm volatile("cld; rep stosl" :
80105014: 8b 4d 08 mov 0x8(%ebp),%ecx
80105017: 8b 55 10 mov 0x10(%ebp),%edx
8010501a: 8b 45 0c mov 0xc(%ebp),%eax
8010501d: 89 cb mov %ecx,%ebx
8010501f: 89 df mov %ebx,%edi
80105021: 89 d1 mov %edx,%ecx
80105023: fc cld
80105024: f3 ab rep stos %eax,%es:(%edi)
80105026: 89 ca mov %ecx,%edx
80105028: 89 fb mov %edi,%ebx
8010502a: 89 5d 08 mov %ebx,0x8(%ebp)
8010502d: 89 55 10 mov %edx,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"0" (addr), "1" (cnt), "a" (data) :
"memory", "cc");
}
80105030: 90 nop
80105031: 5b pop %ebx
80105032: 5f pop %edi
80105033: 5d pop %ebp
80105034: c3 ret
80105035 <memset>:
#include "types.h"
#include "x86.h"
void*
memset(void *dst, int c, uint n)
{
80105035: 55 push %ebp
80105036: 89 e5 mov %esp,%ebp
if ((int)dst%4 == 0 && n%4 == 0){
80105038: 8b 45 08 mov 0x8(%ebp),%eax
8010503b: 83 e0 03 and $0x3,%eax
8010503e: 85 c0 test %eax,%eax
80105040: 75 43 jne 80105085 <memset+0x50>
80105042: 8b 45 10 mov 0x10(%ebp),%eax
80105045: 83 e0 03 and $0x3,%eax
80105048: 85 c0 test %eax,%eax
8010504a: 75 39 jne 80105085 <memset+0x50>
c &= 0xFF;
8010504c: 81 65 0c ff 00 00 00 andl $0xff,0xc(%ebp)
stosl(dst, (c<<24)|(c<<16)|(c<<8)|c, n/4);
80105053: 8b 45 10 mov 0x10(%ebp),%eax
80105056: c1 e8 02 shr $0x2,%eax
80105059: 89 c1 mov %eax,%ecx
8010505b: 8b 45 0c mov 0xc(%ebp),%eax
8010505e: c1 e0 18 shl $0x18,%eax
80105061: 89 c2 mov %eax,%edx
80105063: 8b 45 0c mov 0xc(%ebp),%eax
80105066: c1 e0 10 shl $0x10,%eax
80105069: 09 c2 or %eax,%edx
8010506b: 8b 45 0c mov 0xc(%ebp),%eax
8010506e: c1 e0 08 shl $0x8,%eax
80105071: 09 d0 or %edx,%eax
80105073: 0b 45 0c or 0xc(%ebp),%eax
80105076: 51 push %ecx
80105077: 50 push %eax
80105078: ff 75 08 pushl 0x8(%ebp)
8010507b: e8 8f ff ff ff call 8010500f <stosl>
80105080: 83 c4 0c add $0xc,%esp
80105083: eb 12 jmp 80105097 <memset+0x62>
} else
stosb(dst, c, n);
80105085: 8b 45 10 mov 0x10(%ebp),%eax
80105088: 50 push %eax
80105089: ff 75 0c pushl 0xc(%ebp)
8010508c: ff 75 08 pushl 0x8(%ebp)
8010508f: e8 55 ff ff ff call 80104fe9 <stosb>
80105094: 83 c4 0c add $0xc,%esp
return dst;
80105097: 8b 45 08 mov 0x8(%ebp),%eax
}
8010509a: c9 leave
8010509b: c3 ret
8010509c <memcmp>:
int
memcmp(const void *v1, const void *v2, uint n)
{
8010509c: 55 push %ebp
8010509d: 89 e5 mov %esp,%ebp
8010509f: 83 ec 10 sub $0x10,%esp
const uchar *s1, *s2;
s1 = v1;
801050a2: 8b 45 08 mov 0x8(%ebp),%eax
801050a5: 89 45 fc mov %eax,-0x4(%ebp)
s2 = v2;
801050a8: 8b 45 0c mov 0xc(%ebp),%eax
801050ab: 89 45 f8 mov %eax,-0x8(%ebp)
while(n-- > 0){
801050ae: eb 30 jmp 801050e0 <memcmp+0x44>
if(*s1 != *s2)
801050b0: 8b 45 fc mov -0x4(%ebp),%eax
801050b3: 0f b6 10 movzbl (%eax),%edx
801050b6: 8b 45 f8 mov -0x8(%ebp),%eax
801050b9: 0f b6 00 movzbl (%eax),%eax
801050bc: 38 c2 cmp %al,%dl
801050be: 74 18 je 801050d8 <memcmp+0x3c>
return *s1 - *s2;
801050c0: 8b 45 fc mov -0x4(%ebp),%eax
801050c3: 0f b6 00 movzbl (%eax),%eax
801050c6: 0f b6 d0 movzbl %al,%edx
801050c9: 8b 45 f8 mov -0x8(%ebp),%eax
801050cc: 0f b6 00 movzbl (%eax),%eax
801050cf: 0f b6 c0 movzbl %al,%eax
801050d2: 29 c2 sub %eax,%edx
801050d4: 89 d0 mov %edx,%eax
801050d6: eb 1a jmp 801050f2 <memcmp+0x56>
s1++, s2++;
801050d8: 83 45 fc 01 addl $0x1,-0x4(%ebp)
801050dc: 83 45 f8 01 addl $0x1,-0x8(%ebp)
{
const uchar *s1, *s2;
s1 = v1;
s2 = v2;
while(n-- > 0){
801050e0: 8b 45 10 mov 0x10(%ebp),%eax
801050e3: 8d 50 ff lea -0x1(%eax),%edx
801050e6: 89 55 10 mov %edx,0x10(%ebp)
801050e9: 85 c0 test %eax,%eax
801050eb: 75 c3 jne 801050b0 <memcmp+0x14>
if(*s1 != *s2)
return *s1 - *s2;
s1++, s2++;
}
return 0;
801050ed: b8 00 00 00 00 mov $0x0,%eax
}
801050f2: c9 leave
801050f3: c3 ret
801050f4 <memmove>:
void*
memmove(void *dst, const void *src, uint n)
{
801050f4: 55 push %ebp
801050f5: 89 e5 mov %esp,%ebp
801050f7: 83 ec 10 sub $0x10,%esp
const char *s;
char *d;
s = src;
801050fa: 8b 45 0c mov 0xc(%ebp),%eax
801050fd: 89 45 fc mov %eax,-0x4(%ebp)
d = dst;
80105100: 8b 45 08 mov 0x8(%ebp),%eax
80105103: 89 45 f8 mov %eax,-0x8(%ebp)
if(s < d && s + n > d){
80105106: 8b 45 fc mov -0x4(%ebp),%eax
80105109: 3b 45 f8 cmp -0x8(%ebp),%eax
8010510c: 73 54 jae 80105162 <memmove+0x6e>
8010510e: 8b 55 fc mov -0x4(%ebp),%edx
80105111: 8b 45 10 mov 0x10(%ebp),%eax
80105114: 01 d0 add %edx,%eax
80105116: 3b 45 f8 cmp -0x8(%ebp),%eax
80105119: 76 47 jbe 80105162 <memmove+0x6e>
s += n;
8010511b: 8b 45 10 mov 0x10(%ebp),%eax
8010511e: 01 45 fc add %eax,-0x4(%ebp)
d += n;
80105121: 8b 45 10 mov 0x10(%ebp),%eax
80105124: 01 45 f8 add %eax,-0x8(%ebp)
while(n-- > 0)
80105127: eb 13 jmp 8010513c <memmove+0x48>
*--d = *--s;
80105129: 83 6d f8 01 subl $0x1,-0x8(%ebp)
8010512d: 83 6d fc 01 subl $0x1,-0x4(%ebp)
80105131: 8b 45 fc mov -0x4(%ebp),%eax
80105134: 0f b6 10 movzbl (%eax),%edx
80105137: 8b 45 f8 mov -0x8(%ebp),%eax
8010513a: 88 10 mov %dl,(%eax)
s = src;
d = dst;
if(s < d && s + n > d){
s += n;
d += n;
while(n-- > 0)
8010513c: 8b 45 10 mov 0x10(%ebp),%eax
8010513f: 8d 50 ff lea -0x1(%eax),%edx
80105142: 89 55 10 mov %edx,0x10(%ebp)
80105145: 85 c0 test %eax,%eax
80105147: 75 e0 jne 80105129 <memmove+0x35>
const char *s;
char *d;
s = src;
d = dst;
if(s < d && s + n > d){
80105149: eb 24 jmp 8010516f <memmove+0x7b>
d += n;
while(n-- > 0)
*--d = *--s;
} else
while(n-- > 0)
*d++ = *s++;
8010514b: 8b 45 f8 mov -0x8(%ebp),%eax
8010514e: 8d 50 01 lea 0x1(%eax),%edx
80105151: 89 55 f8 mov %edx,-0x8(%ebp)
80105154: 8b 55 fc mov -0x4(%ebp),%edx
80105157: 8d 4a 01 lea 0x1(%edx),%ecx
8010515a: 89 4d fc mov %ecx,-0x4(%ebp)
8010515d: 0f b6 12 movzbl (%edx),%edx
80105160: 88 10 mov %dl,(%eax)
s += n;
d += n;
while(n-- > 0)
*--d = *--s;
} else
while(n-- > 0)
80105162: 8b 45 10 mov 0x10(%ebp),%eax
80105165: 8d 50 ff lea -0x1(%eax),%edx
80105168: 89 55 10 mov %edx,0x10(%ebp)
8010516b: 85 c0 test %eax,%eax
8010516d: 75 dc jne 8010514b <memmove+0x57>
*d++ = *s++;
return dst;
8010516f: 8b 45 08 mov 0x8(%ebp),%eax
}
80105172: c9 leave
80105173: c3 ret
80105174 <memcpy>:
// memcpy exists to placate GCC. Use memmove.
void*
memcpy(void *dst, const void *src, uint n)
{
80105174: 55 push %ebp
80105175: 89 e5 mov %esp,%ebp
return memmove(dst, src, n);
80105177: ff 75 10 pushl 0x10(%ebp)
8010517a: ff 75 0c pushl 0xc(%ebp)
8010517d: ff 75 08 pushl 0x8(%ebp)
80105180: e8 6f ff ff ff call 801050f4 <memmove>
80105185: 83 c4 0c add $0xc,%esp
}
80105188: c9 leave
80105189: c3 ret
8010518a <strncmp>:
int
strncmp(const char *p, const char *q, uint n)
{
8010518a: 55 push %ebp
8010518b: 89 e5 mov %esp,%ebp
while(n > 0 && *p && *p == *q)
8010518d: eb 0c jmp 8010519b <strncmp+0x11>
n--, p++, q++;
8010518f: 83 6d 10 01 subl $0x1,0x10(%ebp)
80105193: 83 45 08 01 addl $0x1,0x8(%ebp)
80105197: 83 45 0c 01 addl $0x1,0xc(%ebp)
}
int
strncmp(const char *p, const char *q, uint n)
{
while(n > 0 && *p && *p == *q)
8010519b: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
8010519f: 74 1a je 801051bb <strncmp+0x31>
801051a1: 8b 45 08 mov 0x8(%ebp),%eax
801051a4: 0f b6 00 movzbl (%eax),%eax
801051a7: 84 c0 test %al,%al
801051a9: 74 10 je 801051bb <strncmp+0x31>
801051ab: 8b 45 08 mov 0x8(%ebp),%eax
801051ae: 0f b6 10 movzbl (%eax),%edx
801051b1: 8b 45 0c mov 0xc(%ebp),%eax
801051b4: 0f b6 00 movzbl (%eax),%eax
801051b7: 38 c2 cmp %al,%dl
801051b9: 74 d4 je 8010518f <strncmp+0x5>
n--, p++, q++;
if(n == 0)
801051bb: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
801051bf: 75 07 jne 801051c8 <strncmp+0x3e>
return 0;
801051c1: b8 00 00 00 00 mov $0x0,%eax
801051c6: eb 16 jmp 801051de <strncmp+0x54>
return (uchar)*p - (uchar)*q;
801051c8: 8b 45 08 mov 0x8(%ebp),%eax
801051cb: 0f b6 00 movzbl (%eax),%eax
801051ce: 0f b6 d0 movzbl %al,%edx
801051d1: 8b 45 0c mov 0xc(%ebp),%eax
801051d4: 0f b6 00 movzbl (%eax),%eax
801051d7: 0f b6 c0 movzbl %al,%eax
801051da: 29 c2 sub %eax,%edx
801051dc: 89 d0 mov %edx,%eax
}
801051de: 5d pop %ebp
801051df: c3 ret
801051e0 <strncpy>:
char*
strncpy(char *s, const char *t, int n)
{
801051e0: 55 push %ebp
801051e1: 89 e5 mov %esp,%ebp
801051e3: 83 ec 10 sub $0x10,%esp
char *os;
os = s;
801051e6: 8b 45 08 mov 0x8(%ebp),%eax
801051e9: 89 45 fc mov %eax,-0x4(%ebp)
while(n-- > 0 && (*s++ = *t++) != 0)
801051ec: 90 nop
801051ed: 8b 45 10 mov 0x10(%ebp),%eax
801051f0: 8d 50 ff lea -0x1(%eax),%edx
801051f3: 89 55 10 mov %edx,0x10(%ebp)
801051f6: 85 c0 test %eax,%eax
801051f8: 7e 2c jle 80105226 <strncpy+0x46>
801051fa: 8b 45 08 mov 0x8(%ebp),%eax
801051fd: 8d 50 01 lea 0x1(%eax),%edx
80105200: 89 55 08 mov %edx,0x8(%ebp)
80105203: 8b 55 0c mov 0xc(%ebp),%edx
80105206: 8d 4a 01 lea 0x1(%edx),%ecx
80105209: 89 4d 0c mov %ecx,0xc(%ebp)
8010520c: 0f b6 12 movzbl (%edx),%edx
8010520f: 88 10 mov %dl,(%eax)
80105211: 0f b6 00 movzbl (%eax),%eax
80105214: 84 c0 test %al,%al
80105216: 75 d5 jne 801051ed <strncpy+0xd>
;
while(n-- > 0)
80105218: eb 0c jmp 80105226 <strncpy+0x46>
*s++ = 0;
8010521a: 8b 45 08 mov 0x8(%ebp),%eax
8010521d: 8d 50 01 lea 0x1(%eax),%edx
80105220: 89 55 08 mov %edx,0x8(%ebp)
80105223: c6 00 00 movb $0x0,(%eax)
char *os;
os = s;
while(n-- > 0 && (*s++ = *t++) != 0)
;
while(n-- > 0)
80105226: 8b 45 10 mov 0x10(%ebp),%eax
80105229: 8d 50 ff lea -0x1(%eax),%edx
8010522c: 89 55 10 mov %edx,0x10(%ebp)
8010522f: 85 c0 test %eax,%eax
80105231: 7f e7 jg 8010521a <strncpy+0x3a>
*s++ = 0;
return os;
80105233: 8b 45 fc mov -0x4(%ebp),%eax
}
80105236: c9 leave
80105237: c3 ret
80105238 <safestrcpy>:
// Like strncpy but guaranteed to NUL-terminate.
char*
safestrcpy(char *s, const char *t, int n)
{
80105238: 55 push %ebp
80105239: 89 e5 mov %esp,%ebp
8010523b: 83 ec 10 sub $0x10,%esp
char *os;
os = s;
8010523e: 8b 45 08 mov 0x8(%ebp),%eax
80105241: 89 45 fc mov %eax,-0x4(%ebp)
if(n <= 0)
80105244: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80105248: 7f 05 jg 8010524f <safestrcpy+0x17>
return os;
8010524a: 8b 45 fc mov -0x4(%ebp),%eax
8010524d: eb 31 jmp 80105280 <safestrcpy+0x48>
while(--n > 0 && (*s++ = *t++) != 0)
8010524f: 83 6d 10 01 subl $0x1,0x10(%ebp)
80105253: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80105257: 7e 1e jle 80105277 <safestrcpy+0x3f>
80105259: 8b 45 08 mov 0x8(%ebp),%eax
8010525c: 8d 50 01 lea 0x1(%eax),%edx
8010525f: 89 55 08 mov %edx,0x8(%ebp)
80105262: 8b 55 0c mov 0xc(%ebp),%edx
80105265: 8d 4a 01 lea 0x1(%edx),%ecx
80105268: 89 4d 0c mov %ecx,0xc(%ebp)
8010526b: 0f b6 12 movzbl (%edx),%edx
8010526e: 88 10 mov %dl,(%eax)
80105270: 0f b6 00 movzbl (%eax),%eax
80105273: 84 c0 test %al,%al
80105275: 75 d8 jne 8010524f <safestrcpy+0x17>
;
*s = 0;
80105277: 8b 45 08 mov 0x8(%ebp),%eax
8010527a: c6 00 00 movb $0x0,(%eax)
return os;
8010527d: 8b 45 fc mov -0x4(%ebp),%eax
}
80105280: c9 leave
80105281: c3 ret
80105282 <strlen>:
int
strlen(const char *s)
{
80105282: 55 push %ebp
80105283: 89 e5 mov %esp,%ebp
80105285: 83 ec 10 sub $0x10,%esp
int n;
for(n = 0; s[n]; n++)
80105288: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
8010528f: eb 04 jmp 80105295 <strlen+0x13>
80105291: 83 45 fc 01 addl $0x1,-0x4(%ebp)
80105295: 8b 55 fc mov -0x4(%ebp),%edx
80105298: 8b 45 08 mov 0x8(%ebp),%eax
8010529b: 01 d0 add %edx,%eax
8010529d: 0f b6 00 movzbl (%eax),%eax
801052a0: 84 c0 test %al,%al
801052a2: 75 ed jne 80105291 <strlen+0xf>
;
return n;
801052a4: 8b 45 fc mov -0x4(%ebp),%eax
}
801052a7: c9 leave
801052a8: c3 ret
801052a9 <swtch>:
# Save current register context in old
# and then load register context from new.
.globl swtch
swtch:
movl 4(%esp), %eax
801052a9: 8b 44 24 04 mov 0x4(%esp),%eax
movl 8(%esp), %edx
801052ad: 8b 54 24 08 mov 0x8(%esp),%edx
# Save old callee-save registers
pushl %ebp
801052b1: 55 push %ebp
pushl %ebx
801052b2: 53 push %ebx
pushl %esi
801052b3: 56 push %esi
pushl %edi
801052b4: 57 push %edi
# Switch stacks
movl %esp, (%eax)
801052b5: 89 20 mov %esp,(%eax)
movl %edx, %esp
801052b7: 89 d4 mov %edx,%esp
# Load new callee-save registers
popl %edi
801052b9: 5f pop %edi
popl %esi
801052ba: 5e pop %esi
popl %ebx
801052bb: 5b pop %ebx
popl %ebp
801052bc: 5d pop %ebp
ret
801052bd: c3 ret
801052be <fetchint>:
// to a saved program counter, and then the first argument.
// Fetch the int at addr from the current process.
int
fetchint(uint addr, int *ip)
{
801052be: 55 push %ebp
801052bf: 89 e5 mov %esp,%ebp
if(addr >= proc->sz || addr+4 > proc->sz)
801052c1: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801052c7: 8b 00 mov (%eax),%eax
801052c9: 3b 45 08 cmp 0x8(%ebp),%eax
801052cc: 76 12 jbe 801052e0 <fetchint+0x22>
801052ce: 8b 45 08 mov 0x8(%ebp),%eax
801052d1: 8d 50 04 lea 0x4(%eax),%edx
801052d4: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801052da: 8b 00 mov (%eax),%eax
801052dc: 39 c2 cmp %eax,%edx
801052de: 76 07 jbe 801052e7 <fetchint+0x29>
return -1;
801052e0: b8 ff ff ff ff mov $0xffffffff,%eax
801052e5: eb 0f jmp 801052f6 <fetchint+0x38>
*ip = *(int*)(addr);
801052e7: 8b 45 08 mov 0x8(%ebp),%eax
801052ea: 8b 10 mov (%eax),%edx
801052ec: 8b 45 0c mov 0xc(%ebp),%eax
801052ef: 89 10 mov %edx,(%eax)
return 0;
801052f1: b8 00 00 00 00 mov $0x0,%eax
}
801052f6: 5d pop %ebp
801052f7: c3 ret
801052f8 <fetchstr>:
// Fetch the nul-terminated string at addr from the current process.
// Doesn't actually copy the string - just sets *pp to point at it.
// Returns length of string, not including nul.
int
fetchstr(uint addr, char **pp)
{
801052f8: 55 push %ebp
801052f9: 89 e5 mov %esp,%ebp
801052fb: 83 ec 10 sub $0x10,%esp
char *s, *ep;
if(addr >= proc->sz)
801052fe: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105304: 8b 00 mov (%eax),%eax
80105306: 3b 45 08 cmp 0x8(%ebp),%eax
80105309: 77 07 ja 80105312 <fetchstr+0x1a>
return -1;
8010530b: b8 ff ff ff ff mov $0xffffffff,%eax
80105310: eb 46 jmp 80105358 <fetchstr+0x60>
*pp = (char*)addr;
80105312: 8b 55 08 mov 0x8(%ebp),%edx
80105315: 8b 45 0c mov 0xc(%ebp),%eax
80105318: 89 10 mov %edx,(%eax)
ep = (char*)proc->sz;
8010531a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105320: 8b 00 mov (%eax),%eax
80105322: 89 45 f8 mov %eax,-0x8(%ebp)
for(s = *pp; s < ep; s++)
80105325: 8b 45 0c mov 0xc(%ebp),%eax
80105328: 8b 00 mov (%eax),%eax
8010532a: 89 45 fc mov %eax,-0x4(%ebp)
8010532d: eb 1c jmp 8010534b <fetchstr+0x53>
if(*s == 0)
8010532f: 8b 45 fc mov -0x4(%ebp),%eax
80105332: 0f b6 00 movzbl (%eax),%eax
80105335: 84 c0 test %al,%al
80105337: 75 0e jne 80105347 <fetchstr+0x4f>
return s - *pp;
80105339: 8b 55 fc mov -0x4(%ebp),%edx
8010533c: 8b 45 0c mov 0xc(%ebp),%eax
8010533f: 8b 00 mov (%eax),%eax
80105341: 29 c2 sub %eax,%edx
80105343: 89 d0 mov %edx,%eax
80105345: eb 11 jmp 80105358 <fetchstr+0x60>
if(addr >= proc->sz)
return -1;
*pp = (char*)addr;
ep = (char*)proc->sz;
for(s = *pp; s < ep; s++)
80105347: 83 45 fc 01 addl $0x1,-0x4(%ebp)
8010534b: 8b 45 fc mov -0x4(%ebp),%eax
8010534e: 3b 45 f8 cmp -0x8(%ebp),%eax
80105351: 72 dc jb 8010532f <fetchstr+0x37>
if(*s == 0)
return s - *pp;
return -1;
80105353: b8 ff ff ff ff mov $0xffffffff,%eax
}
80105358: c9 leave
80105359: c3 ret
8010535a <argint>:
// Fetch the nth 32-bit system call argument.
int
argint(int n, int *ip)
{
8010535a: 55 push %ebp
8010535b: 89 e5 mov %esp,%ebp
return fetchint(proc->tf->esp + 4 + 4*n, ip);
8010535d: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105363: 8b 40 18 mov 0x18(%eax),%eax
80105366: 8b 40 44 mov 0x44(%eax),%eax
80105369: 8b 55 08 mov 0x8(%ebp),%edx
8010536c: c1 e2 02 shl $0x2,%edx
8010536f: 01 d0 add %edx,%eax
80105371: 83 c0 04 add $0x4,%eax
80105374: ff 75 0c pushl 0xc(%ebp)
80105377: 50 push %eax
80105378: e8 41 ff ff ff call 801052be <fetchint>
8010537d: 83 c4 08 add $0x8,%esp
}
80105380: c9 leave
80105381: c3 ret
80105382 <argptr>:
// Fetch the nth word-sized system call argument as a pointer
// to a block of memory of size n bytes. Check that the pointer
// lies within the process address space.
int
argptr(int n, char **pp, int size)
{
80105382: 55 push %ebp
80105383: 89 e5 mov %esp,%ebp
80105385: 83 ec 10 sub $0x10,%esp
int i;
if(argint(n, &i) < 0)
80105388: 8d 45 fc lea -0x4(%ebp),%eax
8010538b: 50 push %eax
8010538c: ff 75 08 pushl 0x8(%ebp)
8010538f: e8 c6 ff ff ff call 8010535a <argint>
80105394: 83 c4 08 add $0x8,%esp
80105397: 85 c0 test %eax,%eax
80105399: 79 07 jns 801053a2 <argptr+0x20>
return -1;
8010539b: b8 ff ff ff ff mov $0xffffffff,%eax
801053a0: eb 3b jmp 801053dd <argptr+0x5b>
if((uint)i >= proc->sz || (uint)i+size > proc->sz)
801053a2: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801053a8: 8b 00 mov (%eax),%eax
801053aa: 8b 55 fc mov -0x4(%ebp),%edx
801053ad: 39 d0 cmp %edx,%eax
801053af: 76 16 jbe 801053c7 <argptr+0x45>
801053b1: 8b 45 fc mov -0x4(%ebp),%eax
801053b4: 89 c2 mov %eax,%edx
801053b6: 8b 45 10 mov 0x10(%ebp),%eax
801053b9: 01 c2 add %eax,%edx
801053bb: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801053c1: 8b 00 mov (%eax),%eax
801053c3: 39 c2 cmp %eax,%edx
801053c5: 76 07 jbe 801053ce <argptr+0x4c>
return -1;
801053c7: b8 ff ff ff ff mov $0xffffffff,%eax
801053cc: eb 0f jmp 801053dd <argptr+0x5b>
*pp = (char*)i;
801053ce: 8b 45 fc mov -0x4(%ebp),%eax
801053d1: 89 c2 mov %eax,%edx
801053d3: 8b 45 0c mov 0xc(%ebp),%eax
801053d6: 89 10 mov %edx,(%eax)
return 0;
801053d8: b8 00 00 00 00 mov $0x0,%eax
}
801053dd: c9 leave
801053de: c3 ret
801053df <argstr>:
// Check that the pointer is valid and the string is nul-terminated.
// (There is no shared writable memory, so the string can't change
// between this check and being used by the kernel.)
int
argstr(int n, char **pp)
{
801053df: 55 push %ebp
801053e0: 89 e5 mov %esp,%ebp
801053e2: 83 ec 10 sub $0x10,%esp
int addr;
if(argint(n, &addr) < 0)
801053e5: 8d 45 fc lea -0x4(%ebp),%eax
801053e8: 50 push %eax
801053e9: ff 75 08 pushl 0x8(%ebp)
801053ec: e8 69 ff ff ff call 8010535a <argint>
801053f1: 83 c4 08 add $0x8,%esp
801053f4: 85 c0 test %eax,%eax
801053f6: 79 07 jns 801053ff <argstr+0x20>
return -1;
801053f8: b8 ff ff ff ff mov $0xffffffff,%eax
801053fd: eb 0f jmp 8010540e <argstr+0x2f>
return fetchstr(addr, pp);
801053ff: 8b 45 fc mov -0x4(%ebp),%eax
80105402: ff 75 0c pushl 0xc(%ebp)
80105405: 50 push %eax
80105406: e8 ed fe ff ff call 801052f8 <fetchstr>
8010540b: 83 c4 08 add $0x8,%esp
}
8010540e: c9 leave
8010540f: c3 ret
80105410 <syscall>:
};
void
syscall(void)
{
80105410: 55 push %ebp
80105411: 89 e5 mov %esp,%ebp
80105413: 53 push %ebx
80105414: 83 ec 14 sub $0x14,%esp
int num;
num = proc->tf->eax;
80105417: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010541d: 8b 40 18 mov 0x18(%eax),%eax
80105420: 8b 40 1c mov 0x1c(%eax),%eax
80105423: 89 45 f4 mov %eax,-0xc(%ebp)
if(num > 0 && num < NELEM(syscalls) && syscalls[num]) {
80105426: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
8010542a: 7e 30 jle 8010545c <syscall+0x4c>
8010542c: 8b 45 f4 mov -0xc(%ebp),%eax
8010542f: 83 f8 19 cmp $0x19,%eax
80105432: 77 28 ja 8010545c <syscall+0x4c>
80105434: 8b 45 f4 mov -0xc(%ebp),%eax
80105437: 8b 04 85 40 b0 10 80 mov -0x7fef4fc0(,%eax,4),%eax
8010543e: 85 c0 test %eax,%eax
80105440: 74 1a je 8010545c <syscall+0x4c>
proc->tf->eax = syscalls[num]();
80105442: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105448: 8b 58 18 mov 0x18(%eax),%ebx
8010544b: 8b 45 f4 mov -0xc(%ebp),%eax
8010544e: 8b 04 85 40 b0 10 80 mov -0x7fef4fc0(,%eax,4),%eax
80105455: ff d0 call *%eax
80105457: 89 43 1c mov %eax,0x1c(%ebx)
8010545a: eb 34 jmp 80105490 <syscall+0x80>
} else {
cprintf("%d %s: unknown sys call %d\n",
proc->pid, proc->name, num);
8010545c: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105462: 8d 50 6c lea 0x6c(%eax),%edx
80105465: 65 a1 04 00 00 00 mov %gs:0x4,%eax
num = proc->tf->eax;
if(num > 0 && num < NELEM(syscalls) && syscalls[num]) {
proc->tf->eax = syscalls[num]();
} else {
cprintf("%d %s: unknown sys call %d\n",
8010546b: 8b 40 10 mov 0x10(%eax),%eax
8010546e: ff 75 f4 pushl -0xc(%ebp)
80105471: 52 push %edx
80105472: 50 push %eax
80105473: 68 63 87 10 80 push $0x80108763
80105478: e8 49 af ff ff call 801003c6 <cprintf>
8010547d: 83 c4 10 add $0x10,%esp
proc->pid, proc->name, num);
proc->tf->eax = -1;
80105480: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105486: 8b 40 18 mov 0x18(%eax),%eax
80105489: c7 40 1c ff ff ff ff movl $0xffffffff,0x1c(%eax)
}
}
80105490: 90 nop
80105491: 8b 5d fc mov -0x4(%ebp),%ebx
80105494: c9 leave
80105495: c3 ret
80105496 <argfd>:
// Fetch the nth word-sized system call argument as a file descriptor
// and return both the descriptor and the corresponding struct file.
static int
argfd(int n, int *pfd, struct file **pf)
{
80105496: 55 push %ebp
80105497: 89 e5 mov %esp,%ebp
80105499: 83 ec 18 sub $0x18,%esp
int fd;
struct file *f;
if(argint(n, &fd) < 0)
8010549c: 83 ec 08 sub $0x8,%esp
8010549f: 8d 45 f0 lea -0x10(%ebp),%eax
801054a2: 50 push %eax
801054a3: ff 75 08 pushl 0x8(%ebp)
801054a6: e8 af fe ff ff call 8010535a <argint>
801054ab: 83 c4 10 add $0x10,%esp
801054ae: 85 c0 test %eax,%eax
801054b0: 79 07 jns 801054b9 <argfd+0x23>
return -1;
801054b2: b8 ff ff ff ff mov $0xffffffff,%eax
801054b7: eb 50 jmp 80105509 <argfd+0x73>
if(fd < 0 || fd >= NOFILE || (f=proc->ofile[fd]) == 0)
801054b9: 8b 45 f0 mov -0x10(%ebp),%eax
801054bc: 85 c0 test %eax,%eax
801054be: 78 21 js 801054e1 <argfd+0x4b>
801054c0: 8b 45 f0 mov -0x10(%ebp),%eax
801054c3: 83 f8 0f cmp $0xf,%eax
801054c6: 7f 19 jg 801054e1 <argfd+0x4b>
801054c8: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801054ce: 8b 55 f0 mov -0x10(%ebp),%edx
801054d1: 83 c2 08 add $0x8,%edx
801054d4: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
801054d8: 89 45 f4 mov %eax,-0xc(%ebp)
801054db: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
801054df: 75 07 jne 801054e8 <argfd+0x52>
return -1;
801054e1: b8 ff ff ff ff mov $0xffffffff,%eax
801054e6: eb 21 jmp 80105509 <argfd+0x73>
if(pfd)
801054e8: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
801054ec: 74 08 je 801054f6 <argfd+0x60>
*pfd = fd;
801054ee: 8b 55 f0 mov -0x10(%ebp),%edx
801054f1: 8b 45 0c mov 0xc(%ebp),%eax
801054f4: 89 10 mov %edx,(%eax)
if(pf)
801054f6: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
801054fa: 74 08 je 80105504 <argfd+0x6e>
*pf = f;
801054fc: 8b 45 10 mov 0x10(%ebp),%eax
801054ff: 8b 55 f4 mov -0xc(%ebp),%edx
80105502: 89 10 mov %edx,(%eax)
return 0;
80105504: b8 00 00 00 00 mov $0x0,%eax
}
80105509: c9 leave
8010550a: c3 ret
8010550b <fdalloc>:
// Allocate a file descriptor for the given file.
// Takes over file reference from caller on success.
static int
fdalloc(struct file *f)
{
8010550b: 55 push %ebp
8010550c: 89 e5 mov %esp,%ebp
8010550e: 83 ec 10 sub $0x10,%esp
int fd;
for(fd = 0; fd < NOFILE; fd++){
80105511: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
80105518: eb 30 jmp 8010554a <fdalloc+0x3f>
if(proc->ofile[fd] == 0){
8010551a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105520: 8b 55 fc mov -0x4(%ebp),%edx
80105523: 83 c2 08 add $0x8,%edx
80105526: 8b 44 90 08 mov 0x8(%eax,%edx,4),%eax
8010552a: 85 c0 test %eax,%eax
8010552c: 75 18 jne 80105546 <fdalloc+0x3b>
proc->ofile[fd] = f;
8010552e: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105534: 8b 55 fc mov -0x4(%ebp),%edx
80105537: 8d 4a 08 lea 0x8(%edx),%ecx
8010553a: 8b 55 08 mov 0x8(%ebp),%edx
8010553d: 89 54 88 08 mov %edx,0x8(%eax,%ecx,4)
return fd;
80105541: 8b 45 fc mov -0x4(%ebp),%eax
80105544: eb 0f jmp 80105555 <fdalloc+0x4a>
static int
fdalloc(struct file *f)
{
int fd;
for(fd = 0; fd < NOFILE; fd++){
80105546: 83 45 fc 01 addl $0x1,-0x4(%ebp)
8010554a: 83 7d fc 0f cmpl $0xf,-0x4(%ebp)
8010554e: 7e ca jle 8010551a <fdalloc+0xf>
if(proc->ofile[fd] == 0){
proc->ofile[fd] = f;
return fd;
}
}
return -1;
80105550: b8 ff ff ff ff mov $0xffffffff,%eax
}
80105555: c9 leave
80105556: c3 ret
80105557 <sys_dup>:
int
sys_dup(void)
{
80105557: 55 push %ebp
80105558: 89 e5 mov %esp,%ebp
8010555a: 83 ec 18 sub $0x18,%esp
struct file *f;
int fd;
if(argfd(0, 0, &f) < 0)
8010555d: 83 ec 04 sub $0x4,%esp
80105560: 8d 45 f0 lea -0x10(%ebp),%eax
80105563: 50 push %eax
80105564: 6a 00 push $0x0
80105566: 6a 00 push $0x0
80105568: e8 29 ff ff ff call 80105496 <argfd>
8010556d: 83 c4 10 add $0x10,%esp
80105570: 85 c0 test %eax,%eax
80105572: 79 07 jns 8010557b <sys_dup+0x24>
return -1;
80105574: b8 ff ff ff ff mov $0xffffffff,%eax
80105579: eb 31 jmp 801055ac <sys_dup+0x55>
if((fd=fdalloc(f)) < 0)
8010557b: 8b 45 f0 mov -0x10(%ebp),%eax
8010557e: 83 ec 0c sub $0xc,%esp
80105581: 50 push %eax
80105582: e8 84 ff ff ff call 8010550b <fdalloc>
80105587: 83 c4 10 add $0x10,%esp
8010558a: 89 45 f4 mov %eax,-0xc(%ebp)
8010558d: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105591: 79 07 jns 8010559a <sys_dup+0x43>
return -1;
80105593: b8 ff ff ff ff mov $0xffffffff,%eax
80105598: eb 12 jmp 801055ac <sys_dup+0x55>
filedup(f);
8010559a: 8b 45 f0 mov -0x10(%ebp),%eax
8010559d: 83 ec 0c sub $0xc,%esp
801055a0: 50 push %eax
801055a1: e8 4a bc ff ff call 801011f0 <filedup>
801055a6: 83 c4 10 add $0x10,%esp
return fd;
801055a9: 8b 45 f4 mov -0xc(%ebp),%eax
}
801055ac: c9 leave
801055ad: c3 ret
801055ae <sys_read>:
int
sys_read(void)
{
801055ae: 55 push %ebp
801055af: 89 e5 mov %esp,%ebp
801055b1: 83 ec 18 sub $0x18,%esp
struct file *f;
int n;
char *p;
if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0)
801055b4: 83 ec 04 sub $0x4,%esp
801055b7: 8d 45 f4 lea -0xc(%ebp),%eax
801055ba: 50 push %eax
801055bb: 6a 00 push $0x0
801055bd: 6a 00 push $0x0
801055bf: e8 d2 fe ff ff call 80105496 <argfd>
801055c4: 83 c4 10 add $0x10,%esp
801055c7: 85 c0 test %eax,%eax
801055c9: 78 2e js 801055f9 <sys_read+0x4b>
801055cb: 83 ec 08 sub $0x8,%esp
801055ce: 8d 45 f0 lea -0x10(%ebp),%eax
801055d1: 50 push %eax
801055d2: 6a 02 push $0x2
801055d4: e8 81 fd ff ff call 8010535a <argint>
801055d9: 83 c4 10 add $0x10,%esp
801055dc: 85 c0 test %eax,%eax
801055de: 78 19 js 801055f9 <sys_read+0x4b>
801055e0: 8b 45 f0 mov -0x10(%ebp),%eax
801055e3: 83 ec 04 sub $0x4,%esp
801055e6: 50 push %eax
801055e7: 8d 45 ec lea -0x14(%ebp),%eax
801055ea: 50 push %eax
801055eb: 6a 01 push $0x1
801055ed: e8 90 fd ff ff call 80105382 <argptr>
801055f2: 83 c4 10 add $0x10,%esp
801055f5: 85 c0 test %eax,%eax
801055f7: 79 07 jns 80105600 <sys_read+0x52>
return -1;
801055f9: b8 ff ff ff ff mov $0xffffffff,%eax
801055fe: eb 17 jmp 80105617 <sys_read+0x69>
return fileread(f, p, n);
80105600: 8b 4d f0 mov -0x10(%ebp),%ecx
80105603: 8b 55 ec mov -0x14(%ebp),%edx
80105606: 8b 45 f4 mov -0xc(%ebp),%eax
80105609: 83 ec 04 sub $0x4,%esp
8010560c: 51 push %ecx
8010560d: 52 push %edx
8010560e: 50 push %eax
8010560f: e8 6c bd ff ff call 80101380 <fileread>
80105614: 83 c4 10 add $0x10,%esp
}
80105617: c9 leave
80105618: c3 ret
80105619 <sys_write>:
int
sys_write(void)
{
80105619: 55 push %ebp
8010561a: 89 e5 mov %esp,%ebp
8010561c: 83 ec 18 sub $0x18,%esp
struct file *f;
int n;
char *p;
if(argfd(0, 0, &f) < 0 || argint(2, &n) < 0 || argptr(1, &p, n) < 0)
8010561f: 83 ec 04 sub $0x4,%esp
80105622: 8d 45 f4 lea -0xc(%ebp),%eax
80105625: 50 push %eax
80105626: 6a 00 push $0x0
80105628: 6a 00 push $0x0
8010562a: e8 67 fe ff ff call 80105496 <argfd>
8010562f: 83 c4 10 add $0x10,%esp
80105632: 85 c0 test %eax,%eax
80105634: 78 2e js 80105664 <sys_write+0x4b>
80105636: 83 ec 08 sub $0x8,%esp
80105639: 8d 45 f0 lea -0x10(%ebp),%eax
8010563c: 50 push %eax
8010563d: 6a 02 push $0x2
8010563f: e8 16 fd ff ff call 8010535a <argint>
80105644: 83 c4 10 add $0x10,%esp
80105647: 85 c0 test %eax,%eax
80105649: 78 19 js 80105664 <sys_write+0x4b>
8010564b: 8b 45 f0 mov -0x10(%ebp),%eax
8010564e: 83 ec 04 sub $0x4,%esp
80105651: 50 push %eax
80105652: 8d 45 ec lea -0x14(%ebp),%eax
80105655: 50 push %eax
80105656: 6a 01 push $0x1
80105658: e8 25 fd ff ff call 80105382 <argptr>
8010565d: 83 c4 10 add $0x10,%esp
80105660: 85 c0 test %eax,%eax
80105662: 79 07 jns 8010566b <sys_write+0x52>
return -1;
80105664: b8 ff ff ff ff mov $0xffffffff,%eax
80105669: eb 17 jmp 80105682 <sys_write+0x69>
return filewrite(f, p, n);
8010566b: 8b 4d f0 mov -0x10(%ebp),%ecx
8010566e: 8b 55 ec mov -0x14(%ebp),%edx
80105671: 8b 45 f4 mov -0xc(%ebp),%eax
80105674: 83 ec 04 sub $0x4,%esp
80105677: 51 push %ecx
80105678: 52 push %edx
80105679: 50 push %eax
8010567a: e8 b9 bd ff ff call 80101438 <filewrite>
8010567f: 83 c4 10 add $0x10,%esp
}
80105682: c9 leave
80105683: c3 ret
80105684 <sys_close>:
int
sys_close(void)
{
80105684: 55 push %ebp
80105685: 89 e5 mov %esp,%ebp
80105687: 83 ec 18 sub $0x18,%esp
int fd;
struct file *f;
if(argfd(0, &fd, &f) < 0)
8010568a: 83 ec 04 sub $0x4,%esp
8010568d: 8d 45 f0 lea -0x10(%ebp),%eax
80105690: 50 push %eax
80105691: 8d 45 f4 lea -0xc(%ebp),%eax
80105694: 50 push %eax
80105695: 6a 00 push $0x0
80105697: e8 fa fd ff ff call 80105496 <argfd>
8010569c: 83 c4 10 add $0x10,%esp
8010569f: 85 c0 test %eax,%eax
801056a1: 79 07 jns 801056aa <sys_close+0x26>
return -1;
801056a3: b8 ff ff ff ff mov $0xffffffff,%eax
801056a8: eb 28 jmp 801056d2 <sys_close+0x4e>
proc->ofile[fd] = 0;
801056aa: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801056b0: 8b 55 f4 mov -0xc(%ebp),%edx
801056b3: 83 c2 08 add $0x8,%edx
801056b6: c7 44 90 08 00 00 00 movl $0x0,0x8(%eax,%edx,4)
801056bd: 00
fileclose(f);
801056be: 8b 45 f0 mov -0x10(%ebp),%eax
801056c1: 83 ec 0c sub $0xc,%esp
801056c4: 50 push %eax
801056c5: e8 77 bb ff ff call 80101241 <fileclose>
801056ca: 83 c4 10 add $0x10,%esp
return 0;
801056cd: b8 00 00 00 00 mov $0x0,%eax
}
801056d2: c9 leave
801056d3: c3 ret
801056d4 <sys_fstat>:
int
sys_fstat(void)
{
801056d4: 55 push %ebp
801056d5: 89 e5 mov %esp,%ebp
801056d7: 83 ec 18 sub $0x18,%esp
struct file *f;
struct stat *st;
if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0)
801056da: 83 ec 04 sub $0x4,%esp
801056dd: 8d 45 f4 lea -0xc(%ebp),%eax
801056e0: 50 push %eax
801056e1: 6a 00 push $0x0
801056e3: 6a 00 push $0x0
801056e5: e8 ac fd ff ff call 80105496 <argfd>
801056ea: 83 c4 10 add $0x10,%esp
801056ed: 85 c0 test %eax,%eax
801056ef: 78 17 js 80105708 <sys_fstat+0x34>
801056f1: 83 ec 04 sub $0x4,%esp
801056f4: 6a 14 push $0x14
801056f6: 8d 45 f0 lea -0x10(%ebp),%eax
801056f9: 50 push %eax
801056fa: 6a 01 push $0x1
801056fc: e8 81 fc ff ff call 80105382 <argptr>
80105701: 83 c4 10 add $0x10,%esp
80105704: 85 c0 test %eax,%eax
80105706: 79 07 jns 8010570f <sys_fstat+0x3b>
return -1;
80105708: b8 ff ff ff ff mov $0xffffffff,%eax
8010570d: eb 13 jmp 80105722 <sys_fstat+0x4e>
return filestat(f, st);
8010570f: 8b 55 f0 mov -0x10(%ebp),%edx
80105712: 8b 45 f4 mov -0xc(%ebp),%eax
80105715: 83 ec 08 sub $0x8,%esp
80105718: 52 push %edx
80105719: 50 push %eax
8010571a: e8 0a bc ff ff call 80101329 <filestat>
8010571f: 83 c4 10 add $0x10,%esp
}
80105722: c9 leave
80105723: c3 ret
80105724 <sys_link>:
// Create the path new as a link to the same inode as old.
int
sys_link(void)
{
80105724: 55 push %ebp
80105725: 89 e5 mov %esp,%ebp
80105727: 83 ec 28 sub $0x28,%esp
char name[DIRSIZ], *new, *old;
struct inode *dp, *ip;
if(argstr(0, &old) < 0 || argstr(1, &new) < 0)
8010572a: 83 ec 08 sub $0x8,%esp
8010572d: 8d 45 d8 lea -0x28(%ebp),%eax
80105730: 50 push %eax
80105731: 6a 00 push $0x0
80105733: e8 a7 fc ff ff call 801053df <argstr>
80105738: 83 c4 10 add $0x10,%esp
8010573b: 85 c0 test %eax,%eax
8010573d: 78 15 js 80105754 <sys_link+0x30>
8010573f: 83 ec 08 sub $0x8,%esp
80105742: 8d 45 dc lea -0x24(%ebp),%eax
80105745: 50 push %eax
80105746: 6a 01 push $0x1
80105748: e8 92 fc ff ff call 801053df <argstr>
8010574d: 83 c4 10 add $0x10,%esp
80105750: 85 c0 test %eax,%eax
80105752: 79 0a jns 8010575e <sys_link+0x3a>
return -1;
80105754: b8 ff ff ff ff mov $0xffffffff,%eax
80105759: e9 63 01 00 00 jmp 801058c1 <sys_link+0x19d>
if((ip = namei(old)) == 0)
8010575e: 8b 45 d8 mov -0x28(%ebp),%eax
80105761: 83 ec 0c sub $0xc,%esp
80105764: 50 push %eax
80105765: e8 64 cf ff ff call 801026ce <namei>
8010576a: 83 c4 10 add $0x10,%esp
8010576d: 89 45 f4 mov %eax,-0xc(%ebp)
80105770: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105774: 75 0a jne 80105780 <sys_link+0x5c>
return -1;
80105776: b8 ff ff ff ff mov $0xffffffff,%eax
8010577b: e9 41 01 00 00 jmp 801058c1 <sys_link+0x19d>
begin_trans();
80105780: e8 15 dd ff ff call 8010349a <begin_trans>
ilock(ip);
80105785: 83 ec 0c sub $0xc,%esp
80105788: ff 75 f4 pushl -0xc(%ebp)
8010578b: e8 86 c3 ff ff call 80101b16 <ilock>
80105790: 83 c4 10 add $0x10,%esp
if(ip->type == T_DIR){
80105793: 8b 45 f4 mov -0xc(%ebp),%eax
80105796: 0f b7 40 10 movzwl 0x10(%eax),%eax
8010579a: 66 83 f8 01 cmp $0x1,%ax
8010579e: 75 1d jne 801057bd <sys_link+0x99>
iunlockput(ip);
801057a0: 83 ec 0c sub $0xc,%esp
801057a3: ff 75 f4 pushl -0xc(%ebp)
801057a6: e8 25 c6 ff ff call 80101dd0 <iunlockput>
801057ab: 83 c4 10 add $0x10,%esp
commit_trans();
801057ae: e8 3a dd ff ff call 801034ed <commit_trans>
return -1;
801057b3: b8 ff ff ff ff mov $0xffffffff,%eax
801057b8: e9 04 01 00 00 jmp 801058c1 <sys_link+0x19d>
}
ip->nlink++;
801057bd: 8b 45 f4 mov -0xc(%ebp),%eax
801057c0: 0f b7 40 16 movzwl 0x16(%eax),%eax
801057c4: 83 c0 01 add $0x1,%eax
801057c7: 89 c2 mov %eax,%edx
801057c9: 8b 45 f4 mov -0xc(%ebp),%eax
801057cc: 66 89 50 16 mov %dx,0x16(%eax)
iupdate(ip);
801057d0: 83 ec 0c sub $0xc,%esp
801057d3: ff 75 f4 pushl -0xc(%ebp)
801057d6: e8 67 c1 ff ff call 80101942 <iupdate>
801057db: 83 c4 10 add $0x10,%esp
iunlock(ip);
801057de: 83 ec 0c sub $0xc,%esp
801057e1: ff 75 f4 pushl -0xc(%ebp)
801057e4: e8 85 c4 ff ff call 80101c6e <iunlock>
801057e9: 83 c4 10 add $0x10,%esp
if((dp = nameiparent(new, name)) == 0)
801057ec: 8b 45 dc mov -0x24(%ebp),%eax
801057ef: 83 ec 08 sub $0x8,%esp
801057f2: 8d 55 e2 lea -0x1e(%ebp),%edx
801057f5: 52 push %edx
801057f6: 50 push %eax
801057f7: e8 ee ce ff ff call 801026ea <nameiparent>
801057fc: 83 c4 10 add $0x10,%esp
801057ff: 89 45 f0 mov %eax,-0x10(%ebp)
80105802: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105806: 74 71 je 80105879 <sys_link+0x155>
goto bad;
ilock(dp);
80105808: 83 ec 0c sub $0xc,%esp
8010580b: ff 75 f0 pushl -0x10(%ebp)
8010580e: e8 03 c3 ff ff call 80101b16 <ilock>
80105813: 83 c4 10 add $0x10,%esp
if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){
80105816: 8b 45 f0 mov -0x10(%ebp),%eax
80105819: 8b 10 mov (%eax),%edx
8010581b: 8b 45 f4 mov -0xc(%ebp),%eax
8010581e: 8b 00 mov (%eax),%eax
80105820: 39 c2 cmp %eax,%edx
80105822: 75 1d jne 80105841 <sys_link+0x11d>
80105824: 8b 45 f4 mov -0xc(%ebp),%eax
80105827: 8b 40 04 mov 0x4(%eax),%eax
8010582a: 83 ec 04 sub $0x4,%esp
8010582d: 50 push %eax
8010582e: 8d 45 e2 lea -0x1e(%ebp),%eax
80105831: 50 push %eax
80105832: ff 75 f0 pushl -0x10(%ebp)
80105835: e8 f8 cb ff ff call 80102432 <dirlink>
8010583a: 83 c4 10 add $0x10,%esp
8010583d: 85 c0 test %eax,%eax
8010583f: 79 10 jns 80105851 <sys_link+0x12d>
iunlockput(dp);
80105841: 83 ec 0c sub $0xc,%esp
80105844: ff 75 f0 pushl -0x10(%ebp)
80105847: e8 84 c5 ff ff call 80101dd0 <iunlockput>
8010584c: 83 c4 10 add $0x10,%esp
goto bad;
8010584f: eb 29 jmp 8010587a <sys_link+0x156>
}
iunlockput(dp);
80105851: 83 ec 0c sub $0xc,%esp
80105854: ff 75 f0 pushl -0x10(%ebp)
80105857: e8 74 c5 ff ff call 80101dd0 <iunlockput>
8010585c: 83 c4 10 add $0x10,%esp
iput(ip);
8010585f: 83 ec 0c sub $0xc,%esp
80105862: ff 75 f4 pushl -0xc(%ebp)
80105865: e8 76 c4 ff ff call 80101ce0 <iput>
8010586a: 83 c4 10 add $0x10,%esp
commit_trans();
8010586d: e8 7b dc ff ff call 801034ed <commit_trans>
return 0;
80105872: b8 00 00 00 00 mov $0x0,%eax
80105877: eb 48 jmp 801058c1 <sys_link+0x19d>
ip->nlink++;
iupdate(ip);
iunlock(ip);
if((dp = nameiparent(new, name)) == 0)
goto bad;
80105879: 90 nop
commit_trans();
return 0;
bad:
ilock(ip);
8010587a: 83 ec 0c sub $0xc,%esp
8010587d: ff 75 f4 pushl -0xc(%ebp)
80105880: e8 91 c2 ff ff call 80101b16 <ilock>
80105885: 83 c4 10 add $0x10,%esp
ip->nlink--;
80105888: 8b 45 f4 mov -0xc(%ebp),%eax
8010588b: 0f b7 40 16 movzwl 0x16(%eax),%eax
8010588f: 83 e8 01 sub $0x1,%eax
80105892: 89 c2 mov %eax,%edx
80105894: 8b 45 f4 mov -0xc(%ebp),%eax
80105897: 66 89 50 16 mov %dx,0x16(%eax)
iupdate(ip);
8010589b: 83 ec 0c sub $0xc,%esp
8010589e: ff 75 f4 pushl -0xc(%ebp)
801058a1: e8 9c c0 ff ff call 80101942 <iupdate>
801058a6: 83 c4 10 add $0x10,%esp
iunlockput(ip);
801058a9: 83 ec 0c sub $0xc,%esp
801058ac: ff 75 f4 pushl -0xc(%ebp)
801058af: e8 1c c5 ff ff call 80101dd0 <iunlockput>
801058b4: 83 c4 10 add $0x10,%esp
commit_trans();
801058b7: e8 31 dc ff ff call 801034ed <commit_trans>
return -1;
801058bc: b8 ff ff ff ff mov $0xffffffff,%eax
}
801058c1: c9 leave
801058c2: c3 ret
801058c3 <isdirempty>:
// Is the directory dp empty except for "." and ".." ?
static int
isdirempty(struct inode *dp)
{
801058c3: 55 push %ebp
801058c4: 89 e5 mov %esp,%ebp
801058c6: 83 ec 28 sub $0x28,%esp
int off;
struct dirent de;
for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){
801058c9: c7 45 f4 20 00 00 00 movl $0x20,-0xc(%ebp)
801058d0: eb 40 jmp 80105912 <isdirempty+0x4f>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
801058d2: 8b 45 f4 mov -0xc(%ebp),%eax
801058d5: 6a 10 push $0x10
801058d7: 50 push %eax
801058d8: 8d 45 e4 lea -0x1c(%ebp),%eax
801058db: 50 push %eax
801058dc: ff 75 08 pushl 0x8(%ebp)
801058df: e8 9a c7 ff ff call 8010207e <readi>
801058e4: 83 c4 10 add $0x10,%esp
801058e7: 83 f8 10 cmp $0x10,%eax
801058ea: 74 0d je 801058f9 <isdirempty+0x36>
panic("isdirempty: readi");
801058ec: 83 ec 0c sub $0xc,%esp
801058ef: 68 7f 87 10 80 push $0x8010877f
801058f4: e8 6d ac ff ff call 80100566 <panic>
if(de.inum != 0)
801058f9: 0f b7 45 e4 movzwl -0x1c(%ebp),%eax
801058fd: 66 85 c0 test %ax,%ax
80105900: 74 07 je 80105909 <isdirempty+0x46>
return 0;
80105902: b8 00 00 00 00 mov $0x0,%eax
80105907: eb 1b jmp 80105924 <isdirempty+0x61>
isdirempty(struct inode *dp)
{
int off;
struct dirent de;
for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){
80105909: 8b 45 f4 mov -0xc(%ebp),%eax
8010590c: 83 c0 10 add $0x10,%eax
8010590f: 89 45 f4 mov %eax,-0xc(%ebp)
80105912: 8b 45 08 mov 0x8(%ebp),%eax
80105915: 8b 50 18 mov 0x18(%eax),%edx
80105918: 8b 45 f4 mov -0xc(%ebp),%eax
8010591b: 39 c2 cmp %eax,%edx
8010591d: 77 b3 ja 801058d2 <isdirempty+0xf>
if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
panic("isdirempty: readi");
if(de.inum != 0)
return 0;
}
return 1;
8010591f: b8 01 00 00 00 mov $0x1,%eax
}
80105924: c9 leave
80105925: c3 ret
80105926 <sys_unlink>:
//PAGEBREAK!
int
sys_unlink(void)
{
80105926: 55 push %ebp
80105927: 89 e5 mov %esp,%ebp
80105929: 83 ec 38 sub $0x38,%esp
struct inode *ip, *dp;
struct dirent de;
char name[DIRSIZ], *path;
uint off;
if(argstr(0, &path) < 0)
8010592c: 83 ec 08 sub $0x8,%esp
8010592f: 8d 45 cc lea -0x34(%ebp),%eax
80105932: 50 push %eax
80105933: 6a 00 push $0x0
80105935: e8 a5 fa ff ff call 801053df <argstr>
8010593a: 83 c4 10 add $0x10,%esp
8010593d: 85 c0 test %eax,%eax
8010593f: 79 0a jns 8010594b <sys_unlink+0x25>
return -1;
80105941: b8 ff ff ff ff mov $0xffffffff,%eax
80105946: e9 b7 01 00 00 jmp 80105b02 <sys_unlink+0x1dc>
if((dp = nameiparent(path, name)) == 0)
8010594b: 8b 45 cc mov -0x34(%ebp),%eax
8010594e: 83 ec 08 sub $0x8,%esp
80105951: 8d 55 d2 lea -0x2e(%ebp),%edx
80105954: 52 push %edx
80105955: 50 push %eax
80105956: e8 8f cd ff ff call 801026ea <nameiparent>
8010595b: 83 c4 10 add $0x10,%esp
8010595e: 89 45 f4 mov %eax,-0xc(%ebp)
80105961: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105965: 75 0a jne 80105971 <sys_unlink+0x4b>
return -1;
80105967: b8 ff ff ff ff mov $0xffffffff,%eax
8010596c: e9 91 01 00 00 jmp 80105b02 <sys_unlink+0x1dc>
begin_trans();
80105971: e8 24 db ff ff call 8010349a <begin_trans>
ilock(dp);
80105976: 83 ec 0c sub $0xc,%esp
80105979: ff 75 f4 pushl -0xc(%ebp)
8010597c: e8 95 c1 ff ff call 80101b16 <ilock>
80105981: 83 c4 10 add $0x10,%esp
// Cannot unlink "." or "..".
if(namecmp(name, ".") == 0 || namecmp(name, "..") == 0)
80105984: 83 ec 08 sub $0x8,%esp
80105987: 68 91 87 10 80 push $0x80108791
8010598c: 8d 45 d2 lea -0x2e(%ebp),%eax
8010598f: 50 push %eax
80105990: e8 c8 c9 ff ff call 8010235d <namecmp>
80105995: 83 c4 10 add $0x10,%esp
80105998: 85 c0 test %eax,%eax
8010599a: 0f 84 4a 01 00 00 je 80105aea <sys_unlink+0x1c4>
801059a0: 83 ec 08 sub $0x8,%esp
801059a3: 68 93 87 10 80 push $0x80108793
801059a8: 8d 45 d2 lea -0x2e(%ebp),%eax
801059ab: 50 push %eax
801059ac: e8 ac c9 ff ff call 8010235d <namecmp>
801059b1: 83 c4 10 add $0x10,%esp
801059b4: 85 c0 test %eax,%eax
801059b6: 0f 84 2e 01 00 00 je 80105aea <sys_unlink+0x1c4>
goto bad;
if((ip = dirlookup(dp, name, &off)) == 0)
801059bc: 83 ec 04 sub $0x4,%esp
801059bf: 8d 45 c8 lea -0x38(%ebp),%eax
801059c2: 50 push %eax
801059c3: 8d 45 d2 lea -0x2e(%ebp),%eax
801059c6: 50 push %eax
801059c7: ff 75 f4 pushl -0xc(%ebp)
801059ca: e8 a9 c9 ff ff call 80102378 <dirlookup>
801059cf: 83 c4 10 add $0x10,%esp
801059d2: 89 45 f0 mov %eax,-0x10(%ebp)
801059d5: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
801059d9: 0f 84 0a 01 00 00 je 80105ae9 <sys_unlink+0x1c3>
goto bad;
ilock(ip);
801059df: 83 ec 0c sub $0xc,%esp
801059e2: ff 75 f0 pushl -0x10(%ebp)
801059e5: e8 2c c1 ff ff call 80101b16 <ilock>
801059ea: 83 c4 10 add $0x10,%esp
if(ip->nlink < 1)
801059ed: 8b 45 f0 mov -0x10(%ebp),%eax
801059f0: 0f b7 40 16 movzwl 0x16(%eax),%eax
801059f4: 66 85 c0 test %ax,%ax
801059f7: 7f 0d jg 80105a06 <sys_unlink+0xe0>
panic("unlink: nlink < 1");
801059f9: 83 ec 0c sub $0xc,%esp
801059fc: 68 96 87 10 80 push $0x80108796
80105a01: e8 60 ab ff ff call 80100566 <panic>
if(ip->type == T_DIR && !isdirempty(ip)){
80105a06: 8b 45 f0 mov -0x10(%ebp),%eax
80105a09: 0f b7 40 10 movzwl 0x10(%eax),%eax
80105a0d: 66 83 f8 01 cmp $0x1,%ax
80105a11: 75 25 jne 80105a38 <sys_unlink+0x112>
80105a13: 83 ec 0c sub $0xc,%esp
80105a16: ff 75 f0 pushl -0x10(%ebp)
80105a19: e8 a5 fe ff ff call 801058c3 <isdirempty>
80105a1e: 83 c4 10 add $0x10,%esp
80105a21: 85 c0 test %eax,%eax
80105a23: 75 13 jne 80105a38 <sys_unlink+0x112>
iunlockput(ip);
80105a25: 83 ec 0c sub $0xc,%esp
80105a28: ff 75 f0 pushl -0x10(%ebp)
80105a2b: e8 a0 c3 ff ff call 80101dd0 <iunlockput>
80105a30: 83 c4 10 add $0x10,%esp
goto bad;
80105a33: e9 b2 00 00 00 jmp 80105aea <sys_unlink+0x1c4>
}
memset(&de, 0, sizeof(de));
80105a38: 83 ec 04 sub $0x4,%esp
80105a3b: 6a 10 push $0x10
80105a3d: 6a 00 push $0x0
80105a3f: 8d 45 e0 lea -0x20(%ebp),%eax
80105a42: 50 push %eax
80105a43: e8 ed f5 ff ff call 80105035 <memset>
80105a48: 83 c4 10 add $0x10,%esp
if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
80105a4b: 8b 45 c8 mov -0x38(%ebp),%eax
80105a4e: 6a 10 push $0x10
80105a50: 50 push %eax
80105a51: 8d 45 e0 lea -0x20(%ebp),%eax
80105a54: 50 push %eax
80105a55: ff 75 f4 pushl -0xc(%ebp)
80105a58: e8 78 c7 ff ff call 801021d5 <writei>
80105a5d: 83 c4 10 add $0x10,%esp
80105a60: 83 f8 10 cmp $0x10,%eax
80105a63: 74 0d je 80105a72 <sys_unlink+0x14c>
panic("unlink: writei");
80105a65: 83 ec 0c sub $0xc,%esp
80105a68: 68 a8 87 10 80 push $0x801087a8
80105a6d: e8 f4 aa ff ff call 80100566 <panic>
if(ip->type == T_DIR){
80105a72: 8b 45 f0 mov -0x10(%ebp),%eax
80105a75: 0f b7 40 10 movzwl 0x10(%eax),%eax
80105a79: 66 83 f8 01 cmp $0x1,%ax
80105a7d: 75 21 jne 80105aa0 <sys_unlink+0x17a>
dp->nlink--;
80105a7f: 8b 45 f4 mov -0xc(%ebp),%eax
80105a82: 0f b7 40 16 movzwl 0x16(%eax),%eax
80105a86: 83 e8 01 sub $0x1,%eax
80105a89: 89 c2 mov %eax,%edx
80105a8b: 8b 45 f4 mov -0xc(%ebp),%eax
80105a8e: 66 89 50 16 mov %dx,0x16(%eax)
iupdate(dp);
80105a92: 83 ec 0c sub $0xc,%esp
80105a95: ff 75 f4 pushl -0xc(%ebp)
80105a98: e8 a5 be ff ff call 80101942 <iupdate>
80105a9d: 83 c4 10 add $0x10,%esp
}
iunlockput(dp);
80105aa0: 83 ec 0c sub $0xc,%esp
80105aa3: ff 75 f4 pushl -0xc(%ebp)
80105aa6: e8 25 c3 ff ff call 80101dd0 <iunlockput>
80105aab: 83 c4 10 add $0x10,%esp
ip->nlink--;
80105aae: 8b 45 f0 mov -0x10(%ebp),%eax
80105ab1: 0f b7 40 16 movzwl 0x16(%eax),%eax
80105ab5: 83 e8 01 sub $0x1,%eax
80105ab8: 89 c2 mov %eax,%edx
80105aba: 8b 45 f0 mov -0x10(%ebp),%eax
80105abd: 66 89 50 16 mov %dx,0x16(%eax)
iupdate(ip);
80105ac1: 83 ec 0c sub $0xc,%esp
80105ac4: ff 75 f0 pushl -0x10(%ebp)
80105ac7: e8 76 be ff ff call 80101942 <iupdate>
80105acc: 83 c4 10 add $0x10,%esp
iunlockput(ip);
80105acf: 83 ec 0c sub $0xc,%esp
80105ad2: ff 75 f0 pushl -0x10(%ebp)
80105ad5: e8 f6 c2 ff ff call 80101dd0 <iunlockput>
80105ada: 83 c4 10 add $0x10,%esp
commit_trans();
80105add: e8 0b da ff ff call 801034ed <commit_trans>
return 0;
80105ae2: b8 00 00 00 00 mov $0x0,%eax
80105ae7: eb 19 jmp 80105b02 <sys_unlink+0x1dc>
// Cannot unlink "." or "..".
if(namecmp(name, ".") == 0 || namecmp(name, "..") == 0)
goto bad;
if((ip = dirlookup(dp, name, &off)) == 0)
goto bad;
80105ae9: 90 nop
commit_trans();
return 0;
bad:
iunlockput(dp);
80105aea: 83 ec 0c sub $0xc,%esp
80105aed: ff 75 f4 pushl -0xc(%ebp)
80105af0: e8 db c2 ff ff call 80101dd0 <iunlockput>
80105af5: 83 c4 10 add $0x10,%esp
commit_trans();
80105af8: e8 f0 d9 ff ff call 801034ed <commit_trans>
return -1;
80105afd: b8 ff ff ff ff mov $0xffffffff,%eax
}
80105b02: c9 leave
80105b03: c3 ret
80105b04 <create>:
static struct inode*
create(char *path, short type, short major, short minor)
{
80105b04: 55 push %ebp
80105b05: 89 e5 mov %esp,%ebp
80105b07: 83 ec 38 sub $0x38,%esp
80105b0a: 8b 4d 0c mov 0xc(%ebp),%ecx
80105b0d: 8b 55 10 mov 0x10(%ebp),%edx
80105b10: 8b 45 14 mov 0x14(%ebp),%eax
80105b13: 66 89 4d d4 mov %cx,-0x2c(%ebp)
80105b17: 66 89 55 d0 mov %dx,-0x30(%ebp)
80105b1b: 66 89 45 cc mov %ax,-0x34(%ebp)
uint off;
struct inode *ip, *dp;
char name[DIRSIZ];
if((dp = nameiparent(path, name)) == 0)
80105b1f: 83 ec 08 sub $0x8,%esp
80105b22: 8d 45 de lea -0x22(%ebp),%eax
80105b25: 50 push %eax
80105b26: ff 75 08 pushl 0x8(%ebp)
80105b29: e8 bc cb ff ff call 801026ea <nameiparent>
80105b2e: 83 c4 10 add $0x10,%esp
80105b31: 89 45 f4 mov %eax,-0xc(%ebp)
80105b34: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105b38: 75 0a jne 80105b44 <create+0x40>
return 0;
80105b3a: b8 00 00 00 00 mov $0x0,%eax
80105b3f: e9 90 01 00 00 jmp 80105cd4 <create+0x1d0>
ilock(dp);
80105b44: 83 ec 0c sub $0xc,%esp
80105b47: ff 75 f4 pushl -0xc(%ebp)
80105b4a: e8 c7 bf ff ff call 80101b16 <ilock>
80105b4f: 83 c4 10 add $0x10,%esp
if((ip = dirlookup(dp, name, &off)) != 0){
80105b52: 83 ec 04 sub $0x4,%esp
80105b55: 8d 45 ec lea -0x14(%ebp),%eax
80105b58: 50 push %eax
80105b59: 8d 45 de lea -0x22(%ebp),%eax
80105b5c: 50 push %eax
80105b5d: ff 75 f4 pushl -0xc(%ebp)
80105b60: e8 13 c8 ff ff call 80102378 <dirlookup>
80105b65: 83 c4 10 add $0x10,%esp
80105b68: 89 45 f0 mov %eax,-0x10(%ebp)
80105b6b: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105b6f: 74 50 je 80105bc1 <create+0xbd>
iunlockput(dp);
80105b71: 83 ec 0c sub $0xc,%esp
80105b74: ff 75 f4 pushl -0xc(%ebp)
80105b77: e8 54 c2 ff ff call 80101dd0 <iunlockput>
80105b7c: 83 c4 10 add $0x10,%esp
ilock(ip);
80105b7f: 83 ec 0c sub $0xc,%esp
80105b82: ff 75 f0 pushl -0x10(%ebp)
80105b85: e8 8c bf ff ff call 80101b16 <ilock>
80105b8a: 83 c4 10 add $0x10,%esp
if(type == T_FILE && ip->type == T_FILE)
80105b8d: 66 83 7d d4 02 cmpw $0x2,-0x2c(%ebp)
80105b92: 75 15 jne 80105ba9 <create+0xa5>
80105b94: 8b 45 f0 mov -0x10(%ebp),%eax
80105b97: 0f b7 40 10 movzwl 0x10(%eax),%eax
80105b9b: 66 83 f8 02 cmp $0x2,%ax
80105b9f: 75 08 jne 80105ba9 <create+0xa5>
return ip;
80105ba1: 8b 45 f0 mov -0x10(%ebp),%eax
80105ba4: e9 2b 01 00 00 jmp 80105cd4 <create+0x1d0>
iunlockput(ip);
80105ba9: 83 ec 0c sub $0xc,%esp
80105bac: ff 75 f0 pushl -0x10(%ebp)
80105baf: e8 1c c2 ff ff call 80101dd0 <iunlockput>
80105bb4: 83 c4 10 add $0x10,%esp
return 0;
80105bb7: b8 00 00 00 00 mov $0x0,%eax
80105bbc: e9 13 01 00 00 jmp 80105cd4 <create+0x1d0>
}
if((ip = ialloc(dp->dev, type)) == 0)
80105bc1: 0f bf 55 d4 movswl -0x2c(%ebp),%edx
80105bc5: 8b 45 f4 mov -0xc(%ebp),%eax
80105bc8: 8b 00 mov (%eax),%eax
80105bca: 83 ec 08 sub $0x8,%esp
80105bcd: 52 push %edx
80105bce: 50 push %eax
80105bcf: e8 8d bc ff ff call 80101861 <ialloc>
80105bd4: 83 c4 10 add $0x10,%esp
80105bd7: 89 45 f0 mov %eax,-0x10(%ebp)
80105bda: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105bde: 75 0d jne 80105bed <create+0xe9>
panic("create: ialloc");
80105be0: 83 ec 0c sub $0xc,%esp
80105be3: 68 b7 87 10 80 push $0x801087b7
80105be8: e8 79 a9 ff ff call 80100566 <panic>
ilock(ip);
80105bed: 83 ec 0c sub $0xc,%esp
80105bf0: ff 75 f0 pushl -0x10(%ebp)
80105bf3: e8 1e bf ff ff call 80101b16 <ilock>
80105bf8: 83 c4 10 add $0x10,%esp
ip->major = major;
80105bfb: 8b 45 f0 mov -0x10(%ebp),%eax
80105bfe: 0f b7 55 d0 movzwl -0x30(%ebp),%edx
80105c02: 66 89 50 12 mov %dx,0x12(%eax)
ip->minor = minor;
80105c06: 8b 45 f0 mov -0x10(%ebp),%eax
80105c09: 0f b7 55 cc movzwl -0x34(%ebp),%edx
80105c0d: 66 89 50 14 mov %dx,0x14(%eax)
ip->nlink = 1;
80105c11: 8b 45 f0 mov -0x10(%ebp),%eax
80105c14: 66 c7 40 16 01 00 movw $0x1,0x16(%eax)
iupdate(ip);
80105c1a: 83 ec 0c sub $0xc,%esp
80105c1d: ff 75 f0 pushl -0x10(%ebp)
80105c20: e8 1d bd ff ff call 80101942 <iupdate>
80105c25: 83 c4 10 add $0x10,%esp
if(type == T_DIR){ // Create . and .. entries.
80105c28: 66 83 7d d4 01 cmpw $0x1,-0x2c(%ebp)
80105c2d: 75 6a jne 80105c99 <create+0x195>
dp->nlink++; // for ".."
80105c2f: 8b 45 f4 mov -0xc(%ebp),%eax
80105c32: 0f b7 40 16 movzwl 0x16(%eax),%eax
80105c36: 83 c0 01 add $0x1,%eax
80105c39: 89 c2 mov %eax,%edx
80105c3b: 8b 45 f4 mov -0xc(%ebp),%eax
80105c3e: 66 89 50 16 mov %dx,0x16(%eax)
iupdate(dp);
80105c42: 83 ec 0c sub $0xc,%esp
80105c45: ff 75 f4 pushl -0xc(%ebp)
80105c48: e8 f5 bc ff ff call 80101942 <iupdate>
80105c4d: 83 c4 10 add $0x10,%esp
// No ip->nlink++ for ".": avoid cyclic ref count.
if(dirlink(ip, ".", ip->inum) < 0 || dirlink(ip, "..", dp->inum) < 0)
80105c50: 8b 45 f0 mov -0x10(%ebp),%eax
80105c53: 8b 40 04 mov 0x4(%eax),%eax
80105c56: 83 ec 04 sub $0x4,%esp
80105c59: 50 push %eax
80105c5a: 68 91 87 10 80 push $0x80108791
80105c5f: ff 75 f0 pushl -0x10(%ebp)
80105c62: e8 cb c7 ff ff call 80102432 <dirlink>
80105c67: 83 c4 10 add $0x10,%esp
80105c6a: 85 c0 test %eax,%eax
80105c6c: 78 1e js 80105c8c <create+0x188>
80105c6e: 8b 45 f4 mov -0xc(%ebp),%eax
80105c71: 8b 40 04 mov 0x4(%eax),%eax
80105c74: 83 ec 04 sub $0x4,%esp
80105c77: 50 push %eax
80105c78: 68 93 87 10 80 push $0x80108793
80105c7d: ff 75 f0 pushl -0x10(%ebp)
80105c80: e8 ad c7 ff ff call 80102432 <dirlink>
80105c85: 83 c4 10 add $0x10,%esp
80105c88: 85 c0 test %eax,%eax
80105c8a: 79 0d jns 80105c99 <create+0x195>
panic("create dots");
80105c8c: 83 ec 0c sub $0xc,%esp
80105c8f: 68 c6 87 10 80 push $0x801087c6
80105c94: e8 cd a8 ff ff call 80100566 <panic>
}
if(dirlink(dp, name, ip->inum) < 0)
80105c99: 8b 45 f0 mov -0x10(%ebp),%eax
80105c9c: 8b 40 04 mov 0x4(%eax),%eax
80105c9f: 83 ec 04 sub $0x4,%esp
80105ca2: 50 push %eax
80105ca3: 8d 45 de lea -0x22(%ebp),%eax
80105ca6: 50 push %eax
80105ca7: ff 75 f4 pushl -0xc(%ebp)
80105caa: e8 83 c7 ff ff call 80102432 <dirlink>
80105caf: 83 c4 10 add $0x10,%esp
80105cb2: 85 c0 test %eax,%eax
80105cb4: 79 0d jns 80105cc3 <create+0x1bf>
panic("create: dirlink");
80105cb6: 83 ec 0c sub $0xc,%esp
80105cb9: 68 d2 87 10 80 push $0x801087d2
80105cbe: e8 a3 a8 ff ff call 80100566 <panic>
iunlockput(dp);
80105cc3: 83 ec 0c sub $0xc,%esp
80105cc6: ff 75 f4 pushl -0xc(%ebp)
80105cc9: e8 02 c1 ff ff call 80101dd0 <iunlockput>
80105cce: 83 c4 10 add $0x10,%esp
return ip;
80105cd1: 8b 45 f0 mov -0x10(%ebp),%eax
}
80105cd4: c9 leave
80105cd5: c3 ret
80105cd6 <sys_open>:
int
sys_open(void)
{
80105cd6: 55 push %ebp
80105cd7: 89 e5 mov %esp,%ebp
80105cd9: 83 ec 28 sub $0x28,%esp
char *path;
int fd, omode;
struct file *f;
struct inode *ip;
if(argstr(0, &path) < 0 || argint(1, &omode) < 0)
80105cdc: 83 ec 08 sub $0x8,%esp
80105cdf: 8d 45 e8 lea -0x18(%ebp),%eax
80105ce2: 50 push %eax
80105ce3: 6a 00 push $0x0
80105ce5: e8 f5 f6 ff ff call 801053df <argstr>
80105cea: 83 c4 10 add $0x10,%esp
80105ced: 85 c0 test %eax,%eax
80105cef: 78 15 js 80105d06 <sys_open+0x30>
80105cf1: 83 ec 08 sub $0x8,%esp
80105cf4: 8d 45 e4 lea -0x1c(%ebp),%eax
80105cf7: 50 push %eax
80105cf8: 6a 01 push $0x1
80105cfa: e8 5b f6 ff ff call 8010535a <argint>
80105cff: 83 c4 10 add $0x10,%esp
80105d02: 85 c0 test %eax,%eax
80105d04: 79 0a jns 80105d10 <sys_open+0x3a>
return -1;
80105d06: b8 ff ff ff ff mov $0xffffffff,%eax
80105d0b: e9 4d 01 00 00 jmp 80105e5d <sys_open+0x187>
if(omode & O_CREATE){
80105d10: 8b 45 e4 mov -0x1c(%ebp),%eax
80105d13: 25 00 02 00 00 and $0x200,%eax
80105d18: 85 c0 test %eax,%eax
80105d1a: 74 2f je 80105d4b <sys_open+0x75>
begin_trans();
80105d1c: e8 79 d7 ff ff call 8010349a <begin_trans>
ip = create(path, T_FILE, 0, 0);
80105d21: 8b 45 e8 mov -0x18(%ebp),%eax
80105d24: 6a 00 push $0x0
80105d26: 6a 00 push $0x0
80105d28: 6a 02 push $0x2
80105d2a: 50 push %eax
80105d2b: e8 d4 fd ff ff call 80105b04 <create>
80105d30: 83 c4 10 add $0x10,%esp
80105d33: 89 45 f4 mov %eax,-0xc(%ebp)
commit_trans();
80105d36: e8 b2 d7 ff ff call 801034ed <commit_trans>
if(ip == 0)
80105d3b: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105d3f: 75 66 jne 80105da7 <sys_open+0xd1>
return -1;
80105d41: b8 ff ff ff ff mov $0xffffffff,%eax
80105d46: e9 12 01 00 00 jmp 80105e5d <sys_open+0x187>
} else {
if((ip = namei(path)) == 0)
80105d4b: 8b 45 e8 mov -0x18(%ebp),%eax
80105d4e: 83 ec 0c sub $0xc,%esp
80105d51: 50 push %eax
80105d52: e8 77 c9 ff ff call 801026ce <namei>
80105d57: 83 c4 10 add $0x10,%esp
80105d5a: 89 45 f4 mov %eax,-0xc(%ebp)
80105d5d: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105d61: 75 0a jne 80105d6d <sys_open+0x97>
return -1;
80105d63: b8 ff ff ff ff mov $0xffffffff,%eax
80105d68: e9 f0 00 00 00 jmp 80105e5d <sys_open+0x187>
ilock(ip);
80105d6d: 83 ec 0c sub $0xc,%esp
80105d70: ff 75 f4 pushl -0xc(%ebp)
80105d73: e8 9e bd ff ff call 80101b16 <ilock>
80105d78: 83 c4 10 add $0x10,%esp
if(ip->type == T_DIR && omode != O_RDONLY){
80105d7b: 8b 45 f4 mov -0xc(%ebp),%eax
80105d7e: 0f b7 40 10 movzwl 0x10(%eax),%eax
80105d82: 66 83 f8 01 cmp $0x1,%ax
80105d86: 75 1f jne 80105da7 <sys_open+0xd1>
80105d88: 8b 45 e4 mov -0x1c(%ebp),%eax
80105d8b: 85 c0 test %eax,%eax
80105d8d: 74 18 je 80105da7 <sys_open+0xd1>
iunlockput(ip);
80105d8f: 83 ec 0c sub $0xc,%esp
80105d92: ff 75 f4 pushl -0xc(%ebp)
80105d95: e8 36 c0 ff ff call 80101dd0 <iunlockput>
80105d9a: 83 c4 10 add $0x10,%esp
return -1;
80105d9d: b8 ff ff ff ff mov $0xffffffff,%eax
80105da2: e9 b6 00 00 00 jmp 80105e5d <sys_open+0x187>
}
}
if((f = filealloc()) == 0 || (fd = fdalloc(f)) < 0){
80105da7: e8 d7 b3 ff ff call 80101183 <filealloc>
80105dac: 89 45 f0 mov %eax,-0x10(%ebp)
80105daf: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105db3: 74 17 je 80105dcc <sys_open+0xf6>
80105db5: 83 ec 0c sub $0xc,%esp
80105db8: ff 75 f0 pushl -0x10(%ebp)
80105dbb: e8 4b f7 ff ff call 8010550b <fdalloc>
80105dc0: 83 c4 10 add $0x10,%esp
80105dc3: 89 45 ec mov %eax,-0x14(%ebp)
80105dc6: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
80105dca: 79 29 jns 80105df5 <sys_open+0x11f>
if(f)
80105dcc: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105dd0: 74 0e je 80105de0 <sys_open+0x10a>
fileclose(f);
80105dd2: 83 ec 0c sub $0xc,%esp
80105dd5: ff 75 f0 pushl -0x10(%ebp)
80105dd8: e8 64 b4 ff ff call 80101241 <fileclose>
80105ddd: 83 c4 10 add $0x10,%esp
iunlockput(ip);
80105de0: 83 ec 0c sub $0xc,%esp
80105de3: ff 75 f4 pushl -0xc(%ebp)
80105de6: e8 e5 bf ff ff call 80101dd0 <iunlockput>
80105deb: 83 c4 10 add $0x10,%esp
return -1;
80105dee: b8 ff ff ff ff mov $0xffffffff,%eax
80105df3: eb 68 jmp 80105e5d <sys_open+0x187>
}
iunlock(ip);
80105df5: 83 ec 0c sub $0xc,%esp
80105df8: ff 75 f4 pushl -0xc(%ebp)
80105dfb: e8 6e be ff ff call 80101c6e <iunlock>
80105e00: 83 c4 10 add $0x10,%esp
f->type = FD_INODE;
80105e03: 8b 45 f0 mov -0x10(%ebp),%eax
80105e06: c7 00 02 00 00 00 movl $0x2,(%eax)
f->ip = ip;
80105e0c: 8b 45 f0 mov -0x10(%ebp),%eax
80105e0f: 8b 55 f4 mov -0xc(%ebp),%edx
80105e12: 89 50 10 mov %edx,0x10(%eax)
f->off = 0;
80105e15: 8b 45 f0 mov -0x10(%ebp),%eax
80105e18: c7 40 14 00 00 00 00 movl $0x0,0x14(%eax)
f->readable = !(omode & O_WRONLY);
80105e1f: 8b 45 e4 mov -0x1c(%ebp),%eax
80105e22: 83 e0 01 and $0x1,%eax
80105e25: 85 c0 test %eax,%eax
80105e27: 0f 94 c0 sete %al
80105e2a: 89 c2 mov %eax,%edx
80105e2c: 8b 45 f0 mov -0x10(%ebp),%eax
80105e2f: 88 50 08 mov %dl,0x8(%eax)
f->writable = (omode & O_WRONLY) || (omode & O_RDWR);
80105e32: 8b 45 e4 mov -0x1c(%ebp),%eax
80105e35: 83 e0 01 and $0x1,%eax
80105e38: 85 c0 test %eax,%eax
80105e3a: 75 0a jne 80105e46 <sys_open+0x170>
80105e3c: 8b 45 e4 mov -0x1c(%ebp),%eax
80105e3f: 83 e0 02 and $0x2,%eax
80105e42: 85 c0 test %eax,%eax
80105e44: 74 07 je 80105e4d <sys_open+0x177>
80105e46: b8 01 00 00 00 mov $0x1,%eax
80105e4b: eb 05 jmp 80105e52 <sys_open+0x17c>
80105e4d: b8 00 00 00 00 mov $0x0,%eax
80105e52: 89 c2 mov %eax,%edx
80105e54: 8b 45 f0 mov -0x10(%ebp),%eax
80105e57: 88 50 09 mov %dl,0x9(%eax)
return fd;
80105e5a: 8b 45 ec mov -0x14(%ebp),%eax
}
80105e5d: c9 leave
80105e5e: c3 ret
80105e5f <sys_mkdir>:
int
sys_mkdir(void)
{
80105e5f: 55 push %ebp
80105e60: 89 e5 mov %esp,%ebp
80105e62: 83 ec 18 sub $0x18,%esp
char *path;
struct inode *ip;
begin_trans();
80105e65: e8 30 d6 ff ff call 8010349a <begin_trans>
if(argstr(0, &path) < 0 || (ip = create(path, T_DIR, 0, 0)) == 0){
80105e6a: 83 ec 08 sub $0x8,%esp
80105e6d: 8d 45 f0 lea -0x10(%ebp),%eax
80105e70: 50 push %eax
80105e71: 6a 00 push $0x0
80105e73: e8 67 f5 ff ff call 801053df <argstr>
80105e78: 83 c4 10 add $0x10,%esp
80105e7b: 85 c0 test %eax,%eax
80105e7d: 78 1b js 80105e9a <sys_mkdir+0x3b>
80105e7f: 8b 45 f0 mov -0x10(%ebp),%eax
80105e82: 6a 00 push $0x0
80105e84: 6a 00 push $0x0
80105e86: 6a 01 push $0x1
80105e88: 50 push %eax
80105e89: e8 76 fc ff ff call 80105b04 <create>
80105e8e: 83 c4 10 add $0x10,%esp
80105e91: 89 45 f4 mov %eax,-0xc(%ebp)
80105e94: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105e98: 75 0c jne 80105ea6 <sys_mkdir+0x47>
commit_trans();
80105e9a: e8 4e d6 ff ff call 801034ed <commit_trans>
return -1;
80105e9f: b8 ff ff ff ff mov $0xffffffff,%eax
80105ea4: eb 18 jmp 80105ebe <sys_mkdir+0x5f>
}
iunlockput(ip);
80105ea6: 83 ec 0c sub $0xc,%esp
80105ea9: ff 75 f4 pushl -0xc(%ebp)
80105eac: e8 1f bf ff ff call 80101dd0 <iunlockput>
80105eb1: 83 c4 10 add $0x10,%esp
commit_trans();
80105eb4: e8 34 d6 ff ff call 801034ed <commit_trans>
return 0;
80105eb9: b8 00 00 00 00 mov $0x0,%eax
}
80105ebe: c9 leave
80105ebf: c3 ret
80105ec0 <sys_mknod>:
int
sys_mknod(void)
{
80105ec0: 55 push %ebp
80105ec1: 89 e5 mov %esp,%ebp
80105ec3: 83 ec 28 sub $0x28,%esp
struct inode *ip;
char *path;
int len;
int major, minor;
begin_trans();
80105ec6: e8 cf d5 ff ff call 8010349a <begin_trans>
if((len=argstr(0, &path)) < 0 ||
80105ecb: 83 ec 08 sub $0x8,%esp
80105ece: 8d 45 ec lea -0x14(%ebp),%eax
80105ed1: 50 push %eax
80105ed2: 6a 00 push $0x0
80105ed4: e8 06 f5 ff ff call 801053df <argstr>
80105ed9: 83 c4 10 add $0x10,%esp
80105edc: 89 45 f4 mov %eax,-0xc(%ebp)
80105edf: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105ee3: 78 4f js 80105f34 <sys_mknod+0x74>
argint(1, &major) < 0 ||
80105ee5: 83 ec 08 sub $0x8,%esp
80105ee8: 8d 45 e8 lea -0x18(%ebp),%eax
80105eeb: 50 push %eax
80105eec: 6a 01 push $0x1
80105eee: e8 67 f4 ff ff call 8010535a <argint>
80105ef3: 83 c4 10 add $0x10,%esp
char *path;
int len;
int major, minor;
begin_trans();
if((len=argstr(0, &path)) < 0 ||
80105ef6: 85 c0 test %eax,%eax
80105ef8: 78 3a js 80105f34 <sys_mknod+0x74>
argint(1, &major) < 0 ||
argint(2, &minor) < 0 ||
80105efa: 83 ec 08 sub $0x8,%esp
80105efd: 8d 45 e4 lea -0x1c(%ebp),%eax
80105f00: 50 push %eax
80105f01: 6a 02 push $0x2
80105f03: e8 52 f4 ff ff call 8010535a <argint>
80105f08: 83 c4 10 add $0x10,%esp
int len;
int major, minor;
begin_trans();
if((len=argstr(0, &path)) < 0 ||
argint(1, &major) < 0 ||
80105f0b: 85 c0 test %eax,%eax
80105f0d: 78 25 js 80105f34 <sys_mknod+0x74>
argint(2, &minor) < 0 ||
(ip = create(path, T_DEV, major, minor)) == 0){
80105f0f: 8b 45 e4 mov -0x1c(%ebp),%eax
80105f12: 0f bf c8 movswl %ax,%ecx
80105f15: 8b 45 e8 mov -0x18(%ebp),%eax
80105f18: 0f bf d0 movswl %ax,%edx
80105f1b: 8b 45 ec mov -0x14(%ebp),%eax
int major, minor;
begin_trans();
if((len=argstr(0, &path)) < 0 ||
argint(1, &major) < 0 ||
argint(2, &minor) < 0 ||
80105f1e: 51 push %ecx
80105f1f: 52 push %edx
80105f20: 6a 03 push $0x3
80105f22: 50 push %eax
80105f23: e8 dc fb ff ff call 80105b04 <create>
80105f28: 83 c4 10 add $0x10,%esp
80105f2b: 89 45 f0 mov %eax,-0x10(%ebp)
80105f2e: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80105f32: 75 0c jne 80105f40 <sys_mknod+0x80>
(ip = create(path, T_DEV, major, minor)) == 0){
commit_trans();
80105f34: e8 b4 d5 ff ff call 801034ed <commit_trans>
return -1;
80105f39: b8 ff ff ff ff mov $0xffffffff,%eax
80105f3e: eb 18 jmp 80105f58 <sys_mknod+0x98>
}
iunlockput(ip);
80105f40: 83 ec 0c sub $0xc,%esp
80105f43: ff 75 f0 pushl -0x10(%ebp)
80105f46: e8 85 be ff ff call 80101dd0 <iunlockput>
80105f4b: 83 c4 10 add $0x10,%esp
commit_trans();
80105f4e: e8 9a d5 ff ff call 801034ed <commit_trans>
return 0;
80105f53: b8 00 00 00 00 mov $0x0,%eax
}
80105f58: c9 leave
80105f59: c3 ret
80105f5a <sys_chdir>:
int
sys_chdir(void)
{
80105f5a: 55 push %ebp
80105f5b: 89 e5 mov %esp,%ebp
80105f5d: 83 ec 18 sub $0x18,%esp
char *path;
struct inode *ip;
if(argstr(0, &path) < 0 || (ip = namei(path)) == 0)
80105f60: 83 ec 08 sub $0x8,%esp
80105f63: 8d 45 f0 lea -0x10(%ebp),%eax
80105f66: 50 push %eax
80105f67: 6a 00 push $0x0
80105f69: e8 71 f4 ff ff call 801053df <argstr>
80105f6e: 83 c4 10 add $0x10,%esp
80105f71: 85 c0 test %eax,%eax
80105f73: 78 18 js 80105f8d <sys_chdir+0x33>
80105f75: 8b 45 f0 mov -0x10(%ebp),%eax
80105f78: 83 ec 0c sub $0xc,%esp
80105f7b: 50 push %eax
80105f7c: e8 4d c7 ff ff call 801026ce <namei>
80105f81: 83 c4 10 add $0x10,%esp
80105f84: 89 45 f4 mov %eax,-0xc(%ebp)
80105f87: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80105f8b: 75 07 jne 80105f94 <sys_chdir+0x3a>
return -1;
80105f8d: b8 ff ff ff ff mov $0xffffffff,%eax
80105f92: eb 64 jmp 80105ff8 <sys_chdir+0x9e>
ilock(ip);
80105f94: 83 ec 0c sub $0xc,%esp
80105f97: ff 75 f4 pushl -0xc(%ebp)
80105f9a: e8 77 bb ff ff call 80101b16 <ilock>
80105f9f: 83 c4 10 add $0x10,%esp
if(ip->type != T_DIR){
80105fa2: 8b 45 f4 mov -0xc(%ebp),%eax
80105fa5: 0f b7 40 10 movzwl 0x10(%eax),%eax
80105fa9: 66 83 f8 01 cmp $0x1,%ax
80105fad: 74 15 je 80105fc4 <sys_chdir+0x6a>
iunlockput(ip);
80105faf: 83 ec 0c sub $0xc,%esp
80105fb2: ff 75 f4 pushl -0xc(%ebp)
80105fb5: e8 16 be ff ff call 80101dd0 <iunlockput>
80105fba: 83 c4 10 add $0x10,%esp
return -1;
80105fbd: b8 ff ff ff ff mov $0xffffffff,%eax
80105fc2: eb 34 jmp 80105ff8 <sys_chdir+0x9e>
}
iunlock(ip);
80105fc4: 83 ec 0c sub $0xc,%esp
80105fc7: ff 75 f4 pushl -0xc(%ebp)
80105fca: e8 9f bc ff ff call 80101c6e <iunlock>
80105fcf: 83 c4 10 add $0x10,%esp
iput(proc->cwd);
80105fd2: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105fd8: 8b 40 68 mov 0x68(%eax),%eax
80105fdb: 83 ec 0c sub $0xc,%esp
80105fde: 50 push %eax
80105fdf: e8 fc bc ff ff call 80101ce0 <iput>
80105fe4: 83 c4 10 add $0x10,%esp
proc->cwd = ip;
80105fe7: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80105fed: 8b 55 f4 mov -0xc(%ebp),%edx
80105ff0: 89 50 68 mov %edx,0x68(%eax)
return 0;
80105ff3: b8 00 00 00 00 mov $0x0,%eax
}
80105ff8: c9 leave
80105ff9: c3 ret
80105ffa <sys_exec>:
int
sys_exec(void)
{
80105ffa: 55 push %ebp
80105ffb: 89 e5 mov %esp,%ebp
80105ffd: 81 ec 98 00 00 00 sub $0x98,%esp
char *path, *argv[MAXARG];
int i;
uint uargv, uarg;
if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0){
80106003: 83 ec 08 sub $0x8,%esp
80106006: 8d 45 f0 lea -0x10(%ebp),%eax
80106009: 50 push %eax
8010600a: 6a 00 push $0x0
8010600c: e8 ce f3 ff ff call 801053df <argstr>
80106011: 83 c4 10 add $0x10,%esp
80106014: 85 c0 test %eax,%eax
80106016: 78 18 js 80106030 <sys_exec+0x36>
80106018: 83 ec 08 sub $0x8,%esp
8010601b: 8d 85 6c ff ff ff lea -0x94(%ebp),%eax
80106021: 50 push %eax
80106022: 6a 01 push $0x1
80106024: e8 31 f3 ff ff call 8010535a <argint>
80106029: 83 c4 10 add $0x10,%esp
8010602c: 85 c0 test %eax,%eax
8010602e: 79 0a jns 8010603a <sys_exec+0x40>
return -1;
80106030: b8 ff ff ff ff mov $0xffffffff,%eax
80106035: e9 c6 00 00 00 jmp 80106100 <sys_exec+0x106>
}
memset(argv, 0, sizeof(argv));
8010603a: 83 ec 04 sub $0x4,%esp
8010603d: 68 80 00 00 00 push $0x80
80106042: 6a 00 push $0x0
80106044: 8d 85 70 ff ff ff lea -0x90(%ebp),%eax
8010604a: 50 push %eax
8010604b: e8 e5 ef ff ff call 80105035 <memset>
80106050: 83 c4 10 add $0x10,%esp
for(i=0;; i++){
80106053: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
if(i >= NELEM(argv))
8010605a: 8b 45 f4 mov -0xc(%ebp),%eax
8010605d: 83 f8 1f cmp $0x1f,%eax
80106060: 76 0a jbe 8010606c <sys_exec+0x72>
return -1;
80106062: b8 ff ff ff ff mov $0xffffffff,%eax
80106067: e9 94 00 00 00 jmp 80106100 <sys_exec+0x106>
if(fetchint(uargv+4*i, (int*)&uarg) < 0)
8010606c: 8b 45 f4 mov -0xc(%ebp),%eax
8010606f: c1 e0 02 shl $0x2,%eax
80106072: 89 c2 mov %eax,%edx
80106074: 8b 85 6c ff ff ff mov -0x94(%ebp),%eax
8010607a: 01 c2 add %eax,%edx
8010607c: 83 ec 08 sub $0x8,%esp
8010607f: 8d 85 68 ff ff ff lea -0x98(%ebp),%eax
80106085: 50 push %eax
80106086: 52 push %edx
80106087: e8 32 f2 ff ff call 801052be <fetchint>
8010608c: 83 c4 10 add $0x10,%esp
8010608f: 85 c0 test %eax,%eax
80106091: 79 07 jns 8010609a <sys_exec+0xa0>
return -1;
80106093: b8 ff ff ff ff mov $0xffffffff,%eax
80106098: eb 66 jmp 80106100 <sys_exec+0x106>
if(uarg == 0){
8010609a: 8b 85 68 ff ff ff mov -0x98(%ebp),%eax
801060a0: 85 c0 test %eax,%eax
801060a2: 75 27 jne 801060cb <sys_exec+0xd1>
argv[i] = 0;
801060a4: 8b 45 f4 mov -0xc(%ebp),%eax
801060a7: c7 84 85 70 ff ff ff movl $0x0,-0x90(%ebp,%eax,4)
801060ae: 00 00 00 00
break;
801060b2: 90 nop
}
if(fetchstr(uarg, &argv[i]) < 0)
return -1;
}
return exec(path, argv);
801060b3: 8b 45 f0 mov -0x10(%ebp),%eax
801060b6: 83 ec 08 sub $0x8,%esp
801060b9: 8d 95 70 ff ff ff lea -0x90(%ebp),%edx
801060bf: 52 push %edx
801060c0: 50 push %eax
801060c1: e8 af ac ff ff call 80100d75 <exec>
801060c6: 83 c4 10 add $0x10,%esp
801060c9: eb 35 jmp 80106100 <sys_exec+0x106>
return -1;
if(uarg == 0){
argv[i] = 0;
break;
}
if(fetchstr(uarg, &argv[i]) < 0)
801060cb: 8d 85 70 ff ff ff lea -0x90(%ebp),%eax
801060d1: 8b 55 f4 mov -0xc(%ebp),%edx
801060d4: c1 e2 02 shl $0x2,%edx
801060d7: 01 c2 add %eax,%edx
801060d9: 8b 85 68 ff ff ff mov -0x98(%ebp),%eax
801060df: 83 ec 08 sub $0x8,%esp
801060e2: 52 push %edx
801060e3: 50 push %eax
801060e4: e8 0f f2 ff ff call 801052f8 <fetchstr>
801060e9: 83 c4 10 add $0x10,%esp
801060ec: 85 c0 test %eax,%eax
801060ee: 79 07 jns 801060f7 <sys_exec+0xfd>
return -1;
801060f0: b8 ff ff ff ff mov $0xffffffff,%eax
801060f5: eb 09 jmp 80106100 <sys_exec+0x106>
if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0){
return -1;
}
memset(argv, 0, sizeof(argv));
for(i=0;; i++){
801060f7: 83 45 f4 01 addl $0x1,-0xc(%ebp)
argv[i] = 0;
break;
}
if(fetchstr(uarg, &argv[i]) < 0)
return -1;
}
801060fb: e9 5a ff ff ff jmp 8010605a <sys_exec+0x60>
return exec(path, argv);
}
80106100: c9 leave
80106101: c3 ret
80106102 <sys_pipe>:
int
sys_pipe(void)
{
80106102: 55 push %ebp
80106103: 89 e5 mov %esp,%ebp
80106105: 83 ec 28 sub $0x28,%esp
int *fd;
struct file *rf, *wf;
int fd0, fd1;
if(argptr(0, (void*)&fd, 2*sizeof(fd[0])) < 0)
80106108: 83 ec 04 sub $0x4,%esp
8010610b: 6a 08 push $0x8
8010610d: 8d 45 ec lea -0x14(%ebp),%eax
80106110: 50 push %eax
80106111: 6a 00 push $0x0
80106113: e8 6a f2 ff ff call 80105382 <argptr>
80106118: 83 c4 10 add $0x10,%esp
8010611b: 85 c0 test %eax,%eax
8010611d: 79 0a jns 80106129 <sys_pipe+0x27>
return -1;
8010611f: b8 ff ff ff ff mov $0xffffffff,%eax
80106124: e9 af 00 00 00 jmp 801061d8 <sys_pipe+0xd6>
if(pipealloc(&rf, &wf) < 0)
80106129: 83 ec 08 sub $0x8,%esp
8010612c: 8d 45 e4 lea -0x1c(%ebp),%eax
8010612f: 50 push %eax
80106130: 8d 45 e8 lea -0x18(%ebp),%eax
80106133: 50 push %eax
80106134: e8 1a dd ff ff call 80103e53 <pipealloc>
80106139: 83 c4 10 add $0x10,%esp
8010613c: 85 c0 test %eax,%eax
8010613e: 79 0a jns 8010614a <sys_pipe+0x48>
return -1;
80106140: b8 ff ff ff ff mov $0xffffffff,%eax
80106145: e9 8e 00 00 00 jmp 801061d8 <sys_pipe+0xd6>
fd0 = -1;
8010614a: c7 45 f4 ff ff ff ff movl $0xffffffff,-0xc(%ebp)
if((fd0 = fdalloc(rf)) < 0 || (fd1 = fdalloc(wf)) < 0){
80106151: 8b 45 e8 mov -0x18(%ebp),%eax
80106154: 83 ec 0c sub $0xc,%esp
80106157: 50 push %eax
80106158: e8 ae f3 ff ff call 8010550b <fdalloc>
8010615d: 83 c4 10 add $0x10,%esp
80106160: 89 45 f4 mov %eax,-0xc(%ebp)
80106163: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80106167: 78 18 js 80106181 <sys_pipe+0x7f>
80106169: 8b 45 e4 mov -0x1c(%ebp),%eax
8010616c: 83 ec 0c sub $0xc,%esp
8010616f: 50 push %eax
80106170: e8 96 f3 ff ff call 8010550b <fdalloc>
80106175: 83 c4 10 add $0x10,%esp
80106178: 89 45 f0 mov %eax,-0x10(%ebp)
8010617b: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
8010617f: 79 3f jns 801061c0 <sys_pipe+0xbe>
if(fd0 >= 0)
80106181: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80106185: 78 14 js 8010619b <sys_pipe+0x99>
proc->ofile[fd0] = 0;
80106187: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010618d: 8b 55 f4 mov -0xc(%ebp),%edx
80106190: 83 c2 08 add $0x8,%edx
80106193: c7 44 90 08 00 00 00 movl $0x0,0x8(%eax,%edx,4)
8010619a: 00
fileclose(rf);
8010619b: 8b 45 e8 mov -0x18(%ebp),%eax
8010619e: 83 ec 0c sub $0xc,%esp
801061a1: 50 push %eax
801061a2: e8 9a b0 ff ff call 80101241 <fileclose>
801061a7: 83 c4 10 add $0x10,%esp
fileclose(wf);
801061aa: 8b 45 e4 mov -0x1c(%ebp),%eax
801061ad: 83 ec 0c sub $0xc,%esp
801061b0: 50 push %eax
801061b1: e8 8b b0 ff ff call 80101241 <fileclose>
801061b6: 83 c4 10 add $0x10,%esp
return -1;
801061b9: b8 ff ff ff ff mov $0xffffffff,%eax
801061be: eb 18 jmp 801061d8 <sys_pipe+0xd6>
}
fd[0] = fd0;
801061c0: 8b 45 ec mov -0x14(%ebp),%eax
801061c3: 8b 55 f4 mov -0xc(%ebp),%edx
801061c6: 89 10 mov %edx,(%eax)
fd[1] = fd1;
801061c8: 8b 45 ec mov -0x14(%ebp),%eax
801061cb: 8d 50 04 lea 0x4(%eax),%edx
801061ce: 8b 45 f0 mov -0x10(%ebp),%eax
801061d1: 89 02 mov %eax,(%edx)
return 0;
801061d3: b8 00 00 00 00 mov $0x0,%eax
}
801061d8: c9 leave
801061d9: c3 ret
801061da <sys_getCuPos>:
//新增函数
int sys_getCuPos(void){
801061da: 55 push %ebp
801061db: 89 e5 mov %esp,%ebp
801061dd: 83 ec 08 sub $0x8,%esp
return getCuPos();
801061e0: e8 71 a9 ff ff call 80100b56 <getCuPos>
}
801061e5: c9 leave
801061e6: c3 ret
801061e7 <sys_setCuPos>:
int sys_setCuPos(void){
801061e7: 55 push %ebp
801061e8: 89 e5 mov %esp,%ebp
801061ea: 83 ec 18 sub $0x18,%esp
int row,col;
if(argint(0,&row)<0 || argint(1,&col)<0)
801061ed: 83 ec 08 sub $0x8,%esp
801061f0: 8d 45 f4 lea -0xc(%ebp),%eax
801061f3: 50 push %eax
801061f4: 6a 00 push $0x0
801061f6: e8 5f f1 ff ff call 8010535a <argint>
801061fb: 83 c4 10 add $0x10,%esp
801061fe: 85 c0 test %eax,%eax
80106200: 78 15 js 80106217 <sys_setCuPos+0x30>
80106202: 83 ec 08 sub $0x8,%esp
80106205: 8d 45 f0 lea -0x10(%ebp),%eax
80106208: 50 push %eax
80106209: 6a 01 push $0x1
8010620b: e8 4a f1 ff ff call 8010535a <argint>
80106210: 83 c4 10 add $0x10,%esp
80106213: 85 c0 test %eax,%eax
80106215: 79 07 jns 8010621e <sys_setCuPos+0x37>
return -1;
80106217: b8 ff ff ff ff mov $0xffffffff,%eax
8010621c: eb 18 jmp 80106236 <sys_setCuPos+0x4f>
setCuPos(row,col);
8010621e: 8b 55 f0 mov -0x10(%ebp),%edx
80106221: 8b 45 f4 mov -0xc(%ebp),%eax
80106224: 83 ec 08 sub $0x8,%esp
80106227: 52 push %edx
80106228: 50 push %eax
80106229: e8 7a a9 ff ff call 80100ba8 <setCuPos>
8010622e: 83 c4 10 add $0x10,%esp
return 0;
80106231: b8 00 00 00 00 mov $0x0,%eax
}
80106236: c9 leave
80106237: c3 ret
80106238 <sys_getSnapshot>:
int sys_getSnapshot(void){
80106238: 55 push %ebp
80106239: 89 e5 mov %esp,%ebp
8010623b: 83 ec 18 sub $0x18,%esp
ushort *screen_buffer;
int pos;
if(argint(1,&pos)<0)return -1;
8010623e: 83 ec 08 sub $0x8,%esp
80106241: 8d 45 f0 lea -0x10(%ebp),%eax
80106244: 50 push %eax
80106245: 6a 01 push $0x1
80106247: e8 0e f1 ff ff call 8010535a <argint>
8010624c: 83 c4 10 add $0x10,%esp
8010624f: 85 c0 test %eax,%eax
80106251: 79 07 jns 8010625a <sys_getSnapshot+0x22>
80106253: b8 ff ff ff ff mov $0xffffffff,%eax
80106258: eb 38 jmp 80106292 <sys_getSnapshot+0x5a>
if(argptr(0,(char **)&screen_buffer, pos)<0)return -1;
8010625a: 8b 45 f0 mov -0x10(%ebp),%eax
8010625d: 83 ec 04 sub $0x4,%esp
80106260: 50 push %eax
80106261: 8d 45 f4 lea -0xc(%ebp),%eax
80106264: 50 push %eax
80106265: 6a 00 push $0x0
80106267: e8 16 f1 ff ff call 80105382 <argptr>
8010626c: 83 c4 10 add $0x10,%esp
8010626f: 85 c0 test %eax,%eax
80106271: 79 07 jns 8010627a <sys_getSnapshot+0x42>
80106273: b8 ff ff ff ff mov $0xffffffff,%eax
80106278: eb 18 jmp 80106292 <sys_getSnapshot+0x5a>
getSnapshot(screen_buffer,pos);
8010627a: 8b 55 f0 mov -0x10(%ebp),%edx
8010627d: 8b 45 f4 mov -0xc(%ebp),%eax
80106280: 83 ec 08 sub $0x8,%esp
80106283: 52 push %edx
80106284: 50 push %eax
80106285: e8 98 a9 ff ff call 80100c22 <getSnapshot>
8010628a: 83 c4 10 add $0x10,%esp
return 0;
8010628d: b8 00 00 00 00 mov $0x0,%eax
}
80106292: c9 leave
80106293: c3 ret
80106294 <sys_clearScreen>:
int sys_clearScreen(void){
80106294: 55 push %ebp
80106295: 89 e5 mov %esp,%ebp
80106297: 83 ec 08 sub $0x8,%esp
clearScreen();
8010629a: e8 cc a9 ff ff call 80100c6b <clearScreen>
return 0;
8010629f: b8 00 00 00 00 mov $0x0,%eax
801062a4: c9 leave
801062a5: c3 ret
801062a6 <sys_fork>:
#include "mmu.h"
#include "proc.h"
int
sys_fork(void)
{
801062a6: 55 push %ebp
801062a7: 89 e5 mov %esp,%ebp
801062a9: 83 ec 08 sub $0x8,%esp
return fork();
801062ac: e8 98 e2 ff ff call 80104549 <fork>
}
801062b1: c9 leave
801062b2: c3 ret
801062b3 <sys_exit>:
int
sys_exit(void)
{
801062b3: 55 push %ebp
801062b4: 89 e5 mov %esp,%ebp
801062b6: 83 ec 08 sub $0x8,%esp
exit();
801062b9: e8 fc e3 ff ff call 801046ba <exit>
return 0; // not reached
801062be: b8 00 00 00 00 mov $0x0,%eax
}
801062c3: c9 leave
801062c4: c3 ret
801062c5 <sys_wait>:
int
sys_wait(void)
{
801062c5: 55 push %ebp
801062c6: 89 e5 mov %esp,%ebp
801062c8: 83 ec 08 sub $0x8,%esp
return wait();
801062cb: e8 18 e5 ff ff call 801047e8 <wait>
}
801062d0: c9 leave
801062d1: c3 ret
801062d2 <sys_kill>:
int
sys_kill(void)
{
801062d2: 55 push %ebp
801062d3: 89 e5 mov %esp,%ebp
801062d5: 83 ec 18 sub $0x18,%esp
int pid;
if(argint(0, &pid) < 0)
801062d8: 83 ec 08 sub $0x8,%esp
801062db: 8d 45 f4 lea -0xc(%ebp),%eax
801062de: 50 push %eax
801062df: 6a 00 push $0x0
801062e1: e8 74 f0 ff ff call 8010535a <argint>
801062e6: 83 c4 10 add $0x10,%esp
801062e9: 85 c0 test %eax,%eax
801062eb: 79 07 jns 801062f4 <sys_kill+0x22>
return -1;
801062ed: b8 ff ff ff ff mov $0xffffffff,%eax
801062f2: eb 0f jmp 80106303 <sys_kill+0x31>
return kill(pid);
801062f4: 8b 45 f4 mov -0xc(%ebp),%eax
801062f7: 83 ec 0c sub $0xc,%esp
801062fa: 50 push %eax
801062fb: e8 fb e8 ff ff call 80104bfb <kill>
80106300: 83 c4 10 add $0x10,%esp
}
80106303: c9 leave
80106304: c3 ret
80106305 <sys_getpid>:
int
sys_getpid(void)
{
80106305: 55 push %ebp
80106306: 89 e5 mov %esp,%ebp
return proc->pid;
80106308: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010630e: 8b 40 10 mov 0x10(%eax),%eax
}
80106311: 5d pop %ebp
80106312: c3 ret
80106313 <sys_sbrk>:
int
sys_sbrk(void)
{
80106313: 55 push %ebp
80106314: 89 e5 mov %esp,%ebp
80106316: 83 ec 18 sub $0x18,%esp
int addr;
int n;
if(argint(0, &n) < 0)
80106319: 83 ec 08 sub $0x8,%esp
8010631c: 8d 45 f0 lea -0x10(%ebp),%eax
8010631f: 50 push %eax
80106320: 6a 00 push $0x0
80106322: e8 33 f0 ff ff call 8010535a <argint>
80106327: 83 c4 10 add $0x10,%esp
8010632a: 85 c0 test %eax,%eax
8010632c: 79 07 jns 80106335 <sys_sbrk+0x22>
return -1;
8010632e: b8 ff ff ff ff mov $0xffffffff,%eax
80106333: eb 28 jmp 8010635d <sys_sbrk+0x4a>
addr = proc->sz;
80106335: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010633b: 8b 00 mov (%eax),%eax
8010633d: 89 45 f4 mov %eax,-0xc(%ebp)
if(growproc(n) < 0)
80106340: 8b 45 f0 mov -0x10(%ebp),%eax
80106343: 83 ec 0c sub $0xc,%esp
80106346: 50 push %eax
80106347: e8 5a e1 ff ff call 801044a6 <growproc>
8010634c: 83 c4 10 add $0x10,%esp
8010634f: 85 c0 test %eax,%eax
80106351: 79 07 jns 8010635a <sys_sbrk+0x47>
return -1;
80106353: b8 ff ff ff ff mov $0xffffffff,%eax
80106358: eb 03 jmp 8010635d <sys_sbrk+0x4a>
return addr;
8010635a: 8b 45 f4 mov -0xc(%ebp),%eax
}
8010635d: c9 leave
8010635e: c3 ret
8010635f <sys_sleep>:
int
sys_sleep(void)
{
8010635f: 55 push %ebp
80106360: 89 e5 mov %esp,%ebp
80106362: 83 ec 18 sub $0x18,%esp
int n;
uint ticks0;
if(argint(0, &n) < 0)
80106365: 83 ec 08 sub $0x8,%esp
80106368: 8d 45 f0 lea -0x10(%ebp),%eax
8010636b: 50 push %eax
8010636c: 6a 00 push $0x0
8010636e: e8 e7 ef ff ff call 8010535a <argint>
80106373: 83 c4 10 add $0x10,%esp
80106376: 85 c0 test %eax,%eax
80106378: 79 07 jns 80106381 <sys_sleep+0x22>
return -1;
8010637a: b8 ff ff ff ff mov $0xffffffff,%eax
8010637f: eb 77 jmp 801063f8 <sys_sleep+0x99>
acquire(&tickslock);
80106381: 83 ec 0c sub $0xc,%esp
80106384: 68 80 1e 11 80 push $0x80111e80
80106389: e8 44 ea ff ff call 80104dd2 <acquire>
8010638e: 83 c4 10 add $0x10,%esp
ticks0 = ticks;
80106391: a1 c0 26 11 80 mov 0x801126c0,%eax
80106396: 89 45 f4 mov %eax,-0xc(%ebp)
while(ticks - ticks0 < n){
80106399: eb 39 jmp 801063d4 <sys_sleep+0x75>
if(proc->killed){
8010639b: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801063a1: 8b 40 24 mov 0x24(%eax),%eax
801063a4: 85 c0 test %eax,%eax
801063a6: 74 17 je 801063bf <sys_sleep+0x60>
release(&tickslock);
801063a8: 83 ec 0c sub $0xc,%esp
801063ab: 68 80 1e 11 80 push $0x80111e80
801063b0: e8 84 ea ff ff call 80104e39 <release>
801063b5: 83 c4 10 add $0x10,%esp
return -1;
801063b8: b8 ff ff ff ff mov $0xffffffff,%eax
801063bd: eb 39 jmp 801063f8 <sys_sleep+0x99>
}
sleep(&ticks, &tickslock);
801063bf: 83 ec 08 sub $0x8,%esp
801063c2: 68 80 1e 11 80 push $0x80111e80
801063c7: 68 c0 26 11 80 push $0x801126c0
801063cc: e8 08 e7 ff ff call 80104ad9 <sleep>
801063d1: 83 c4 10 add $0x10,%esp
if(argint(0, &n) < 0)
return -1;
acquire(&tickslock);
ticks0 = ticks;
while(ticks - ticks0 < n){
801063d4: a1 c0 26 11 80 mov 0x801126c0,%eax
801063d9: 2b 45 f4 sub -0xc(%ebp),%eax
801063dc: 8b 55 f0 mov -0x10(%ebp),%edx
801063df: 39 d0 cmp %edx,%eax
801063e1: 72 b8 jb 8010639b <sys_sleep+0x3c>
release(&tickslock);
return -1;
}
sleep(&ticks, &tickslock);
}
release(&tickslock);
801063e3: 83 ec 0c sub $0xc,%esp
801063e6: 68 80 1e 11 80 push $0x80111e80
801063eb: e8 49 ea ff ff call 80104e39 <release>
801063f0: 83 c4 10 add $0x10,%esp
return 0;
801063f3: b8 00 00 00 00 mov $0x0,%eax
}
801063f8: c9 leave
801063f9: c3 ret
801063fa <sys_uptime>:
// return how many clock tick interrupts have occurred
// since start.
int
sys_uptime(void)
{
801063fa: 55 push %ebp
801063fb: 89 e5 mov %esp,%ebp
801063fd: 83 ec 18 sub $0x18,%esp
uint xticks;
acquire(&tickslock);
80106400: 83 ec 0c sub $0xc,%esp
80106403: 68 80 1e 11 80 push $0x80111e80
80106408: e8 c5 e9 ff ff call 80104dd2 <acquire>
8010640d: 83 c4 10 add $0x10,%esp
xticks = ticks;
80106410: a1 c0 26 11 80 mov 0x801126c0,%eax
80106415: 89 45 f4 mov %eax,-0xc(%ebp)
release(&tickslock);
80106418: 83 ec 0c sub $0xc,%esp
8010641b: 68 80 1e 11 80 push $0x80111e80
80106420: e8 14 ea ff ff call 80104e39 <release>
80106425: 83 c4 10 add $0x10,%esp
return xticks;
80106428: 8b 45 f4 mov -0xc(%ebp),%eax
}
8010642b: c9 leave
8010642c: c3 ret
8010642d <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
8010642d: 55 push %ebp
8010642e: 89 e5 mov %esp,%ebp
80106430: 83 ec 08 sub $0x8,%esp
80106433: 8b 55 08 mov 0x8(%ebp),%edx
80106436: 8b 45 0c mov 0xc(%ebp),%eax
80106439: 66 89 55 fc mov %dx,-0x4(%ebp)
8010643d: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80106440: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
80106444: 0f b7 55 fc movzwl -0x4(%ebp),%edx
80106448: ee out %al,(%dx)
}
80106449: 90 nop
8010644a: c9 leave
8010644b: c3 ret
8010644c <timerinit>:
#define TIMER_RATEGEN 0x04 // mode 2, rate generator
#define TIMER_16BIT 0x30 // r/w counter 16 bits, LSB first
void
timerinit(void)
{
8010644c: 55 push %ebp
8010644d: 89 e5 mov %esp,%ebp
8010644f: 83 ec 08 sub $0x8,%esp
// Interrupt 100 times/sec.
outb(TIMER_MODE, TIMER_SEL0 | TIMER_RATEGEN | TIMER_16BIT);
80106452: 6a 34 push $0x34
80106454: 6a 43 push $0x43
80106456: e8 d2 ff ff ff call 8010642d <outb>
8010645b: 83 c4 08 add $0x8,%esp
outb(IO_TIMER1, TIMER_DIV(100) % 256);
8010645e: 68 9c 00 00 00 push $0x9c
80106463: 6a 40 push $0x40
80106465: e8 c3 ff ff ff call 8010642d <outb>
8010646a: 83 c4 08 add $0x8,%esp
outb(IO_TIMER1, TIMER_DIV(100) / 256);
8010646d: 6a 2e push $0x2e
8010646f: 6a 40 push $0x40
80106471: e8 b7 ff ff ff call 8010642d <outb>
80106476: 83 c4 08 add $0x8,%esp
picenable(IRQ_TIMER);
80106479: 83 ec 0c sub $0xc,%esp
8010647c: 6a 00 push $0x0
8010647e: e8 ba d8 ff ff call 80103d3d <picenable>
80106483: 83 c4 10 add $0x10,%esp
}
80106486: 90 nop
80106487: c9 leave
80106488: c3 ret
80106489 <alltraps>:
# vectors.S sends all traps here.
.globl alltraps
alltraps:
# Build trap frame.
pushl %ds
80106489: 1e push %ds
pushl %es
8010648a: 06 push %es
pushl %fs
8010648b: 0f a0 push %fs
pushl %gs
8010648d: 0f a8 push %gs
pushal
8010648f: 60 pusha
# Set up data and per-cpu segments.
movw $(SEG_KDATA<<3), %ax
80106490: 66 b8 10 00 mov $0x10,%ax
movw %ax, %ds
80106494: 8e d8 mov %eax,%ds
movw %ax, %es
80106496: 8e c0 mov %eax,%es
movw $(SEG_KCPU<<3), %ax
80106498: 66 b8 18 00 mov $0x18,%ax
movw %ax, %fs
8010649c: 8e e0 mov %eax,%fs
movw %ax, %gs
8010649e: 8e e8 mov %eax,%gs
# Call trap(tf), where tf=%esp
pushl %esp
801064a0: 54 push %esp
call trap
801064a1: e8 d7 01 00 00 call 8010667d <trap>
addl $4, %esp
801064a6: 83 c4 04 add $0x4,%esp
801064a9 <trapret>:
# Return falls through to trapret...
.globl trapret
trapret:
popal
801064a9: 61 popa
popl %gs
801064aa: 0f a9 pop %gs
popl %fs
801064ac: 0f a1 pop %fs
popl %es
801064ae: 07 pop %es
popl %ds
801064af: 1f pop %ds
addl $0x8, %esp # trapno and errcode
801064b0: 83 c4 08 add $0x8,%esp
iret
801064b3: cf iret
801064b4 <lidt>:
struct gatedesc;
static inline void
lidt(struct gatedesc *p, int size)
{
801064b4: 55 push %ebp
801064b5: 89 e5 mov %esp,%ebp
801064b7: 83 ec 10 sub $0x10,%esp
volatile ushort pd[3];
pd[0] = size-1;
801064ba: 8b 45 0c mov 0xc(%ebp),%eax
801064bd: 83 e8 01 sub $0x1,%eax
801064c0: 66 89 45 fa mov %ax,-0x6(%ebp)
pd[1] = (uint)p;
801064c4: 8b 45 08 mov 0x8(%ebp),%eax
801064c7: 66 89 45 fc mov %ax,-0x4(%ebp)
pd[2] = (uint)p >> 16;
801064cb: 8b 45 08 mov 0x8(%ebp),%eax
801064ce: c1 e8 10 shr $0x10,%eax
801064d1: 66 89 45 fe mov %ax,-0x2(%ebp)
asm volatile("lidt (%0)" : : "r" (pd));
801064d5: 8d 45 fa lea -0x6(%ebp),%eax
801064d8: 0f 01 18 lidtl (%eax)
}
801064db: 90 nop
801064dc: c9 leave
801064dd: c3 ret
801064de <rcr2>:
return result;
}
static inline uint
rcr2(void)
{
801064de: 55 push %ebp
801064df: 89 e5 mov %esp,%ebp
801064e1: 83 ec 10 sub $0x10,%esp
uint val;
asm volatile("movl %%cr2,%0" : "=r" (val));
801064e4: 0f 20 d0 mov %cr2,%eax
801064e7: 89 45 fc mov %eax,-0x4(%ebp)
return val;
801064ea: 8b 45 fc mov -0x4(%ebp),%eax
}
801064ed: c9 leave
801064ee: c3 ret
801064ef <tvinit>:
struct spinlock tickslock;
uint ticks;
void
tvinit(void)
{
801064ef: 55 push %ebp
801064f0: 89 e5 mov %esp,%ebp
801064f2: 83 ec 18 sub $0x18,%esp
int i;
for(i = 0; i < 256; i++)
801064f5: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801064fc: e9 c3 00 00 00 jmp 801065c4 <tvinit+0xd5>
SETGATE(idt[i], 0, SEG_KCODE<<3, vectors[i], 0);
80106501: 8b 45 f4 mov -0xc(%ebp),%eax
80106504: 8b 04 85 a8 b0 10 80 mov -0x7fef4f58(,%eax,4),%eax
8010650b: 89 c2 mov %eax,%edx
8010650d: 8b 45 f4 mov -0xc(%ebp),%eax
80106510: 66 89 14 c5 c0 1e 11 mov %dx,-0x7feee140(,%eax,8)
80106517: 80
80106518: 8b 45 f4 mov -0xc(%ebp),%eax
8010651b: 66 c7 04 c5 c2 1e 11 movw $0x8,-0x7feee13e(,%eax,8)
80106522: 80 08 00
80106525: 8b 45 f4 mov -0xc(%ebp),%eax
80106528: 0f b6 14 c5 c4 1e 11 movzbl -0x7feee13c(,%eax,8),%edx
8010652f: 80
80106530: 83 e2 e0 and $0xffffffe0,%edx
80106533: 88 14 c5 c4 1e 11 80 mov %dl,-0x7feee13c(,%eax,8)
8010653a: 8b 45 f4 mov -0xc(%ebp),%eax
8010653d: 0f b6 14 c5 c4 1e 11 movzbl -0x7feee13c(,%eax,8),%edx
80106544: 80
80106545: 83 e2 1f and $0x1f,%edx
80106548: 88 14 c5 c4 1e 11 80 mov %dl,-0x7feee13c(,%eax,8)
8010654f: 8b 45 f4 mov -0xc(%ebp),%eax
80106552: 0f b6 14 c5 c5 1e 11 movzbl -0x7feee13b(,%eax,8),%edx
80106559: 80
8010655a: 83 e2 f0 and $0xfffffff0,%edx
8010655d: 83 ca 0e or $0xe,%edx
80106560: 88 14 c5 c5 1e 11 80 mov %dl,-0x7feee13b(,%eax,8)
80106567: 8b 45 f4 mov -0xc(%ebp),%eax
8010656a: 0f b6 14 c5 c5 1e 11 movzbl -0x7feee13b(,%eax,8),%edx
80106571: 80
80106572: 83 e2 ef and $0xffffffef,%edx
80106575: 88 14 c5 c5 1e 11 80 mov %dl,-0x7feee13b(,%eax,8)
8010657c: 8b 45 f4 mov -0xc(%ebp),%eax
8010657f: 0f b6 14 c5 c5 1e 11 movzbl -0x7feee13b(,%eax,8),%edx
80106586: 80
80106587: 83 e2 9f and $0xffffff9f,%edx
8010658a: 88 14 c5 c5 1e 11 80 mov %dl,-0x7feee13b(,%eax,8)
80106591: 8b 45 f4 mov -0xc(%ebp),%eax
80106594: 0f b6 14 c5 c5 1e 11 movzbl -0x7feee13b(,%eax,8),%edx
8010659b: 80
8010659c: 83 ca 80 or $0xffffff80,%edx
8010659f: 88 14 c5 c5 1e 11 80 mov %dl,-0x7feee13b(,%eax,8)
801065a6: 8b 45 f4 mov -0xc(%ebp),%eax
801065a9: 8b 04 85 a8 b0 10 80 mov -0x7fef4f58(,%eax,4),%eax
801065b0: c1 e8 10 shr $0x10,%eax
801065b3: 89 c2 mov %eax,%edx
801065b5: 8b 45 f4 mov -0xc(%ebp),%eax
801065b8: 66 89 14 c5 c6 1e 11 mov %dx,-0x7feee13a(,%eax,8)
801065bf: 80
void
tvinit(void)
{
int i;
for(i = 0; i < 256; i++)
801065c0: 83 45 f4 01 addl $0x1,-0xc(%ebp)
801065c4: 81 7d f4 ff 00 00 00 cmpl $0xff,-0xc(%ebp)
801065cb: 0f 8e 30 ff ff ff jle 80106501 <tvinit+0x12>
SETGATE(idt[i], 0, SEG_KCODE<<3, vectors[i], 0);
SETGATE(idt[T_SYSCALL], 1, SEG_KCODE<<3, vectors[T_SYSCALL], DPL_USER);
801065d1: a1 a8 b1 10 80 mov 0x8010b1a8,%eax
801065d6: 66 a3 c0 20 11 80 mov %ax,0x801120c0
801065dc: 66 c7 05 c2 20 11 80 movw $0x8,0x801120c2
801065e3: 08 00
801065e5: 0f b6 05 c4 20 11 80 movzbl 0x801120c4,%eax
801065ec: 83 e0 e0 and $0xffffffe0,%eax
801065ef: a2 c4 20 11 80 mov %al,0x801120c4
801065f4: 0f b6 05 c4 20 11 80 movzbl 0x801120c4,%eax
801065fb: 83 e0 1f and $0x1f,%eax
801065fe: a2 c4 20 11 80 mov %al,0x801120c4
80106603: 0f b6 05 c5 20 11 80 movzbl 0x801120c5,%eax
8010660a: 83 c8 0f or $0xf,%eax
8010660d: a2 c5 20 11 80 mov %al,0x801120c5
80106612: 0f b6 05 c5 20 11 80 movzbl 0x801120c5,%eax
80106619: 83 e0 ef and $0xffffffef,%eax
8010661c: a2 c5 20 11 80 mov %al,0x801120c5
80106621: 0f b6 05 c5 20 11 80 movzbl 0x801120c5,%eax
80106628: 83 c8 60 or $0x60,%eax
8010662b: a2 c5 20 11 80 mov %al,0x801120c5
80106630: 0f b6 05 c5 20 11 80 movzbl 0x801120c5,%eax
80106637: 83 c8 80 or $0xffffff80,%eax
8010663a: a2 c5 20 11 80 mov %al,0x801120c5
8010663f: a1 a8 b1 10 80 mov 0x8010b1a8,%eax
80106644: c1 e8 10 shr $0x10,%eax
80106647: 66 a3 c6 20 11 80 mov %ax,0x801120c6
initlock(&tickslock, "time");
8010664d: 83 ec 08 sub $0x8,%esp
80106650: 68 e4 87 10 80 push $0x801087e4
80106655: 68 80 1e 11 80 push $0x80111e80
8010665a: e8 51 e7 ff ff call 80104db0 <initlock>
8010665f: 83 c4 10 add $0x10,%esp
}
80106662: 90 nop
80106663: c9 leave
80106664: c3 ret
80106665 <idtinit>:
void
idtinit(void)
{
80106665: 55 push %ebp
80106666: 89 e5 mov %esp,%ebp
lidt(idt, sizeof(idt));
80106668: 68 00 08 00 00 push $0x800
8010666d: 68 c0 1e 11 80 push $0x80111ec0
80106672: e8 3d fe ff ff call 801064b4 <lidt>
80106677: 83 c4 08 add $0x8,%esp
}
8010667a: 90 nop
8010667b: c9 leave
8010667c: c3 ret
8010667d <trap>:
//PAGEBREAK: 41
void
trap(struct trapframe *tf)
{
8010667d: 55 push %ebp
8010667e: 89 e5 mov %esp,%ebp
80106680: 57 push %edi
80106681: 56 push %esi
80106682: 53 push %ebx
80106683: 83 ec 1c sub $0x1c,%esp
if(tf->trapno == T_SYSCALL){
80106686: 8b 45 08 mov 0x8(%ebp),%eax
80106689: 8b 40 30 mov 0x30(%eax),%eax
8010668c: 83 f8 40 cmp $0x40,%eax
8010668f: 75 3e jne 801066cf <trap+0x52>
if(proc->killed)
80106691: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80106697: 8b 40 24 mov 0x24(%eax),%eax
8010669a: 85 c0 test %eax,%eax
8010669c: 74 05 je 801066a3 <trap+0x26>
exit();
8010669e: e8 17 e0 ff ff call 801046ba <exit>
proc->tf = tf;
801066a3: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801066a9: 8b 55 08 mov 0x8(%ebp),%edx
801066ac: 89 50 18 mov %edx,0x18(%eax)
syscall();
801066af: e8 5c ed ff ff call 80105410 <syscall>
if(proc->killed)
801066b4: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801066ba: 8b 40 24 mov 0x24(%eax),%eax
801066bd: 85 c0 test %eax,%eax
801066bf: 0f 84 1b 02 00 00 je 801068e0 <trap+0x263>
exit();
801066c5: e8 f0 df ff ff call 801046ba <exit>
return;
801066ca: e9 11 02 00 00 jmp 801068e0 <trap+0x263>
}
switch(tf->trapno){
801066cf: 8b 45 08 mov 0x8(%ebp),%eax
801066d2: 8b 40 30 mov 0x30(%eax),%eax
801066d5: 83 e8 20 sub $0x20,%eax
801066d8: 83 f8 1f cmp $0x1f,%eax
801066db: 0f 87 c0 00 00 00 ja 801067a1 <trap+0x124>
801066e1: 8b 04 85 8c 88 10 80 mov -0x7fef7774(,%eax,4),%eax
801066e8: ff e0 jmp *%eax
case T_IRQ0 + IRQ_TIMER:
if(cpu->id == 0){
801066ea: 65 a1 00 00 00 00 mov %gs:0x0,%eax
801066f0: 0f b6 00 movzbl (%eax),%eax
801066f3: 84 c0 test %al,%al
801066f5: 75 3d jne 80106734 <trap+0xb7>
acquire(&tickslock);
801066f7: 83 ec 0c sub $0xc,%esp
801066fa: 68 80 1e 11 80 push $0x80111e80
801066ff: e8 ce e6 ff ff call 80104dd2 <acquire>
80106704: 83 c4 10 add $0x10,%esp
ticks++;
80106707: a1 c0 26 11 80 mov 0x801126c0,%eax
8010670c: 83 c0 01 add $0x1,%eax
8010670f: a3 c0 26 11 80 mov %eax,0x801126c0
wakeup(&ticks);
80106714: 83 ec 0c sub $0xc,%esp
80106717: 68 c0 26 11 80 push $0x801126c0
8010671c: e8 a3 e4 ff ff call 80104bc4 <wakeup>
80106721: 83 c4 10 add $0x10,%esp
release(&tickslock);
80106724: 83 ec 0c sub $0xc,%esp
80106727: 68 80 1e 11 80 push $0x80111e80
8010672c: e8 08 e7 ff ff call 80104e39 <release>
80106731: 83 c4 10 add $0x10,%esp
}
lapiceoi();
80106734: e8 39 ca ff ff call 80103172 <lapiceoi>
break;
80106739: e9 1c 01 00 00 jmp 8010685a <trap+0x1dd>
case T_IRQ0 + IRQ_IDE:
ideintr();
8010673e: e8 5f c2 ff ff call 801029a2 <ideintr>
lapiceoi();
80106743: e8 2a ca ff ff call 80103172 <lapiceoi>
break;
80106748: e9 0d 01 00 00 jmp 8010685a <trap+0x1dd>
case T_IRQ0 + IRQ_IDE+1:
// Bochs generates spurious IDE1 interrupts.
break;
case T_IRQ0 + IRQ_KBD:
kbdintr();
8010674d: e8 3f c8 ff ff call 80102f91 <kbdintr>
lapiceoi();
80106752: e8 1b ca ff ff call 80103172 <lapiceoi>
break;
80106757: e9 fe 00 00 00 jmp 8010685a <trap+0x1dd>
case T_IRQ0 + IRQ_COM1:
uartintr();
8010675c: e8 60 03 00 00 call 80106ac1 <uartintr>
lapiceoi();
80106761: e8 0c ca ff ff call 80103172 <lapiceoi>
break;
80106766: e9 ef 00 00 00 jmp 8010685a <trap+0x1dd>
case T_IRQ0 + 7:
case T_IRQ0 + IRQ_SPURIOUS:
cprintf("cpu%d: spurious interrupt at %x:%x\n",
8010676b: 8b 45 08 mov 0x8(%ebp),%eax
8010676e: 8b 48 38 mov 0x38(%eax),%ecx
cpu->id, tf->cs, tf->eip);
80106771: 8b 45 08 mov 0x8(%ebp),%eax
80106774: 0f b7 40 3c movzwl 0x3c(%eax),%eax
uartintr();
lapiceoi();
break;
case T_IRQ0 + 7:
case T_IRQ0 + IRQ_SPURIOUS:
cprintf("cpu%d: spurious interrupt at %x:%x\n",
80106778: 0f b7 d0 movzwl %ax,%edx
cpu->id, tf->cs, tf->eip);
8010677b: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80106781: 0f b6 00 movzbl (%eax),%eax
uartintr();
lapiceoi();
break;
case T_IRQ0 + 7:
case T_IRQ0 + IRQ_SPURIOUS:
cprintf("cpu%d: spurious interrupt at %x:%x\n",
80106784: 0f b6 c0 movzbl %al,%eax
80106787: 51 push %ecx
80106788: 52 push %edx
80106789: 50 push %eax
8010678a: 68 ec 87 10 80 push $0x801087ec
8010678f: e8 32 9c ff ff call 801003c6 <cprintf>
80106794: 83 c4 10 add $0x10,%esp
cpu->id, tf->cs, tf->eip);
lapiceoi();
80106797: e8 d6 c9 ff ff call 80103172 <lapiceoi>
break;
8010679c: e9 b9 00 00 00 jmp 8010685a <trap+0x1dd>
//PAGEBREAK: 13
default:
if(proc == 0 || (tf->cs&3) == 0){
801067a1: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801067a7: 85 c0 test %eax,%eax
801067a9: 74 11 je 801067bc <trap+0x13f>
801067ab: 8b 45 08 mov 0x8(%ebp),%eax
801067ae: 0f b7 40 3c movzwl 0x3c(%eax),%eax
801067b2: 0f b7 c0 movzwl %ax,%eax
801067b5: 83 e0 03 and $0x3,%eax
801067b8: 85 c0 test %eax,%eax
801067ba: 75 40 jne 801067fc <trap+0x17f>
// In kernel, it must be our mistake.
cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n",
801067bc: e8 1d fd ff ff call 801064de <rcr2>
801067c1: 89 c3 mov %eax,%ebx
801067c3: 8b 45 08 mov 0x8(%ebp),%eax
801067c6: 8b 48 38 mov 0x38(%eax),%ecx
tf->trapno, cpu->id, tf->eip, rcr2());
801067c9: 65 a1 00 00 00 00 mov %gs:0x0,%eax
801067cf: 0f b6 00 movzbl (%eax),%eax
//PAGEBREAK: 13
default:
if(proc == 0 || (tf->cs&3) == 0){
// In kernel, it must be our mistake.
cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n",
801067d2: 0f b6 d0 movzbl %al,%edx
801067d5: 8b 45 08 mov 0x8(%ebp),%eax
801067d8: 8b 40 30 mov 0x30(%eax),%eax
801067db: 83 ec 0c sub $0xc,%esp
801067de: 53 push %ebx
801067df: 51 push %ecx
801067e0: 52 push %edx
801067e1: 50 push %eax
801067e2: 68 10 88 10 80 push $0x80108810
801067e7: e8 da 9b ff ff call 801003c6 <cprintf>
801067ec: 83 c4 20 add $0x20,%esp
tf->trapno, cpu->id, tf->eip, rcr2());
panic("trap");
801067ef: 83 ec 0c sub $0xc,%esp
801067f2: 68 42 88 10 80 push $0x80108842
801067f7: e8 6a 9d ff ff call 80100566 <panic>
}
// In user space, assume process misbehaved.
cprintf("pid %d %s: trap %d err %d on cpu %d "
801067fc: e8 dd fc ff ff call 801064de <rcr2>
80106801: 89 45 e4 mov %eax,-0x1c(%ebp)
80106804: 8b 45 08 mov 0x8(%ebp),%eax
80106807: 8b 70 38 mov 0x38(%eax),%esi
"eip 0x%x addr 0x%x--kill proc\n",
proc->pid, proc->name, tf->trapno, tf->err, cpu->id, tf->eip,
8010680a: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80106810: 0f b6 00 movzbl (%eax),%eax
cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n",
tf->trapno, cpu->id, tf->eip, rcr2());
panic("trap");
}
// In user space, assume process misbehaved.
cprintf("pid %d %s: trap %d err %d on cpu %d "
80106813: 0f b6 d8 movzbl %al,%ebx
80106816: 8b 45 08 mov 0x8(%ebp),%eax
80106819: 8b 48 34 mov 0x34(%eax),%ecx
8010681c: 8b 45 08 mov 0x8(%ebp),%eax
8010681f: 8b 50 30 mov 0x30(%eax),%edx
"eip 0x%x addr 0x%x--kill proc\n",
proc->pid, proc->name, tf->trapno, tf->err, cpu->id, tf->eip,
80106822: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80106828: 8d 78 6c lea 0x6c(%eax),%edi
8010682b: 65 a1 04 00 00 00 mov %gs:0x4,%eax
cprintf("unexpected trap %d from cpu %d eip %x (cr2=0x%x)\n",
tf->trapno, cpu->id, tf->eip, rcr2());
panic("trap");
}
// In user space, assume process misbehaved.
cprintf("pid %d %s: trap %d err %d on cpu %d "
80106831: 8b 40 10 mov 0x10(%eax),%eax
80106834: ff 75 e4 pushl -0x1c(%ebp)
80106837: 56 push %esi
80106838: 53 push %ebx
80106839: 51 push %ecx
8010683a: 52 push %edx
8010683b: 57 push %edi
8010683c: 50 push %eax
8010683d: 68 48 88 10 80 push $0x80108848
80106842: e8 7f 9b ff ff call 801003c6 <cprintf>
80106847: 83 c4 20 add $0x20,%esp
"eip 0x%x addr 0x%x--kill proc\n",
proc->pid, proc->name, tf->trapno, tf->err, cpu->id, tf->eip,
rcr2());
proc->killed = 1;
8010684a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80106850: c7 40 24 01 00 00 00 movl $0x1,0x24(%eax)
80106857: eb 01 jmp 8010685a <trap+0x1dd>
ideintr();
lapiceoi();
break;
case T_IRQ0 + IRQ_IDE+1:
// Bochs generates spurious IDE1 interrupts.
break;
80106859: 90 nop
}
// Force process exit if it has been killed and is in user space.
// (If it is still executing in the kernel, let it keep running
// until it gets to the regular system call return.)
if(proc && proc->killed && (tf->cs&3) == DPL_USER)
8010685a: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80106860: 85 c0 test %eax,%eax
80106862: 74 24 je 80106888 <trap+0x20b>
80106864: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010686a: 8b 40 24 mov 0x24(%eax),%eax
8010686d: 85 c0 test %eax,%eax
8010686f: 74 17 je 80106888 <trap+0x20b>
80106871: 8b 45 08 mov 0x8(%ebp),%eax
80106874: 0f b7 40 3c movzwl 0x3c(%eax),%eax
80106878: 0f b7 c0 movzwl %ax,%eax
8010687b: 83 e0 03 and $0x3,%eax
8010687e: 83 f8 03 cmp $0x3,%eax
80106881: 75 05 jne 80106888 <trap+0x20b>
exit();
80106883: e8 32 de ff ff call 801046ba <exit>
// Force process to give up CPU on clock tick.
// If interrupts were on while locks held, would need to check nlock.
if(proc && proc->state == RUNNING && tf->trapno == T_IRQ0+IRQ_TIMER)
80106888: 65 a1 04 00 00 00 mov %gs:0x4,%eax
8010688e: 85 c0 test %eax,%eax
80106890: 74 1e je 801068b0 <trap+0x233>
80106892: 65 a1 04 00 00 00 mov %gs:0x4,%eax
80106898: 8b 40 0c mov 0xc(%eax),%eax
8010689b: 83 f8 04 cmp $0x4,%eax
8010689e: 75 10 jne 801068b0 <trap+0x233>
801068a0: 8b 45 08 mov 0x8(%ebp),%eax
801068a3: 8b 40 30 mov 0x30(%eax),%eax
801068a6: 83 f8 20 cmp $0x20,%eax
801068a9: 75 05 jne 801068b0 <trap+0x233>
yield();
801068ab: e8 bd e1 ff ff call 80104a6d <yield>
// Check if the process has been killed since we yielded
if(proc && proc->killed && (tf->cs&3) == DPL_USER)
801068b0: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801068b6: 85 c0 test %eax,%eax
801068b8: 74 27 je 801068e1 <trap+0x264>
801068ba: 65 a1 04 00 00 00 mov %gs:0x4,%eax
801068c0: 8b 40 24 mov 0x24(%eax),%eax
801068c3: 85 c0 test %eax,%eax
801068c5: 74 1a je 801068e1 <trap+0x264>
801068c7: 8b 45 08 mov 0x8(%ebp),%eax
801068ca: 0f b7 40 3c movzwl 0x3c(%eax),%eax
801068ce: 0f b7 c0 movzwl %ax,%eax
801068d1: 83 e0 03 and $0x3,%eax
801068d4: 83 f8 03 cmp $0x3,%eax
801068d7: 75 08 jne 801068e1 <trap+0x264>
exit();
801068d9: e8 dc dd ff ff call 801046ba <exit>
801068de: eb 01 jmp 801068e1 <trap+0x264>
exit();
proc->tf = tf;
syscall();
if(proc->killed)
exit();
return;
801068e0: 90 nop
yield();
// Check if the process has been killed since we yielded
if(proc && proc->killed && (tf->cs&3) == DPL_USER)
exit();
}
801068e1: 8d 65 f4 lea -0xc(%ebp),%esp
801068e4: 5b pop %ebx
801068e5: 5e pop %esi
801068e6: 5f pop %edi
801068e7: 5d pop %ebp
801068e8: c3 ret
801068e9 <inb>:
// Routines to let C code use special x86 instructions.
static inline uchar
inb(ushort port)
{
801068e9: 55 push %ebp
801068ea: 89 e5 mov %esp,%ebp
801068ec: 83 ec 14 sub $0x14,%esp
801068ef: 8b 45 08 mov 0x8(%ebp),%eax
801068f2: 66 89 45 ec mov %ax,-0x14(%ebp)
uchar data;
asm volatile("in %1,%0" : "=a" (data) : "d" (port));
801068f6: 0f b7 45 ec movzwl -0x14(%ebp),%eax
801068fa: 89 c2 mov %eax,%edx
801068fc: ec in (%dx),%al
801068fd: 88 45 ff mov %al,-0x1(%ebp)
return data;
80106900: 0f b6 45 ff movzbl -0x1(%ebp),%eax
}
80106904: c9 leave
80106905: c3 ret
80106906 <outb>:
"memory", "cc");
}
static inline void
outb(ushort port, uchar data)
{
80106906: 55 push %ebp
80106907: 89 e5 mov %esp,%ebp
80106909: 83 ec 08 sub $0x8,%esp
8010690c: 8b 55 08 mov 0x8(%ebp),%edx
8010690f: 8b 45 0c mov 0xc(%ebp),%eax
80106912: 66 89 55 fc mov %dx,-0x4(%ebp)
80106916: 88 45 f8 mov %al,-0x8(%ebp)
asm volatile("out %0,%1" : : "a" (data), "d" (port));
80106919: 0f b6 45 f8 movzbl -0x8(%ebp),%eax
8010691d: 0f b7 55 fc movzwl -0x4(%ebp),%edx
80106921: ee out %al,(%dx)
}
80106922: 90 nop
80106923: c9 leave
80106924: c3 ret
80106925 <uartinit>:
static int uart; // is there a uart?
void
uartinit(void)
{
80106925: 55 push %ebp
80106926: 89 e5 mov %esp,%ebp
80106928: 83 ec 18 sub $0x18,%esp
char *p;
// Turn off the FIFO
outb(COM1+2, 0);
8010692b: 6a 00 push $0x0
8010692d: 68 fa 03 00 00 push $0x3fa
80106932: e8 cf ff ff ff call 80106906 <outb>
80106937: 83 c4 08 add $0x8,%esp
// 9600 baud, 8 data bits, 1 stop bit, parity off.
outb(COM1+3, 0x80); // Unlock divisor
8010693a: 68 80 00 00 00 push $0x80
8010693f: 68 fb 03 00 00 push $0x3fb
80106944: e8 bd ff ff ff call 80106906 <outb>
80106949: 83 c4 08 add $0x8,%esp
outb(COM1+0, 115200/9600);
8010694c: 6a 0c push $0xc
8010694e: 68 f8 03 00 00 push $0x3f8
80106953: e8 ae ff ff ff call 80106906 <outb>
80106958: 83 c4 08 add $0x8,%esp
outb(COM1+1, 0);
8010695b: 6a 00 push $0x0
8010695d: 68 f9 03 00 00 push $0x3f9
80106962: e8 9f ff ff ff call 80106906 <outb>
80106967: 83 c4 08 add $0x8,%esp
outb(COM1+3, 0x03); // Lock divisor, 8 data bits.
8010696a: 6a 03 push $0x3
8010696c: 68 fb 03 00 00 push $0x3fb
80106971: e8 90 ff ff ff call 80106906 <outb>
80106976: 83 c4 08 add $0x8,%esp
outb(COM1+4, 0);
80106979: 6a 00 push $0x0
8010697b: 68 fc 03 00 00 push $0x3fc
80106980: e8 81 ff ff ff call 80106906 <outb>
80106985: 83 c4 08 add $0x8,%esp
outb(COM1+1, 0x01); // Enable receive interrupts.
80106988: 6a 01 push $0x1
8010698a: 68 f9 03 00 00 push $0x3f9
8010698f: e8 72 ff ff ff call 80106906 <outb>
80106994: 83 c4 08 add $0x8,%esp
// If status is 0xFF, no serial port.
if(inb(COM1+5) == 0xFF)
80106997: 68 fd 03 00 00 push $0x3fd
8010699c: e8 48 ff ff ff call 801068e9 <inb>
801069a1: 83 c4 04 add $0x4,%esp
801069a4: 3c ff cmp $0xff,%al
801069a6: 74 6e je 80106a16 <uartinit+0xf1>
return;
uart = 1;
801069a8: c7 05 6c b6 10 80 01 movl $0x1,0x8010b66c
801069af: 00 00 00
// Acknowledge pre-existing interrupt conditions;
// enable interrupts.
inb(COM1+2);
801069b2: 68 fa 03 00 00 push $0x3fa
801069b7: e8 2d ff ff ff call 801068e9 <inb>
801069bc: 83 c4 04 add $0x4,%esp
inb(COM1+0);
801069bf: 68 f8 03 00 00 push $0x3f8
801069c4: e8 20 ff ff ff call 801068e9 <inb>
801069c9: 83 c4 04 add $0x4,%esp
picenable(IRQ_COM1);
801069cc: 83 ec 0c sub $0xc,%esp
801069cf: 6a 04 push $0x4
801069d1: e8 67 d3 ff ff call 80103d3d <picenable>
801069d6: 83 c4 10 add $0x10,%esp
ioapicenable(IRQ_COM1, 0);
801069d9: 83 ec 08 sub $0x8,%esp
801069dc: 6a 00 push $0x0
801069de: 6a 04 push $0x4
801069e0: e8 5f c2 ff ff call 80102c44 <ioapicenable>
801069e5: 83 c4 10 add $0x10,%esp
// Announce that we're here.
for(p="xv6...\n"; *p; p++)
801069e8: c7 45 f4 0c 89 10 80 movl $0x8010890c,-0xc(%ebp)
801069ef: eb 19 jmp 80106a0a <uartinit+0xe5>
uartputc(*p);
801069f1: 8b 45 f4 mov -0xc(%ebp),%eax
801069f4: 0f b6 00 movzbl (%eax),%eax
801069f7: 0f be c0 movsbl %al,%eax
801069fa: 83 ec 0c sub $0xc,%esp
801069fd: 50 push %eax
801069fe: e8 16 00 00 00 call 80106a19 <uartputc>
80106a03: 83 c4 10 add $0x10,%esp
inb(COM1+0);
picenable(IRQ_COM1);
ioapicenable(IRQ_COM1, 0);
// Announce that we're here.
for(p="xv6...\n"; *p; p++)
80106a06: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80106a0a: 8b 45 f4 mov -0xc(%ebp),%eax
80106a0d: 0f b6 00 movzbl (%eax),%eax
80106a10: 84 c0 test %al,%al
80106a12: 75 dd jne 801069f1 <uartinit+0xcc>
80106a14: eb 01 jmp 80106a17 <uartinit+0xf2>
outb(COM1+4, 0);
outb(COM1+1, 0x01); // Enable receive interrupts.
// If status is 0xFF, no serial port.
if(inb(COM1+5) == 0xFF)
return;
80106a16: 90 nop
ioapicenable(IRQ_COM1, 0);
// Announce that we're here.
for(p="xv6...\n"; *p; p++)
uartputc(*p);
}
80106a17: c9 leave
80106a18: c3 ret
80106a19 <uartputc>:
void
uartputc(int c)
{
80106a19: 55 push %ebp
80106a1a: 89 e5 mov %esp,%ebp
80106a1c: 83 ec 18 sub $0x18,%esp
int i;
if(!uart)
80106a1f: a1 6c b6 10 80 mov 0x8010b66c,%eax
80106a24: 85 c0 test %eax,%eax
80106a26: 74 53 je 80106a7b <uartputc+0x62>
return;
for(i = 0; i < 128 && !(inb(COM1+5) & 0x20); i++)
80106a28: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80106a2f: eb 11 jmp 80106a42 <uartputc+0x29>
microdelay(10);
80106a31: 83 ec 0c sub $0xc,%esp
80106a34: 6a 0a push $0xa
80106a36: e8 52 c7 ff ff call 8010318d <microdelay>
80106a3b: 83 c4 10 add $0x10,%esp
{
int i;
if(!uart)
return;
for(i = 0; i < 128 && !(inb(COM1+5) & 0x20); i++)
80106a3e: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80106a42: 83 7d f4 7f cmpl $0x7f,-0xc(%ebp)
80106a46: 7f 1a jg 80106a62 <uartputc+0x49>
80106a48: 83 ec 0c sub $0xc,%esp
80106a4b: 68 fd 03 00 00 push $0x3fd
80106a50: e8 94 fe ff ff call 801068e9 <inb>
80106a55: 83 c4 10 add $0x10,%esp
80106a58: 0f b6 c0 movzbl %al,%eax
80106a5b: 83 e0 20 and $0x20,%eax
80106a5e: 85 c0 test %eax,%eax
80106a60: 74 cf je 80106a31 <uartputc+0x18>
microdelay(10);
outb(COM1+0, c);
80106a62: 8b 45 08 mov 0x8(%ebp),%eax
80106a65: 0f b6 c0 movzbl %al,%eax
80106a68: 83 ec 08 sub $0x8,%esp
80106a6b: 50 push %eax
80106a6c: 68 f8 03 00 00 push $0x3f8
80106a71: e8 90 fe ff ff call 80106906 <outb>
80106a76: 83 c4 10 add $0x10,%esp
80106a79: eb 01 jmp 80106a7c <uartputc+0x63>
uartputc(int c)
{
int i;
if(!uart)
return;
80106a7b: 90 nop
for(i = 0; i < 128 && !(inb(COM1+5) & 0x20); i++)
microdelay(10);
outb(COM1+0, c);
}
80106a7c: c9 leave
80106a7d: c3 ret
80106a7e <uartgetc>:
static int
uartgetc(void)
{
80106a7e: 55 push %ebp
80106a7f: 89 e5 mov %esp,%ebp
if(!uart)
80106a81: a1 6c b6 10 80 mov 0x8010b66c,%eax
80106a86: 85 c0 test %eax,%eax
80106a88: 75 07 jne 80106a91 <uartgetc+0x13>
return -1;
80106a8a: b8 ff ff ff ff mov $0xffffffff,%eax
80106a8f: eb 2e jmp 80106abf <uartgetc+0x41>
if(!(inb(COM1+5) & 0x01))
80106a91: 68 fd 03 00 00 push $0x3fd
80106a96: e8 4e fe ff ff call 801068e9 <inb>
80106a9b: 83 c4 04 add $0x4,%esp
80106a9e: 0f b6 c0 movzbl %al,%eax
80106aa1: 83 e0 01 and $0x1,%eax
80106aa4: 85 c0 test %eax,%eax
80106aa6: 75 07 jne 80106aaf <uartgetc+0x31>
return -1;
80106aa8: b8 ff ff ff ff mov $0xffffffff,%eax
80106aad: eb 10 jmp 80106abf <uartgetc+0x41>
return inb(COM1+0);
80106aaf: 68 f8 03 00 00 push $0x3f8
80106ab4: e8 30 fe ff ff call 801068e9 <inb>
80106ab9: 83 c4 04 add $0x4,%esp
80106abc: 0f b6 c0 movzbl %al,%eax
}
80106abf: c9 leave
80106ac0: c3 ret
80106ac1 <uartintr>:
void
uartintr(void)
{
80106ac1: 55 push %ebp
80106ac2: 89 e5 mov %esp,%ebp
80106ac4: 83 ec 08 sub $0x8,%esp
consoleintr(uartgetc);
80106ac7: 83 ec 0c sub $0xc,%esp
80106aca: 68 7e 6a 10 80 push $0x80106a7e
80106acf: e8 09 9d ff ff call 801007dd <consoleintr>
80106ad4: 83 c4 10 add $0x10,%esp
}
80106ad7: 90 nop
80106ad8: c9 leave
80106ad9: c3 ret
80106ada <vector0>:
# generated by vectors.pl - do not edit
# handlers
.globl alltraps
.globl vector0
vector0:
pushl $0
80106ada: 6a 00 push $0x0
pushl $0
80106adc: 6a 00 push $0x0
jmp alltraps
80106ade: e9 a6 f9 ff ff jmp 80106489 <alltraps>
80106ae3 <vector1>:
.globl vector1
vector1:
pushl $0
80106ae3: 6a 00 push $0x0
pushl $1
80106ae5: 6a 01 push $0x1
jmp alltraps
80106ae7: e9 9d f9 ff ff jmp 80106489 <alltraps>
80106aec <vector2>:
.globl vector2
vector2:
pushl $0
80106aec: 6a 00 push $0x0
pushl $2
80106aee: 6a 02 push $0x2
jmp alltraps
80106af0: e9 94 f9 ff ff jmp 80106489 <alltraps>
80106af5 <vector3>:
.globl vector3
vector3:
pushl $0
80106af5: 6a 00 push $0x0
pushl $3
80106af7: 6a 03 push $0x3
jmp alltraps
80106af9: e9 8b f9 ff ff jmp 80106489 <alltraps>
80106afe <vector4>:
.globl vector4
vector4:
pushl $0
80106afe: 6a 00 push $0x0
pushl $4
80106b00: 6a 04 push $0x4
jmp alltraps
80106b02: e9 82 f9 ff ff jmp 80106489 <alltraps>
80106b07 <vector5>:
.globl vector5
vector5:
pushl $0
80106b07: 6a 00 push $0x0
pushl $5
80106b09: 6a 05 push $0x5
jmp alltraps
80106b0b: e9 79 f9 ff ff jmp 80106489 <alltraps>
80106b10 <vector6>:
.globl vector6
vector6:
pushl $0
80106b10: 6a 00 push $0x0
pushl $6
80106b12: 6a 06 push $0x6
jmp alltraps
80106b14: e9 70 f9 ff ff jmp 80106489 <alltraps>
80106b19 <vector7>:
.globl vector7
vector7:
pushl $0
80106b19: 6a 00 push $0x0
pushl $7
80106b1b: 6a 07 push $0x7
jmp alltraps
80106b1d: e9 67 f9 ff ff jmp 80106489 <alltraps>
80106b22 <vector8>:
.globl vector8
vector8:
pushl $8
80106b22: 6a 08 push $0x8
jmp alltraps
80106b24: e9 60 f9 ff ff jmp 80106489 <alltraps>
80106b29 <vector9>:
.globl vector9
vector9:
pushl $0
80106b29: 6a 00 push $0x0
pushl $9
80106b2b: 6a 09 push $0x9
jmp alltraps
80106b2d: e9 57 f9 ff ff jmp 80106489 <alltraps>
80106b32 <vector10>:
.globl vector10
vector10:
pushl $10
80106b32: 6a 0a push $0xa
jmp alltraps
80106b34: e9 50 f9 ff ff jmp 80106489 <alltraps>
80106b39 <vector11>:
.globl vector11
vector11:
pushl $11
80106b39: 6a 0b push $0xb
jmp alltraps
80106b3b: e9 49 f9 ff ff jmp 80106489 <alltraps>
80106b40 <vector12>:
.globl vector12
vector12:
pushl $12
80106b40: 6a 0c push $0xc
jmp alltraps
80106b42: e9 42 f9 ff ff jmp 80106489 <alltraps>
80106b47 <vector13>:
.globl vector13
vector13:
pushl $13
80106b47: 6a 0d push $0xd
jmp alltraps
80106b49: e9 3b f9 ff ff jmp 80106489 <alltraps>
80106b4e <vector14>:
.globl vector14
vector14:
pushl $14
80106b4e: 6a 0e push $0xe
jmp alltraps
80106b50: e9 34 f9 ff ff jmp 80106489 <alltraps>
80106b55 <vector15>:
.globl vector15
vector15:
pushl $0
80106b55: 6a 00 push $0x0
pushl $15
80106b57: 6a 0f push $0xf
jmp alltraps
80106b59: e9 2b f9 ff ff jmp 80106489 <alltraps>
80106b5e <vector16>:
.globl vector16
vector16:
pushl $0
80106b5e: 6a 00 push $0x0
pushl $16
80106b60: 6a 10 push $0x10
jmp alltraps
80106b62: e9 22 f9 ff ff jmp 80106489 <alltraps>
80106b67 <vector17>:
.globl vector17
vector17:
pushl $17
80106b67: 6a 11 push $0x11
jmp alltraps
80106b69: e9 1b f9 ff ff jmp 80106489 <alltraps>
80106b6e <vector18>:
.globl vector18
vector18:
pushl $0
80106b6e: 6a 00 push $0x0
pushl $18
80106b70: 6a 12 push $0x12
jmp alltraps
80106b72: e9 12 f9 ff ff jmp 80106489 <alltraps>
80106b77 <vector19>:
.globl vector19
vector19:
pushl $0
80106b77: 6a 00 push $0x0
pushl $19
80106b79: 6a 13 push $0x13
jmp alltraps
80106b7b: e9 09 f9 ff ff jmp 80106489 <alltraps>
80106b80 <vector20>:
.globl vector20
vector20:
pushl $0
80106b80: 6a 00 push $0x0
pushl $20
80106b82: 6a 14 push $0x14
jmp alltraps
80106b84: e9 00 f9 ff ff jmp 80106489 <alltraps>
80106b89 <vector21>:
.globl vector21
vector21:
pushl $0
80106b89: 6a 00 push $0x0
pushl $21
80106b8b: 6a 15 push $0x15
jmp alltraps
80106b8d: e9 f7 f8 ff ff jmp 80106489 <alltraps>
80106b92 <vector22>:
.globl vector22
vector22:
pushl $0
80106b92: 6a 00 push $0x0
pushl $22
80106b94: 6a 16 push $0x16
jmp alltraps
80106b96: e9 ee f8 ff ff jmp 80106489 <alltraps>
80106b9b <vector23>:
.globl vector23
vector23:
pushl $0
80106b9b: 6a 00 push $0x0
pushl $23
80106b9d: 6a 17 push $0x17
jmp alltraps
80106b9f: e9 e5 f8 ff ff jmp 80106489 <alltraps>
80106ba4 <vector24>:
.globl vector24
vector24:
pushl $0
80106ba4: 6a 00 push $0x0
pushl $24
80106ba6: 6a 18 push $0x18
jmp alltraps
80106ba8: e9 dc f8 ff ff jmp 80106489 <alltraps>
80106bad <vector25>:
.globl vector25
vector25:
pushl $0
80106bad: 6a 00 push $0x0
pushl $25
80106baf: 6a 19 push $0x19
jmp alltraps
80106bb1: e9 d3 f8 ff ff jmp 80106489 <alltraps>
80106bb6 <vector26>:
.globl vector26
vector26:
pushl $0
80106bb6: 6a 00 push $0x0
pushl $26
80106bb8: 6a 1a push $0x1a
jmp alltraps
80106bba: e9 ca f8 ff ff jmp 80106489 <alltraps>
80106bbf <vector27>:
.globl vector27
vector27:
pushl $0
80106bbf: 6a 00 push $0x0
pushl $27
80106bc1: 6a 1b push $0x1b
jmp alltraps
80106bc3: e9 c1 f8 ff ff jmp 80106489 <alltraps>
80106bc8 <vector28>:
.globl vector28
vector28:
pushl $0
80106bc8: 6a 00 push $0x0
pushl $28
80106bca: 6a 1c push $0x1c
jmp alltraps
80106bcc: e9 b8 f8 ff ff jmp 80106489 <alltraps>
80106bd1 <vector29>:
.globl vector29
vector29:
pushl $0
80106bd1: 6a 00 push $0x0
pushl $29
80106bd3: 6a 1d push $0x1d
jmp alltraps
80106bd5: e9 af f8 ff ff jmp 80106489 <alltraps>
80106bda <vector30>:
.globl vector30
vector30:
pushl $0
80106bda: 6a 00 push $0x0
pushl $30
80106bdc: 6a 1e push $0x1e
jmp alltraps
80106bde: e9 a6 f8 ff ff jmp 80106489 <alltraps>
80106be3 <vector31>:
.globl vector31
vector31:
pushl $0
80106be3: 6a 00 push $0x0
pushl $31
80106be5: 6a 1f push $0x1f
jmp alltraps
80106be7: e9 9d f8 ff ff jmp 80106489 <alltraps>
80106bec <vector32>:
.globl vector32
vector32:
pushl $0
80106bec: 6a 00 push $0x0
pushl $32
80106bee: 6a 20 push $0x20
jmp alltraps
80106bf0: e9 94 f8 ff ff jmp 80106489 <alltraps>
80106bf5 <vector33>:
.globl vector33
vector33:
pushl $0
80106bf5: 6a 00 push $0x0
pushl $33
80106bf7: 6a 21 push $0x21
jmp alltraps
80106bf9: e9 8b f8 ff ff jmp 80106489 <alltraps>
80106bfe <vector34>:
.globl vector34
vector34:
pushl $0
80106bfe: 6a 00 push $0x0
pushl $34
80106c00: 6a 22 push $0x22
jmp alltraps
80106c02: e9 82 f8 ff ff jmp 80106489 <alltraps>
80106c07 <vector35>:
.globl vector35
vector35:
pushl $0
80106c07: 6a 00 push $0x0
pushl $35
80106c09: 6a 23 push $0x23
jmp alltraps
80106c0b: e9 79 f8 ff ff jmp 80106489 <alltraps>
80106c10 <vector36>:
.globl vector36
vector36:
pushl $0
80106c10: 6a 00 push $0x0
pushl $36
80106c12: 6a 24 push $0x24
jmp alltraps
80106c14: e9 70 f8 ff ff jmp 80106489 <alltraps>
80106c19 <vector37>:
.globl vector37
vector37:
pushl $0
80106c19: 6a 00 push $0x0
pushl $37
80106c1b: 6a 25 push $0x25
jmp alltraps
80106c1d: e9 67 f8 ff ff jmp 80106489 <alltraps>
80106c22 <vector38>:
.globl vector38
vector38:
pushl $0
80106c22: 6a 00 push $0x0
pushl $38
80106c24: 6a 26 push $0x26
jmp alltraps
80106c26: e9 5e f8 ff ff jmp 80106489 <alltraps>
80106c2b <vector39>:
.globl vector39
vector39:
pushl $0
80106c2b: 6a 00 push $0x0
pushl $39
80106c2d: 6a 27 push $0x27
jmp alltraps
80106c2f: e9 55 f8 ff ff jmp 80106489 <alltraps>
80106c34 <vector40>:
.globl vector40
vector40:
pushl $0
80106c34: 6a 00 push $0x0
pushl $40
80106c36: 6a 28 push $0x28
jmp alltraps
80106c38: e9 4c f8 ff ff jmp 80106489 <alltraps>
80106c3d <vector41>:
.globl vector41
vector41:
pushl $0
80106c3d: 6a 00 push $0x0
pushl $41
80106c3f: 6a 29 push $0x29
jmp alltraps
80106c41: e9 43 f8 ff ff jmp 80106489 <alltraps>
80106c46 <vector42>:
.globl vector42
vector42:
pushl $0
80106c46: 6a 00 push $0x0
pushl $42
80106c48: 6a 2a push $0x2a
jmp alltraps
80106c4a: e9 3a f8 ff ff jmp 80106489 <alltraps>
80106c4f <vector43>:
.globl vector43
vector43:
pushl $0
80106c4f: 6a 00 push $0x0
pushl $43
80106c51: 6a 2b push $0x2b
jmp alltraps
80106c53: e9 31 f8 ff ff jmp 80106489 <alltraps>
80106c58 <vector44>:
.globl vector44
vector44:
pushl $0
80106c58: 6a 00 push $0x0
pushl $44
80106c5a: 6a 2c push $0x2c
jmp alltraps
80106c5c: e9 28 f8 ff ff jmp 80106489 <alltraps>
80106c61 <vector45>:
.globl vector45
vector45:
pushl $0
80106c61: 6a 00 push $0x0
pushl $45
80106c63: 6a 2d push $0x2d
jmp alltraps
80106c65: e9 1f f8 ff ff jmp 80106489 <alltraps>
80106c6a <vector46>:
.globl vector46
vector46:
pushl $0
80106c6a: 6a 00 push $0x0
pushl $46
80106c6c: 6a 2e push $0x2e
jmp alltraps
80106c6e: e9 16 f8 ff ff jmp 80106489 <alltraps>
80106c73 <vector47>:
.globl vector47
vector47:
pushl $0
80106c73: 6a 00 push $0x0
pushl $47
80106c75: 6a 2f push $0x2f
jmp alltraps
80106c77: e9 0d f8 ff ff jmp 80106489 <alltraps>
80106c7c <vector48>:
.globl vector48
vector48:
pushl $0
80106c7c: 6a 00 push $0x0
pushl $48
80106c7e: 6a 30 push $0x30
jmp alltraps
80106c80: e9 04 f8 ff ff jmp 80106489 <alltraps>
80106c85 <vector49>:
.globl vector49
vector49:
pushl $0
80106c85: 6a 00 push $0x0
pushl $49
80106c87: 6a 31 push $0x31
jmp alltraps
80106c89: e9 fb f7 ff ff jmp 80106489 <alltraps>
80106c8e <vector50>:
.globl vector50
vector50:
pushl $0
80106c8e: 6a 00 push $0x0
pushl $50
80106c90: 6a 32 push $0x32
jmp alltraps
80106c92: e9 f2 f7 ff ff jmp 80106489 <alltraps>
80106c97 <vector51>:
.globl vector51
vector51:
pushl $0
80106c97: 6a 00 push $0x0
pushl $51
80106c99: 6a 33 push $0x33
jmp alltraps
80106c9b: e9 e9 f7 ff ff jmp 80106489 <alltraps>
80106ca0 <vector52>:
.globl vector52
vector52:
pushl $0
80106ca0: 6a 00 push $0x0
pushl $52
80106ca2: 6a 34 push $0x34
jmp alltraps
80106ca4: e9 e0 f7 ff ff jmp 80106489 <alltraps>
80106ca9 <vector53>:
.globl vector53
vector53:
pushl $0
80106ca9: 6a 00 push $0x0
pushl $53
80106cab: 6a 35 push $0x35
jmp alltraps
80106cad: e9 d7 f7 ff ff jmp 80106489 <alltraps>
80106cb2 <vector54>:
.globl vector54
vector54:
pushl $0
80106cb2: 6a 00 push $0x0
pushl $54
80106cb4: 6a 36 push $0x36
jmp alltraps
80106cb6: e9 ce f7 ff ff jmp 80106489 <alltraps>
80106cbb <vector55>:
.globl vector55
vector55:
pushl $0
80106cbb: 6a 00 push $0x0
pushl $55
80106cbd: 6a 37 push $0x37
jmp alltraps
80106cbf: e9 c5 f7 ff ff jmp 80106489 <alltraps>
80106cc4 <vector56>:
.globl vector56
vector56:
pushl $0
80106cc4: 6a 00 push $0x0
pushl $56
80106cc6: 6a 38 push $0x38
jmp alltraps
80106cc8: e9 bc f7 ff ff jmp 80106489 <alltraps>
80106ccd <vector57>:
.globl vector57
vector57:
pushl $0
80106ccd: 6a 00 push $0x0
pushl $57
80106ccf: 6a 39 push $0x39
jmp alltraps
80106cd1: e9 b3 f7 ff ff jmp 80106489 <alltraps>
80106cd6 <vector58>:
.globl vector58
vector58:
pushl $0
80106cd6: 6a 00 push $0x0
pushl $58
80106cd8: 6a 3a push $0x3a
jmp alltraps
80106cda: e9 aa f7 ff ff jmp 80106489 <alltraps>
80106cdf <vector59>:
.globl vector59
vector59:
pushl $0
80106cdf: 6a 00 push $0x0
pushl $59
80106ce1: 6a 3b push $0x3b
jmp alltraps
80106ce3: e9 a1 f7 ff ff jmp 80106489 <alltraps>
80106ce8 <vector60>:
.globl vector60
vector60:
pushl $0
80106ce8: 6a 00 push $0x0
pushl $60
80106cea: 6a 3c push $0x3c
jmp alltraps
80106cec: e9 98 f7 ff ff jmp 80106489 <alltraps>
80106cf1 <vector61>:
.globl vector61
vector61:
pushl $0
80106cf1: 6a 00 push $0x0
pushl $61
80106cf3: 6a 3d push $0x3d
jmp alltraps
80106cf5: e9 8f f7 ff ff jmp 80106489 <alltraps>
80106cfa <vector62>:
.globl vector62
vector62:
pushl $0
80106cfa: 6a 00 push $0x0
pushl $62
80106cfc: 6a 3e push $0x3e
jmp alltraps
80106cfe: e9 86 f7 ff ff jmp 80106489 <alltraps>
80106d03 <vector63>:
.globl vector63
vector63:
pushl $0
80106d03: 6a 00 push $0x0
pushl $63
80106d05: 6a 3f push $0x3f
jmp alltraps
80106d07: e9 7d f7 ff ff jmp 80106489 <alltraps>
80106d0c <vector64>:
.globl vector64
vector64:
pushl $0
80106d0c: 6a 00 push $0x0
pushl $64
80106d0e: 6a 40 push $0x40
jmp alltraps
80106d10: e9 74 f7 ff ff jmp 80106489 <alltraps>
80106d15 <vector65>:
.globl vector65
vector65:
pushl $0
80106d15: 6a 00 push $0x0
pushl $65
80106d17: 6a 41 push $0x41
jmp alltraps
80106d19: e9 6b f7 ff ff jmp 80106489 <alltraps>
80106d1e <vector66>:
.globl vector66
vector66:
pushl $0
80106d1e: 6a 00 push $0x0
pushl $66
80106d20: 6a 42 push $0x42
jmp alltraps
80106d22: e9 62 f7 ff ff jmp 80106489 <alltraps>
80106d27 <vector67>:
.globl vector67
vector67:
pushl $0
80106d27: 6a 00 push $0x0
pushl $67
80106d29: 6a 43 push $0x43
jmp alltraps
80106d2b: e9 59 f7 ff ff jmp 80106489 <alltraps>
80106d30 <vector68>:
.globl vector68
vector68:
pushl $0
80106d30: 6a 00 push $0x0
pushl $68
80106d32: 6a 44 push $0x44
jmp alltraps
80106d34: e9 50 f7 ff ff jmp 80106489 <alltraps>
80106d39 <vector69>:
.globl vector69
vector69:
pushl $0
80106d39: 6a 00 push $0x0
pushl $69
80106d3b: 6a 45 push $0x45
jmp alltraps
80106d3d: e9 47 f7 ff ff jmp 80106489 <alltraps>
80106d42 <vector70>:
.globl vector70
vector70:
pushl $0
80106d42: 6a 00 push $0x0
pushl $70
80106d44: 6a 46 push $0x46
jmp alltraps
80106d46: e9 3e f7 ff ff jmp 80106489 <alltraps>
80106d4b <vector71>:
.globl vector71
vector71:
pushl $0
80106d4b: 6a 00 push $0x0
pushl $71
80106d4d: 6a 47 push $0x47
jmp alltraps
80106d4f: e9 35 f7 ff ff jmp 80106489 <alltraps>
80106d54 <vector72>:
.globl vector72
vector72:
pushl $0
80106d54: 6a 00 push $0x0
pushl $72
80106d56: 6a 48 push $0x48
jmp alltraps
80106d58: e9 2c f7 ff ff jmp 80106489 <alltraps>
80106d5d <vector73>:
.globl vector73
vector73:
pushl $0
80106d5d: 6a 00 push $0x0
pushl $73
80106d5f: 6a 49 push $0x49
jmp alltraps
80106d61: e9 23 f7 ff ff jmp 80106489 <alltraps>
80106d66 <vector74>:
.globl vector74
vector74:
pushl $0
80106d66: 6a 00 push $0x0
pushl $74
80106d68: 6a 4a push $0x4a
jmp alltraps
80106d6a: e9 1a f7 ff ff jmp 80106489 <alltraps>
80106d6f <vector75>:
.globl vector75
vector75:
pushl $0
80106d6f: 6a 00 push $0x0
pushl $75
80106d71: 6a 4b push $0x4b
jmp alltraps
80106d73: e9 11 f7 ff ff jmp 80106489 <alltraps>
80106d78 <vector76>:
.globl vector76
vector76:
pushl $0
80106d78: 6a 00 push $0x0
pushl $76
80106d7a: 6a 4c push $0x4c
jmp alltraps
80106d7c: e9 08 f7 ff ff jmp 80106489 <alltraps>
80106d81 <vector77>:
.globl vector77
vector77:
pushl $0
80106d81: 6a 00 push $0x0
pushl $77
80106d83: 6a 4d push $0x4d
jmp alltraps
80106d85: e9 ff f6 ff ff jmp 80106489 <alltraps>
80106d8a <vector78>:
.globl vector78
vector78:
pushl $0
80106d8a: 6a 00 push $0x0
pushl $78
80106d8c: 6a 4e push $0x4e
jmp alltraps
80106d8e: e9 f6 f6 ff ff jmp 80106489 <alltraps>
80106d93 <vector79>:
.globl vector79
vector79:
pushl $0
80106d93: 6a 00 push $0x0
pushl $79
80106d95: 6a 4f push $0x4f
jmp alltraps
80106d97: e9 ed f6 ff ff jmp 80106489 <alltraps>
80106d9c <vector80>:
.globl vector80
vector80:
pushl $0
80106d9c: 6a 00 push $0x0
pushl $80
80106d9e: 6a 50 push $0x50
jmp alltraps
80106da0: e9 e4 f6 ff ff jmp 80106489 <alltraps>
80106da5 <vector81>:
.globl vector81
vector81:
pushl $0
80106da5: 6a 00 push $0x0
pushl $81
80106da7: 6a 51 push $0x51
jmp alltraps
80106da9: e9 db f6 ff ff jmp 80106489 <alltraps>
80106dae <vector82>:
.globl vector82
vector82:
pushl $0
80106dae: 6a 00 push $0x0
pushl $82
80106db0: 6a 52 push $0x52
jmp alltraps
80106db2: e9 d2 f6 ff ff jmp 80106489 <alltraps>
80106db7 <vector83>:
.globl vector83
vector83:
pushl $0
80106db7: 6a 00 push $0x0
pushl $83
80106db9: 6a 53 push $0x53
jmp alltraps
80106dbb: e9 c9 f6 ff ff jmp 80106489 <alltraps>
80106dc0 <vector84>:
.globl vector84
vector84:
pushl $0
80106dc0: 6a 00 push $0x0
pushl $84
80106dc2: 6a 54 push $0x54
jmp alltraps
80106dc4: e9 c0 f6 ff ff jmp 80106489 <alltraps>
80106dc9 <vector85>:
.globl vector85
vector85:
pushl $0
80106dc9: 6a 00 push $0x0
pushl $85
80106dcb: 6a 55 push $0x55
jmp alltraps
80106dcd: e9 b7 f6 ff ff jmp 80106489 <alltraps>
80106dd2 <vector86>:
.globl vector86
vector86:
pushl $0
80106dd2: 6a 00 push $0x0
pushl $86
80106dd4: 6a 56 push $0x56
jmp alltraps
80106dd6: e9 ae f6 ff ff jmp 80106489 <alltraps>
80106ddb <vector87>:
.globl vector87
vector87:
pushl $0
80106ddb: 6a 00 push $0x0
pushl $87
80106ddd: 6a 57 push $0x57
jmp alltraps
80106ddf: e9 a5 f6 ff ff jmp 80106489 <alltraps>
80106de4 <vector88>:
.globl vector88
vector88:
pushl $0
80106de4: 6a 00 push $0x0
pushl $88
80106de6: 6a 58 push $0x58
jmp alltraps
80106de8: e9 9c f6 ff ff jmp 80106489 <alltraps>
80106ded <vector89>:
.globl vector89
vector89:
pushl $0
80106ded: 6a 00 push $0x0
pushl $89
80106def: 6a 59 push $0x59
jmp alltraps
80106df1: e9 93 f6 ff ff jmp 80106489 <alltraps>
80106df6 <vector90>:
.globl vector90
vector90:
pushl $0
80106df6: 6a 00 push $0x0
pushl $90
80106df8: 6a 5a push $0x5a
jmp alltraps
80106dfa: e9 8a f6 ff ff jmp 80106489 <alltraps>
80106dff <vector91>:
.globl vector91
vector91:
pushl $0
80106dff: 6a 00 push $0x0
pushl $91
80106e01: 6a 5b push $0x5b
jmp alltraps
80106e03: e9 81 f6 ff ff jmp 80106489 <alltraps>
80106e08 <vector92>:
.globl vector92
vector92:
pushl $0
80106e08: 6a 00 push $0x0
pushl $92
80106e0a: 6a 5c push $0x5c
jmp alltraps
80106e0c: e9 78 f6 ff ff jmp 80106489 <alltraps>
80106e11 <vector93>:
.globl vector93
vector93:
pushl $0
80106e11: 6a 00 push $0x0
pushl $93
80106e13: 6a 5d push $0x5d
jmp alltraps
80106e15: e9 6f f6 ff ff jmp 80106489 <alltraps>
80106e1a <vector94>:
.globl vector94
vector94:
pushl $0
80106e1a: 6a 00 push $0x0
pushl $94
80106e1c: 6a 5e push $0x5e
jmp alltraps
80106e1e: e9 66 f6 ff ff jmp 80106489 <alltraps>
80106e23 <vector95>:
.globl vector95
vector95:
pushl $0
80106e23: 6a 00 push $0x0
pushl $95
80106e25: 6a 5f push $0x5f
jmp alltraps
80106e27: e9 5d f6 ff ff jmp 80106489 <alltraps>
80106e2c <vector96>:
.globl vector96
vector96:
pushl $0
80106e2c: 6a 00 push $0x0
pushl $96
80106e2e: 6a 60 push $0x60
jmp alltraps
80106e30: e9 54 f6 ff ff jmp 80106489 <alltraps>
80106e35 <vector97>:
.globl vector97
vector97:
pushl $0
80106e35: 6a 00 push $0x0
pushl $97
80106e37: 6a 61 push $0x61
jmp alltraps
80106e39: e9 4b f6 ff ff jmp 80106489 <alltraps>
80106e3e <vector98>:
.globl vector98
vector98:
pushl $0
80106e3e: 6a 00 push $0x0
pushl $98
80106e40: 6a 62 push $0x62
jmp alltraps
80106e42: e9 42 f6 ff ff jmp 80106489 <alltraps>
80106e47 <vector99>:
.globl vector99
vector99:
pushl $0
80106e47: 6a 00 push $0x0
pushl $99
80106e49: 6a 63 push $0x63
jmp alltraps
80106e4b: e9 39 f6 ff ff jmp 80106489 <alltraps>
80106e50 <vector100>:
.globl vector100
vector100:
pushl $0
80106e50: 6a 00 push $0x0
pushl $100
80106e52: 6a 64 push $0x64
jmp alltraps
80106e54: e9 30 f6 ff ff jmp 80106489 <alltraps>
80106e59 <vector101>:
.globl vector101
vector101:
pushl $0
80106e59: 6a 00 push $0x0
pushl $101
80106e5b: 6a 65 push $0x65
jmp alltraps
80106e5d: e9 27 f6 ff ff jmp 80106489 <alltraps>
80106e62 <vector102>:
.globl vector102
vector102:
pushl $0
80106e62: 6a 00 push $0x0
pushl $102
80106e64: 6a 66 push $0x66
jmp alltraps
80106e66: e9 1e f6 ff ff jmp 80106489 <alltraps>
80106e6b <vector103>:
.globl vector103
vector103:
pushl $0
80106e6b: 6a 00 push $0x0
pushl $103
80106e6d: 6a 67 push $0x67
jmp alltraps
80106e6f: e9 15 f6 ff ff jmp 80106489 <alltraps>
80106e74 <vector104>:
.globl vector104
vector104:
pushl $0
80106e74: 6a 00 push $0x0
pushl $104
80106e76: 6a 68 push $0x68
jmp alltraps
80106e78: e9 0c f6 ff ff jmp 80106489 <alltraps>
80106e7d <vector105>:
.globl vector105
vector105:
pushl $0
80106e7d: 6a 00 push $0x0
pushl $105
80106e7f: 6a 69 push $0x69
jmp alltraps
80106e81: e9 03 f6 ff ff jmp 80106489 <alltraps>
80106e86 <vector106>:
.globl vector106
vector106:
pushl $0
80106e86: 6a 00 push $0x0
pushl $106
80106e88: 6a 6a push $0x6a
jmp alltraps
80106e8a: e9 fa f5 ff ff jmp 80106489 <alltraps>
80106e8f <vector107>:
.globl vector107
vector107:
pushl $0
80106e8f: 6a 00 push $0x0
pushl $107
80106e91: 6a 6b push $0x6b
jmp alltraps
80106e93: e9 f1 f5 ff ff jmp 80106489 <alltraps>
80106e98 <vector108>:
.globl vector108
vector108:
pushl $0
80106e98: 6a 00 push $0x0
pushl $108
80106e9a: 6a 6c push $0x6c
jmp alltraps
80106e9c: e9 e8 f5 ff ff jmp 80106489 <alltraps>
80106ea1 <vector109>:
.globl vector109
vector109:
pushl $0
80106ea1: 6a 00 push $0x0
pushl $109
80106ea3: 6a 6d push $0x6d
jmp alltraps
80106ea5: e9 df f5 ff ff jmp 80106489 <alltraps>
80106eaa <vector110>:
.globl vector110
vector110:
pushl $0
80106eaa: 6a 00 push $0x0
pushl $110
80106eac: 6a 6e push $0x6e
jmp alltraps
80106eae: e9 d6 f5 ff ff jmp 80106489 <alltraps>
80106eb3 <vector111>:
.globl vector111
vector111:
pushl $0
80106eb3: 6a 00 push $0x0
pushl $111
80106eb5: 6a 6f push $0x6f
jmp alltraps
80106eb7: e9 cd f5 ff ff jmp 80106489 <alltraps>
80106ebc <vector112>:
.globl vector112
vector112:
pushl $0
80106ebc: 6a 00 push $0x0
pushl $112
80106ebe: 6a 70 push $0x70
jmp alltraps
80106ec0: e9 c4 f5 ff ff jmp 80106489 <alltraps>
80106ec5 <vector113>:
.globl vector113
vector113:
pushl $0
80106ec5: 6a 00 push $0x0
pushl $113
80106ec7: 6a 71 push $0x71
jmp alltraps
80106ec9: e9 bb f5 ff ff jmp 80106489 <alltraps>
80106ece <vector114>:
.globl vector114
vector114:
pushl $0
80106ece: 6a 00 push $0x0
pushl $114
80106ed0: 6a 72 push $0x72
jmp alltraps
80106ed2: e9 b2 f5 ff ff jmp 80106489 <alltraps>
80106ed7 <vector115>:
.globl vector115
vector115:
pushl $0
80106ed7: 6a 00 push $0x0
pushl $115
80106ed9: 6a 73 push $0x73
jmp alltraps
80106edb: e9 a9 f5 ff ff jmp 80106489 <alltraps>
80106ee0 <vector116>:
.globl vector116
vector116:
pushl $0
80106ee0: 6a 00 push $0x0
pushl $116
80106ee2: 6a 74 push $0x74
jmp alltraps
80106ee4: e9 a0 f5 ff ff jmp 80106489 <alltraps>
80106ee9 <vector117>:
.globl vector117
vector117:
pushl $0
80106ee9: 6a 00 push $0x0
pushl $117
80106eeb: 6a 75 push $0x75
jmp alltraps
80106eed: e9 97 f5 ff ff jmp 80106489 <alltraps>
80106ef2 <vector118>:
.globl vector118
vector118:
pushl $0
80106ef2: 6a 00 push $0x0
pushl $118
80106ef4: 6a 76 push $0x76
jmp alltraps
80106ef6: e9 8e f5 ff ff jmp 80106489 <alltraps>
80106efb <vector119>:
.globl vector119
vector119:
pushl $0
80106efb: 6a 00 push $0x0
pushl $119
80106efd: 6a 77 push $0x77
jmp alltraps
80106eff: e9 85 f5 ff ff jmp 80106489 <alltraps>
80106f04 <vector120>:
.globl vector120
vector120:
pushl $0
80106f04: 6a 00 push $0x0
pushl $120
80106f06: 6a 78 push $0x78
jmp alltraps
80106f08: e9 7c f5 ff ff jmp 80106489 <alltraps>
80106f0d <vector121>:
.globl vector121
vector121:
pushl $0
80106f0d: 6a 00 push $0x0
pushl $121
80106f0f: 6a 79 push $0x79
jmp alltraps
80106f11: e9 73 f5 ff ff jmp 80106489 <alltraps>
80106f16 <vector122>:
.globl vector122
vector122:
pushl $0
80106f16: 6a 00 push $0x0
pushl $122
80106f18: 6a 7a push $0x7a
jmp alltraps
80106f1a: e9 6a f5 ff ff jmp 80106489 <alltraps>
80106f1f <vector123>:
.globl vector123
vector123:
pushl $0
80106f1f: 6a 00 push $0x0
pushl $123
80106f21: 6a 7b push $0x7b
jmp alltraps
80106f23: e9 61 f5 ff ff jmp 80106489 <alltraps>
80106f28 <vector124>:
.globl vector124
vector124:
pushl $0
80106f28: 6a 00 push $0x0
pushl $124
80106f2a: 6a 7c push $0x7c
jmp alltraps
80106f2c: e9 58 f5 ff ff jmp 80106489 <alltraps>
80106f31 <vector125>:
.globl vector125
vector125:
pushl $0
80106f31: 6a 00 push $0x0
pushl $125
80106f33: 6a 7d push $0x7d
jmp alltraps
80106f35: e9 4f f5 ff ff jmp 80106489 <alltraps>
80106f3a <vector126>:
.globl vector126
vector126:
pushl $0
80106f3a: 6a 00 push $0x0
pushl $126
80106f3c: 6a 7e push $0x7e
jmp alltraps
80106f3e: e9 46 f5 ff ff jmp 80106489 <alltraps>
80106f43 <vector127>:
.globl vector127
vector127:
pushl $0
80106f43: 6a 00 push $0x0
pushl $127
80106f45: 6a 7f push $0x7f
jmp alltraps
80106f47: e9 3d f5 ff ff jmp 80106489 <alltraps>
80106f4c <vector128>:
.globl vector128
vector128:
pushl $0
80106f4c: 6a 00 push $0x0
pushl $128
80106f4e: 68 80 00 00 00 push $0x80
jmp alltraps
80106f53: e9 31 f5 ff ff jmp 80106489 <alltraps>
80106f58 <vector129>:
.globl vector129
vector129:
pushl $0
80106f58: 6a 00 push $0x0
pushl $129
80106f5a: 68 81 00 00 00 push $0x81
jmp alltraps
80106f5f: e9 25 f5 ff ff jmp 80106489 <alltraps>
80106f64 <vector130>:
.globl vector130
vector130:
pushl $0
80106f64: 6a 00 push $0x0
pushl $130
80106f66: 68 82 00 00 00 push $0x82
jmp alltraps
80106f6b: e9 19 f5 ff ff jmp 80106489 <alltraps>
80106f70 <vector131>:
.globl vector131
vector131:
pushl $0
80106f70: 6a 00 push $0x0
pushl $131
80106f72: 68 83 00 00 00 push $0x83
jmp alltraps
80106f77: e9 0d f5 ff ff jmp 80106489 <alltraps>
80106f7c <vector132>:
.globl vector132
vector132:
pushl $0
80106f7c: 6a 00 push $0x0
pushl $132
80106f7e: 68 84 00 00 00 push $0x84
jmp alltraps
80106f83: e9 01 f5 ff ff jmp 80106489 <alltraps>
80106f88 <vector133>:
.globl vector133
vector133:
pushl $0
80106f88: 6a 00 push $0x0
pushl $133
80106f8a: 68 85 00 00 00 push $0x85
jmp alltraps
80106f8f: e9 f5 f4 ff ff jmp 80106489 <alltraps>
80106f94 <vector134>:
.globl vector134
vector134:
pushl $0
80106f94: 6a 00 push $0x0
pushl $134
80106f96: 68 86 00 00 00 push $0x86
jmp alltraps
80106f9b: e9 e9 f4 ff ff jmp 80106489 <alltraps>
80106fa0 <vector135>:
.globl vector135
vector135:
pushl $0
80106fa0: 6a 00 push $0x0
pushl $135
80106fa2: 68 87 00 00 00 push $0x87
jmp alltraps
80106fa7: e9 dd f4 ff ff jmp 80106489 <alltraps>
80106fac <vector136>:
.globl vector136
vector136:
pushl $0
80106fac: 6a 00 push $0x0
pushl $136
80106fae: 68 88 00 00 00 push $0x88
jmp alltraps
80106fb3: e9 d1 f4 ff ff jmp 80106489 <alltraps>
80106fb8 <vector137>:
.globl vector137
vector137:
pushl $0
80106fb8: 6a 00 push $0x0
pushl $137
80106fba: 68 89 00 00 00 push $0x89
jmp alltraps
80106fbf: e9 c5 f4 ff ff jmp 80106489 <alltraps>
80106fc4 <vector138>:
.globl vector138
vector138:
pushl $0
80106fc4: 6a 00 push $0x0
pushl $138
80106fc6: 68 8a 00 00 00 push $0x8a
jmp alltraps
80106fcb: e9 b9 f4 ff ff jmp 80106489 <alltraps>
80106fd0 <vector139>:
.globl vector139
vector139:
pushl $0
80106fd0: 6a 00 push $0x0
pushl $139
80106fd2: 68 8b 00 00 00 push $0x8b
jmp alltraps
80106fd7: e9 ad f4 ff ff jmp 80106489 <alltraps>
80106fdc <vector140>:
.globl vector140
vector140:
pushl $0
80106fdc: 6a 00 push $0x0
pushl $140
80106fde: 68 8c 00 00 00 push $0x8c
jmp alltraps
80106fe3: e9 a1 f4 ff ff jmp 80106489 <alltraps>
80106fe8 <vector141>:
.globl vector141
vector141:
pushl $0
80106fe8: 6a 00 push $0x0
pushl $141
80106fea: 68 8d 00 00 00 push $0x8d
jmp alltraps
80106fef: e9 95 f4 ff ff jmp 80106489 <alltraps>
80106ff4 <vector142>:
.globl vector142
vector142:
pushl $0
80106ff4: 6a 00 push $0x0
pushl $142
80106ff6: 68 8e 00 00 00 push $0x8e
jmp alltraps
80106ffb: e9 89 f4 ff ff jmp 80106489 <alltraps>
80107000 <vector143>:
.globl vector143
vector143:
pushl $0
80107000: 6a 00 push $0x0
pushl $143
80107002: 68 8f 00 00 00 push $0x8f
jmp alltraps
80107007: e9 7d f4 ff ff jmp 80106489 <alltraps>
8010700c <vector144>:
.globl vector144
vector144:
pushl $0
8010700c: 6a 00 push $0x0
pushl $144
8010700e: 68 90 00 00 00 push $0x90
jmp alltraps
80107013: e9 71 f4 ff ff jmp 80106489 <alltraps>
80107018 <vector145>:
.globl vector145
vector145:
pushl $0
80107018: 6a 00 push $0x0
pushl $145
8010701a: 68 91 00 00 00 push $0x91
jmp alltraps
8010701f: e9 65 f4 ff ff jmp 80106489 <alltraps>
80107024 <vector146>:
.globl vector146
vector146:
pushl $0
80107024: 6a 00 push $0x0
pushl $146
80107026: 68 92 00 00 00 push $0x92
jmp alltraps
8010702b: e9 59 f4 ff ff jmp 80106489 <alltraps>
80107030 <vector147>:
.globl vector147
vector147:
pushl $0
80107030: 6a 00 push $0x0
pushl $147
80107032: 68 93 00 00 00 push $0x93
jmp alltraps
80107037: e9 4d f4 ff ff jmp 80106489 <alltraps>
8010703c <vector148>:
.globl vector148
vector148:
pushl $0
8010703c: 6a 00 push $0x0
pushl $148
8010703e: 68 94 00 00 00 push $0x94
jmp alltraps
80107043: e9 41 f4 ff ff jmp 80106489 <alltraps>
80107048 <vector149>:
.globl vector149
vector149:
pushl $0
80107048: 6a 00 push $0x0
pushl $149
8010704a: 68 95 00 00 00 push $0x95
jmp alltraps
8010704f: e9 35 f4 ff ff jmp 80106489 <alltraps>
80107054 <vector150>:
.globl vector150
vector150:
pushl $0
80107054: 6a 00 push $0x0
pushl $150
80107056: 68 96 00 00 00 push $0x96
jmp alltraps
8010705b: e9 29 f4 ff ff jmp 80106489 <alltraps>
80107060 <vector151>:
.globl vector151
vector151:
pushl $0
80107060: 6a 00 push $0x0
pushl $151
80107062: 68 97 00 00 00 push $0x97
jmp alltraps
80107067: e9 1d f4 ff ff jmp 80106489 <alltraps>
8010706c <vector152>:
.globl vector152
vector152:
pushl $0
8010706c: 6a 00 push $0x0
pushl $152
8010706e: 68 98 00 00 00 push $0x98
jmp alltraps
80107073: e9 11 f4 ff ff jmp 80106489 <alltraps>
80107078 <vector153>:
.globl vector153
vector153:
pushl $0
80107078: 6a 00 push $0x0
pushl $153
8010707a: 68 99 00 00 00 push $0x99
jmp alltraps
8010707f: e9 05 f4 ff ff jmp 80106489 <alltraps>
80107084 <vector154>:
.globl vector154
vector154:
pushl $0
80107084: 6a 00 push $0x0
pushl $154
80107086: 68 9a 00 00 00 push $0x9a
jmp alltraps
8010708b: e9 f9 f3 ff ff jmp 80106489 <alltraps>
80107090 <vector155>:
.globl vector155
vector155:
pushl $0
80107090: 6a 00 push $0x0
pushl $155
80107092: 68 9b 00 00 00 push $0x9b
jmp alltraps
80107097: e9 ed f3 ff ff jmp 80106489 <alltraps>
8010709c <vector156>:
.globl vector156
vector156:
pushl $0
8010709c: 6a 00 push $0x0
pushl $156
8010709e: 68 9c 00 00 00 push $0x9c
jmp alltraps
801070a3: e9 e1 f3 ff ff jmp 80106489 <alltraps>
801070a8 <vector157>:
.globl vector157
vector157:
pushl $0
801070a8: 6a 00 push $0x0
pushl $157
801070aa: 68 9d 00 00 00 push $0x9d
jmp alltraps
801070af: e9 d5 f3 ff ff jmp 80106489 <alltraps>
801070b4 <vector158>:
.globl vector158
vector158:
pushl $0
801070b4: 6a 00 push $0x0
pushl $158
801070b6: 68 9e 00 00 00 push $0x9e
jmp alltraps
801070bb: e9 c9 f3 ff ff jmp 80106489 <alltraps>
801070c0 <vector159>:
.globl vector159
vector159:
pushl $0
801070c0: 6a 00 push $0x0
pushl $159
801070c2: 68 9f 00 00 00 push $0x9f
jmp alltraps
801070c7: e9 bd f3 ff ff jmp 80106489 <alltraps>
801070cc <vector160>:
.globl vector160
vector160:
pushl $0
801070cc: 6a 00 push $0x0
pushl $160
801070ce: 68 a0 00 00 00 push $0xa0
jmp alltraps
801070d3: e9 b1 f3 ff ff jmp 80106489 <alltraps>
801070d8 <vector161>:
.globl vector161
vector161:
pushl $0
801070d8: 6a 00 push $0x0
pushl $161
801070da: 68 a1 00 00 00 push $0xa1
jmp alltraps
801070df: e9 a5 f3 ff ff jmp 80106489 <alltraps>
801070e4 <vector162>:
.globl vector162
vector162:
pushl $0
801070e4: 6a 00 push $0x0
pushl $162
801070e6: 68 a2 00 00 00 push $0xa2
jmp alltraps
801070eb: e9 99 f3 ff ff jmp 80106489 <alltraps>
801070f0 <vector163>:
.globl vector163
vector163:
pushl $0
801070f0: 6a 00 push $0x0
pushl $163
801070f2: 68 a3 00 00 00 push $0xa3
jmp alltraps
801070f7: e9 8d f3 ff ff jmp 80106489 <alltraps>
801070fc <vector164>:
.globl vector164
vector164:
pushl $0
801070fc: 6a 00 push $0x0
pushl $164
801070fe: 68 a4 00 00 00 push $0xa4
jmp alltraps
80107103: e9 81 f3 ff ff jmp 80106489 <alltraps>
80107108 <vector165>:
.globl vector165
vector165:
pushl $0
80107108: 6a 00 push $0x0
pushl $165
8010710a: 68 a5 00 00 00 push $0xa5
jmp alltraps
8010710f: e9 75 f3 ff ff jmp 80106489 <alltraps>
80107114 <vector166>:
.globl vector166
vector166:
pushl $0
80107114: 6a 00 push $0x0
pushl $166
80107116: 68 a6 00 00 00 push $0xa6
jmp alltraps
8010711b: e9 69 f3 ff ff jmp 80106489 <alltraps>
80107120 <vector167>:
.globl vector167
vector167:
pushl $0
80107120: 6a 00 push $0x0
pushl $167
80107122: 68 a7 00 00 00 push $0xa7
jmp alltraps
80107127: e9 5d f3 ff ff jmp 80106489 <alltraps>
8010712c <vector168>:
.globl vector168
vector168:
pushl $0
8010712c: 6a 00 push $0x0
pushl $168
8010712e: 68 a8 00 00 00 push $0xa8
jmp alltraps
80107133: e9 51 f3 ff ff jmp 80106489 <alltraps>
80107138 <vector169>:
.globl vector169
vector169:
pushl $0
80107138: 6a 00 push $0x0
pushl $169
8010713a: 68 a9 00 00 00 push $0xa9
jmp alltraps
8010713f: e9 45 f3 ff ff jmp 80106489 <alltraps>
80107144 <vector170>:
.globl vector170
vector170:
pushl $0
80107144: 6a 00 push $0x0
pushl $170
80107146: 68 aa 00 00 00 push $0xaa
jmp alltraps
8010714b: e9 39 f3 ff ff jmp 80106489 <alltraps>
80107150 <vector171>:
.globl vector171
vector171:
pushl $0
80107150: 6a 00 push $0x0
pushl $171
80107152: 68 ab 00 00 00 push $0xab
jmp alltraps
80107157: e9 2d f3 ff ff jmp 80106489 <alltraps>
8010715c <vector172>:
.globl vector172
vector172:
pushl $0
8010715c: 6a 00 push $0x0
pushl $172
8010715e: 68 ac 00 00 00 push $0xac
jmp alltraps
80107163: e9 21 f3 ff ff jmp 80106489 <alltraps>
80107168 <vector173>:
.globl vector173
vector173:
pushl $0
80107168: 6a 00 push $0x0
pushl $173
8010716a: 68 ad 00 00 00 push $0xad
jmp alltraps
8010716f: e9 15 f3 ff ff jmp 80106489 <alltraps>
80107174 <vector174>:
.globl vector174
vector174:
pushl $0
80107174: 6a 00 push $0x0
pushl $174
80107176: 68 ae 00 00 00 push $0xae
jmp alltraps
8010717b: e9 09 f3 ff ff jmp 80106489 <alltraps>
80107180 <vector175>:
.globl vector175
vector175:
pushl $0
80107180: 6a 00 push $0x0
pushl $175
80107182: 68 af 00 00 00 push $0xaf
jmp alltraps
80107187: e9 fd f2 ff ff jmp 80106489 <alltraps>
8010718c <vector176>:
.globl vector176
vector176:
pushl $0
8010718c: 6a 00 push $0x0
pushl $176
8010718e: 68 b0 00 00 00 push $0xb0
jmp alltraps
80107193: e9 f1 f2 ff ff jmp 80106489 <alltraps>
80107198 <vector177>:
.globl vector177
vector177:
pushl $0
80107198: 6a 00 push $0x0
pushl $177
8010719a: 68 b1 00 00 00 push $0xb1
jmp alltraps
8010719f: e9 e5 f2 ff ff jmp 80106489 <alltraps>
801071a4 <vector178>:
.globl vector178
vector178:
pushl $0
801071a4: 6a 00 push $0x0
pushl $178
801071a6: 68 b2 00 00 00 push $0xb2
jmp alltraps
801071ab: e9 d9 f2 ff ff jmp 80106489 <alltraps>
801071b0 <vector179>:
.globl vector179
vector179:
pushl $0
801071b0: 6a 00 push $0x0
pushl $179
801071b2: 68 b3 00 00 00 push $0xb3
jmp alltraps
801071b7: e9 cd f2 ff ff jmp 80106489 <alltraps>
801071bc <vector180>:
.globl vector180
vector180:
pushl $0
801071bc: 6a 00 push $0x0
pushl $180
801071be: 68 b4 00 00 00 push $0xb4
jmp alltraps
801071c3: e9 c1 f2 ff ff jmp 80106489 <alltraps>
801071c8 <vector181>:
.globl vector181
vector181:
pushl $0
801071c8: 6a 00 push $0x0
pushl $181
801071ca: 68 b5 00 00 00 push $0xb5
jmp alltraps
801071cf: e9 b5 f2 ff ff jmp 80106489 <alltraps>
801071d4 <vector182>:
.globl vector182
vector182:
pushl $0
801071d4: 6a 00 push $0x0
pushl $182
801071d6: 68 b6 00 00 00 push $0xb6
jmp alltraps
801071db: e9 a9 f2 ff ff jmp 80106489 <alltraps>
801071e0 <vector183>:
.globl vector183
vector183:
pushl $0
801071e0: 6a 00 push $0x0
pushl $183
801071e2: 68 b7 00 00 00 push $0xb7
jmp alltraps
801071e7: e9 9d f2 ff ff jmp 80106489 <alltraps>
801071ec <vector184>:
.globl vector184
vector184:
pushl $0
801071ec: 6a 00 push $0x0
pushl $184
801071ee: 68 b8 00 00 00 push $0xb8
jmp alltraps
801071f3: e9 91 f2 ff ff jmp 80106489 <alltraps>
801071f8 <vector185>:
.globl vector185
vector185:
pushl $0
801071f8: 6a 00 push $0x0
pushl $185
801071fa: 68 b9 00 00 00 push $0xb9
jmp alltraps
801071ff: e9 85 f2 ff ff jmp 80106489 <alltraps>
80107204 <vector186>:
.globl vector186
vector186:
pushl $0
80107204: 6a 00 push $0x0
pushl $186
80107206: 68 ba 00 00 00 push $0xba
jmp alltraps
8010720b: e9 79 f2 ff ff jmp 80106489 <alltraps>
80107210 <vector187>:
.globl vector187
vector187:
pushl $0
80107210: 6a 00 push $0x0
pushl $187
80107212: 68 bb 00 00 00 push $0xbb
jmp alltraps
80107217: e9 6d f2 ff ff jmp 80106489 <alltraps>
8010721c <vector188>:
.globl vector188
vector188:
pushl $0
8010721c: 6a 00 push $0x0
pushl $188
8010721e: 68 bc 00 00 00 push $0xbc
jmp alltraps
80107223: e9 61 f2 ff ff jmp 80106489 <alltraps>
80107228 <vector189>:
.globl vector189
vector189:
pushl $0
80107228: 6a 00 push $0x0
pushl $189
8010722a: 68 bd 00 00 00 push $0xbd
jmp alltraps
8010722f: e9 55 f2 ff ff jmp 80106489 <alltraps>
80107234 <vector190>:
.globl vector190
vector190:
pushl $0
80107234: 6a 00 push $0x0
pushl $190
80107236: 68 be 00 00 00 push $0xbe
jmp alltraps
8010723b: e9 49 f2 ff ff jmp 80106489 <alltraps>
80107240 <vector191>:
.globl vector191
vector191:
pushl $0
80107240: 6a 00 push $0x0
pushl $191
80107242: 68 bf 00 00 00 push $0xbf
jmp alltraps
80107247: e9 3d f2 ff ff jmp 80106489 <alltraps>
8010724c <vector192>:
.globl vector192
vector192:
pushl $0
8010724c: 6a 00 push $0x0
pushl $192
8010724e: 68 c0 00 00 00 push $0xc0
jmp alltraps
80107253: e9 31 f2 ff ff jmp 80106489 <alltraps>
80107258 <vector193>:
.globl vector193
vector193:
pushl $0
80107258: 6a 00 push $0x0
pushl $193
8010725a: 68 c1 00 00 00 push $0xc1
jmp alltraps
8010725f: e9 25 f2 ff ff jmp 80106489 <alltraps>
80107264 <vector194>:
.globl vector194
vector194:
pushl $0
80107264: 6a 00 push $0x0
pushl $194
80107266: 68 c2 00 00 00 push $0xc2
jmp alltraps
8010726b: e9 19 f2 ff ff jmp 80106489 <alltraps>
80107270 <vector195>:
.globl vector195
vector195:
pushl $0
80107270: 6a 00 push $0x0
pushl $195
80107272: 68 c3 00 00 00 push $0xc3
jmp alltraps
80107277: e9 0d f2 ff ff jmp 80106489 <alltraps>
8010727c <vector196>:
.globl vector196
vector196:
pushl $0
8010727c: 6a 00 push $0x0
pushl $196
8010727e: 68 c4 00 00 00 push $0xc4
jmp alltraps
80107283: e9 01 f2 ff ff jmp 80106489 <alltraps>
80107288 <vector197>:
.globl vector197
vector197:
pushl $0
80107288: 6a 00 push $0x0
pushl $197
8010728a: 68 c5 00 00 00 push $0xc5
jmp alltraps
8010728f: e9 f5 f1 ff ff jmp 80106489 <alltraps>
80107294 <vector198>:
.globl vector198
vector198:
pushl $0
80107294: 6a 00 push $0x0
pushl $198
80107296: 68 c6 00 00 00 push $0xc6
jmp alltraps
8010729b: e9 e9 f1 ff ff jmp 80106489 <alltraps>
801072a0 <vector199>:
.globl vector199
vector199:
pushl $0
801072a0: 6a 00 push $0x0
pushl $199
801072a2: 68 c7 00 00 00 push $0xc7
jmp alltraps
801072a7: e9 dd f1 ff ff jmp 80106489 <alltraps>
801072ac <vector200>:
.globl vector200
vector200:
pushl $0
801072ac: 6a 00 push $0x0
pushl $200
801072ae: 68 c8 00 00 00 push $0xc8
jmp alltraps
801072b3: e9 d1 f1 ff ff jmp 80106489 <alltraps>
801072b8 <vector201>:
.globl vector201
vector201:
pushl $0
801072b8: 6a 00 push $0x0
pushl $201
801072ba: 68 c9 00 00 00 push $0xc9
jmp alltraps
801072bf: e9 c5 f1 ff ff jmp 80106489 <alltraps>
801072c4 <vector202>:
.globl vector202
vector202:
pushl $0
801072c4: 6a 00 push $0x0
pushl $202
801072c6: 68 ca 00 00 00 push $0xca
jmp alltraps
801072cb: e9 b9 f1 ff ff jmp 80106489 <alltraps>
801072d0 <vector203>:
.globl vector203
vector203:
pushl $0
801072d0: 6a 00 push $0x0
pushl $203
801072d2: 68 cb 00 00 00 push $0xcb
jmp alltraps
801072d7: e9 ad f1 ff ff jmp 80106489 <alltraps>
801072dc <vector204>:
.globl vector204
vector204:
pushl $0
801072dc: 6a 00 push $0x0
pushl $204
801072de: 68 cc 00 00 00 push $0xcc
jmp alltraps
801072e3: e9 a1 f1 ff ff jmp 80106489 <alltraps>
801072e8 <vector205>:
.globl vector205
vector205:
pushl $0
801072e8: 6a 00 push $0x0
pushl $205
801072ea: 68 cd 00 00 00 push $0xcd
jmp alltraps
801072ef: e9 95 f1 ff ff jmp 80106489 <alltraps>
801072f4 <vector206>:
.globl vector206
vector206:
pushl $0
801072f4: 6a 00 push $0x0
pushl $206
801072f6: 68 ce 00 00 00 push $0xce
jmp alltraps
801072fb: e9 89 f1 ff ff jmp 80106489 <alltraps>
80107300 <vector207>:
.globl vector207
vector207:
pushl $0
80107300: 6a 00 push $0x0
pushl $207
80107302: 68 cf 00 00 00 push $0xcf
jmp alltraps
80107307: e9 7d f1 ff ff jmp 80106489 <alltraps>
8010730c <vector208>:
.globl vector208
vector208:
pushl $0
8010730c: 6a 00 push $0x0
pushl $208
8010730e: 68 d0 00 00 00 push $0xd0
jmp alltraps
80107313: e9 71 f1 ff ff jmp 80106489 <alltraps>
80107318 <vector209>:
.globl vector209
vector209:
pushl $0
80107318: 6a 00 push $0x0
pushl $209
8010731a: 68 d1 00 00 00 push $0xd1
jmp alltraps
8010731f: e9 65 f1 ff ff jmp 80106489 <alltraps>
80107324 <vector210>:
.globl vector210
vector210:
pushl $0
80107324: 6a 00 push $0x0
pushl $210
80107326: 68 d2 00 00 00 push $0xd2
jmp alltraps
8010732b: e9 59 f1 ff ff jmp 80106489 <alltraps>
80107330 <vector211>:
.globl vector211
vector211:
pushl $0
80107330: 6a 00 push $0x0
pushl $211
80107332: 68 d3 00 00 00 push $0xd3
jmp alltraps
80107337: e9 4d f1 ff ff jmp 80106489 <alltraps>
8010733c <vector212>:
.globl vector212
vector212:
pushl $0
8010733c: 6a 00 push $0x0
pushl $212
8010733e: 68 d4 00 00 00 push $0xd4
jmp alltraps
80107343: e9 41 f1 ff ff jmp 80106489 <alltraps>
80107348 <vector213>:
.globl vector213
vector213:
pushl $0
80107348: 6a 00 push $0x0
pushl $213
8010734a: 68 d5 00 00 00 push $0xd5
jmp alltraps
8010734f: e9 35 f1 ff ff jmp 80106489 <alltraps>
80107354 <vector214>:
.globl vector214
vector214:
pushl $0
80107354: 6a 00 push $0x0
pushl $214
80107356: 68 d6 00 00 00 push $0xd6
jmp alltraps
8010735b: e9 29 f1 ff ff jmp 80106489 <alltraps>
80107360 <vector215>:
.globl vector215
vector215:
pushl $0
80107360: 6a 00 push $0x0
pushl $215
80107362: 68 d7 00 00 00 push $0xd7
jmp alltraps
80107367: e9 1d f1 ff ff jmp 80106489 <alltraps>
8010736c <vector216>:
.globl vector216
vector216:
pushl $0
8010736c: 6a 00 push $0x0
pushl $216
8010736e: 68 d8 00 00 00 push $0xd8
jmp alltraps
80107373: e9 11 f1 ff ff jmp 80106489 <alltraps>
80107378 <vector217>:
.globl vector217
vector217:
pushl $0
80107378: 6a 00 push $0x0
pushl $217
8010737a: 68 d9 00 00 00 push $0xd9
jmp alltraps
8010737f: e9 05 f1 ff ff jmp 80106489 <alltraps>
80107384 <vector218>:
.globl vector218
vector218:
pushl $0
80107384: 6a 00 push $0x0
pushl $218
80107386: 68 da 00 00 00 push $0xda
jmp alltraps
8010738b: e9 f9 f0 ff ff jmp 80106489 <alltraps>
80107390 <vector219>:
.globl vector219
vector219:
pushl $0
80107390: 6a 00 push $0x0
pushl $219
80107392: 68 db 00 00 00 push $0xdb
jmp alltraps
80107397: e9 ed f0 ff ff jmp 80106489 <alltraps>
8010739c <vector220>:
.globl vector220
vector220:
pushl $0
8010739c: 6a 00 push $0x0
pushl $220
8010739e: 68 dc 00 00 00 push $0xdc
jmp alltraps
801073a3: e9 e1 f0 ff ff jmp 80106489 <alltraps>
801073a8 <vector221>:
.globl vector221
vector221:
pushl $0
801073a8: 6a 00 push $0x0
pushl $221
801073aa: 68 dd 00 00 00 push $0xdd
jmp alltraps
801073af: e9 d5 f0 ff ff jmp 80106489 <alltraps>
801073b4 <vector222>:
.globl vector222
vector222:
pushl $0
801073b4: 6a 00 push $0x0
pushl $222
801073b6: 68 de 00 00 00 push $0xde
jmp alltraps
801073bb: e9 c9 f0 ff ff jmp 80106489 <alltraps>
801073c0 <vector223>:
.globl vector223
vector223:
pushl $0
801073c0: 6a 00 push $0x0
pushl $223
801073c2: 68 df 00 00 00 push $0xdf
jmp alltraps
801073c7: e9 bd f0 ff ff jmp 80106489 <alltraps>
801073cc <vector224>:
.globl vector224
vector224:
pushl $0
801073cc: 6a 00 push $0x0
pushl $224
801073ce: 68 e0 00 00 00 push $0xe0
jmp alltraps
801073d3: e9 b1 f0 ff ff jmp 80106489 <alltraps>
801073d8 <vector225>:
.globl vector225
vector225:
pushl $0
801073d8: 6a 00 push $0x0
pushl $225
801073da: 68 e1 00 00 00 push $0xe1
jmp alltraps
801073df: e9 a5 f0 ff ff jmp 80106489 <alltraps>
801073e4 <vector226>:
.globl vector226
vector226:
pushl $0
801073e4: 6a 00 push $0x0
pushl $226
801073e6: 68 e2 00 00 00 push $0xe2
jmp alltraps
801073eb: e9 99 f0 ff ff jmp 80106489 <alltraps>
801073f0 <vector227>:
.globl vector227
vector227:
pushl $0
801073f0: 6a 00 push $0x0
pushl $227
801073f2: 68 e3 00 00 00 push $0xe3
jmp alltraps
801073f7: e9 8d f0 ff ff jmp 80106489 <alltraps>
801073fc <vector228>:
.globl vector228
vector228:
pushl $0
801073fc: 6a 00 push $0x0
pushl $228
801073fe: 68 e4 00 00 00 push $0xe4
jmp alltraps
80107403: e9 81 f0 ff ff jmp 80106489 <alltraps>
80107408 <vector229>:
.globl vector229
vector229:
pushl $0
80107408: 6a 00 push $0x0
pushl $229
8010740a: 68 e5 00 00 00 push $0xe5
jmp alltraps
8010740f: e9 75 f0 ff ff jmp 80106489 <alltraps>
80107414 <vector230>:
.globl vector230
vector230:
pushl $0
80107414: 6a 00 push $0x0
pushl $230
80107416: 68 e6 00 00 00 push $0xe6
jmp alltraps
8010741b: e9 69 f0 ff ff jmp 80106489 <alltraps>
80107420 <vector231>:
.globl vector231
vector231:
pushl $0
80107420: 6a 00 push $0x0
pushl $231
80107422: 68 e7 00 00 00 push $0xe7
jmp alltraps
80107427: e9 5d f0 ff ff jmp 80106489 <alltraps>
8010742c <vector232>:
.globl vector232
vector232:
pushl $0
8010742c: 6a 00 push $0x0
pushl $232
8010742e: 68 e8 00 00 00 push $0xe8
jmp alltraps
80107433: e9 51 f0 ff ff jmp 80106489 <alltraps>
80107438 <vector233>:
.globl vector233
vector233:
pushl $0
80107438: 6a 00 push $0x0
pushl $233
8010743a: 68 e9 00 00 00 push $0xe9
jmp alltraps
8010743f: e9 45 f0 ff ff jmp 80106489 <alltraps>
80107444 <vector234>:
.globl vector234
vector234:
pushl $0
80107444: 6a 00 push $0x0
pushl $234
80107446: 68 ea 00 00 00 push $0xea
jmp alltraps
8010744b: e9 39 f0 ff ff jmp 80106489 <alltraps>
80107450 <vector235>:
.globl vector235
vector235:
pushl $0
80107450: 6a 00 push $0x0
pushl $235
80107452: 68 eb 00 00 00 push $0xeb
jmp alltraps
80107457: e9 2d f0 ff ff jmp 80106489 <alltraps>
8010745c <vector236>:
.globl vector236
vector236:
pushl $0
8010745c: 6a 00 push $0x0
pushl $236
8010745e: 68 ec 00 00 00 push $0xec
jmp alltraps
80107463: e9 21 f0 ff ff jmp 80106489 <alltraps>
80107468 <vector237>:
.globl vector237
vector237:
pushl $0
80107468: 6a 00 push $0x0
pushl $237
8010746a: 68 ed 00 00 00 push $0xed
jmp alltraps
8010746f: e9 15 f0 ff ff jmp 80106489 <alltraps>
80107474 <vector238>:
.globl vector238
vector238:
pushl $0
80107474: 6a 00 push $0x0
pushl $238
80107476: 68 ee 00 00 00 push $0xee
jmp alltraps
8010747b: e9 09 f0 ff ff jmp 80106489 <alltraps>
80107480 <vector239>:
.globl vector239
vector239:
pushl $0
80107480: 6a 00 push $0x0
pushl $239
80107482: 68 ef 00 00 00 push $0xef
jmp alltraps
80107487: e9 fd ef ff ff jmp 80106489 <alltraps>
8010748c <vector240>:
.globl vector240
vector240:
pushl $0
8010748c: 6a 00 push $0x0
pushl $240
8010748e: 68 f0 00 00 00 push $0xf0
jmp alltraps
80107493: e9 f1 ef ff ff jmp 80106489 <alltraps>
80107498 <vector241>:
.globl vector241
vector241:
pushl $0
80107498: 6a 00 push $0x0
pushl $241
8010749a: 68 f1 00 00 00 push $0xf1
jmp alltraps
8010749f: e9 e5 ef ff ff jmp 80106489 <alltraps>
801074a4 <vector242>:
.globl vector242
vector242:
pushl $0
801074a4: 6a 00 push $0x0
pushl $242
801074a6: 68 f2 00 00 00 push $0xf2
jmp alltraps
801074ab: e9 d9 ef ff ff jmp 80106489 <alltraps>
801074b0 <vector243>:
.globl vector243
vector243:
pushl $0
801074b0: 6a 00 push $0x0
pushl $243
801074b2: 68 f3 00 00 00 push $0xf3
jmp alltraps
801074b7: e9 cd ef ff ff jmp 80106489 <alltraps>
801074bc <vector244>:
.globl vector244
vector244:
pushl $0
801074bc: 6a 00 push $0x0
pushl $244
801074be: 68 f4 00 00 00 push $0xf4
jmp alltraps
801074c3: e9 c1 ef ff ff jmp 80106489 <alltraps>
801074c8 <vector245>:
.globl vector245
vector245:
pushl $0
801074c8: 6a 00 push $0x0
pushl $245
801074ca: 68 f5 00 00 00 push $0xf5
jmp alltraps
801074cf: e9 b5 ef ff ff jmp 80106489 <alltraps>
801074d4 <vector246>:
.globl vector246
vector246:
pushl $0
801074d4: 6a 00 push $0x0
pushl $246
801074d6: 68 f6 00 00 00 push $0xf6
jmp alltraps
801074db: e9 a9 ef ff ff jmp 80106489 <alltraps>
801074e0 <vector247>:
.globl vector247
vector247:
pushl $0
801074e0: 6a 00 push $0x0
pushl $247
801074e2: 68 f7 00 00 00 push $0xf7
jmp alltraps
801074e7: e9 9d ef ff ff jmp 80106489 <alltraps>
801074ec <vector248>:
.globl vector248
vector248:
pushl $0
801074ec: 6a 00 push $0x0
pushl $248
801074ee: 68 f8 00 00 00 push $0xf8
jmp alltraps
801074f3: e9 91 ef ff ff jmp 80106489 <alltraps>
801074f8 <vector249>:
.globl vector249
vector249:
pushl $0
801074f8: 6a 00 push $0x0
pushl $249
801074fa: 68 f9 00 00 00 push $0xf9
jmp alltraps
801074ff: e9 85 ef ff ff jmp 80106489 <alltraps>
80107504 <vector250>:
.globl vector250
vector250:
pushl $0
80107504: 6a 00 push $0x0
pushl $250
80107506: 68 fa 00 00 00 push $0xfa
jmp alltraps
8010750b: e9 79 ef ff ff jmp 80106489 <alltraps>
80107510 <vector251>:
.globl vector251
vector251:
pushl $0
80107510: 6a 00 push $0x0
pushl $251
80107512: 68 fb 00 00 00 push $0xfb
jmp alltraps
80107517: e9 6d ef ff ff jmp 80106489 <alltraps>
8010751c <vector252>:
.globl vector252
vector252:
pushl $0
8010751c: 6a 00 push $0x0
pushl $252
8010751e: 68 fc 00 00 00 push $0xfc
jmp alltraps
80107523: e9 61 ef ff ff jmp 80106489 <alltraps>
80107528 <vector253>:
.globl vector253
vector253:
pushl $0
80107528: 6a 00 push $0x0
pushl $253
8010752a: 68 fd 00 00 00 push $0xfd
jmp alltraps
8010752f: e9 55 ef ff ff jmp 80106489 <alltraps>
80107534 <vector254>:
.globl vector254
vector254:
pushl $0
80107534: 6a 00 push $0x0
pushl $254
80107536: 68 fe 00 00 00 push $0xfe
jmp alltraps
8010753b: e9 49 ef ff ff jmp 80106489 <alltraps>
80107540 <vector255>:
.globl vector255
vector255:
pushl $0
80107540: 6a 00 push $0x0
pushl $255
80107542: 68 ff 00 00 00 push $0xff
jmp alltraps
80107547: e9 3d ef ff ff jmp 80106489 <alltraps>
8010754c <lgdt>:
struct segdesc;
static inline void
lgdt(struct segdesc *p, int size)
{
8010754c: 55 push %ebp
8010754d: 89 e5 mov %esp,%ebp
8010754f: 83 ec 10 sub $0x10,%esp
volatile ushort pd[3];
pd[0] = size-1;
80107552: 8b 45 0c mov 0xc(%ebp),%eax
80107555: 83 e8 01 sub $0x1,%eax
80107558: 66 89 45 fa mov %ax,-0x6(%ebp)
pd[1] = (uint)p;
8010755c: 8b 45 08 mov 0x8(%ebp),%eax
8010755f: 66 89 45 fc mov %ax,-0x4(%ebp)
pd[2] = (uint)p >> 16;
80107563: 8b 45 08 mov 0x8(%ebp),%eax
80107566: c1 e8 10 shr $0x10,%eax
80107569: 66 89 45 fe mov %ax,-0x2(%ebp)
asm volatile("lgdt (%0)" : : "r" (pd));
8010756d: 8d 45 fa lea -0x6(%ebp),%eax
80107570: 0f 01 10 lgdtl (%eax)
}
80107573: 90 nop
80107574: c9 leave
80107575: c3 ret
80107576 <ltr>:
asm volatile("lidt (%0)" : : "r" (pd));
}
static inline void
ltr(ushort sel)
{
80107576: 55 push %ebp
80107577: 89 e5 mov %esp,%ebp
80107579: 83 ec 04 sub $0x4,%esp
8010757c: 8b 45 08 mov 0x8(%ebp),%eax
8010757f: 66 89 45 fc mov %ax,-0x4(%ebp)
asm volatile("ltr %0" : : "r" (sel));
80107583: 0f b7 45 fc movzwl -0x4(%ebp),%eax
80107587: 0f 00 d8 ltr %ax
}
8010758a: 90 nop
8010758b: c9 leave
8010758c: c3 ret
8010758d <loadgs>:
return eflags;
}
static inline void
loadgs(ushort v)
{
8010758d: 55 push %ebp
8010758e: 89 e5 mov %esp,%ebp
80107590: 83 ec 04 sub $0x4,%esp
80107593: 8b 45 08 mov 0x8(%ebp),%eax
80107596: 66 89 45 fc mov %ax,-0x4(%ebp)
asm volatile("movw %0, %%gs" : : "r" (v));
8010759a: 0f b7 45 fc movzwl -0x4(%ebp),%eax
8010759e: 8e e8 mov %eax,%gs
}
801075a0: 90 nop
801075a1: c9 leave
801075a2: c3 ret
801075a3 <lcr3>:
return val;
}
static inline void
lcr3(uint val)
{
801075a3: 55 push %ebp
801075a4: 89 e5 mov %esp,%ebp
asm volatile("movl %0,%%cr3" : : "r" (val));
801075a6: 8b 45 08 mov 0x8(%ebp),%eax
801075a9: 0f 22 d8 mov %eax,%cr3
}
801075ac: 90 nop
801075ad: 5d pop %ebp
801075ae: c3 ret
801075af <v2p>:
#define KERNBASE 0x80000000 // First kernel virtual address
#define KERNLINK (KERNBASE+EXTMEM) // Address where kernel is linked
#ifndef __ASSEMBLER__
static inline uint v2p(void *a) { return ((uint) (a)) - KERNBASE; }
801075af: 55 push %ebp
801075b0: 89 e5 mov %esp,%ebp
801075b2: 8b 45 08 mov 0x8(%ebp),%eax
801075b5: 05 00 00 00 80 add $0x80000000,%eax
801075ba: 5d pop %ebp
801075bb: c3 ret
801075bc <p2v>:
static inline void *p2v(uint a) { return (void *) ((a) + KERNBASE); }
801075bc: 55 push %ebp
801075bd: 89 e5 mov %esp,%ebp
801075bf: 8b 45 08 mov 0x8(%ebp),%eax
801075c2: 05 00 00 00 80 add $0x80000000,%eax
801075c7: 5d pop %ebp
801075c8: c3 ret
801075c9 <seginit>:
// Set up CPU's kernel segment descriptors.
// Run once on entry on each CPU.
void
seginit(void)
{
801075c9: 55 push %ebp
801075ca: 89 e5 mov %esp,%ebp
801075cc: 53 push %ebx
801075cd: 83 ec 14 sub $0x14,%esp
// Map "logical" addresses to virtual addresses using identity map.
// Cannot share a CODE descriptor for both kernel and user
// because it would have to have DPL_USR, but the CPU forbids
// an interrupt from CPL=0 to DPL=3.
c = &cpus[cpunum()];
801075d0: e8 44 bb ff ff call 80103119 <cpunum>
801075d5: 69 c0 bc 00 00 00 imul $0xbc,%eax,%eax
801075db: 05 40 f9 10 80 add $0x8010f940,%eax
801075e0: 89 45 f4 mov %eax,-0xc(%ebp)
c->gdt[SEG_KCODE] = SEG(STA_X|STA_R, 0, 0xffffffff, 0);
801075e3: 8b 45 f4 mov -0xc(%ebp),%eax
801075e6: 66 c7 40 78 ff ff movw $0xffff,0x78(%eax)
801075ec: 8b 45 f4 mov -0xc(%ebp),%eax
801075ef: 66 c7 40 7a 00 00 movw $0x0,0x7a(%eax)
801075f5: 8b 45 f4 mov -0xc(%ebp),%eax
801075f8: c6 40 7c 00 movb $0x0,0x7c(%eax)
801075fc: 8b 45 f4 mov -0xc(%ebp),%eax
801075ff: 0f b6 50 7d movzbl 0x7d(%eax),%edx
80107603: 83 e2 f0 and $0xfffffff0,%edx
80107606: 83 ca 0a or $0xa,%edx
80107609: 88 50 7d mov %dl,0x7d(%eax)
8010760c: 8b 45 f4 mov -0xc(%ebp),%eax
8010760f: 0f b6 50 7d movzbl 0x7d(%eax),%edx
80107613: 83 ca 10 or $0x10,%edx
80107616: 88 50 7d mov %dl,0x7d(%eax)
80107619: 8b 45 f4 mov -0xc(%ebp),%eax
8010761c: 0f b6 50 7d movzbl 0x7d(%eax),%edx
80107620: 83 e2 9f and $0xffffff9f,%edx
80107623: 88 50 7d mov %dl,0x7d(%eax)
80107626: 8b 45 f4 mov -0xc(%ebp),%eax
80107629: 0f b6 50 7d movzbl 0x7d(%eax),%edx
8010762d: 83 ca 80 or $0xffffff80,%edx
80107630: 88 50 7d mov %dl,0x7d(%eax)
80107633: 8b 45 f4 mov -0xc(%ebp),%eax
80107636: 0f b6 50 7e movzbl 0x7e(%eax),%edx
8010763a: 83 ca 0f or $0xf,%edx
8010763d: 88 50 7e mov %dl,0x7e(%eax)
80107640: 8b 45 f4 mov -0xc(%ebp),%eax
80107643: 0f b6 50 7e movzbl 0x7e(%eax),%edx
80107647: 83 e2 ef and $0xffffffef,%edx
8010764a: 88 50 7e mov %dl,0x7e(%eax)
8010764d: 8b 45 f4 mov -0xc(%ebp),%eax
80107650: 0f b6 50 7e movzbl 0x7e(%eax),%edx
80107654: 83 e2 df and $0xffffffdf,%edx
80107657: 88 50 7e mov %dl,0x7e(%eax)
8010765a: 8b 45 f4 mov -0xc(%ebp),%eax
8010765d: 0f b6 50 7e movzbl 0x7e(%eax),%edx
80107661: 83 ca 40 or $0x40,%edx
80107664: 88 50 7e mov %dl,0x7e(%eax)
80107667: 8b 45 f4 mov -0xc(%ebp),%eax
8010766a: 0f b6 50 7e movzbl 0x7e(%eax),%edx
8010766e: 83 ca 80 or $0xffffff80,%edx
80107671: 88 50 7e mov %dl,0x7e(%eax)
80107674: 8b 45 f4 mov -0xc(%ebp),%eax
80107677: c6 40 7f 00 movb $0x0,0x7f(%eax)
c->gdt[SEG_KDATA] = SEG(STA_W, 0, 0xffffffff, 0);
8010767b: 8b 45 f4 mov -0xc(%ebp),%eax
8010767e: 66 c7 80 80 00 00 00 movw $0xffff,0x80(%eax)
80107685: ff ff
80107687: 8b 45 f4 mov -0xc(%ebp),%eax
8010768a: 66 c7 80 82 00 00 00 movw $0x0,0x82(%eax)
80107691: 00 00
80107693: 8b 45 f4 mov -0xc(%ebp),%eax
80107696: c6 80 84 00 00 00 00 movb $0x0,0x84(%eax)
8010769d: 8b 45 f4 mov -0xc(%ebp),%eax
801076a0: 0f b6 90 85 00 00 00 movzbl 0x85(%eax),%edx
801076a7: 83 e2 f0 and $0xfffffff0,%edx
801076aa: 83 ca 02 or $0x2,%edx
801076ad: 88 90 85 00 00 00 mov %dl,0x85(%eax)
801076b3: 8b 45 f4 mov -0xc(%ebp),%eax
801076b6: 0f b6 90 85 00 00 00 movzbl 0x85(%eax),%edx
801076bd: 83 ca 10 or $0x10,%edx
801076c0: 88 90 85 00 00 00 mov %dl,0x85(%eax)
801076c6: 8b 45 f4 mov -0xc(%ebp),%eax
801076c9: 0f b6 90 85 00 00 00 movzbl 0x85(%eax),%edx
801076d0: 83 e2 9f and $0xffffff9f,%edx
801076d3: 88 90 85 00 00 00 mov %dl,0x85(%eax)
801076d9: 8b 45 f4 mov -0xc(%ebp),%eax
801076dc: 0f b6 90 85 00 00 00 movzbl 0x85(%eax),%edx
801076e3: 83 ca 80 or $0xffffff80,%edx
801076e6: 88 90 85 00 00 00 mov %dl,0x85(%eax)
801076ec: 8b 45 f4 mov -0xc(%ebp),%eax
801076ef: 0f b6 90 86 00 00 00 movzbl 0x86(%eax),%edx
801076f6: 83 ca 0f or $0xf,%edx
801076f9: 88 90 86 00 00 00 mov %dl,0x86(%eax)
801076ff: 8b 45 f4 mov -0xc(%ebp),%eax
80107702: 0f b6 90 86 00 00 00 movzbl 0x86(%eax),%edx
80107709: 83 e2 ef and $0xffffffef,%edx
8010770c: 88 90 86 00 00 00 mov %dl,0x86(%eax)
80107712: 8b 45 f4 mov -0xc(%ebp),%eax
80107715: 0f b6 90 86 00 00 00 movzbl 0x86(%eax),%edx
8010771c: 83 e2 df and $0xffffffdf,%edx
8010771f: 88 90 86 00 00 00 mov %dl,0x86(%eax)
80107725: 8b 45 f4 mov -0xc(%ebp),%eax
80107728: 0f b6 90 86 00 00 00 movzbl 0x86(%eax),%edx
8010772f: 83 ca 40 or $0x40,%edx
80107732: 88 90 86 00 00 00 mov %dl,0x86(%eax)
80107738: 8b 45 f4 mov -0xc(%ebp),%eax
8010773b: 0f b6 90 86 00 00 00 movzbl 0x86(%eax),%edx
80107742: 83 ca 80 or $0xffffff80,%edx
80107745: 88 90 86 00 00 00 mov %dl,0x86(%eax)
8010774b: 8b 45 f4 mov -0xc(%ebp),%eax
8010774e: c6 80 87 00 00 00 00 movb $0x0,0x87(%eax)
c->gdt[SEG_UCODE] = SEG(STA_X|STA_R, 0, 0xffffffff, DPL_USER);
80107755: 8b 45 f4 mov -0xc(%ebp),%eax
80107758: 66 c7 80 90 00 00 00 movw $0xffff,0x90(%eax)
8010775f: ff ff
80107761: 8b 45 f4 mov -0xc(%ebp),%eax
80107764: 66 c7 80 92 00 00 00 movw $0x0,0x92(%eax)
8010776b: 00 00
8010776d: 8b 45 f4 mov -0xc(%ebp),%eax
80107770: c6 80 94 00 00 00 00 movb $0x0,0x94(%eax)
80107777: 8b 45 f4 mov -0xc(%ebp),%eax
8010777a: 0f b6 90 95 00 00 00 movzbl 0x95(%eax),%edx
80107781: 83 e2 f0 and $0xfffffff0,%edx
80107784: 83 ca 0a or $0xa,%edx
80107787: 88 90 95 00 00 00 mov %dl,0x95(%eax)
8010778d: 8b 45 f4 mov -0xc(%ebp),%eax
80107790: 0f b6 90 95 00 00 00 movzbl 0x95(%eax),%edx
80107797: 83 ca 10 or $0x10,%edx
8010779a: 88 90 95 00 00 00 mov %dl,0x95(%eax)
801077a0: 8b 45 f4 mov -0xc(%ebp),%eax
801077a3: 0f b6 90 95 00 00 00 movzbl 0x95(%eax),%edx
801077aa: 83 ca 60 or $0x60,%edx
801077ad: 88 90 95 00 00 00 mov %dl,0x95(%eax)
801077b3: 8b 45 f4 mov -0xc(%ebp),%eax
801077b6: 0f b6 90 95 00 00 00 movzbl 0x95(%eax),%edx
801077bd: 83 ca 80 or $0xffffff80,%edx
801077c0: 88 90 95 00 00 00 mov %dl,0x95(%eax)
801077c6: 8b 45 f4 mov -0xc(%ebp),%eax
801077c9: 0f b6 90 96 00 00 00 movzbl 0x96(%eax),%edx
801077d0: 83 ca 0f or $0xf,%edx
801077d3: 88 90 96 00 00 00 mov %dl,0x96(%eax)
801077d9: 8b 45 f4 mov -0xc(%ebp),%eax
801077dc: 0f b6 90 96 00 00 00 movzbl 0x96(%eax),%edx
801077e3: 83 e2 ef and $0xffffffef,%edx
801077e6: 88 90 96 00 00 00 mov %dl,0x96(%eax)
801077ec: 8b 45 f4 mov -0xc(%ebp),%eax
801077ef: 0f b6 90 96 00 00 00 movzbl 0x96(%eax),%edx
801077f6: 83 e2 df and $0xffffffdf,%edx
801077f9: 88 90 96 00 00 00 mov %dl,0x96(%eax)
801077ff: 8b 45 f4 mov -0xc(%ebp),%eax
80107802: 0f b6 90 96 00 00 00 movzbl 0x96(%eax),%edx
80107809: 83 ca 40 or $0x40,%edx
8010780c: 88 90 96 00 00 00 mov %dl,0x96(%eax)
80107812: 8b 45 f4 mov -0xc(%ebp),%eax
80107815: 0f b6 90 96 00 00 00 movzbl 0x96(%eax),%edx
8010781c: 83 ca 80 or $0xffffff80,%edx
8010781f: 88 90 96 00 00 00 mov %dl,0x96(%eax)
80107825: 8b 45 f4 mov -0xc(%ebp),%eax
80107828: c6 80 97 00 00 00 00 movb $0x0,0x97(%eax)
c->gdt[SEG_UDATA] = SEG(STA_W, 0, 0xffffffff, DPL_USER);
8010782f: 8b 45 f4 mov -0xc(%ebp),%eax
80107832: 66 c7 80 98 00 00 00 movw $0xffff,0x98(%eax)
80107839: ff ff
8010783b: 8b 45 f4 mov -0xc(%ebp),%eax
8010783e: 66 c7 80 9a 00 00 00 movw $0x0,0x9a(%eax)
80107845: 00 00
80107847: 8b 45 f4 mov -0xc(%ebp),%eax
8010784a: c6 80 9c 00 00 00 00 movb $0x0,0x9c(%eax)
80107851: 8b 45 f4 mov -0xc(%ebp),%eax
80107854: 0f b6 90 9d 00 00 00 movzbl 0x9d(%eax),%edx
8010785b: 83 e2 f0 and $0xfffffff0,%edx
8010785e: 83 ca 02 or $0x2,%edx
80107861: 88 90 9d 00 00 00 mov %dl,0x9d(%eax)
80107867: 8b 45 f4 mov -0xc(%ebp),%eax
8010786a: 0f b6 90 9d 00 00 00 movzbl 0x9d(%eax),%edx
80107871: 83 ca 10 or $0x10,%edx
80107874: 88 90 9d 00 00 00 mov %dl,0x9d(%eax)
8010787a: 8b 45 f4 mov -0xc(%ebp),%eax
8010787d: 0f b6 90 9d 00 00 00 movzbl 0x9d(%eax),%edx
80107884: 83 ca 60 or $0x60,%edx
80107887: 88 90 9d 00 00 00 mov %dl,0x9d(%eax)
8010788d: 8b 45 f4 mov -0xc(%ebp),%eax
80107890: 0f b6 90 9d 00 00 00 movzbl 0x9d(%eax),%edx
80107897: 83 ca 80 or $0xffffff80,%edx
8010789a: 88 90 9d 00 00 00 mov %dl,0x9d(%eax)
801078a0: 8b 45 f4 mov -0xc(%ebp),%eax
801078a3: 0f b6 90 9e 00 00 00 movzbl 0x9e(%eax),%edx
801078aa: 83 ca 0f or $0xf,%edx
801078ad: 88 90 9e 00 00 00 mov %dl,0x9e(%eax)
801078b3: 8b 45 f4 mov -0xc(%ebp),%eax
801078b6: 0f b6 90 9e 00 00 00 movzbl 0x9e(%eax),%edx
801078bd: 83 e2 ef and $0xffffffef,%edx
801078c0: 88 90 9e 00 00 00 mov %dl,0x9e(%eax)
801078c6: 8b 45 f4 mov -0xc(%ebp),%eax
801078c9: 0f b6 90 9e 00 00 00 movzbl 0x9e(%eax),%edx
801078d0: 83 e2 df and $0xffffffdf,%edx
801078d3: 88 90 9e 00 00 00 mov %dl,0x9e(%eax)
801078d9: 8b 45 f4 mov -0xc(%ebp),%eax
801078dc: 0f b6 90 9e 00 00 00 movzbl 0x9e(%eax),%edx
801078e3: 83 ca 40 or $0x40,%edx
801078e6: 88 90 9e 00 00 00 mov %dl,0x9e(%eax)
801078ec: 8b 45 f4 mov -0xc(%ebp),%eax
801078ef: 0f b6 90 9e 00 00 00 movzbl 0x9e(%eax),%edx
801078f6: 83 ca 80 or $0xffffff80,%edx
801078f9: 88 90 9e 00 00 00 mov %dl,0x9e(%eax)
801078ff: 8b 45 f4 mov -0xc(%ebp),%eax
80107902: c6 80 9f 00 00 00 00 movb $0x0,0x9f(%eax)
// Map cpu, and curproc
c->gdt[SEG_KCPU] = SEG(STA_W, &c->cpu, 8, 0);
80107909: 8b 45 f4 mov -0xc(%ebp),%eax
8010790c: 05 b4 00 00 00 add $0xb4,%eax
80107911: 89 c3 mov %eax,%ebx
80107913: 8b 45 f4 mov -0xc(%ebp),%eax
80107916: 05 b4 00 00 00 add $0xb4,%eax
8010791b: c1 e8 10 shr $0x10,%eax
8010791e: 89 c2 mov %eax,%edx
80107920: 8b 45 f4 mov -0xc(%ebp),%eax
80107923: 05 b4 00 00 00 add $0xb4,%eax
80107928: c1 e8 18 shr $0x18,%eax
8010792b: 89 c1 mov %eax,%ecx
8010792d: 8b 45 f4 mov -0xc(%ebp),%eax
80107930: 66 c7 80 88 00 00 00 movw $0x0,0x88(%eax)
80107937: 00 00
80107939: 8b 45 f4 mov -0xc(%ebp),%eax
8010793c: 66 89 98 8a 00 00 00 mov %bx,0x8a(%eax)
80107943: 8b 45 f4 mov -0xc(%ebp),%eax
80107946: 88 90 8c 00 00 00 mov %dl,0x8c(%eax)
8010794c: 8b 45 f4 mov -0xc(%ebp),%eax
8010794f: 0f b6 90 8d 00 00 00 movzbl 0x8d(%eax),%edx
80107956: 83 e2 f0 and $0xfffffff0,%edx
80107959: 83 ca 02 or $0x2,%edx
8010795c: 88 90 8d 00 00 00 mov %dl,0x8d(%eax)
80107962: 8b 45 f4 mov -0xc(%ebp),%eax
80107965: 0f b6 90 8d 00 00 00 movzbl 0x8d(%eax),%edx
8010796c: 83 ca 10 or $0x10,%edx
8010796f: 88 90 8d 00 00 00 mov %dl,0x8d(%eax)
80107975: 8b 45 f4 mov -0xc(%ebp),%eax
80107978: 0f b6 90 8d 00 00 00 movzbl 0x8d(%eax),%edx
8010797f: 83 e2 9f and $0xffffff9f,%edx
80107982: 88 90 8d 00 00 00 mov %dl,0x8d(%eax)
80107988: 8b 45 f4 mov -0xc(%ebp),%eax
8010798b: 0f b6 90 8d 00 00 00 movzbl 0x8d(%eax),%edx
80107992: 83 ca 80 or $0xffffff80,%edx
80107995: 88 90 8d 00 00 00 mov %dl,0x8d(%eax)
8010799b: 8b 45 f4 mov -0xc(%ebp),%eax
8010799e: 0f b6 90 8e 00 00 00 movzbl 0x8e(%eax),%edx
801079a5: 83 e2 f0 and $0xfffffff0,%edx
801079a8: 88 90 8e 00 00 00 mov %dl,0x8e(%eax)
801079ae: 8b 45 f4 mov -0xc(%ebp),%eax
801079b1: 0f b6 90 8e 00 00 00 movzbl 0x8e(%eax),%edx
801079b8: 83 e2 ef and $0xffffffef,%edx
801079bb: 88 90 8e 00 00 00 mov %dl,0x8e(%eax)
801079c1: 8b 45 f4 mov -0xc(%ebp),%eax
801079c4: 0f b6 90 8e 00 00 00 movzbl 0x8e(%eax),%edx
801079cb: 83 e2 df and $0xffffffdf,%edx
801079ce: 88 90 8e 00 00 00 mov %dl,0x8e(%eax)
801079d4: 8b 45 f4 mov -0xc(%ebp),%eax
801079d7: 0f b6 90 8e 00 00 00 movzbl 0x8e(%eax),%edx
801079de: 83 ca 40 or $0x40,%edx
801079e1: 88 90 8e 00 00 00 mov %dl,0x8e(%eax)
801079e7: 8b 45 f4 mov -0xc(%ebp),%eax
801079ea: 0f b6 90 8e 00 00 00 movzbl 0x8e(%eax),%edx
801079f1: 83 ca 80 or $0xffffff80,%edx
801079f4: 88 90 8e 00 00 00 mov %dl,0x8e(%eax)
801079fa: 8b 45 f4 mov -0xc(%ebp),%eax
801079fd: 88 88 8f 00 00 00 mov %cl,0x8f(%eax)
lgdt(c->gdt, sizeof(c->gdt));
80107a03: 8b 45 f4 mov -0xc(%ebp),%eax
80107a06: 83 c0 70 add $0x70,%eax
80107a09: 83 ec 08 sub $0x8,%esp
80107a0c: 6a 38 push $0x38
80107a0e: 50 push %eax
80107a0f: e8 38 fb ff ff call 8010754c <lgdt>
80107a14: 83 c4 10 add $0x10,%esp
loadgs(SEG_KCPU << 3);
80107a17: 83 ec 0c sub $0xc,%esp
80107a1a: 6a 18 push $0x18
80107a1c: e8 6c fb ff ff call 8010758d <loadgs>
80107a21: 83 c4 10 add $0x10,%esp
// Initialize cpu-local storage.
cpu = c;
80107a24: 8b 45 f4 mov -0xc(%ebp),%eax
80107a27: 65 a3 00 00 00 00 mov %eax,%gs:0x0
proc = 0;
80107a2d: 65 c7 05 04 00 00 00 movl $0x0,%gs:0x4
80107a34: 00 00 00 00
}
80107a38: 90 nop
80107a39: 8b 5d fc mov -0x4(%ebp),%ebx
80107a3c: c9 leave
80107a3d: c3 ret
80107a3e <walkpgdir>:
// Return the address of the PTE in page table pgdir
// that corresponds to virtual address va. If alloc!=0,
// create any required page table pages.
static pte_t *
walkpgdir(pde_t *pgdir, const void *va, int alloc)
{
80107a3e: 55 push %ebp
80107a3f: 89 e5 mov %esp,%ebp
80107a41: 83 ec 18 sub $0x18,%esp
pde_t *pde;
pte_t *pgtab;
pde = &pgdir[PDX(va)];
80107a44: 8b 45 0c mov 0xc(%ebp),%eax
80107a47: c1 e8 16 shr $0x16,%eax
80107a4a: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80107a51: 8b 45 08 mov 0x8(%ebp),%eax
80107a54: 01 d0 add %edx,%eax
80107a56: 89 45 f0 mov %eax,-0x10(%ebp)
if(*pde & PTE_P){
80107a59: 8b 45 f0 mov -0x10(%ebp),%eax
80107a5c: 8b 00 mov (%eax),%eax
80107a5e: 83 e0 01 and $0x1,%eax
80107a61: 85 c0 test %eax,%eax
80107a63: 74 18 je 80107a7d <walkpgdir+0x3f>
pgtab = (pte_t*)p2v(PTE_ADDR(*pde));
80107a65: 8b 45 f0 mov -0x10(%ebp),%eax
80107a68: 8b 00 mov (%eax),%eax
80107a6a: 25 00 f0 ff ff and $0xfffff000,%eax
80107a6f: 50 push %eax
80107a70: e8 47 fb ff ff call 801075bc <p2v>
80107a75: 83 c4 04 add $0x4,%esp
80107a78: 89 45 f4 mov %eax,-0xc(%ebp)
80107a7b: eb 48 jmp 80107ac5 <walkpgdir+0x87>
} else {
if(!alloc || (pgtab = (pte_t*)kalloc()) == 0)
80107a7d: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
80107a81: 74 0e je 80107a91 <walkpgdir+0x53>
80107a83: e8 48 b3 ff ff call 80102dd0 <kalloc>
80107a88: 89 45 f4 mov %eax,-0xc(%ebp)
80107a8b: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
80107a8f: 75 07 jne 80107a98 <walkpgdir+0x5a>
return 0;
80107a91: b8 00 00 00 00 mov $0x0,%eax
80107a96: eb 44 jmp 80107adc <walkpgdir+0x9e>
// Make sure all those PTE_P bits are zero.
memset(pgtab, 0, PGSIZE);
80107a98: 83 ec 04 sub $0x4,%esp
80107a9b: 68 00 10 00 00 push $0x1000
80107aa0: 6a 00 push $0x0
80107aa2: ff 75 f4 pushl -0xc(%ebp)
80107aa5: e8 8b d5 ff ff call 80105035 <memset>
80107aaa: 83 c4 10 add $0x10,%esp
// The permissions here are overly generous, but they can
// be further restricted by the permissions in the page table
// entries, if necessary.
*pde = v2p(pgtab) | PTE_P | PTE_W | PTE_U;
80107aad: 83 ec 0c sub $0xc,%esp
80107ab0: ff 75 f4 pushl -0xc(%ebp)
80107ab3: e8 f7 fa ff ff call 801075af <v2p>
80107ab8: 83 c4 10 add $0x10,%esp
80107abb: 83 c8 07 or $0x7,%eax
80107abe: 89 c2 mov %eax,%edx
80107ac0: 8b 45 f0 mov -0x10(%ebp),%eax
80107ac3: 89 10 mov %edx,(%eax)
}
return &pgtab[PTX(va)];
80107ac5: 8b 45 0c mov 0xc(%ebp),%eax
80107ac8: c1 e8 0c shr $0xc,%eax
80107acb: 25 ff 03 00 00 and $0x3ff,%eax
80107ad0: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
80107ad7: 8b 45 f4 mov -0xc(%ebp),%eax
80107ada: 01 d0 add %edx,%eax
}
80107adc: c9 leave
80107add: c3 ret
80107ade <mappages>:
// Create PTEs for virtual addresses starting at va that refer to
// physical addresses starting at pa. va and size might not
// be page-aligned.
static int
mappages(pde_t *pgdir, void *va, uint size, uint pa, int perm)
{
80107ade: 55 push %ebp
80107adf: 89 e5 mov %esp,%ebp
80107ae1: 83 ec 18 sub $0x18,%esp
char *a, *last;
pte_t *pte;
a = (char*)PGROUNDDOWN((uint)va);
80107ae4: 8b 45 0c mov 0xc(%ebp),%eax
80107ae7: 25 00 f0 ff ff and $0xfffff000,%eax
80107aec: 89 45 f4 mov %eax,-0xc(%ebp)
last = (char*)PGROUNDDOWN(((uint)va) + size - 1);
80107aef: 8b 55 0c mov 0xc(%ebp),%edx
80107af2: 8b 45 10 mov 0x10(%ebp),%eax
80107af5: 01 d0 add %edx,%eax
80107af7: 83 e8 01 sub $0x1,%eax
80107afa: 25 00 f0 ff ff and $0xfffff000,%eax
80107aff: 89 45 f0 mov %eax,-0x10(%ebp)
for(;;){
if((pte = walkpgdir(pgdir, a, 1)) == 0)
80107b02: 83 ec 04 sub $0x4,%esp
80107b05: 6a 01 push $0x1
80107b07: ff 75 f4 pushl -0xc(%ebp)
80107b0a: ff 75 08 pushl 0x8(%ebp)
80107b0d: e8 2c ff ff ff call 80107a3e <walkpgdir>
80107b12: 83 c4 10 add $0x10,%esp
80107b15: 89 45 ec mov %eax,-0x14(%ebp)
80107b18: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
80107b1c: 75 07 jne 80107b25 <mappages+0x47>
return -1;
80107b1e: b8 ff ff ff ff mov $0xffffffff,%eax
80107b23: eb 47 jmp 80107b6c <mappages+0x8e>
if(*pte & PTE_P)
80107b25: 8b 45 ec mov -0x14(%ebp),%eax
80107b28: 8b 00 mov (%eax),%eax
80107b2a: 83 e0 01 and $0x1,%eax
80107b2d: 85 c0 test %eax,%eax
80107b2f: 74 0d je 80107b3e <mappages+0x60>
panic("remap");
80107b31: 83 ec 0c sub $0xc,%esp
80107b34: 68 14 89 10 80 push $0x80108914
80107b39: e8 28 8a ff ff call 80100566 <panic>
*pte = pa | perm | PTE_P;
80107b3e: 8b 45 18 mov 0x18(%ebp),%eax
80107b41: 0b 45 14 or 0x14(%ebp),%eax
80107b44: 83 c8 01 or $0x1,%eax
80107b47: 89 c2 mov %eax,%edx
80107b49: 8b 45 ec mov -0x14(%ebp),%eax
80107b4c: 89 10 mov %edx,(%eax)
if(a == last)
80107b4e: 8b 45 f4 mov -0xc(%ebp),%eax
80107b51: 3b 45 f0 cmp -0x10(%ebp),%eax
80107b54: 74 10 je 80107b66 <mappages+0x88>
break;
a += PGSIZE;
80107b56: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
pa += PGSIZE;
80107b5d: 81 45 14 00 10 00 00 addl $0x1000,0x14(%ebp)
}
80107b64: eb 9c jmp 80107b02 <mappages+0x24>
return -1;
if(*pte & PTE_P)
panic("remap");
*pte = pa | perm | PTE_P;
if(a == last)
break;
80107b66: 90 nop
a += PGSIZE;
pa += PGSIZE;
}
return 0;
80107b67: b8 00 00 00 00 mov $0x0,%eax
}
80107b6c: c9 leave
80107b6d: c3 ret
80107b6e <setupkvm>:
};
// Set up kernel part of a page table.
pde_t*
setupkvm(void)
{
80107b6e: 55 push %ebp
80107b6f: 89 e5 mov %esp,%ebp
80107b71: 53 push %ebx
80107b72: 83 ec 14 sub $0x14,%esp
pde_t *pgdir;
struct kmap *k;
if((pgdir = (pde_t*)kalloc()) == 0)
80107b75: e8 56 b2 ff ff call 80102dd0 <kalloc>
80107b7a: 89 45 f0 mov %eax,-0x10(%ebp)
80107b7d: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80107b81: 75 0a jne 80107b8d <setupkvm+0x1f>
return 0;
80107b83: b8 00 00 00 00 mov $0x0,%eax
80107b88: e9 8e 00 00 00 jmp 80107c1b <setupkvm+0xad>
memset(pgdir, 0, PGSIZE);
80107b8d: 83 ec 04 sub $0x4,%esp
80107b90: 68 00 10 00 00 push $0x1000
80107b95: 6a 00 push $0x0
80107b97: ff 75 f0 pushl -0x10(%ebp)
80107b9a: e8 96 d4 ff ff call 80105035 <memset>
80107b9f: 83 c4 10 add $0x10,%esp
if (p2v(PHYSTOP) > (void*)DEVSPACE)
80107ba2: 83 ec 0c sub $0xc,%esp
80107ba5: 68 00 00 00 0e push $0xe000000
80107baa: e8 0d fa ff ff call 801075bc <p2v>
80107baf: 83 c4 10 add $0x10,%esp
80107bb2: 3d 00 00 00 fe cmp $0xfe000000,%eax
80107bb7: 76 0d jbe 80107bc6 <setupkvm+0x58>
panic("PHYSTOP too high");
80107bb9: 83 ec 0c sub $0xc,%esp
80107bbc: 68 1a 89 10 80 push $0x8010891a
80107bc1: e8 a0 89 ff ff call 80100566 <panic>
for(k = kmap; k < &kmap[NELEM(kmap)]; k++)
80107bc6: c7 45 f4 c0 b4 10 80 movl $0x8010b4c0,-0xc(%ebp)
80107bcd: eb 40 jmp 80107c0f <setupkvm+0xa1>
if(mappages(pgdir, k->virt, k->phys_end - k->phys_start,
80107bcf: 8b 45 f4 mov -0xc(%ebp),%eax
80107bd2: 8b 48 0c mov 0xc(%eax),%ecx
(uint)k->phys_start, k->perm) < 0)
80107bd5: 8b 45 f4 mov -0xc(%ebp),%eax
80107bd8: 8b 50 04 mov 0x4(%eax),%edx
return 0;
memset(pgdir, 0, PGSIZE);
if (p2v(PHYSTOP) > (void*)DEVSPACE)
panic("PHYSTOP too high");
for(k = kmap; k < &kmap[NELEM(kmap)]; k++)
if(mappages(pgdir, k->virt, k->phys_end - k->phys_start,
80107bdb: 8b 45 f4 mov -0xc(%ebp),%eax
80107bde: 8b 58 08 mov 0x8(%eax),%ebx
80107be1: 8b 45 f4 mov -0xc(%ebp),%eax
80107be4: 8b 40 04 mov 0x4(%eax),%eax
80107be7: 29 c3 sub %eax,%ebx
80107be9: 8b 45 f4 mov -0xc(%ebp),%eax
80107bec: 8b 00 mov (%eax),%eax
80107bee: 83 ec 0c sub $0xc,%esp
80107bf1: 51 push %ecx
80107bf2: 52 push %edx
80107bf3: 53 push %ebx
80107bf4: 50 push %eax
80107bf5: ff 75 f0 pushl -0x10(%ebp)
80107bf8: e8 e1 fe ff ff call 80107ade <mappages>
80107bfd: 83 c4 20 add $0x20,%esp
80107c00: 85 c0 test %eax,%eax
80107c02: 79 07 jns 80107c0b <setupkvm+0x9d>
(uint)k->phys_start, k->perm) < 0)
return 0;
80107c04: b8 00 00 00 00 mov $0x0,%eax
80107c09: eb 10 jmp 80107c1b <setupkvm+0xad>
if((pgdir = (pde_t*)kalloc()) == 0)
return 0;
memset(pgdir, 0, PGSIZE);
if (p2v(PHYSTOP) > (void*)DEVSPACE)
panic("PHYSTOP too high");
for(k = kmap; k < &kmap[NELEM(kmap)]; k++)
80107c0b: 83 45 f4 10 addl $0x10,-0xc(%ebp)
80107c0f: 81 7d f4 00 b5 10 80 cmpl $0x8010b500,-0xc(%ebp)
80107c16: 72 b7 jb 80107bcf <setupkvm+0x61>
if(mappages(pgdir, k->virt, k->phys_end - k->phys_start,
(uint)k->phys_start, k->perm) < 0)
return 0;
return pgdir;
80107c18: 8b 45 f0 mov -0x10(%ebp),%eax
}
80107c1b: 8b 5d fc mov -0x4(%ebp),%ebx
80107c1e: c9 leave
80107c1f: c3 ret
80107c20 <kvmalloc>:
// Allocate one page table for the machine for the kernel address
// space for scheduler processes.
void
kvmalloc(void)
{
80107c20: 55 push %ebp
80107c21: 89 e5 mov %esp,%ebp
80107c23: 83 ec 08 sub $0x8,%esp
kpgdir = setupkvm();
80107c26: e8 43 ff ff ff call 80107b6e <setupkvm>
80107c2b: a3 18 27 11 80 mov %eax,0x80112718
switchkvm();
80107c30: e8 03 00 00 00 call 80107c38 <switchkvm>
}
80107c35: 90 nop
80107c36: c9 leave
80107c37: c3 ret
80107c38 <switchkvm>:
// Switch h/w page table register to the kernel-only page table,
// for when no process is running.
void
switchkvm(void)
{
80107c38: 55 push %ebp
80107c39: 89 e5 mov %esp,%ebp
lcr3(v2p(kpgdir)); // switch to the kernel page table
80107c3b: a1 18 27 11 80 mov 0x80112718,%eax
80107c40: 50 push %eax
80107c41: e8 69 f9 ff ff call 801075af <v2p>
80107c46: 83 c4 04 add $0x4,%esp
80107c49: 50 push %eax
80107c4a: e8 54 f9 ff ff call 801075a3 <lcr3>
80107c4f: 83 c4 04 add $0x4,%esp
}
80107c52: 90 nop
80107c53: c9 leave
80107c54: c3 ret
80107c55 <switchuvm>:
// Switch TSS and h/w page table to correspond to process p.
void
switchuvm(struct proc *p)
{
80107c55: 55 push %ebp
80107c56: 89 e5 mov %esp,%ebp
80107c58: 56 push %esi
80107c59: 53 push %ebx
pushcli();
80107c5a: e8 d0 d2 ff ff call 80104f2f <pushcli>
cpu->gdt[SEG_TSS] = SEG16(STS_T32A, &cpu->ts, sizeof(cpu->ts)-1, 0);
80107c5f: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80107c65: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
80107c6c: 83 c2 08 add $0x8,%edx
80107c6f: 89 d6 mov %edx,%esi
80107c71: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
80107c78: 83 c2 08 add $0x8,%edx
80107c7b: c1 ea 10 shr $0x10,%edx
80107c7e: 89 d3 mov %edx,%ebx
80107c80: 65 8b 15 00 00 00 00 mov %gs:0x0,%edx
80107c87: 83 c2 08 add $0x8,%edx
80107c8a: c1 ea 18 shr $0x18,%edx
80107c8d: 89 d1 mov %edx,%ecx
80107c8f: 66 c7 80 a0 00 00 00 movw $0x67,0xa0(%eax)
80107c96: 67 00
80107c98: 66 89 b0 a2 00 00 00 mov %si,0xa2(%eax)
80107c9f: 88 98 a4 00 00 00 mov %bl,0xa4(%eax)
80107ca5: 0f b6 90 a5 00 00 00 movzbl 0xa5(%eax),%edx
80107cac: 83 e2 f0 and $0xfffffff0,%edx
80107caf: 83 ca 09 or $0x9,%edx
80107cb2: 88 90 a5 00 00 00 mov %dl,0xa5(%eax)
80107cb8: 0f b6 90 a5 00 00 00 movzbl 0xa5(%eax),%edx
80107cbf: 83 ca 10 or $0x10,%edx
80107cc2: 88 90 a5 00 00 00 mov %dl,0xa5(%eax)
80107cc8: 0f b6 90 a5 00 00 00 movzbl 0xa5(%eax),%edx
80107ccf: 83 e2 9f and $0xffffff9f,%edx
80107cd2: 88 90 a5 00 00 00 mov %dl,0xa5(%eax)
80107cd8: 0f b6 90 a5 00 00 00 movzbl 0xa5(%eax),%edx
80107cdf: 83 ca 80 or $0xffffff80,%edx
80107ce2: 88 90 a5 00 00 00 mov %dl,0xa5(%eax)
80107ce8: 0f b6 90 a6 00 00 00 movzbl 0xa6(%eax),%edx
80107cef: 83 e2 f0 and $0xfffffff0,%edx
80107cf2: 88 90 a6 00 00 00 mov %dl,0xa6(%eax)
80107cf8: 0f b6 90 a6 00 00 00 movzbl 0xa6(%eax),%edx
80107cff: 83 e2 ef and $0xffffffef,%edx
80107d02: 88 90 a6 00 00 00 mov %dl,0xa6(%eax)
80107d08: 0f b6 90 a6 00 00 00 movzbl 0xa6(%eax),%edx
80107d0f: 83 e2 df and $0xffffffdf,%edx
80107d12: 88 90 a6 00 00 00 mov %dl,0xa6(%eax)
80107d18: 0f b6 90 a6 00 00 00 movzbl 0xa6(%eax),%edx
80107d1f: 83 ca 40 or $0x40,%edx
80107d22: 88 90 a6 00 00 00 mov %dl,0xa6(%eax)
80107d28: 0f b6 90 a6 00 00 00 movzbl 0xa6(%eax),%edx
80107d2f: 83 e2 7f and $0x7f,%edx
80107d32: 88 90 a6 00 00 00 mov %dl,0xa6(%eax)
80107d38: 88 88 a7 00 00 00 mov %cl,0xa7(%eax)
cpu->gdt[SEG_TSS].s = 0;
80107d3e: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80107d44: 0f b6 90 a5 00 00 00 movzbl 0xa5(%eax),%edx
80107d4b: 83 e2 ef and $0xffffffef,%edx
80107d4e: 88 90 a5 00 00 00 mov %dl,0xa5(%eax)
cpu->ts.ss0 = SEG_KDATA << 3;
80107d54: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80107d5a: 66 c7 40 10 10 00 movw $0x10,0x10(%eax)
cpu->ts.esp0 = (uint)proc->kstack + KSTACKSIZE;
80107d60: 65 a1 00 00 00 00 mov %gs:0x0,%eax
80107d66: 65 8b 15 04 00 00 00 mov %gs:0x4,%edx
80107d6d: 8b 52 08 mov 0x8(%edx),%edx
80107d70: 81 c2 00 10 00 00 add $0x1000,%edx
80107d76: 89 50 0c mov %edx,0xc(%eax)
ltr(SEG_TSS << 3);
80107d79: 83 ec 0c sub $0xc,%esp
80107d7c: 6a 30 push $0x30
80107d7e: e8 f3 f7 ff ff call 80107576 <ltr>
80107d83: 83 c4 10 add $0x10,%esp
if(p->pgdir == 0)
80107d86: 8b 45 08 mov 0x8(%ebp),%eax
80107d89: 8b 40 04 mov 0x4(%eax),%eax
80107d8c: 85 c0 test %eax,%eax
80107d8e: 75 0d jne 80107d9d <switchuvm+0x148>
panic("switchuvm: no pgdir");
80107d90: 83 ec 0c sub $0xc,%esp
80107d93: 68 2b 89 10 80 push $0x8010892b
80107d98: e8 c9 87 ff ff call 80100566 <panic>
lcr3(v2p(p->pgdir)); // switch to new address space
80107d9d: 8b 45 08 mov 0x8(%ebp),%eax
80107da0: 8b 40 04 mov 0x4(%eax),%eax
80107da3: 83 ec 0c sub $0xc,%esp
80107da6: 50 push %eax
80107da7: e8 03 f8 ff ff call 801075af <v2p>
80107dac: 83 c4 10 add $0x10,%esp
80107daf: 83 ec 0c sub $0xc,%esp
80107db2: 50 push %eax
80107db3: e8 eb f7 ff ff call 801075a3 <lcr3>
80107db8: 83 c4 10 add $0x10,%esp
popcli();
80107dbb: e8 b4 d1 ff ff call 80104f74 <popcli>
}
80107dc0: 90 nop
80107dc1: 8d 65 f8 lea -0x8(%ebp),%esp
80107dc4: 5b pop %ebx
80107dc5: 5e pop %esi
80107dc6: 5d pop %ebp
80107dc7: c3 ret
80107dc8 <inituvm>:
// Load the initcode into address 0 of pgdir.
// sz must be less than a page.
void
inituvm(pde_t *pgdir, char *init, uint sz)
{
80107dc8: 55 push %ebp
80107dc9: 89 e5 mov %esp,%ebp
80107dcb: 83 ec 18 sub $0x18,%esp
char *mem;
if(sz >= PGSIZE)
80107dce: 81 7d 10 ff 0f 00 00 cmpl $0xfff,0x10(%ebp)
80107dd5: 76 0d jbe 80107de4 <inituvm+0x1c>
panic("inituvm: more than a page");
80107dd7: 83 ec 0c sub $0xc,%esp
80107dda: 68 3f 89 10 80 push $0x8010893f
80107ddf: e8 82 87 ff ff call 80100566 <panic>
mem = kalloc();
80107de4: e8 e7 af ff ff call 80102dd0 <kalloc>
80107de9: 89 45 f4 mov %eax,-0xc(%ebp)
memset(mem, 0, PGSIZE);
80107dec: 83 ec 04 sub $0x4,%esp
80107def: 68 00 10 00 00 push $0x1000
80107df4: 6a 00 push $0x0
80107df6: ff 75 f4 pushl -0xc(%ebp)
80107df9: e8 37 d2 ff ff call 80105035 <memset>
80107dfe: 83 c4 10 add $0x10,%esp
mappages(pgdir, 0, PGSIZE, v2p(mem), PTE_W|PTE_U);
80107e01: 83 ec 0c sub $0xc,%esp
80107e04: ff 75 f4 pushl -0xc(%ebp)
80107e07: e8 a3 f7 ff ff call 801075af <v2p>
80107e0c: 83 c4 10 add $0x10,%esp
80107e0f: 83 ec 0c sub $0xc,%esp
80107e12: 6a 06 push $0x6
80107e14: 50 push %eax
80107e15: 68 00 10 00 00 push $0x1000
80107e1a: 6a 00 push $0x0
80107e1c: ff 75 08 pushl 0x8(%ebp)
80107e1f: e8 ba fc ff ff call 80107ade <mappages>
80107e24: 83 c4 20 add $0x20,%esp
memmove(mem, init, sz);
80107e27: 83 ec 04 sub $0x4,%esp
80107e2a: ff 75 10 pushl 0x10(%ebp)
80107e2d: ff 75 0c pushl 0xc(%ebp)
80107e30: ff 75 f4 pushl -0xc(%ebp)
80107e33: e8 bc d2 ff ff call 801050f4 <memmove>
80107e38: 83 c4 10 add $0x10,%esp
}
80107e3b: 90 nop
80107e3c: c9 leave
80107e3d: c3 ret
80107e3e <loaduvm>:
// Load a program segment into pgdir. addr must be page-aligned
// and the pages from addr to addr+sz must already be mapped.
int
loaduvm(pde_t *pgdir, char *addr, struct inode *ip, uint offset, uint sz)
{
80107e3e: 55 push %ebp
80107e3f: 89 e5 mov %esp,%ebp
80107e41: 53 push %ebx
80107e42: 83 ec 14 sub $0x14,%esp
uint i, pa, n;
pte_t *pte;
if((uint) addr % PGSIZE != 0)
80107e45: 8b 45 0c mov 0xc(%ebp),%eax
80107e48: 25 ff 0f 00 00 and $0xfff,%eax
80107e4d: 85 c0 test %eax,%eax
80107e4f: 74 0d je 80107e5e <loaduvm+0x20>
panic("loaduvm: addr must be page aligned");
80107e51: 83 ec 0c sub $0xc,%esp
80107e54: 68 5c 89 10 80 push $0x8010895c
80107e59: e8 08 87 ff ff call 80100566 <panic>
for(i = 0; i < sz; i += PGSIZE){
80107e5e: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
80107e65: e9 95 00 00 00 jmp 80107eff <loaduvm+0xc1>
if((pte = walkpgdir(pgdir, addr+i, 0)) == 0)
80107e6a: 8b 55 0c mov 0xc(%ebp),%edx
80107e6d: 8b 45 f4 mov -0xc(%ebp),%eax
80107e70: 01 d0 add %edx,%eax
80107e72: 83 ec 04 sub $0x4,%esp
80107e75: 6a 00 push $0x0
80107e77: 50 push %eax
80107e78: ff 75 08 pushl 0x8(%ebp)
80107e7b: e8 be fb ff ff call 80107a3e <walkpgdir>
80107e80: 83 c4 10 add $0x10,%esp
80107e83: 89 45 ec mov %eax,-0x14(%ebp)
80107e86: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
80107e8a: 75 0d jne 80107e99 <loaduvm+0x5b>
panic("loaduvm: address should exist");
80107e8c: 83 ec 0c sub $0xc,%esp
80107e8f: 68 7f 89 10 80 push $0x8010897f
80107e94: e8 cd 86 ff ff call 80100566 <panic>
pa = PTE_ADDR(*pte);
80107e99: 8b 45 ec mov -0x14(%ebp),%eax
80107e9c: 8b 00 mov (%eax),%eax
80107e9e: 25 00 f0 ff ff and $0xfffff000,%eax
80107ea3: 89 45 e8 mov %eax,-0x18(%ebp)
if(sz - i < PGSIZE)
80107ea6: 8b 45 18 mov 0x18(%ebp),%eax
80107ea9: 2b 45 f4 sub -0xc(%ebp),%eax
80107eac: 3d ff 0f 00 00 cmp $0xfff,%eax
80107eb1: 77 0b ja 80107ebe <loaduvm+0x80>
n = sz - i;
80107eb3: 8b 45 18 mov 0x18(%ebp),%eax
80107eb6: 2b 45 f4 sub -0xc(%ebp),%eax
80107eb9: 89 45 f0 mov %eax,-0x10(%ebp)
80107ebc: eb 07 jmp 80107ec5 <loaduvm+0x87>
else
n = PGSIZE;
80107ebe: c7 45 f0 00 10 00 00 movl $0x1000,-0x10(%ebp)
if(readi(ip, p2v(pa), offset+i, n) != n)
80107ec5: 8b 55 14 mov 0x14(%ebp),%edx
80107ec8: 8b 45 f4 mov -0xc(%ebp),%eax
80107ecb: 8d 1c 02 lea (%edx,%eax,1),%ebx
80107ece: 83 ec 0c sub $0xc,%esp
80107ed1: ff 75 e8 pushl -0x18(%ebp)
80107ed4: e8 e3 f6 ff ff call 801075bc <p2v>
80107ed9: 83 c4 10 add $0x10,%esp
80107edc: ff 75 f0 pushl -0x10(%ebp)
80107edf: 53 push %ebx
80107ee0: 50 push %eax
80107ee1: ff 75 10 pushl 0x10(%ebp)
80107ee4: e8 95 a1 ff ff call 8010207e <readi>
80107ee9: 83 c4 10 add $0x10,%esp
80107eec: 3b 45 f0 cmp -0x10(%ebp),%eax
80107eef: 74 07 je 80107ef8 <loaduvm+0xba>
return -1;
80107ef1: b8 ff ff ff ff mov $0xffffffff,%eax
80107ef6: eb 18 jmp 80107f10 <loaduvm+0xd2>
uint i, pa, n;
pte_t *pte;
if((uint) addr % PGSIZE != 0)
panic("loaduvm: addr must be page aligned");
for(i = 0; i < sz; i += PGSIZE){
80107ef8: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
80107eff: 8b 45 f4 mov -0xc(%ebp),%eax
80107f02: 3b 45 18 cmp 0x18(%ebp),%eax
80107f05: 0f 82 5f ff ff ff jb 80107e6a <loaduvm+0x2c>
else
n = PGSIZE;
if(readi(ip, p2v(pa), offset+i, n) != n)
return -1;
}
return 0;
80107f0b: b8 00 00 00 00 mov $0x0,%eax
}
80107f10: 8b 5d fc mov -0x4(%ebp),%ebx
80107f13: c9 leave
80107f14: c3 ret
80107f15 <allocuvm>:
// Allocate page tables and physical memory to grow process from oldsz to
// newsz, which need not be page aligned. Returns new size or 0 on error.
int
allocuvm(pde_t *pgdir, uint oldsz, uint newsz)
{
80107f15: 55 push %ebp
80107f16: 89 e5 mov %esp,%ebp
80107f18: 83 ec 18 sub $0x18,%esp
char *mem;
uint a;
if(newsz >= KERNBASE)
80107f1b: 8b 45 10 mov 0x10(%ebp),%eax
80107f1e: 85 c0 test %eax,%eax
80107f20: 79 0a jns 80107f2c <allocuvm+0x17>
return 0;
80107f22: b8 00 00 00 00 mov $0x0,%eax
80107f27: e9 b0 00 00 00 jmp 80107fdc <allocuvm+0xc7>
if(newsz < oldsz)
80107f2c: 8b 45 10 mov 0x10(%ebp),%eax
80107f2f: 3b 45 0c cmp 0xc(%ebp),%eax
80107f32: 73 08 jae 80107f3c <allocuvm+0x27>
return oldsz;
80107f34: 8b 45 0c mov 0xc(%ebp),%eax
80107f37: e9 a0 00 00 00 jmp 80107fdc <allocuvm+0xc7>
a = PGROUNDUP(oldsz);
80107f3c: 8b 45 0c mov 0xc(%ebp),%eax
80107f3f: 05 ff 0f 00 00 add $0xfff,%eax
80107f44: 25 00 f0 ff ff and $0xfffff000,%eax
80107f49: 89 45 f4 mov %eax,-0xc(%ebp)
for(; a < newsz; a += PGSIZE){
80107f4c: eb 7f jmp 80107fcd <allocuvm+0xb8>
mem = kalloc();
80107f4e: e8 7d ae ff ff call 80102dd0 <kalloc>
80107f53: 89 45 f0 mov %eax,-0x10(%ebp)
if(mem == 0){
80107f56: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80107f5a: 75 2b jne 80107f87 <allocuvm+0x72>
cprintf("allocuvm out of memory\n");
80107f5c: 83 ec 0c sub $0xc,%esp
80107f5f: 68 9d 89 10 80 push $0x8010899d
80107f64: e8 5d 84 ff ff call 801003c6 <cprintf>
80107f69: 83 c4 10 add $0x10,%esp
deallocuvm(pgdir, newsz, oldsz);
80107f6c: 83 ec 04 sub $0x4,%esp
80107f6f: ff 75 0c pushl 0xc(%ebp)
80107f72: ff 75 10 pushl 0x10(%ebp)
80107f75: ff 75 08 pushl 0x8(%ebp)
80107f78: e8 61 00 00 00 call 80107fde <deallocuvm>
80107f7d: 83 c4 10 add $0x10,%esp
return 0;
80107f80: b8 00 00 00 00 mov $0x0,%eax
80107f85: eb 55 jmp 80107fdc <allocuvm+0xc7>
}
memset(mem, 0, PGSIZE);
80107f87: 83 ec 04 sub $0x4,%esp
80107f8a: 68 00 10 00 00 push $0x1000
80107f8f: 6a 00 push $0x0
80107f91: ff 75 f0 pushl -0x10(%ebp)
80107f94: e8 9c d0 ff ff call 80105035 <memset>
80107f99: 83 c4 10 add $0x10,%esp
mappages(pgdir, (char*)a, PGSIZE, v2p(mem), PTE_W|PTE_U);
80107f9c: 83 ec 0c sub $0xc,%esp
80107f9f: ff 75 f0 pushl -0x10(%ebp)
80107fa2: e8 08 f6 ff ff call 801075af <v2p>
80107fa7: 83 c4 10 add $0x10,%esp
80107faa: 89 c2 mov %eax,%edx
80107fac: 8b 45 f4 mov -0xc(%ebp),%eax
80107faf: 83 ec 0c sub $0xc,%esp
80107fb2: 6a 06 push $0x6
80107fb4: 52 push %edx
80107fb5: 68 00 10 00 00 push $0x1000
80107fba: 50 push %eax
80107fbb: ff 75 08 pushl 0x8(%ebp)
80107fbe: e8 1b fb ff ff call 80107ade <mappages>
80107fc3: 83 c4 20 add $0x20,%esp
return 0;
if(newsz < oldsz)
return oldsz;
a = PGROUNDUP(oldsz);
for(; a < newsz; a += PGSIZE){
80107fc6: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
80107fcd: 8b 45 f4 mov -0xc(%ebp),%eax
80107fd0: 3b 45 10 cmp 0x10(%ebp),%eax
80107fd3: 0f 82 75 ff ff ff jb 80107f4e <allocuvm+0x39>
return 0;
}
memset(mem, 0, PGSIZE);
mappages(pgdir, (char*)a, PGSIZE, v2p(mem), PTE_W|PTE_U);
}
return newsz;
80107fd9: 8b 45 10 mov 0x10(%ebp),%eax
}
80107fdc: c9 leave
80107fdd: c3 ret
80107fde <deallocuvm>:
// newsz. oldsz and newsz need not be page-aligned, nor does newsz
// need to be less than oldsz. oldsz can be larger than the actual
// process size. Returns the new process size.
int
deallocuvm(pde_t *pgdir, uint oldsz, uint newsz)
{
80107fde: 55 push %ebp
80107fdf: 89 e5 mov %esp,%ebp
80107fe1: 83 ec 18 sub $0x18,%esp
pte_t *pte;
uint a, pa;
if(newsz >= oldsz)
80107fe4: 8b 45 10 mov 0x10(%ebp),%eax
80107fe7: 3b 45 0c cmp 0xc(%ebp),%eax
80107fea: 72 08 jb 80107ff4 <deallocuvm+0x16>
return oldsz;
80107fec: 8b 45 0c mov 0xc(%ebp),%eax
80107fef: e9 a5 00 00 00 jmp 80108099 <deallocuvm+0xbb>
a = PGROUNDUP(newsz);
80107ff4: 8b 45 10 mov 0x10(%ebp),%eax
80107ff7: 05 ff 0f 00 00 add $0xfff,%eax
80107ffc: 25 00 f0 ff ff and $0xfffff000,%eax
80108001: 89 45 f4 mov %eax,-0xc(%ebp)
for(; a < oldsz; a += PGSIZE){
80108004: e9 81 00 00 00 jmp 8010808a <deallocuvm+0xac>
pte = walkpgdir(pgdir, (char*)a, 0);
80108009: 8b 45 f4 mov -0xc(%ebp),%eax
8010800c: 83 ec 04 sub $0x4,%esp
8010800f: 6a 00 push $0x0
80108011: 50 push %eax
80108012: ff 75 08 pushl 0x8(%ebp)
80108015: e8 24 fa ff ff call 80107a3e <walkpgdir>
8010801a: 83 c4 10 add $0x10,%esp
8010801d: 89 45 f0 mov %eax,-0x10(%ebp)
if(!pte)
80108020: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
80108024: 75 09 jne 8010802f <deallocuvm+0x51>
a += (NPTENTRIES - 1) * PGSIZE;
80108026: 81 45 f4 00 f0 3f 00 addl $0x3ff000,-0xc(%ebp)
8010802d: eb 54 jmp 80108083 <deallocuvm+0xa5>
else if((*pte & PTE_P) != 0){
8010802f: 8b 45 f0 mov -0x10(%ebp),%eax
80108032: 8b 00 mov (%eax),%eax
80108034: 83 e0 01 and $0x1,%eax
80108037: 85 c0 test %eax,%eax
80108039: 74 48 je 80108083 <deallocuvm+0xa5>
pa = PTE_ADDR(*pte);
8010803b: 8b 45 f0 mov -0x10(%ebp),%eax
8010803e: 8b 00 mov (%eax),%eax
80108040: 25 00 f0 ff ff and $0xfffff000,%eax
80108045: 89 45 ec mov %eax,-0x14(%ebp)
if(pa == 0)
80108048: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
8010804c: 75 0d jne 8010805b <deallocuvm+0x7d>
panic("kfree");
8010804e: 83 ec 0c sub $0xc,%esp
80108051: 68 b5 89 10 80 push $0x801089b5
80108056: e8 0b 85 ff ff call 80100566 <panic>
char *v = p2v(pa);
8010805b: 83 ec 0c sub $0xc,%esp
8010805e: ff 75 ec pushl -0x14(%ebp)
80108061: e8 56 f5 ff ff call 801075bc <p2v>
80108066: 83 c4 10 add $0x10,%esp
80108069: 89 45 e8 mov %eax,-0x18(%ebp)
kfree(v);
8010806c: 83 ec 0c sub $0xc,%esp
8010806f: ff 75 e8 pushl -0x18(%ebp)
80108072: e8 bc ac ff ff call 80102d33 <kfree>
80108077: 83 c4 10 add $0x10,%esp
*pte = 0;
8010807a: 8b 45 f0 mov -0x10(%ebp),%eax
8010807d: c7 00 00 00 00 00 movl $0x0,(%eax)
if(newsz >= oldsz)
return oldsz;
a = PGROUNDUP(newsz);
for(; a < oldsz; a += PGSIZE){
80108083: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
8010808a: 8b 45 f4 mov -0xc(%ebp),%eax
8010808d: 3b 45 0c cmp 0xc(%ebp),%eax
80108090: 0f 82 73 ff ff ff jb 80108009 <deallocuvm+0x2b>
char *v = p2v(pa);
kfree(v);
*pte = 0;
}
}
return newsz;
80108096: 8b 45 10 mov 0x10(%ebp),%eax
}
80108099: c9 leave
8010809a: c3 ret
8010809b <freevm>:
// Free a page table and all the physical memory pages
// in the user part.
void
freevm(pde_t *pgdir)
{
8010809b: 55 push %ebp
8010809c: 89 e5 mov %esp,%ebp
8010809e: 83 ec 18 sub $0x18,%esp
uint i;
if(pgdir == 0)
801080a1: 83 7d 08 00 cmpl $0x0,0x8(%ebp)
801080a5: 75 0d jne 801080b4 <freevm+0x19>
panic("freevm: no pgdir");
801080a7: 83 ec 0c sub $0xc,%esp
801080aa: 68 bb 89 10 80 push $0x801089bb
801080af: e8 b2 84 ff ff call 80100566 <panic>
deallocuvm(pgdir, KERNBASE, 0);
801080b4: 83 ec 04 sub $0x4,%esp
801080b7: 6a 00 push $0x0
801080b9: 68 00 00 00 80 push $0x80000000
801080be: ff 75 08 pushl 0x8(%ebp)
801080c1: e8 18 ff ff ff call 80107fde <deallocuvm>
801080c6: 83 c4 10 add $0x10,%esp
for(i = 0; i < NPDENTRIES; i++){
801080c9: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801080d0: eb 4f jmp 80108121 <freevm+0x86>
if(pgdir[i] & PTE_P){
801080d2: 8b 45 f4 mov -0xc(%ebp),%eax
801080d5: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
801080dc: 8b 45 08 mov 0x8(%ebp),%eax
801080df: 01 d0 add %edx,%eax
801080e1: 8b 00 mov (%eax),%eax
801080e3: 83 e0 01 and $0x1,%eax
801080e6: 85 c0 test %eax,%eax
801080e8: 74 33 je 8010811d <freevm+0x82>
char * v = p2v(PTE_ADDR(pgdir[i]));
801080ea: 8b 45 f4 mov -0xc(%ebp),%eax
801080ed: 8d 14 85 00 00 00 00 lea 0x0(,%eax,4),%edx
801080f4: 8b 45 08 mov 0x8(%ebp),%eax
801080f7: 01 d0 add %edx,%eax
801080f9: 8b 00 mov (%eax),%eax
801080fb: 25 00 f0 ff ff and $0xfffff000,%eax
80108100: 83 ec 0c sub $0xc,%esp
80108103: 50 push %eax
80108104: e8 b3 f4 ff ff call 801075bc <p2v>
80108109: 83 c4 10 add $0x10,%esp
8010810c: 89 45 f0 mov %eax,-0x10(%ebp)
kfree(v);
8010810f: 83 ec 0c sub $0xc,%esp
80108112: ff 75 f0 pushl -0x10(%ebp)
80108115: e8 19 ac ff ff call 80102d33 <kfree>
8010811a: 83 c4 10 add $0x10,%esp
uint i;
if(pgdir == 0)
panic("freevm: no pgdir");
deallocuvm(pgdir, KERNBASE, 0);
for(i = 0; i < NPDENTRIES; i++){
8010811d: 83 45 f4 01 addl $0x1,-0xc(%ebp)
80108121: 81 7d f4 ff 03 00 00 cmpl $0x3ff,-0xc(%ebp)
80108128: 76 a8 jbe 801080d2 <freevm+0x37>
if(pgdir[i] & PTE_P){
char * v = p2v(PTE_ADDR(pgdir[i]));
kfree(v);
}
}
kfree((char*)pgdir);
8010812a: 83 ec 0c sub $0xc,%esp
8010812d: ff 75 08 pushl 0x8(%ebp)
80108130: e8 fe ab ff ff call 80102d33 <kfree>
80108135: 83 c4 10 add $0x10,%esp
}
80108138: 90 nop
80108139: c9 leave
8010813a: c3 ret
8010813b <clearpteu>:
// Clear PTE_U on a page. Used to create an inaccessible
// page beneath the user stack.
void
clearpteu(pde_t *pgdir, char *uva)
{
8010813b: 55 push %ebp
8010813c: 89 e5 mov %esp,%ebp
8010813e: 83 ec 18 sub $0x18,%esp
pte_t *pte;
pte = walkpgdir(pgdir, uva, 0);
80108141: 83 ec 04 sub $0x4,%esp
80108144: 6a 00 push $0x0
80108146: ff 75 0c pushl 0xc(%ebp)
80108149: ff 75 08 pushl 0x8(%ebp)
8010814c: e8 ed f8 ff ff call 80107a3e <walkpgdir>
80108151: 83 c4 10 add $0x10,%esp
80108154: 89 45 f4 mov %eax,-0xc(%ebp)
if(pte == 0)
80108157: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
8010815b: 75 0d jne 8010816a <clearpteu+0x2f>
panic("clearpteu");
8010815d: 83 ec 0c sub $0xc,%esp
80108160: 68 cc 89 10 80 push $0x801089cc
80108165: e8 fc 83 ff ff call 80100566 <panic>
*pte &= ~PTE_U;
8010816a: 8b 45 f4 mov -0xc(%ebp),%eax
8010816d: 8b 00 mov (%eax),%eax
8010816f: 83 e0 fb and $0xfffffffb,%eax
80108172: 89 c2 mov %eax,%edx
80108174: 8b 45 f4 mov -0xc(%ebp),%eax
80108177: 89 10 mov %edx,(%eax)
}
80108179: 90 nop
8010817a: c9 leave
8010817b: c3 ret
8010817c <copyuvm>:
// Given a parent process's page table, create a copy
// of it for a child.
pde_t*
copyuvm(pde_t *pgdir, uint sz)
{
8010817c: 55 push %ebp
8010817d: 89 e5 mov %esp,%ebp
8010817f: 83 ec 28 sub $0x28,%esp
pde_t *d;
pte_t *pte;
uint pa, i;
char *mem;
if((d = setupkvm()) == 0)
80108182: e8 e7 f9 ff ff call 80107b6e <setupkvm>
80108187: 89 45 f0 mov %eax,-0x10(%ebp)
8010818a: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
8010818e: 75 0a jne 8010819a <copyuvm+0x1e>
return 0;
80108190: b8 00 00 00 00 mov $0x0,%eax
80108195: e9 e9 00 00 00 jmp 80108283 <copyuvm+0x107>
for(i = 0; i < sz; i += PGSIZE){
8010819a: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
801081a1: e9 b5 00 00 00 jmp 8010825b <copyuvm+0xdf>
if((pte = walkpgdir(pgdir, (void *) i, 0)) == 0)
801081a6: 8b 45 f4 mov -0xc(%ebp),%eax
801081a9: 83 ec 04 sub $0x4,%esp
801081ac: 6a 00 push $0x0
801081ae: 50 push %eax
801081af: ff 75 08 pushl 0x8(%ebp)
801081b2: e8 87 f8 ff ff call 80107a3e <walkpgdir>
801081b7: 83 c4 10 add $0x10,%esp
801081ba: 89 45 ec mov %eax,-0x14(%ebp)
801081bd: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
801081c1: 75 0d jne 801081d0 <copyuvm+0x54>
panic("copyuvm: pte should exist");
801081c3: 83 ec 0c sub $0xc,%esp
801081c6: 68 d6 89 10 80 push $0x801089d6
801081cb: e8 96 83 ff ff call 80100566 <panic>
if(!(*pte & PTE_P))
801081d0: 8b 45 ec mov -0x14(%ebp),%eax
801081d3: 8b 00 mov (%eax),%eax
801081d5: 83 e0 01 and $0x1,%eax
801081d8: 85 c0 test %eax,%eax
801081da: 75 0d jne 801081e9 <copyuvm+0x6d>
panic("copyuvm: page not present");
801081dc: 83 ec 0c sub $0xc,%esp
801081df: 68 f0 89 10 80 push $0x801089f0
801081e4: e8 7d 83 ff ff call 80100566 <panic>
pa = PTE_ADDR(*pte);
801081e9: 8b 45 ec mov -0x14(%ebp),%eax
801081ec: 8b 00 mov (%eax),%eax
801081ee: 25 00 f0 ff ff and $0xfffff000,%eax
801081f3: 89 45 e8 mov %eax,-0x18(%ebp)
if((mem = kalloc()) == 0)
801081f6: e8 d5 ab ff ff call 80102dd0 <kalloc>
801081fb: 89 45 e4 mov %eax,-0x1c(%ebp)
801081fe: 83 7d e4 00 cmpl $0x0,-0x1c(%ebp)
80108202: 74 68 je 8010826c <copyuvm+0xf0>
goto bad;
memmove(mem, (char*)p2v(pa), PGSIZE);
80108204: 83 ec 0c sub $0xc,%esp
80108207: ff 75 e8 pushl -0x18(%ebp)
8010820a: e8 ad f3 ff ff call 801075bc <p2v>
8010820f: 83 c4 10 add $0x10,%esp
80108212: 83 ec 04 sub $0x4,%esp
80108215: 68 00 10 00 00 push $0x1000
8010821a: 50 push %eax
8010821b: ff 75 e4 pushl -0x1c(%ebp)
8010821e: e8 d1 ce ff ff call 801050f4 <memmove>
80108223: 83 c4 10 add $0x10,%esp
if(mappages(d, (void*)i, PGSIZE, v2p(mem), PTE_W|PTE_U) < 0)
80108226: 83 ec 0c sub $0xc,%esp
80108229: ff 75 e4 pushl -0x1c(%ebp)
8010822c: e8 7e f3 ff ff call 801075af <v2p>
80108231: 83 c4 10 add $0x10,%esp
80108234: 89 c2 mov %eax,%edx
80108236: 8b 45 f4 mov -0xc(%ebp),%eax
80108239: 83 ec 0c sub $0xc,%esp
8010823c: 6a 06 push $0x6
8010823e: 52 push %edx
8010823f: 68 00 10 00 00 push $0x1000
80108244: 50 push %eax
80108245: ff 75 f0 pushl -0x10(%ebp)
80108248: e8 91 f8 ff ff call 80107ade <mappages>
8010824d: 83 c4 20 add $0x20,%esp
80108250: 85 c0 test %eax,%eax
80108252: 78 1b js 8010826f <copyuvm+0xf3>
uint pa, i;
char *mem;
if((d = setupkvm()) == 0)
return 0;
for(i = 0; i < sz; i += PGSIZE){
80108254: 81 45 f4 00 10 00 00 addl $0x1000,-0xc(%ebp)
8010825b: 8b 45 f4 mov -0xc(%ebp),%eax
8010825e: 3b 45 0c cmp 0xc(%ebp),%eax
80108261: 0f 82 3f ff ff ff jb 801081a6 <copyuvm+0x2a>
goto bad;
memmove(mem, (char*)p2v(pa), PGSIZE);
if(mappages(d, (void*)i, PGSIZE, v2p(mem), PTE_W|PTE_U) < 0)
goto bad;
}
return d;
80108267: 8b 45 f0 mov -0x10(%ebp),%eax
8010826a: eb 17 jmp 80108283 <copyuvm+0x107>
panic("copyuvm: pte should exist");
if(!(*pte & PTE_P))
panic("copyuvm: page not present");
pa = PTE_ADDR(*pte);
if((mem = kalloc()) == 0)
goto bad;
8010826c: 90 nop
8010826d: eb 01 jmp 80108270 <copyuvm+0xf4>
memmove(mem, (char*)p2v(pa), PGSIZE);
if(mappages(d, (void*)i, PGSIZE, v2p(mem), PTE_W|PTE_U) < 0)
goto bad;
8010826f: 90 nop
}
return d;
bad:
freevm(d);
80108270: 83 ec 0c sub $0xc,%esp
80108273: ff 75 f0 pushl -0x10(%ebp)
80108276: e8 20 fe ff ff call 8010809b <freevm>
8010827b: 83 c4 10 add $0x10,%esp
return 0;
8010827e: b8 00 00 00 00 mov $0x0,%eax
}
80108283: c9 leave
80108284: c3 ret
80108285 <uva2ka>:
//PAGEBREAK!
// Map user virtual address to kernel address.
char*
uva2ka(pde_t *pgdir, char *uva)
{
80108285: 55 push %ebp
80108286: 89 e5 mov %esp,%ebp
80108288: 83 ec 18 sub $0x18,%esp
pte_t *pte;
pte = walkpgdir(pgdir, uva, 0);
8010828b: 83 ec 04 sub $0x4,%esp
8010828e: 6a 00 push $0x0
80108290: ff 75 0c pushl 0xc(%ebp)
80108293: ff 75 08 pushl 0x8(%ebp)
80108296: e8 a3 f7 ff ff call 80107a3e <walkpgdir>
8010829b: 83 c4 10 add $0x10,%esp
8010829e: 89 45 f4 mov %eax,-0xc(%ebp)
if((*pte & PTE_P) == 0)
801082a1: 8b 45 f4 mov -0xc(%ebp),%eax
801082a4: 8b 00 mov (%eax),%eax
801082a6: 83 e0 01 and $0x1,%eax
801082a9: 85 c0 test %eax,%eax
801082ab: 75 07 jne 801082b4 <uva2ka+0x2f>
return 0;
801082ad: b8 00 00 00 00 mov $0x0,%eax
801082b2: eb 29 jmp 801082dd <uva2ka+0x58>
if((*pte & PTE_U) == 0)
801082b4: 8b 45 f4 mov -0xc(%ebp),%eax
801082b7: 8b 00 mov (%eax),%eax
801082b9: 83 e0 04 and $0x4,%eax
801082bc: 85 c0 test %eax,%eax
801082be: 75 07 jne 801082c7 <uva2ka+0x42>
return 0;
801082c0: b8 00 00 00 00 mov $0x0,%eax
801082c5: eb 16 jmp 801082dd <uva2ka+0x58>
return (char*)p2v(PTE_ADDR(*pte));
801082c7: 8b 45 f4 mov -0xc(%ebp),%eax
801082ca: 8b 00 mov (%eax),%eax
801082cc: 25 00 f0 ff ff and $0xfffff000,%eax
801082d1: 83 ec 0c sub $0xc,%esp
801082d4: 50 push %eax
801082d5: e8 e2 f2 ff ff call 801075bc <p2v>
801082da: 83 c4 10 add $0x10,%esp
}
801082dd: c9 leave
801082de: c3 ret
801082df <copyout>:
// Copy len bytes from p to user address va in page table pgdir.
// Most useful when pgdir is not the current page table.
// uva2ka ensures this only works for PTE_U pages.
int
copyout(pde_t *pgdir, uint va, void *p, uint len)
{
801082df: 55 push %ebp
801082e0: 89 e5 mov %esp,%ebp
801082e2: 83 ec 18 sub $0x18,%esp
char *buf, *pa0;
uint n, va0;
buf = (char*)p;
801082e5: 8b 45 10 mov 0x10(%ebp),%eax
801082e8: 89 45 f4 mov %eax,-0xc(%ebp)
while(len > 0){
801082eb: eb 7f jmp 8010836c <copyout+0x8d>
va0 = (uint)PGROUNDDOWN(va);
801082ed: 8b 45 0c mov 0xc(%ebp),%eax
801082f0: 25 00 f0 ff ff and $0xfffff000,%eax
801082f5: 89 45 ec mov %eax,-0x14(%ebp)
pa0 = uva2ka(pgdir, (char*)va0);
801082f8: 8b 45 ec mov -0x14(%ebp),%eax
801082fb: 83 ec 08 sub $0x8,%esp
801082fe: 50 push %eax
801082ff: ff 75 08 pushl 0x8(%ebp)
80108302: e8 7e ff ff ff call 80108285 <uva2ka>
80108307: 83 c4 10 add $0x10,%esp
8010830a: 89 45 e8 mov %eax,-0x18(%ebp)
if(pa0 == 0)
8010830d: 83 7d e8 00 cmpl $0x0,-0x18(%ebp)
80108311: 75 07 jne 8010831a <copyout+0x3b>
return -1;
80108313: b8 ff ff ff ff mov $0xffffffff,%eax
80108318: eb 61 jmp 8010837b <copyout+0x9c>
n = PGSIZE - (va - va0);
8010831a: 8b 45 ec mov -0x14(%ebp),%eax
8010831d: 2b 45 0c sub 0xc(%ebp),%eax
80108320: 05 00 10 00 00 add $0x1000,%eax
80108325: 89 45 f0 mov %eax,-0x10(%ebp)
if(n > len)
80108328: 8b 45 f0 mov -0x10(%ebp),%eax
8010832b: 3b 45 14 cmp 0x14(%ebp),%eax
8010832e: 76 06 jbe 80108336 <copyout+0x57>
n = len;
80108330: 8b 45 14 mov 0x14(%ebp),%eax
80108333: 89 45 f0 mov %eax,-0x10(%ebp)
memmove(pa0 + (va - va0), buf, n);
80108336: 8b 45 0c mov 0xc(%ebp),%eax
80108339: 2b 45 ec sub -0x14(%ebp),%eax
8010833c: 89 c2 mov %eax,%edx
8010833e: 8b 45 e8 mov -0x18(%ebp),%eax
80108341: 01 d0 add %edx,%eax
80108343: 83 ec 04 sub $0x4,%esp
80108346: ff 75 f0 pushl -0x10(%ebp)
80108349: ff 75 f4 pushl -0xc(%ebp)
8010834c: 50 push %eax
8010834d: e8 a2 cd ff ff call 801050f4 <memmove>
80108352: 83 c4 10 add $0x10,%esp
len -= n;
80108355: 8b 45 f0 mov -0x10(%ebp),%eax
80108358: 29 45 14 sub %eax,0x14(%ebp)
buf += n;
8010835b: 8b 45 f0 mov -0x10(%ebp),%eax
8010835e: 01 45 f4 add %eax,-0xc(%ebp)
va = va0 + PGSIZE;
80108361: 8b 45 ec mov -0x14(%ebp),%eax
80108364: 05 00 10 00 00 add $0x1000,%eax
80108369: 89 45 0c mov %eax,0xc(%ebp)
{
char *buf, *pa0;
uint n, va0;
buf = (char*)p;
while(len > 0){
8010836c: 83 7d 14 00 cmpl $0x0,0x14(%ebp)
80108370: 0f 85 77 ff ff ff jne 801082ed <copyout+0xe>
memmove(pa0 + (va - va0), buf, n);
len -= n;
buf += n;
va = va0 + PGSIZE;
}
return 0;
80108376: b8 00 00 00 00 mov $0x0,%eax
}
8010837b: c9 leave
8010837c: c3 ret
| 37.902048 | 74 | 0.527628 |
e5edd10d7f5b11e1da0065ae50abb40a307f3284 | 619 | asm | Assembly | EELE371/Lab-1.asm | Dan-Laden/Projects | c9736e7baa25ef4f7272af462a956884605a1b40 | [
"MIT"
] | null | null | null | EELE371/Lab-1.asm | Dan-Laden/Projects | c9736e7baa25ef4f7272af462a956884605a1b40 | [
"MIT"
] | null | null | null | EELE371/Lab-1.asm | Dan-Laden/Projects | c9736e7baa25ef4f7272af462a956884605a1b40 | [
"MIT"
] | 1 | 2021-09-30T19:37:34.000Z | 2021-09-30T19:37:34.000Z | ;Main.s by Daniel Laden
;9/5/18
;Simple program to toggle LED1 on MC9S08QG8
INCLUDE 'derivative.inc'
XDEF _Startup, main
XREF __SEF_END_SSTACK
main:
_Startup: ;PRBDD setting the gates open to recieve output to
BSET 6, PTBDD
BSET 7, PTBDD
mainLoop: ;mainloop for the code
BRA LED1
LED1: ;turns the 1st LED off
BSET 6, PTBD
BRA LED2
LED2: ;turns the 2nd LED off
BSET 7, PTBD
BRA clear
clear: ;clears the signal keeping the LED off
BCLR 6, PTBD
BCLR 7, PTBD
BRA XORToggle
XORToggle: ;Part 3 using the XOR gate to toggle the LEDs to flip
LDA PTBD
EOR #%11000000
STA PTBD
BRA mainLoop
| 15.475 | 64 | 0.722132 |
84e2fec98095f370c554a507809042637844c18f | 1,602 | asm | Assembly | programs/oeis/004/A004689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/004/A004689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/004/A004689.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A004689: Fibonacci numbers written in base 6.
; 0,1,1,2,3,5,12,21,33,54,131,225,400,1025,1425,2454,4323,11221,15544,31205,51153,122402,213555,340401,554400,1335201,2334001,4113202,10451203,15004405,25500012,44504421,114404433,203313254,322122131,525435425,1252002000,2221441425,3513443425,10135325254,14053213123,24232542421,42330155544,111003142405,153333342353,304340525202,502114311555,1210455241201,2113013553200,3323513234401,5440531232001,13204444510402,23045420142403,40254305053205,103344125240012,144042434333221,251431004013233,435513442350454,1131344450404131,2011302333155025,3143051224003200,5154354001202225,12341445225205425,21540243230412054,34322132500021523,100302420130434021,135024553030455544,235331413201334005,414400410232233553,1054132223434012002,1512533034110245555,3011105301544302001,4524042340054552000,11535152042043254001,20503234422142250001,32442430504225544002,53350105330412234003,130232540235042222005,224023050005454500012,354300030244541122021,1022323120254440022033,1421023150543421144054,2443350311242301210131,4304413502230122354225,11152204213512424004400,15501022120142550403025,31053230334055414411425,50554252454242405214454,122051523232342224030323,213050220131025033245221,335142143403411301315544,552232403534440335005205,1331414551342252040325153,2324051355321132415334402,4055510351103424500103555,10424002150425001315442401,14523512541532430215550400,25351515132401431535433201,44315432114334302155424001,114111351251140134135301202
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
seq $0,7092 ; Numbers in base 6.
| 267 | 1,437 | 0.897628 |
c9e072fba75b9867e50a3d7f4d245a28fb79e79c | 5,973 | asm | Assembly | Source/Nostromo/Line.asm | benryves/Nostromo | 71caf36ea76a2414dc8a2f66ed72c22f39f947ab | [
"MIT"
] | null | null | null | Source/Nostromo/Line.asm | benryves/Nostromo | 71caf36ea76a2414dc8a2f66ed72c22f39f947ab | [
"MIT"
] | null | null | null | Source/Nostromo/Line.asm | benryves/Nostromo | 71caf36ea76a2414dc8a2f66ed72c22f39f947ab | [
"MIT"
] | null | null | null | .module Line
Code:
LineFlags = asm_Flag1
LineFlag.TopDown = 7
; ==========================================================================
; Line.Draw
; --------------------------------------------------------------------------
; Draws a line.
; --------------------------------------------------------------------------
; Inputs: (B,C) One end of the line.
; (D,E) The other end of the line.
; Destroyed: AF, BC, DE, HL, asm_Flag1.7.
; ==========================================================================
Draw:
inc c
inc e
; Calculate absolute deltas.
ld a,b
sub d
jp p,+
neg
+: ld (Delta.X),a
ld a,c
sub e
jp p,+
neg
+:
ld l,a
ld a,(Delta.X)
sub l
jr nc,Draw.Shallow
Steep:
ld a,b \ ld b,c \ ld c,a
ld a,d \ ld d,e \ ld e,a
jp Draw.Steep
; --------------------------------------------------------------------------
; Draw a shallow line (|dX| > |dY|)
; --------------------------------------------------------------------------
Draw.Shallow:
; dx = x1 - x0
ld a,d
sub b
jp p,+
neg
ld l,a
ld a,b \ ld b,d \ ld d,a
ld a,c \ ld c,e \ ld e,a
ld a,l
+:
ld (Shallow.Delta.X),a
; error = dx / 2
srl a
ld (Error),a
; dy = |y1 - y0|
; ystep = sgn(y1 - y0)
ld a,e
sub c
jp m,Shallow.Delta.Y.Negative
Shallow.Delta.Y.Positive:
ld (Shallow.Delta.Y),a
ld a,$24 ; inc l
ld (Shallow.YStep),a
exx
ld de,+12
exx
jr Shallow.Delta.Y.Set
Shallow.Delta.Y.Negative:
neg
ld (Shallow.Delta.Y),a
ld a,$25 ; dec h
ld (Shallow.YStep),a
exx
ld de,-12
exx
Shallow.Delta.Y.Set:
ld hl,(ClipPixel)
ld (Shallow.ClipPixel),hl
; a = (x1 - x0) + 1 (number of steps).
ld a,d
sub b
inc a
ld h,b ; Start X.
ld l,c ; Start Y.
ld b,a ; b = number of steps.
push hl
push bc
ld a,h
ld e,l
dec e
call Pixel.GetInformation
ld c,a
push hl
push bc
exx
pop bc
pop hl
exx
pop bc
pop hl
; Swap H and L.
ld a,h \ ld h,l \ ld l,a
Shallow.Delta.X = $+2
Shallow.Delta.Y = $+1
ld de,0
ld a,(Error)
ld c,a
-:
Shallow.ClipPixel = $+1
call NoClip
exx
jr c,Shallow.Line.PixelClipped
ld a,(hl)
or c
ld (hl),a
Shallow.Line.PixelClipped:
rrc c
jr nc,+
inc hl
+:
exx
ld a,c
sub e
jp p,Shallow.NoAdvanceY
add a,d
; Advance Y.
exx
add hl,de
exx
Shallow.YStep:
inc h
Shallow.NoAdvanceY:
ld c,a
inc l ; ++x
djnz -
ret
; --------------------------------------------------------------------------
; Draw a steep line (|dX| > |dY|)
; --------------------------------------------------------------------------
Draw.Steep:
; dx = x1 - x0
ld a,d
sub b
jp m,Draw.Steep.NegativeDX
Draw.Steep.PositiveDX:
Draw.Steep.PositiveDX.TopDown:
ld (Steep.Delta.X),a
bit LineFlag.TopDown,(iy+LineFlags)
jr nz,Draw.Steep.Draw.TopDown
ld a,b \ ld b,d \ ld d,a
ld a,c \ ld c,e \ ld e,a
jr Draw.Steep.Draw.BottomUp
Draw.Steep.NegativeDX:
neg
ld (Steep.Delta.X),a
bit LineFlag.TopDown,(iy+LineFlags)
jr z,Draw.Steep.Draw.BottomUp
ld a,b \ ld b,d \ ld d,a
ld a,c \ ld c,e \ ld e,a
jr Draw.Steep.Draw.TopDown
Draw.Steep.Draw.TopDown:
ld hl,+12
ld (Steep.AdvanceX.Stride),hl
ld a,$24 ; inc h
ld (Steep.AdvanceY.AdvanceY),a
ld (Steep.NoAdvanceY.AdvanceY),a
jr Draw.Steep.Draw
Draw.Steep.Draw.BottomUp:
ld hl,-12
ld (Steep.AdvanceX.Stride),hl
ld a,$25 ; dec h
ld (Steep.AdvanceY.AdvanceY),a
ld (Steep.NoAdvanceY.AdvanceY),a
Draw.Steep.Draw:
; error = dx / 2
ld a,(Steep.Delta.X)
srl a
ld (Error),a
; dy = |y1 - y0|
; ystep = sgn(y1 - y0)
ld a,e
sub c
jp m,Steep.Delta.Y.Negative
Steep.Delta.Y.Positive:
ld (Steep.Delta.Y),a
ld a,$2C ; inc l
ld (Steep.YStep),a
ld a,$0F ; rrca
ld (Steep.AdvanceY.Steep.Shift),a
ld a,$13 ; inc de
ld (Steep.AdvanceY.Steep.Increment),a
jr Steep.Delta.Y.Set
Steep.Delta.Y.Negative:
neg
ld (Steep.Delta.Y),a
ld a,$2D ; dec l
ld (Steep.YStep),a
ld a,$07 ; rlca
ld (Steep.AdvanceY.Steep.Shift),a
ld a,$1B ; dec de
ld (Steep.AdvanceY.Steep.Increment),a
Steep.Delta.Y.Set:
ld hl,(ClipPixel)
ld (Steep.ClipPixel),hl
; a = (x1 - x0) + 1 (number of steps).
ld a,(Steep.Delta.X)
inc a
ld h,b ; Start X.
ld l,c ; Start Y.
ld b,a ; b = number of steps.
ld a,(Error)
ld c,a
push hl
push bc
ld a,l
ld e,h
dec e
call Pixel.GetInformation
ld (Steep.PixelBufferOffset),hl
ld (Steep.PixelMask),a
pop bc
pop hl
-: push hl
Steep.ClipPixel = $+1
call NoClip
jr c,Steep.Line.PixelClipped
Steep.PixelBufferOffset = $+1
ld hl,0
ld a,(hl)
Steep.PixelMask = $+1
or 0
ld (hl),a
Steep.Line.PixelClipped:
; Advance X.
ld hl,(Steep.PixelBufferOffset)
Steep.AdvanceX.Stride = $+1
ld de,12
add hl,de
ld (Steep.PixelBufferOffset),hl
pop hl
Steep.Delta.X = $+2
Steep.Delta.Y = $+1
ld de,0
ld a,c
sub e
jp p,Steep.NoAdvanceY
; Advance Y.
add a,d
ld c,a
ld a,(Steep.PixelMask)
Steep.AdvanceY.Steep.Shift:
rrca
ld (Steep.PixelMask),a
jr nc,+
ld de,(Steep.PixelBufferOffset)
Steep.AdvanceY.Steep.Increment:
inc de
ld (Steep.PixelBufferOffset),de
+:
Steep.YStep:
inc l
Steep.AdvanceY.AdvanceY:
inc h ; ++x
djnz -
ret
Steep.NoAdvanceY:
ld c,a
Steep.NoAdvanceY.AdvanceY:
inc h ; ++x
djnz -
ret
; ==========================================================================
; Line.NoClip
; --------------------------------------------------------------------------
; Dummy clipping routine that never clips the line.
; ==========================================================================
NoClip
or a
ret
.if Options.ReportModuleSizes \ .echoln strformat("Line module: {0:N0} bytes.", $-Code) \ .endif
.endmodule | 15.718421 | 97 | 0.500419 |
01007464b75162af08723ffe98b8242fd0fefe15 | 534 | asm | Assembly | oeis/140/A140846.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/140/A140846.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/140/A140846.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A140846: Primes of the form 210k + 31.
; Submitted by Christian Krause
; 31,241,661,1291,2131,2341,2551,2971,3181,3391,4021,4231,4441,4651,4861,5281,5701,6121,6961,7591,8011,8221,8431,8641,9901,10111,10321,10531,11161,12211,12421,12841,13681,14731,15361,15991,16411,16831,17041
mov $1,2
mov $2,$0
add $2,2
pow $2,2
lpb $2
add $1,28
mov $3,$1
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,182
sub $2,3
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
sub $0,181
| 23.217391 | 206 | 0.677903 |
3a8b32685313210637d6231cca3b63733c6e3ca1 | 55 | asm | Assembly | kernel/crtn.asm | ethan4984/rock | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 207 | 2020-05-27T21:57:28.000Z | 2022-02-26T15:17:27.000Z | kernel/crtn.asm | ethan4984/crepOS | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 3 | 2020-07-26T18:14:05.000Z | 2020-12-09T05:32:07.000Z | kernel/crtn.asm | ethan4984/rock | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 17 | 2020-07-05T19:08:48.000Z | 2021-10-13T12:30:13.000Z | section .init
pop rbp
ret
section .fini
pop rbp
ret
| 5.5 | 13 | 0.727273 |
d39736ebc4838dd826a881f747d5de222057b10e | 613 | asm | Assembly | programs/oeis/246/A246171.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/246/A246171.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/246/A246171.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A246171: Beatty sequence for sqrt(15).
; 3,7,11,15,19,23,27,30,34,38,42,46,50,54,58,61,65,69,73,77,81,85,89,92,96,100,104,108,112,116,120,123,127,131,135,139,143,147,151,154,158,162,166,170,174,178,182,185,189,193,197,201,205,209,213,216,220,224,228,232,236,240,243,247,251,255,259,263,267,271,274,278,282,286,290,294,298,302,305,309,313,317,321,325,329,333,336,340,344,348,352,356,360,364,367,371,375,379,383,387
add $0,1
mov $1,$0
mul $0,15
mov $2,$1
mov $3,1
mov $4,$1
mul $4,$0
lpb $2
lpb $4
add $1,3
trn $4,$3
add $3,2
lpe
sub $1,$2
mov $2,$4
lpe
mov $0,$1
sub $0,12
div $0,3
add $0,3
| 25.541667 | 374 | 0.650897 |
3e705e35fd34d11a8479cfb4c5a49e4afe9952ab | 1,408 | asm | Assembly | programs/oeis/081/A081567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/081/A081567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/081/A081567.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A081567: Second binomial transform of F(n+1).
; 1,3,10,35,125,450,1625,5875,21250,76875,278125,1006250,3640625,13171875,47656250,172421875,623828125,2257031250,8166015625,29544921875,106894531250,386748046875,1399267578125,5062597656250,18316650390625,66270263671875,239768066406250,867489013671875,3138604736328125,11355578613281250,41084869384765625,148646453857421875,537807922363281250,1945807342529296875,7039997100830078125,25470948791503906250,92154758453369140625,333419048309326171875,1206321449279785156250,4364512004852294921875,15790952777862548828125,57132203865051269531250,206706255435943603515625,747870257854461669921875,2705820012092590332031250,9789748771190643310546875,35419643795490264892578125,128149475121498107910156250,463649156630039215087890625,1677498407542705535888671875,6069246254563331604003906250,21958739235103130340576171875,79447464902698993682861328125,287443628337979316711425781250,1039980817176401615142822265625,3762685944192111492156982421875,13613525635078549385070800781250,49254198454432189464569091796875,178203364096768200397491455078125,644745828211680054664611816406250,2332712320574559271335601806640625,8439832461814396083354949951171875,30535600706199184060096740722656250,110478841221923939883708953857421875,399716202578623779118061065673828125
mov $1,3
lpb $0
sub $0,1
sub $2,$1
mul $1,5
sub $2,1
add $1,$2
lpe
div $1,4
add $1,1
mov $0,$1
| 93.866667 | 1,253 | 0.90483 |
791b6b3f4ab06b9bb5140f3be89e53f9df665d01 | 722 | asm | Assembly | oeis/165/A165856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/165/A165856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/165/A165856.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A165856: Totally multiplicative sequence with a(p) = 35.
; Submitted by Jon Maiga
; 1,35,35,1225,35,1225,35,42875,1225,1225,35,42875,35,1225,1225,1500625,35,42875,35,42875,1225,1225,35,1500625,1225,1225,42875,42875,35,42875,35,52521875,1225,1225,1225,1500625,35,1225,1225,1500625,35,42875,35,42875,42875,1225,35,52521875,1225,42875,1225,42875,35,1500625,1225,1500625,1225,1225,35,1500625,35,1225,42875,1838265625,1225,42875,35,42875,1225,42875,35,52521875,35,1225,42875,42875,1225,42875,35,52521875,1500625,1225,35,1500625,1225,1225,1225,1500625,35,1500625,1225,42875,1225,1225,1225
add $0,1
mov $1,1
lpb $0
sub $0,1
seq $0,32742 ; a(1) = 1; for n > 1, a(n) = largest proper divisor of n.
mul $1,35
lpe
mov $0,$1
| 55.538462 | 500 | 0.750693 |
0348dc7c127106b7c34306bcdec41b5b087062a7 | 375 | asm | Assembly | oeis/033/A033901.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/033/A033901.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/033/A033901.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A033901: Sort then Add!.
; Submitted by Jon Maiga
; 21,33,66,132,255,510,525,780,858,1446,2892,5181,6339,9708,10497,11976,23655,47211,58458,104046,105492,117951,229530,251889,377778,755556,1311123,2422356,4645812,5890380,5926269,8182968,9451857,10907646
mov $1,21
lpb $0
sub $0,1
seq $1,70196 ; a(n)=n plus the sorted version of the base-10 digits of n.
lpe
mov $0,$1
| 34.090909 | 203 | 0.746667 |
33a791c770926d8fcb43f727c7c229b4026dae08 | 1,256 | asm | Assembly | programs/oeis/121/A121488.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/121/A121488.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/121/A121488.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A121488: a(n) = 8*n^2 - floor(n*sqrt(8))^2.
; 4,7,8,7,4,32,31,28,23,16,7,63,56,47,36,23,8,92,79,64,47,28,7,119,100,79,56,31,4,144,119,92,63,32,196,167,136,103,68,31,223,188,151,112,71,28,248,207,164,119,72,23,271,224,175,124,71,16,292,239,184,127,68,7,311,252,191,128,63,391,328,263,196,127,56,412,343,272,199,124,47,431,356,279,200,119,36,448,367,284,199,112,23,463,376,287,196,103,8,476,383,288,191,92,584,487,388,287,184,79,599,496,391,284,175,64,612,503,392,279,164,47,623,508,391,272,151,28,632,511,388,263,136,7,639,512,383,252,119,775,644,511,376,239,100,784,647,508,367,224,79,791,648,503,356,207,56,796,647,496,343,188,31,799,644,487,328,167,4,800,639,476,311,144,964,799,632,463,292,119,967,796,623,448,271,92,968,791,612,431,248,63,967,784,599,412,223,32,964,775,584,391,196,1152,959,764,567,368,167,1151,952,751,548,343,136,1148,943,736,527,316,103,1143,932,719,504,287,68,1136,919,700,479,256,31,1127,904,679,452,223,1343,1116,887,656,423,188,1336,1103,868,631,392,151
mul $0,2
add $0,2
pow $0,2
sub $0,1
mov $6,4
lpb $0
mov $2,$0
mul $0,2
mov $3,$0
add $3,1
mov $4,$0
mov $5,$2
sub $5,$0
sub $5,4
add $5,$3
sub $6,3
add $5,$6
mov $0,$5
add $6,2
add $4,$6
mov $1,$4
lpe
mul $1,16
sub $1,144
div $1,16
add $1,4
| 41.866667 | 937 | 0.669586 |
726943754e3e7cbdbc56413e3ea118eeb4e1af27 | 28,746 | asm | Assembly | plugins/nnedi3/src/asm/nnedi3.asm | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | null | null | null | plugins/nnedi3/src/asm/nnedi3.asm | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | null | null | null | plugins/nnedi3/src/asm/nnedi3.asm | darcyg/vapoursynth-plugins | 5aaf090d3523cb8c53841949f2da286688ba33bb | [
"BSD-2-Clause"
] | 1 | 2020-04-06T16:52:59.000Z | 2020-04-06T16:52:59.000Z | %include "include/x86inc.asm"
SECTION_RODATA
sign_bits_f times 4 dd 0x7FFFFFFF
sign_bits_f_zero_l dq 0x7FFFFFFF00000000, 0x7FFFFFFF7FFFFFFF
ones_f times 4 dd 1.0
ub_1 times 16 db 1
w_19 times 8 dw 19
w_3 times 8 dw 3
w_254 times 8 dw 254
uw_16 times 8 dw 16
; If FLT_EPSILON is 1.0e-7, how does this work?
min_weight_sum times 4 dd 1.0e-10
five_f times 4 dd 5.0
; This seems to be the value of FLT_EPSILON, according to clang.
flt_epsilon_sse times 4 dd 1.0e-7
exp_lo times 4 dd -80.0
exp_hi times 4 dd 80.0
e0_mult times 4 dd 12102203.161561486 ; (1.0/ln(2))*(2^23)
e0_bias times 4 dd 1064866805.0 ; (2^23)*127.0-486411.0
e1_scale times 4 dd 1.4426950409 ; 1/ln(2)
e1_bias times 4 dd 12582912.0 ; 3 << 22
e1_c0 times 4 dd 1.00035
e1_c1 times 4 dd 0.701277797
e1_c2 times 4 dd 0.237348593
am_0p5 times 4 dd 0.5
am_1 times 4 dd 1.0 ; this is the same as ones_f... why duplicate?
exp_rln2 times 4 dd 1.442695041 ; e1_scale...
exp_p0 times 4 dd 1.261771931e-4
exp_p1 times 4 dd 3.029944077e-2
exp_q0 times 4 dd 3.001985051e-6
exp_q1 times 4 dd 2.524483403e-3
exp_q2 times 4 dd 2.272655482e-1
exp_q3 times 4 dd 2.000000000 ; seriously...
exp_c1 times 4 dd 6.931457520e-1
exp_c2 times 4 dd 1.428606820e-6
epi32_1 times 4 dd 1
epi32_0x7f times 4 dd 0x7F
SECTION_TEXT
; parameters:
; const uint8_t *t, const int pitch, float *pf
; r0 - t
; r1 - pitch
; r2 - pf
INIT_XMM
cglobal word2float48_SSE2, 3, 4, 4, srcp, src_pitch, dstp
pxor m0, m0
shl src_pitchq, 2 ; stride is halved
mov r3, 4
.loop:
movq m1, [srcpq]
movq m2, [srcpq + 8]
movq m3, [srcpq + 16]
punpcklwd m1, m0
punpcklwd m2, m0
punpcklwd m3, m0
cvtdq2ps m1, m1
cvtdq2ps m2, m2
cvtdq2ps m3, m3
movaps [dstpq], m1
movaps [dstpq + 16], m2
movaps [dstpq + 32], m3
add dstpq, 48
add srcpq, src_pitchq
sub r3, 1
jnz .loop
RET
; parameters:
; const uint8_t *t, const int pitch, float *pf
; r0 - t
; r1 - pitch
; r2 - pf
INIT_XMM
cglobal byte2word48_SSE2, 3, 3, 8, srcp, src_pitch, dstp
movq m0, [srcpq]
movd m1, [srcpq + 8]
movd m2, [srcpq + src_pitchq * 2]
movq m3, [srcpq + src_pitchq * 2 + 4]
lea srcpq, [srcpq + src_pitchq * 4]
movq m4, [srcpq]
movd m5, [srcpq + 8]
movd m6, [srcpq + src_pitchq * 2]
movq m7, [srcpq + src_pitchq * 2 + 4]
punpckldq m1, m2
pxor m2, m2
punpckldq m5, m6
punpcklbw m0, m2
punpcklbw m3, m2
punpcklbw m1, m2
punpcklbw m4, m2
punpcklbw m5, m2
punpcklbw m7, m2
mova [dstpq], m0
mova [dstpq + 16], m1
mova [dstpq + 32], m3
mova [dstpq + 48], m4
mova [dstpq + 64], m5
mova [dstpq + 80], m7
RET
INIT_XMM
cglobal byte2word64_SSE2, 3, 3, 8, srcp, src_stride, dstp
pxor m7, m7
movq m0, [srcpq]
movq m1, [srcpq + 8]
movq m2, [srcpq + src_strideq*2]
movq m3, [srcpq + src_strideq*2 + 8]
punpcklbw m0, m7
punpcklbw m1, m7
punpcklbw m2, m7
punpcklbw m3, m7
mova [dstpq], m0
mova [dstpq + 16], m1
mova [dstpq + 32], m2
mova [dstpq + 48], m3
lea srcpq, [srcpq + src_strideq*4]
movq m4, [srcpq]
movq m5, [srcpq + 8]
movq m6, [srcpq + src_strideq*2]
movq m0, [srcpq + src_strideq*2 + 8]
punpcklbw m4, m7
punpcklbw m5, m7
punpcklbw m6, m7
punpcklbw m0, m7
mova [dstpq + 64], m4
mova [dstpq + 80], m5
mova [dstpq + 96], m6
mova [dstpq + 112], m0
RET
; parameters:
; const float *datai, const float *weights, uint8_t *d
INIT_XMM
cglobal computeNetwork0new_SSE2, 3, 4, 8, datai, weights, d
pxor m0, m0
pxor m1, m1
pxor m2, m2
pxor m3, m3
xor r3, r3
.loop:
mova m4, [dataiq + r3]
mova m5, m4
mova m6, m4
mova m7, m4
pmaddwd m4, [weightsq + r3 * 4]
pmaddwd m5, [weightsq + r3 * 4 + 16]
pmaddwd m6, [weightsq + r3 * 4 + 32]
pmaddwd m7, [weightsq + r3 * 4 + 48]
paddd m0, m4
paddd m1, m5
paddd m2, m6
paddd m3, m7
add r3, 16
cmp r3, 128
jl .loop
mova m4,m0
mova m5,m2
punpcklqdq m0,m1 ; m0 = m1[1] m1[0] m0[1] m0[0]
punpcklqdq m2,m3 ; m2 = m3[1] m3[0] m2[1] m2[0]
punpckhqdq m4,m1 ; m4 = m1[3] m1[2] m0[3] m0[2]
punpckhqdq m5,m3 ; m5 = m3[3] m3[2] m2[3] m2[2]
paddd m0,m4 ; m0 = m1[1]+m1[3] m1[0]+m1[2] m0[1]+m0[3] m0[0]+m0[2]
paddd m2,m5 ; m2 = m3[1]+m3[3] m3[0]+m3[2] m2[1]+m2[3] m2[0]+m2[2]
mova m6,m0
shufps m0,m2,136 ; m0 = m3[0]+m3[2] m2[0]+m2[2] m1[0]+m1[2] m0[0]+m0[2]
shufps m6,m2,221 ; m6 = m3[1]+m3[3] m2[1]+m2[3] m1[1]+m1[3] m0[1]+m0[3]
paddd m0,m6 ; m0 = sum(m3) sum(m2) sum(m1) sum(m0)
cvtdq2ps m0,m0
mulps m0,[weightsq+512]
addps m0,[weightsq+528]
movaps m1,m0
andps m0,[sign_bits_f]
addps m0,[ones_f]
rcpps m0,m0
mulps m0,m1
pshufd m1,m0,0
pshufd m2,m0,85
pshufd m3,m0,170
pshufd m4,m0,255
mulps m1,[weightsq+544]
mulps m2,[weightsq+560]
mulps m3,[weightsq+576]
mulps m4,[weightsq+592]
pxor m0,m0
addps m1,m2
addps m3,m4
addps m1,m3
addps m1,[weightsq+608]
; yasm wouldn't take this cmpps
;cmpps m1,m0,1
cmpltps m1,m0
packssdw m1,m0
packsswb m1,m0
movd r1d,m1
xor r1d,0xFFFFFFFF
and r1d,0x01010101
mov [dq],r1d
RET
; parameters:
; const uint8_t *tempu, int width, uint8_t *dstp, const uint8_t *src3p, const int src_pitch
; r0 - tempu
; r1 - width
; r2 - dstp
; r3 - src3p
; r4 - src_pitch
INIT_XMM
cglobal processLine0_SSE2, 5, 6, 8, tempu, width, dstp, src3p, src_pitch
%if WIN64
; The parameter is 32 bit. Make sure the high 32 bits are cleared.
shl src_pitchq, 32
shr src_pitchq, 32
%endif
lea r5,[src3pq+src_pitchq*4]
pxor m6,m6
pxor m7,m7
.xloop:
mova m0,[src3pq+src_pitchq*2]
mova m1,[r5]
mova m2,m0
mova m3,m1
punpcklbw m0,m7
punpckhbw m2,m7
punpcklbw m1,m7
punpckhbw m3,m7
paddw m0,m1
paddw m2,m3
pmullw m0,[w_19]
pmullw m2,[w_19]
mova m1,[src3pq]
mova m3,[r5+src_pitchq*2]
mova m4,m1
mova m5,m3
punpcklbw m1,m7
punpckhbw m4,m7
punpcklbw m3,m7
punpckhbw m5,m7
paddw m1,m3
paddw m4,m5
pmullw m1,[w_3]
pmullw m4,[w_3]
mova m3,[tempuq]
psubusw m0,m1
psubusw m2,m4
pcmpeqb m3,[ub_1]
paddusw m0,[uw_16]
paddusw m2,[uw_16]
mova m1,m3
pcmpeqb m4,m4
psrlw m0,5
psrlw m2,5
pxor m1,m4
pminsw m0,[w_254]
pminsw m2,[w_254]
mova m5,m1
packuswb m0,m2
pand m5,[ub_1]
pand m0,m3
psadbw m5,m7
por m0,m1
mova m2,m5
psrldq m5,8
mova [dstpq],m0
paddusw m5,m2
paddusw m6,m5
add src3pq,16
add r5,16
add tempuq,16
add dstpq,16
sub widthq,16
jnz .xloop
movd eax,m6
RET
; parameters:
; const float *w, const int n, float *mstd
INIT_XMM
cglobal weightedAvgElliottMul5_m16_SSE2, 3, 5, 8, w, n, mstd
lea r3,[wq+nq*4]
xor r4,r4
xorps m0,m0 ; sum w
xorps m1,m1 ; sum w*v
.nloop:
movaps m2,[wq+r4*4]
movaps m3,[wq+r4*4+16]
movaps m4,[r3+r4*4]
movaps m5,[r3+r4*4+16]
addps m0,m2
movaps m6,m4
movaps m7,m5
addps m0,m3
andps m4,[sign_bits_f]
andps m5,[sign_bits_f]
addps m4,[ones_f]
addps m5,[ones_f]
rcpps m4,m4
rcpps m5,m5
mulps m6,m4
mulps m7,m5
mulps m6,m2
mulps m7,m3
addps m1,m6
addps m1,m7
movaps m2,[wq+r4*4+32]
movaps m3,[wq+r4*4+48]
movaps m4,[r3+r4*4+32]
movaps m5,[r3+r4*4+48]
addps m0,m2
movaps m6,m4
movaps m7,m5
addps m0,m3
andps m4,[sign_bits_f]
andps m5,[sign_bits_f]
addps m4,[ones_f]
addps m5,[ones_f]
rcpps m4,m4
rcpps m5,m5
mulps m6,m4
mulps m7,m5
mulps m6,m2
mulps m7,m3
addps m1,m6
addps m1,m7
add r4,16
sub nq,16
jnz .nloop
movhlps m2,m0
movhlps m3,m1
addps m0,m2
addps m1,m3
pshuflw m2,m0,14
pshuflw m3,m1,14
addss m0,m2
addss m1,m3
comiss m0,[min_weight_sum]
jbe .nodiv
mulss m1,[five_f]
rcpss m0,m0
mulss m1,m0
jmp .finish
.nodiv:
xorps m1,m1
.finish:
mulss m1,[mstdq+4]
addss m1,[mstdq]
addss m1,[mstdq+12]
movss [mstdq+12],m1
RET
; parameters:
; const uint8_t *srcp, const int stride, const int xdia, const int ydia, float *mstd, float *inputf
INIT_XMM
cglobal extract_m8_i16_SSE2, 6, 7, 8, srcp, stride, xdia, ydia, mstd, inputf
lea r6,[srcpq+strideq*2]
pxor m4,m4 ; sum
pxor m5,m5 ; sumsq
pxor m6,m6
PUSH ydiaq
PUSH mstdq ; r4
.yloop:
xor r4,r4
.xloop:
movq m0,[srcpq+r4]
movq m1,[r6+r4]
mova m2,m0
mova m3,m1
punpcklbw m0,m6
punpcklbw m1,m6
psadbw m2,m6
psadbw m3,m6
mova [inputfq],m0
mova [inputfq+xdiaq*2],m1
pmaddwd m0,m0
pmaddwd m1,m1
paddd m4,m2
paddd m5,m0
paddd m4,m3
paddd m5,m1
add r4,8
add inputfq,16
cmp r4,xdiaq
jl .xloop
lea srcpq,[srcpq+strideq*4]
lea r6,[r6+strideq*4]
lea inputfq,[inputfq+xdiaq*2]
sub ydiaq,2
jnz .yloop
POP mstdq ; r4
POP ydiaq
movhlps m1,m5
paddd m5,m1
movd m2,xdiad
movd m3,ydiad
pmuludq m2,m3
cvtdq2ps m7,m2
pshuflw m1,m5,14
paddd m5,m1
rcpss m7,m7 ; scale
cvtdq2ps m4,m4
cvtdq2ps m5,m5
mulss m4,m7 ; mean
mulss m5,m7
movss [mstdq],m4
mulss m4,m4
subss m5,m4 ; var
comiss m5,[flt_epsilon_sse]
jbe .novarjmp
rsqrtss m5,m5 ; 1.0/std
rcpss m4,m5 ; std
movss [mstdq+4],m4
movss [mstdq+8],m5
jmp .finish
.novarjmp:
movss [mstdq+4],m6
movss [mstdq+8],m6
.finish:
movss [mstdq+12],m6
RET
; Used by default with 16 bit input
;
; parameters:
; float *s,
; const int n
INIT_XMM
cglobal e0_m16_SSE2, 2, 2, 4
.eloop16:
movaps m0,[r0]
minps m0,[exp_hi]
maxps m0,[exp_lo]
mulps m0,[e0_mult]
addps m0,[e0_bias]
cvtps2dq m0,m0
movaps [r0],m0
add r0,16
sub r1,4
jnz .eloop16
RET
; parameters:
; float *s,
; const int n
INIT_XMM
cglobal e0_m16_FMA3, 2, 2, 4
movaps m1, [e0_mult]
.eloop16:
movaps m0,[r0]
minps m0,[exp_hi]
maxps m0,[exp_lo]
vfmadd213ps m0, m1, [e0_bias]
cvtps2dq m0,m0
movaps [r0],m0
add r0,16
sub r1,4
jnz .eloop16
RET
; parameters:
; float *s,
; const int n
INIT_XMM
cglobal e0_m16_FMA4, 2, 2, 4
movaps m1, [e0_mult]
.eloop16:
movaps m0,[r0]
minps m0,[exp_hi]
maxps m0,[exp_lo]
vfmaddps m0, m0, m1, [e0_bias]
cvtps2dq m0,m0
movaps [r0],m0
add r0,16
sub r1,4
jnz .eloop16
RET
; Used by default with 16 bit input
;
; parameters:
; const float *input,
; const float *weights,
; uint8_t *d
INIT_XMM
cglobal computeNetwork0_SSE2, 3, 5, 8, input, weights, d
;// dotProd48_m4_SSE(input,weights,temp,4);
mov r3,1
xorps m0, m0
xorps m1, m1
xorps m2, m2
xorps m3, m3
xor r4, r4
.loop:
movaps m4, [inputq + r4]
movaps m5, m4
movaps m6, m4
movaps m7, m4
mulps m4, [weightsq + r4 * 4]
mulps m5, [weightsq + r4 * 4 + 16]
mulps m6, [weightsq + r4 * 4 + 32]
mulps m7, [weightsq + r4 * 4 + 48]
addps m0, m4
addps m1, m5
addps m2, m6
addps m3, m7
add r4, 16
cmp r4, 192
jl .loop
; This block performs a horizontal sum of each accumulator (m0..m3) and packs the results in m0 (sum(m3) sum(m2) sum(m1) sum(m0)).
; Sadly replacing the twelve instructions with three haddps makes no difference whatsoever on this Core 2 Duo.
movaps m4,m0
movaps m5,m2
unpcklpd m0,m1
unpcklpd m2,m3
unpckhpd m4,m1
unpckhpd m5,m3
addps m0,m4
addps m2,m5
movaps m6,m0
shufps m0,m2,136 ; 10001000b
shufps m6,m2,221 ; 11011101b
addps m0,m6
addps m0,[weightsq+768]
;// const float t = temp[0];
;// elliott4_SSE(temp);
;// temp[0] = t;
movaps m1,m0
andps m0,[sign_bits_f_zero_l]
addps m0,[ones_f]
rcpps m0,m0
mulps m0,m1
;// dotProd4_m4_SSE2(temp,weights+4*49,temp+4,4);
pshufd m1,m0,0
pshufd m2,m0,85
pshufd m3,m0,170
pshufd m4,m0,255
mulps m1,[weightsq+784]
mulps m2,[weightsq+784+16]
mulps m3,[weightsq+784+32]
mulps m4,[weightsq+784+48]
addps m1,m2
addps m3,m4
addps m1,m3
addps m1,[weightsq+784+64]
;// elliott4_SSE(temp+4);
movaps m7,m1
andps m1,[sign_bits_f]
movaps m3,m0
addps m1,[ones_f]
rcpps m1,m1
mulps m7,m1
;// dotProd8_m4_SSE2(temp,weights+4*49+4*5,temp+32,4);
pshufd m0,m0,0
pshufd m1,m3,85
pshufd m2,m3,170
pshufd m3,m3,255
mulps m0,[weightsq+864]
mulps m1,[weightsq+864+16]
mulps m2,[weightsq+864+32]
mulps m3,[weightsq+864+48]
pshufd m4,m7,0
pshufd m5,m7,85
pshufd m6,m7,170
pshufd m7,m7,255
mulps m4,[weightsq+864+64]
mulps m5,[weightsq+864+80]
mulps m6,[weightsq+864+96]
mulps m7,[weightsq+864+112]
addps m0,m1
addps m2,m3
addps m4,m5
addps m6,m7
addps m0,m2
addps m4,m6
addps m0,m4
addps m0,[weightsq+864+128]
movhlps m1,m0
maxps m0,m1
pshuflw m1,m0,14
comiss m1,m0
jbe .finish
xor r3,r3
.finish:
mov [dq],r3b
RET
; parameters:
; const float *input,
; const float *weights,
; uint8_t *d
INIT_XMM
cglobal computeNetwork0_FMA3, 3, 5, 8, input, weights, d
;// dotProd48_m4_SSE(input,weights,temp,4);
mov r3,1
xorps m0, m0
xorps m1, m1
xorps m2, m2
xorps m3, m3
xor r4, r4
.loop:
movaps m4, [inputq + r4]
movaps m5, m4
movaps m6, m4
movaps m7, m4
vfmadd231ps m0, m4, [weightsq + r4 * 4]
vfmadd231ps m1, m5, [weightsq + r4 * 4 + 16]
vfmadd231ps m2, m6, [weightsq + r4 * 4 + 32]
vfmadd231ps m3, m7, [weightsq + r4 * 4 + 48]
add r4, 16
cmp r4, 192
jl .loop
haddps m0, m1
haddps m2, m3
haddps m0, m2
addps m0,[weightsq+768]
;// const float t = temp[0];
;// elliott4_SSE(temp);
;// temp[0] = t;
movaps m1,m0
andps m0,[sign_bits_f_zero_l]
addps m0,[ones_f]
rcpps m0,m0
mulps m0,m1
;// dotProd4_m4_SSE2(temp,weights+4*49,temp+4,4);
pshufd m1,m0,0
pshufd m2,m0,85
pshufd m3,m0,170
pshufd m4,m0,255
mulps m1,[weightsq+784]
vfmadd231ps m1, m2, [weightsq+784+16]
mulps m3,[weightsq+784+32]
vfmadd231ps m3, m4, [weightsq+784+48]
addps m1,m3
addps m1,[weightsq+784+64]
;// elliott4_SSE(temp+4);
movaps m7,m1
andps m1,[sign_bits_f]
movaps m3,m0
addps m1,[ones_f]
rcpps m1,m1
mulps m7,m1
;// dotProd8_m4_SSE2(temp,weights+4*49+4*5,temp+32,4);
pshufd m0,m0,0
pshufd m1,m3,85
pshufd m2,m3,170
pshufd m3,m3,255
mulps m0,[weightsq+864]
vfmadd231ps m0, m1, [weightsq+864+16]
mulps m2,[weightsq+864+32]
vfmadd231ps m2, m3, [weightsq+864+48]
pshufd m4,m7,0
pshufd m5,m7,85
pshufd m6,m7,170
pshufd m7,m7,255
mulps m4,[weightsq+864+64]
vfmadd231ps m4, m5, [weightsq+864+80]
mulps m6,[weightsq+864+96]
vfmadd231ps m6, m7, [weightsq+864+112]
addps m0,m2
addps m4,m6
addps m0,m4
addps m0,[weightsq+864+128]
movhlps m1,m0
maxps m0,m1
pshuflw m1,m0,14
comiss m1,m0
jbe .finish
xor r3,r3
.finish:
mov [dq],r3b
RET
; parameters:
; const float *input,
; const float *weights,
; uint8_t *d
INIT_XMM
cglobal computeNetwork0_FMA4, 3, 5, 8, input, weights, d
;// dotProd48_m4_SSE(input,weights,temp,4);
mov r3,1
xorps m0, m0
xorps m1, m1
xorps m2, m2
xorps m3, m3
xor r4, r4
.loop:
movaps m4, [inputq + r4]
movaps m5, m4
movaps m6, m4
movaps m7, m4
vfmaddps m0, m4, [weightsq + r4 * 4], m0
vfmaddps m1, m5, [weightsq + r4 * 4 + 16], m1
vfmaddps m2, m6, [weightsq + r4 * 4 + 32], m2
vfmaddps m3, m7, [weightsq + r4 * 4 + 48], m3
add r4, 16
cmp r4, 192
jl .loop
haddps m0, m1
haddps m2, m3
haddps m0, m2
addps m0,[weightsq+768]
;// const float t = temp[0];
;// elliott4_SSE(temp);
;// temp[0] = t;
movaps m1,m0
andps m0,[sign_bits_f_zero_l]
addps m0,[ones_f]
rcpps m0,m0
mulps m0,m1
;// dotProd4_m4_SSE2(temp,weights+4*49,temp+4,4);
pshufd m1,m0,0
pshufd m2,m0,85
pshufd m3,m0,170
pshufd m4,m0,255
mulps m1,[weightsq+784]
vfmaddps m1, m2, [weightsq+784+16], m1
mulps m3,[weightsq+784+32]
vfmaddps m3, m4, [weightsq+784+48], m3
addps m1,m3
addps m1,[weightsq+784+64]
;// elliott4_SSE(temp+4);
movaps m7,m1
andps m1,[sign_bits_f]
movaps m3,m0
addps m1,[ones_f]
rcpps m1,m1
mulps m7,m1
;// dotProd8_m4_SSE2(temp,weights+4*49+4*5,temp+32,4);
pshufd m0,m0,0
pshufd m1,m3,85
pshufd m2,m3,170
pshufd m3,m3,255
mulps m0,[weightsq+864]
vfmaddps m0, m1, [weightsq+864+16], m0
mulps m2,[weightsq+864+32]
vfmaddps m2, m3, [weightsq+864+48], m2
pshufd m4,m7,0
pshufd m5,m7,85
pshufd m6,m7,170
pshufd m7,m7,255
mulps m4,[weightsq+864+64]
vfmaddps m4, m5, [weightsq+864+80], m4
mulps m6,[weightsq+864+96]
vfmaddps m6, m7, [weightsq+864+112], m6
addps m0,m2
addps m4,m6
addps m0,m4
addps m0,[weightsq+864+128]
movhlps m1,m0
maxps m0,m1
pshuflw m1,m0,14
comiss m1,m0
jbe .finish
xor r3,r3
.finish:
mov [dq],r3b
RET
; parameters:
; const uint8_t *t,
; const int pitch,
; float *p
INIT_XMM
cglobal byte2float48_SSE2, 3, 3, 7, srcp, src_pitch, dstp
pxor m6,m6
movq m0,[srcpq]
movd m4,[srcpq+8]
movq m2,[srcpq+src_pitchq*2]
movd m5,[srcpq+src_pitchq*2+8]
punpcklbw m0,m6
punpcklbw m4,m6
punpcklbw m2,m6
punpcklbw m5,m6
movdqa m1,m0
punpcklbw m4,m6
movdqa m3,m2
punpcklbw m5,m6
punpcklbw m0,m6
punpckhbw m1,m6
punpcklbw m2,m6
punpckhbw m3,m6
lea srcpq,[srcpq+src_pitchq*4]
cvtdq2ps m4,m4
cvtdq2ps m5,m5
cvtdq2ps m0,m0
cvtdq2ps m1,m1
cvtdq2ps m2,m2
cvtdq2ps m3,m3
movaps [dstpq],m0
movaps [dstpq+16],m1
movaps [dstpq+32],m4
movaps [dstpq+48],m2
movaps [dstpq+64],m3
movaps [dstpq+80],m5
movq m0,[srcpq]
movd m4,[srcpq+8]
movq m2,[srcpq+src_pitchq*2]
movd m5,[srcpq+src_pitchq*2+8]
punpcklbw m0,m6
punpcklbw m4,m6
punpcklbw m2,m6
punpcklbw m5,m6
movdqa m1,m0
punpcklbw m4,m6
movdqa m3,m2
punpcklbw m5,m6
punpcklbw m0,m6
punpckhbw m1,m6
punpcklbw m2,m6
punpckhbw m3,m6
cvtdq2ps m4,m4
cvtdq2ps m5,m5
cvtdq2ps m0,m0
cvtdq2ps m1,m1
cvtdq2ps m2,m2
cvtdq2ps m3,m3
movaps [dstpq+96],m0
movaps [dstpq+112],m1
movaps [dstpq+128],m4
movaps [dstpq+144],m2
movaps [dstpq+160],m3
movaps [dstpq+176],m5
RET
; parameters:
; const float *inputf,
; const float *weightsf,
; uint8_t *d
INIT_XMM
cglobal computeNetwork0_i16_SSE2, 3, 5, 8, input, weights, d
mov r3,1
pxor m0, m0
pxor m1, m1
pxor m2, m2
pxor m3, m3
xor r4, r4
.loop:
movdqa m4, [inputq + r4]
movdqa m5, m4
movdqa m6, m4
movdqa m7, m4
pmaddwd m4, [weightsq + r4 * 4]
pmaddwd m5, [weightsq + r4 * 4 + 16]
pmaddwd m6, [weightsq + r4 * 4 + 32]
pmaddwd m7, [weightsq + r4 * 4 + 48]
paddd m0, m4
paddd m1, m5
paddd m2, m6
paddd m3, m7
add r4, 16
cmp r4, 96
jl .loop
movdqa m4,m0
movdqa m5,m2
punpcklqdq m0,m1
punpcklqdq m2,m3
punpckhqdq m4,m1
punpckhqdq m5,m3
paddd m0,m4
paddd m2,m5
movdqa m6,m0
shufps m0,m2,136
shufps m6,m2,221
paddd m0,m6
cvtdq2ps m0,m0
mulps m0,[weightsq+384]
addps m0,[weightsq+400]
;// const float t = temp[0];
;// elliott4_SSE(temp);
;// temp[0] = t;
movaps m1,m0
andps m0,[sign_bits_f_zero_l]
addps m0,[ones_f]
rcpps m0,m0
mulps m0,m1
;// dotProd4_m4_SSE2(temp,weights+4*49,temp+4,4);
pshufd m1,m0,0
pshufd m2,m0,85
pshufd m3,m0,170
pshufd m4,m0,255
mulps m1,[weightsq+416]
mulps m2,[weightsq+416+16]
mulps m3,[weightsq+416+32]
mulps m4,[weightsq+416+48]
addps m1,m2
addps m3,m4
addps m1,m3
addps m1,[weightsq+416+64]
;// elliott4_SSE(temp+4);
movaps m7,m1
andps m1,[sign_bits_f]
movaps m3,m0
addps m1,[ones_f]
rcpps m1,m1
mulps m7,m1
;// dotProd8_m4_SSE2(temp,weights+4*49+4*5,temp+32,4);
pshufd m0,m0,0
pshufd m1,m3,85
pshufd m2,m3,170
pshufd m3,m3,255
mulps m0,[weightsq+496]
mulps m1,[weightsq+496+16]
mulps m2,[weightsq+496+32]
mulps m3,[weightsq+496+48]
pshufd m4,m7,0
pshufd m5,m7,85
pshufd m6,m7,170
pshufd m7,m7,255
mulps m4,[weightsq+496+64]
mulps m5,[weightsq+496+80]
mulps m6,[weightsq+496+96]
mulps m7,[weightsq+496+112]
addps m0,m1
addps m2,m3
addps m4,m5
addps m6,m7
addps m0,m2
addps m4,m6
addps m0,m4
addps m0,[weightsq+496+128]
movhlps m1,m0
maxps m0,m1
pshuflw m1,m0,14
comiss m1,m0
jbe .finish
xor r3,r3
.finish:
mov [dq],r3b
RET
; parameters:
; float *s,
; const int n
INIT_XMM
cglobal e1_m16_SSE2, 2, 2, 6
.eloop8:
movaps m0,[r0]
movaps m3,[r0+16]
minps m0,[exp_hi]
minps m3,[exp_hi]
maxps m0,[exp_lo]
maxps m3,[exp_lo]
mulps m0,[e1_scale]
mulps m3,[e1_scale]
movaps m1,m0
movaps m4,m3
addps m0,[e1_bias]
addps m3,[e1_bias]
movaps m2,m0
movaps m5,m3
subps m0,[e1_bias]
subps m3,[e1_bias]
pslld m2,23
pslld m5,23
subps m1,m0
subps m4,m3
movaps m0,m1
movaps m3,m4
mulps m1,m1
mulps m4,m4
mulps m0,[e1_c1]
mulps m3,[e1_c1]
mulps m1,[e1_c2]
mulps m4,[e1_c2]
addps m0,[e1_c0]
addps m3,[e1_c0]
addps m0,m1
addps m3,m4
paddd m0,m2
paddd m3,m5
movaps [r0],m0
movaps [r0+16],m3
add r0,32
sub r1,8
jnz .eloop8
RET
; parameters:
; float *s,
; const int n
INIT_XMM
cglobal e2_m16_SSE2, 2, 2, 7
.eloop4:
movaps m0,[r0]
minps m0,[exp_hi]
maxps m0,[exp_lo]
movaps m1,[exp_rln2]
mulps m1,m0
xorps m2,m2
addps m1,[am_0p5]
cmpnltps m2,m1
pand m2,[epi32_1]
cvttps2dq m1,m1
movaps m4,[exp_c2]
psubd m1,m2
movaps m5,[exp_c1]
cvtdq2ps m3,m1
mulps m4,m3
mulps m5,m3
movaps m6,[exp_q0]
subps m0,m4
movaps m4,[exp_p0]
subps m0,m5
paddd m1,[epi32_0x7f]
movaps m2,m0
mulps m0,m0
mulps m6,m0
mulps m4,m0
addps m6,[exp_q1]
addps m4,[exp_p1]
mulps m6,m0
mulps m4,m0
addps m6,[exp_q2]
mulps m4,m2
mulps m6,m0
movaps m0,[am_1]
addps m2,m4
addps m6,[exp_q3]
pslld m1,23
subps m6,m2
rcpps m6,m6
mulps m2,m6
addps m2,m2
addps m0,m2
mulps m0,m1
movaps [r0],m0
add r0,16
sub r1,4
jnz .eloop4
RET
; parameters:
; const uint8_t *srcp,
; const int stride,
; const int xdia,
; const int ydia,
; float *mstd,
; float *input
INIT_XMM
cglobal extract_m8_SSE2, 6, 7, 8, srcp, stride, xdia, ydia, mstd, input
lea r6,[srcpq+strideq*2]
pxor m5,m5 ;// sum
pxor m6,m6 ;// sumsq
pxor m3,m3
PUSH ydiaq
PUSH mstdq ; r4
.yloop2:
xor r4,r4
.xloop2:
movq m0,[srcpq+r4]
movq m2,[r6+r4]
punpcklbw m0,m3
punpcklbw m2,m3
movdqa m1,m0
movdqa m4,m2
punpcklwd m0,m3
punpckhwd m1,m3
punpcklwd m2,m3
punpckhwd m4,m3
cvtdq2ps m0,m0
cvtdq2ps m1,m1
cvtdq2ps m2,m2
cvtdq2ps m4,m4
movaps [inputq],m0
movaps [inputq+16],m1
movaps [inputq+xdiaq*4],m2
movaps [inputq+xdiaq*4+16],m4
addps m5,m0
addps m5,m1
addps m5,m2
addps m5,m4
mulps m0,m0
mulps m1,m1
mulps m2,m2
mulps m4,m4
addps m0,m1
addps m2,m4
addps m6,m0
addps m6,m2
add r4,8
add inputq,32
cmp r4,xdiaq
jl .xloop2
lea srcpq,[srcpq+strideq*4]
lea r6,[r6+strideq*4]
lea inputq,[inputq+xdiaq*4]
sub ydiaq,2
jnz .yloop2
POP mstdq
POP ydiaq
movhlps m0,m5
movhlps m1,m6
movd m2,xdiad
movd m4,ydiad
pmuludq m2,m4
addps m5,m0
addps m6,m1
cvtdq2ps m7,m2
pshuflw m0,m5,14
pshuflw m1,m6,14
rcpss m7,m7 ;// scale
addss m5,m0
addss m6,m1
mulss m5,m7 ;// mean
mulss m6,m7
movss [mstdq],m5
mulss m5,m5
subss m6,m5 ;// var
comiss m6,[flt_epsilon_sse]
jbe .novarjmp
rsqrtss m6,m6 ;// 1.0/std
rcpss m5,m6 ;// std
movss [mstdq+4],m5
movss [mstdq+8],m6
jmp .finish
.novarjmp:
movss [mstdq+4],m3
movss [mstdq+8],m3
.finish:
movss [mstdq+12],m3
RET
; Used by default with 16 bit input
;
; parameters:
; const float *data,
; const float *weights,
; float *vals,
; const int n,
; const int len,
; const float *istd
INIT_XMM
cglobal dotProd_SSE2, 6, 7, 8, data, weights, vals, n, len, istd
PUSH valsq
PUSH nq
PUSH istdq ; r5
mov r5,dataq
mov r6d,lend
.nloop:
mov dataq,r5
xorps m0,m0
xorps m1,m1
xorps m2,m2
xorps m3,m3
mov lend,r6d
.lloop:
movaps m4,[dataq]
movaps m5,m4
movaps m6,m4
movaps m7,m4
mulps m4,[weightsq]
mulps m5,[weightsq+16]
mulps m6,[weightsq+32]
mulps m7,[weightsq+48]
addps m0,m4
addps m1,m5
addps m2,m6
addps m3,m7
add dataq,16
add weightsq,64
sub lend,4
jnz .lloop
; This block performs a horizontal sum of each accumulator (m0..m3) and packs the results in m6 (sum(m3) sum(m2) sum(m1) sum(m0)).
; Sadly replacing the twelve instructions with three haddps makes no difference whatsoever on this Core 2 Duo.
movaps m4,m0
movaps m5,m2
unpcklpd m0,m1
unpcklpd m2,m3
unpckhpd m4,m1
unpckhpd m5,m3
addps m0,m4
addps m2,m5
movaps m6,m0
shufps m0,m2,136
shufps m6,m2,221
addps m6,m0
movaps [valsq],m6
add valsq,16
sub nq,4
jnz .nloop
POP istdq
POP nq
POP valsq
movss m7,[istdq]
shufps m7,m7,0
xor r5,r5
.aloop:
movaps m0,[valsq+r5]
mulps m0,m7
addps m0,[weightsq+r5]
movaps [valsq+r5],m0
add r5,16
sub nq,4
jnz .aloop
RET
; parameters:
; const float *data,
; const float *weights,
; float *vals,
; const int n,
; const int len,
; const float *istd
INIT_XMM
cglobal dotProd_FMA3, 6, 7, 8, data, weights, vals, n, len, istd
PUSH valsq
PUSH nq
PUSH istdq ; r5
mov r5,dataq
mov r6d,lend
.nloop:
mov dataq,r5
xorps m0,m0
xorps m1,m1
xorps m2,m2
xorps m3,m3
mov lend,r6d
.lloop:
movaps m4,[dataq]
movaps m5,m4
movaps m6,m4
movaps m7,m4
vfmadd231ps m0, m4, [weightsq]
vfmadd231ps m1, m5, [weightsq + 16]
vfmadd231ps m2, m6, [weightsq + 32]
vfmadd231ps m3, m7, [weightsq + 48]
add dataq,16
add weightsq,64
sub lend,4
jnz .lloop
haddps m0, m1
haddps m2, m3
haddps m0, m2
movaps [valsq],m0
add valsq,16
sub nq,4
jnz .nloop
POP istdq
POP nq
POP valsq
movss m7,[istdq]
shufps m7,m7,0
xor r5,r5
.aloop:
movaps m0,[valsq+r5]
vfmadd213ps m0, m7, [weightsq+r5]
movaps [valsq+r5],m0
add r5,16
sub nq,4
jnz .aloop
RET
; parameters:
; const float *data,
; const float *weights,
; float *vals,
; const int n,
; const int len,
; const float *istd
INIT_XMM
cglobal dotProd_FMA4, 6, 7, 8, data, weights, vals, n, len, istd
PUSH valsq
PUSH nq
PUSH istdq ; r5
mov r5,dataq
mov r6d,lend
.nloop:
mov dataq,r5
xorps m0,m0
xorps m1,m1
xorps m2,m2
xorps m3,m3
mov lend,r6d
.lloop:
movaps m4,[dataq]
movaps m5,m4
movaps m6,m4
movaps m7,m4
vfmaddps m0, m4, [weightsq], m0
vfmaddps m1, m5, [weightsq + 16], m1
vfmaddps m2, m6, [weightsq + 32], m2
vfmaddps m3, m7, [weightsq + 48], m3
add dataq,16
add weightsq,64
sub lend,4
jnz .lloop
haddps m0, m1
haddps m2, m3
haddps m0, m2
movaps [valsq],m0
add valsq,16
sub nq,4
jnz .nloop
POP istdq
POP nq
POP valsq
movss m7,[istdq]
shufps m7,m7,0
xor r5,r5
.aloop:
movaps m0,[valsq+r5]
vfmaddps m0, m0, m7, [weightsq+r5]
movaps [valsq+r5],m0
add r5,16
sub nq,4
jnz .aloop
RET
; parameters:
; const float *dataf,
; const float *weightsf,
; float *vals,
; const int n,
; const int len,
; const float *istd
INIT_XMM
cglobal dotProd_i16_SSE2, 6, 7, 8, data, weights, vals, n, len, istd
PUSH valsq
PUSH nq
PUSH istdq ; r5
mov r5,dataq
mov r6d,lend
.nloop:
mov dataq,r5
pxor m0,m0
pxor m1,m1
pxor m2,m2
pxor m3,m3
mov lend,r6d
.lloop:
movdqa m4,[dataq]
movdqa m5,m4
movdqa m6,m4
movdqa m7,m4
pmaddwd m4,[weightsq]
pmaddwd m5,[weightsq+16]
pmaddwd m6,[weightsq+32]
pmaddwd m7,[weightsq+48]
paddd m0,m4
paddd m1,m5
paddd m2,m6
paddd m3,m7
add dataq,16
add weightsq,64
sub lend,8
jnz .lloop
movdqa m4,m0
movdqa m5,m2
punpcklqdq m0,m1
punpcklqdq m2,m3
punpckhqdq m4,m1
punpckhqdq m5,m3
paddd m0,m4
paddd m2,m5
movdqa m6,m0
shufps m0,m2,136
shufps m6,m2,221
paddd m6,m0
movdqa [valsq],m6
add valsq,16
sub nq,4
jnz .nloop
POP istdq
POP nq
POP valsq
movss m7,[istdq]
pshufd m7,m7,0
xor r5,r5
.aloop:
movdqa m0,[valsq+r5]
cvtdq2ps m0,m0
mulps m0,[weightsq+r5*2]
mulps m0,m7
addps m0,[weightsq+r5*2+16]
movaps [valsq+r5],m0
add r5,16
sub nq,4
jnz .aloop
RET
| 19.253851 | 133 | 0.624574 |
bf7acc20045c5e0e324fa3a4f8f8db80fefc9b61 | 917 | asm | Assembly | os/bootloader/boot_sector_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | 2 | 2021-03-21T09:32:19.000Z | 2022-01-28T22:22:41.000Z | os/bootloader/boot_sector_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | null | null | null | os/bootloader/boot_sector_print.asm | stplasim/basic-os | 36d951e2e2adcbae75a6066b464552b61a3d7f2c | [
"MIT"
] | null | null | null | print:
pusha
; C like:
; while (string[i] != 0) { print string[i]; i++ }
; the comparison for string end (null byte)
start:
mov al, [bx] ; 'bx' is the base address for the string
cmp al, 0
je done
; this is the part where we print with the BIOS help
mov ah, 0x0e
int 0x10 ; 'al' already contains the char
; increment the pointer and do next loop
add bx, 1
jmp start
; To store the return address, the CPU will help us. Instead of using a couple of jmp to call subroutines, we use ret
; To save the register data, there is also a special command which uses the stack:
; pusha and its brother popa, which pushes all registers to the stack automatically and recovers them afterwards.
done:
popa
ret
print_nl:
pusha
mov ah, 0x0e
mov al, 0x0a ; newline char
int 0x10
mov al, 0x0d ; carriage return
int 0x10
popa
ret | 20.840909 | 117 | 0.652126 |
3915ff7824627040e2c31499fadfee644c1f68e9 | 5,895 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_1171_1001.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_1171_1001.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_1171_1001.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x3822, %rsi
lea addresses_normal_ht+0x422, %rdi
nop
nop
nop
nop
sub %r8, %r8
mov $50, %rcx
rep movsq
nop
nop
nop
sub $24823, %r9
lea addresses_A_ht+0x1ec22, %rdi
nop
nop
nop
xor $18130, %r9
mov $0x6162636465666768, %rsi
movq %rsi, %xmm7
movups %xmm7, (%rdi)
nop
xor $9088, %rsi
lea addresses_A_ht+0xd76a, %rsi
lea addresses_WC_ht+0xad82, %rdi
nop
and $25446, %rdx
mov $47, %rcx
rep movsw
nop
nop
add $51358, %rdx
lea addresses_WT_ht+0x3422, %r9
nop
sub %r11, %r11
mov $0x6162636465666768, %rdx
movq %rdx, (%r9)
nop
nop
nop
nop
nop
dec %r9
lea addresses_WT_ht+0xb3ad, %r11
nop
nop
nop
nop
nop
dec %r9
mov $0x6162636465666768, %rdx
movq %rdx, (%r11)
nop
nop
nop
nop
nop
add %rdi, %rdi
lea addresses_A_ht+0xf222, %rcx
nop
nop
nop
nop
inc %r8
mov $0x6162636465666768, %rdx
movq %rdx, %xmm5
vmovups %ymm5, (%rcx)
xor %r9, %r9
lea addresses_WT_ht+0xe622, %rsi
nop
nop
add $41702, %r8
mov (%rsi), %r11
nop
nop
and %r11, %r11
lea addresses_WC_ht+0x8222, %rcx
nop
nop
nop
nop
sub %r9, %r9
movb (%rcx), %r11b
nop
nop
nop
nop
and $55507, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r8
push %rax
push %rcx
push %rdi
// Faulty Load
lea addresses_D+0x1a422, %rdi
nop
nop
add %rax, %rax
mov (%rdi), %cx
lea oracles, %r8
and $0xff, %rcx
shlq $12, %rcx
mov (%r8,%rcx,1), %rcx
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': True}}
{'36': 1171}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 39.3 | 2,999 | 0.658863 |
936d462d3959d2ddfc2fc58634b85571620b7a35 | 388 | asm | Assembly | programs/oeis/276/A276885.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/276/A276885.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/276/A276885.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A276885: Sums-complement of the Beatty sequence for 1 + phi.
; 1,4,9,12,17,22,25,30,33,38,43,46,51,56,59,64,67,72,77,80,85,88,93,98,101,106,111,114,119,122,127,132,135,140,145,148,153,156,161,166,169,174,177,182,187,190,195,200,203,208,211,216,221,224,229,232,237
mov $2,$0
seq $0,130568 ; Generalized Beatty sequence 1+2*floor(n*phi), which contains infinitely many primes.
add $0,$2
| 55.428571 | 202 | 0.721649 |
f1f4d7a8375f86452e193bfef33ae9b0d706701a | 202 | asm | Assembly | programs/oeis/166/A166361.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/166/A166361.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/166/A166361.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A166361: Scale degrees of the roots of chords in a traditional "twelve-bar blues" in Western music.
; 1,1,1,1,4,4,1,1,5,4,1,1
bin $0,2
lpb $0
dif $0,2
add $1,1
div $0,$1
lpe
add $1,1
mov $0,$1
| 16.833333 | 101 | 0.633663 |
b15d22dec48cd710f4115827870d787835e36261 | 327 | asm | Assembly | programs/oeis/021/A021189.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/021/A021189.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/021/A021189.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A021189: Decimal expansion of 1/185.
; 0,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5,4,0,5
mov $2,6
lpb $0
sub $0,1
mod $0,3
mov $1,$3
sub $2,1
mov $3,$2
lpe
mov $0,$1
| 25.153846 | 199 | 0.519878 |
bbc99d075a34c30ba7d1154c85f06b9f4cf5f06a | 422 | asm | Assembly | oeis/038/A038235.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/038/A038235.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/038/A038235.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A038235: Bottom line of 4-wave sequence A038197, also bisection of A006357.
; 1,10,85,707,5864,48620,403104,3342081,27708726,229729153,1904652103,15791202736,130922641160,1085461206128,8999406210929,74612811302754,618604325665341,5128761469382475,42521840081752984,352542596245147348
mul $0,2
seq $0,6357 ; Number of distributive lattices; also number of paths with n turns when light is reflected from 4 glass plates.
| 70.333333 | 207 | 0.831754 |
67a6d9b3fb163e2a1952296d942a4cfea435fc06 | 295 | asm | Assembly | programs/oeis/258/A258810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/258/A258810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/258/A258810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A258810: a(n) = n^9 - 1.
; 0,511,19682,262143,1953124,10077695,40353606,134217727,387420488,999999999,2357947690,5159780351,10604499372,20661046783,38443359374,68719476735,118587876496,198359290367,322687697778,511999999999,794280046580,1207269217791,1801152661462
add $0,1
pow $0,9
sub $0,1
| 42.142857 | 239 | 0.820339 |
1c5b45264dfd7da7ca5749d44f732af5369a7f99 | 304 | asm | Assembly | data/wild/maps/ViridianForest.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/wild/maps/ViridianForest.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/wild/maps/ViridianForest.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | ViridianForestWildMons:
def_grass_wildmons 8 ; encounter rate
db 5, CATERPIE
db 6, WEEDLE
db 6, TANGELA
db 6, BELLSPROUT
db 8, KAKUNA
db 8, METAPOD
db 7, PARAS
db 7, BULBASAUR
db 9, MANKEY
db 9, PIKACHU
end_grass_wildmons
def_water_wildmons 0 ; encounter rate
end_water_wildmons
| 17.882353 | 38 | 0.733553 |
4d03421a635037f0678eaa8bd68614925824d97e | 4,500 | asm | Assembly | calc.asm | asmgrinder/AsmCalc | f072ee433724f602230ac7eaeae9e4150a01baa4 | [
"MIT"
] | null | null | null | calc.asm | asmgrinder/AsmCalc | f072ee433724f602230ac7eaeae9e4150a01baa4 | [
"MIT"
] | null | null | null | calc.asm | asmgrinder/AsmCalc | f072ee433724f602230ac7eaeae9e4150a01baa4 | [
"MIT"
] | null | null | null | ; calculator written in assembly language
; This file is provided as is with no warranty of any kind. Use at your own risk.
%include "win32.inc"
;global _main
[section .text]
proc _main
stdcall initApp
invoke GetModuleHandle, null
mov edi, gMainDlg
stdcall MainDialog_Create, eax
;~ jmp MainDialog_InputEditProc ; make ollydbg recognize instructions in this proc
;~ stdcall uninitApp
invoke ExitProcess, _0
;return
endp
%include "evaluator.inc"
%include "maindlg.inc"
[section .text]
%macro testcase_evaluate 4
[section .rdata]
%%testval: dt %4
%%str: unicode %1
%%str_length equ ($ - %%str) / word.size
dw 0
[section .text]
stdcall Evaluate, %%str, %%str_length, %2, gTmpFloat
%if %3 != 0
jne %%testcase_fail
fld tword[gTmpFloat]
fld st0
stdcall floatToString, TestCase_Text
fld tword[%%testval] ; testval val
fsubp st1 ; val - testval
fabs ; fabs(val - testval)
fld tword[ConstEpsilon] ; Const_Epsilon fabs(val - testval)
fcompp ; compare and clear registers
fstsw ax ; copy fpu flags to cpu flags
sahf
ja %%completed
%else
jne %%completed
fstp tword[gTmpFloat]
%endif
%%testcase_fail:
invoke MessageBox, null, %%str, "fail", _0
%%completed:
%endm
proc initApp
;enter
xor ebx, ebx ; ebx = null
;~ invoke InitCommonControlsEx, InitCtrls
invoke InitCommonControls
finit
%ifdef DEBUG
; test cases
testcase_evaluate "round(1.6)", ANGLE_MODE_DEGREES, 1, 2.0
testcase_evaluate "int(1.6)", ANGLE_MODE_DEGREES, 1, 1.0
testcase_evaluate "acoth(1.1)", ANGLE_MODE_DEGREES, 1, 1.5222612188617114980
testcase_evaluate "acoth(0.1)", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "acot(0.1)", ANGLE_MODE_DEGREES, 1, 84.289406862500357490
testcase_evaluate "cot(10)", ANGLE_MODE_DEGREES, 1, 5.6712818196177095210
testcase_evaluate "acosh(0.1)", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "hex(abba)", ANGLE_MODE_DEGREES, 1, 43962.0
testcase_evaluate "oct(777)", ANGLE_MODE_DEGREES, 1, 511.0
testcase_evaluate "bin(1110)", ANGLE_MODE_DEGREES, 1, 14.0
testcase_evaluate "div(111, 100)", ANGLE_MODE_DEGREES, 1, 1.0
testcase_evaluate "mod(111, 100)", ANGLE_MODE_DEGREES, 1, 11.0
testcase_evaluate "logn(10, 100)", ANGLE_MODE_DEGREES, 1, 2.0
testcase_evaluate "(-1.000001)^777777", ANGLE_MODE_DEGREES, 1, -2.1766273923175944230
testcase_evaluate "(-1.000001)^6666666", ANGLE_MODE_DEGREES, 1, 785.76885114786196250
testcase_evaluate "root(8, 3)", ANGLE_MODE_DEGREES, 1, 2.0
testcase_evaluate "33%", ANGLE_MODE_DEGREES, 1, 0.33
testcase_evaluate "(4/0)", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "asin(1)", ANGLE_MODE_GRADS, 1, 99.999999999999999990 ; 1.5707963267948966190
testcase_evaluate "0.001", ANGLE_MODE_DEGREES, 1, 0.001
testcase_evaluate "2^77777", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "2 + 2 * 2", ANGLE_MODE_DEGREES, 1, 6.0
testcase_evaluate "sin(pi)", ANGLE_MODE_RADIANS, 1, 0.0
testcase_evaluate "0.000001^0.000001", ANGLE_MODE_DEGREES, 1, 0.9999861845848757623
testcase_evaluate "euler", ANGLE_MODE_DEGREES, 1, 2.7182818284590452354
testcase_evaluate "pi", ANGLE_MODE_DEGREES, 1, 3.1415926535897932380
testcase_evaluate "2 + 2 * 2", ANGLE_MODE_DEGREES, 1, 6.0
testcase_evaluate "(2 + 2) * 2", ANGLE_MODE_DEGREES, 1, 8.0
testcase_evaluate "3*2*-12345.5555555e-1", ANGLE_MODE_DEGREES, 1, -7407.3333333
testcase_evaluate "-12345.5555555e-1*2*3", ANGLE_MODE_DEGREES, 1, -7407.3333333
testcase_evaluate "0.0000000000000000000000000000000000001e-4900", ANGLE_MODE_DEGREES, 0, 0.
testcase_evaluate "-1000e4931", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "2-", ANGLE_MODE_DEGREES, 0, 0.0
testcase_evaluate "12345.", ANGLE_MODE_DEGREES, 1, 12345.0
testcase_evaluate "12345.555", ANGLE_MODE_DEGREES, 1, 12345.555
testcase_evaluate "-1.3434e-2", ANGLE_MODE_DEGREES, 1, -1.3434e-2
testcase_evaluate " -2 -1 ", ANGLE_MODE_DEGREES, 1, -3.0
%endif
;leave
return
endp
;~ proc uninitApp
;~ ret
;~ endp
[section .data]
;~ InitCtrls: istruc INITCOMMONCONTROLSEX
;~ at INITCOMMONCONTROLSEX.dwSize
;~ dd INITCOMMONCONTROLSEX.size
;~ dd ICC_WIN95_CLASSES
;~ iend
[section .bss]
gMainDlg: resb MainDialog.size ; main dialog instance
%ifdef DEBUG
[section .bss]
gTmpFloat: rest 1
TestCase_Text: resw 128
%endif
| 35.15625 | 99 | 0.704889 |
15036b89b90d3d307b84945f65081f7720de15ba | 841 | asm | Assembly | programs/oeis/005/A005701.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/005/A005701.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/005/A005701.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A005701: Number of exterior points formed by extending diagonals of n-gon in general position.
; 3,14,40,90,175,308,504,780,1155,1650,2288,3094,4095,5320,6800,8568,10659,13110,15960,19250,23023,27324,32200,37700,43875,50778,58464,66990,76415,86800,98208,110704,124355,139230,155400,172938,191919,212420,234520,258300,283843,311234,340560,371910,405375,441048,479024,519400,562275,607750,655928,706914,760815,817740,877800,941108,1007779,1077930,1151680,1229150,1310463,1395744,1485120,1578720,1676675,1779118,1886184,1998010,2114735,2236500,2363448,2495724,2633475,2776850,2926000,3081078,3242239,3409640,3583440,3763800,3950883,4144854,4345880,4554130,4769775,4992988,5223944,5462820,5709795,5965050,6228768,6501134,6782335,7072560,7372000,7680848,7999299,8327550,8665800,9014250
mov $1,$0
add $0,3
bin $0,$1
add $1,6
mul $0,$1
div $0,2
| 84.1 | 685 | 0.82283 |
207ddbdb7a3d78e094ce4283792b04c5cac714c4 | 560 | asm | Assembly | programs/oeis/247/A247161.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/247/A247161.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/247/A247161.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A247161: Dynamic Betting Game D(n,4,2).
; 1,2,4,5,6,8,9,11,12,13,16,17,18,20,21,22,24,25,27,28,29,32,33,34,36,37,38,40,41,43,44,45,48,49,50,52,53,54,56,57,59,60,61,64,65,66,68,69,70,72,73,75,76,77,80,81,82,84,85,86,88,89,91,92,93,96,97,98,100,101,102,104,105,107,108,109,112,113,114,116,117,118,120,121,123,124,125,128,129,130,132,133,134,136,137,139,140,141,144,145
mov $4,$0
sub $0,1
mov $2,4
mov $3,1
add $3,$0
mul $3,2
add $2,$3
add $3,$2
add $3,1
div $3,11
mov $1,$3
lpb $0
div $0,2
div $3,4
add $1,$3
mov $3,2
lpe
add $1,1
add $1,$4
mov $0,$1
| 23.333333 | 326 | 0.628571 |
a24146fd7a1d7ce9a62bb820c8712705f8b52572 | 1,442 | asm | Assembly | libsrc/gfx/wide/w_undraw_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 4 | 2021-11-20T19:35:01.000Z | 2022-01-01T16:08:42.000Z | libsrc/gfx/wide/w_undraw_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | null | null | null | libsrc/gfx/wide/w_undraw_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1 | 2021-11-27T15:58:02.000Z | 2021-11-27T15:58:02.000Z | ;
; Z88 Graphics Functions
; Written around the Interlogic Standard Library
;
; Wide resolution (int type parameters) and CALLEE conversion by Stefano Bodrato, 2018
;
; ----- void __CALLEE__ undraw(int x, int y, int x2, int y2)
;
;
; $Id: w_undraw_callee.asm $
;
IF !__CPU_INTEL__
SECTION code_graphics
PUBLIC undraw_callee
PUBLIC _undraw_callee
PUBLIC ASMDISP_UNDRAW_CALLEE
EXTERN swapgfxbk
EXTERN swapgfxbk1
EXTERN w_line_r
EXTERN w_respixel
EXTERN __graphics_end
.undraw_callee
._undraw_callee
pop af
pop de ;y2
pop hl ;x2
exx ; w_plotpixel and swapgfxbk must not use the alternate registers, no problem with w_line_r
pop de ;y1
pop hl ;x1
push af ; ret addr
.asmentry
push ix
push hl ;x1
push de ;y1
call swapgfxbk
call w_respixel
exx
ex de,hl
pop bc ;y1
or a
sbc hl,bc
ex de,hl
pop bc ;x1
or a
sbc hl,bc
ld ix,w_respixel
call w_line_r
jp __graphics_end
DEFC ASMDISP_UNDRAW_CALLEE = asmentry - undraw_callee
ENDIF
| 22.184615 | 130 | 0.5 |
d98667e0add3ba8644677c8499964595ff04d5dd | 1,365 | asm | Assembly | include/asm_io.asm | ieeqc/ASM_LIB | 27ccf1ef7d30b505cf09aa1e20e701815bcecb3e | [
"MIT"
] | null | null | null | include/asm_io.asm | ieeqc/ASM_LIB | 27ccf1ef7d30b505cf09aa1e20e701815bcecb3e | [
"MIT"
] | null | null | null | include/asm_io.asm | ieeqc/ASM_LIB | 27ccf1ef7d30b505cf09aa1e20e701815bcecb3e | [
"MIT"
] | null | null | null | ;;; void asm_iprint(Integer number)
;; 将数字输出到屏幕
asm_iprint:
push eax
push ecx
push edx
push esi
mov ecx, 0
divideLoop:
inc ecx
mov edx, 0
mov esi, 10
idiv esi
add edx, 48
push edx
cmp eax, 0
jnz divideLoop
printLoop:
dec ecx
mov eax, esp
call asm_sprint
pop eax
cmp ecx, 0
jnz printLoop
pop esi
pop edx
pop ecx
pop eax
ret
;;; void iprint(Integer number)
;; 将数字输出到屏幕, 自带换行符
asm_iprintLF:
call asm_iprint
push eax
mov eax, 0Ah
push eax
mov eax, esp
call asm_sprint
pop eax
pop eax
ret
;;; int asm_strlen(string message)
;; 字符串长度计算
asm_strlen:
push ebx
mov ebx, eax
nextchar:
cmp byte [eax], 0
jz finished
inc eax
jmp nextchar
finished:
sub eax, ebx
pop ebx
ret
;;; void asm_sprint(string message)
;; 字符串打印函数
asm_sprint:
push edx
push ecx
push ebx
push eax
call asm_strlen
mov edx, eax
pop eax
mov ecx, eax
mov ebx, 1
mov eax, 4
int 80h
pop ebx
pop ecx
pop edx
ret
;;; void sprint(string message)
;; 将字符串输出到屏幕, 自带换行符
asm_sprintLF:
call asm_sprint
push eax
mov eax, 0Ah
push eax
mov eax, esp
call asm_sprint
pop eax
pop eax
ret
| 13.65 | 35 | 0.565568 |
d7d517d0c0fb8e2fcac2733d3911898742b31212 | 19,955 | asm | Assembly | microcontrollers/nm5101/masterkit/gse.asm | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | 34 | 2016-10-29T19:50:34.000Z | 2022-02-12T21:27:43.000Z | microcontrollers/nm5101/masterkit/gse.asm | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | null | null | null | microcontrollers/nm5101/masterkit/gse.asm | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | 19 | 2017-06-19T23:04:00.000Z | 2021-11-13T15:00:41.000Z | .include "2313def.inc"
.def DEL25 =R1 ;(GL)DELAY 0.25 ms
;======================== *** SRAM SEGMENT ***==============================
.DSEG ;SRAM memory segment
NUMBER: .byte 1
POSITION: .byte 1
ADRES: .byte 1
EFF: .byte 1
BUT_FL: .byte 1
PIC_BUF1: .byte 1
PIC_BUF2: .byte 1
PIC_BUF3: .byte 1
PIC_BUF4: .byte 1
PIC_BUF5: .byte 1
PIC_BUF6: .byte 1
PIC_BUF7: .byte 1
;======================== *** CODE SEGMENT ***==============================
.CSEG ;begin of program memory
.org 0
;-----------------SETUP INTERRUPTS HANDLERS---------------------------------
reset: rjmp start ; 00 Reset Handler
reti ; 01 IRQ0 Handler
reti ; 02 IRQ1 Handler
reti ; 03 Timer1 Capture Handler
reti ; 04 Timer1 Compare Handler
reti ; 05 Timer1 Overflow Handler
rjmp TimeKey ; 06 Timer0 Overflow Handler
reti ; 07 UART RX Complete Handler
reti ; 08 UDR Empty Handler
reti ; 09 UART TX Complete Handler
reti ; 0A Analog Comparator Handler
;--------------------- Messages & Constants --------------------------------
PIC1_1a: .db 0b00110110
PIC1_1b: .db 0b01111111
PIC1_1c: .db 0b01111111
PIC1_1d: .db 0b01111111
PIC1_1e: .db 0b00111110
PIC1_1f: .db 0b00011100
PIC1_1g: .db 0b00001000
PIC1_2a: .db 0b00000000
PIC1_2b: .db 0b00011100
PIC1_2c: .db 0b00111110
PIC1_2d: .db 0b00111110
PIC1_2e: .db 0b00011100
PIC1_2f: .db 0b00001000
PIC1_2g: .db 0b00000000
PIC1_3a: .db 0b00000000
PIC1_3b: .db 0b00000000
PIC1_3c: .db 0b00011100
PIC1_3d: .db 0b00011100
PIC1_3e: .db 0b00001000
PIC1_3f: .db 0b00000000
PIC1_3g: .db 0b00000000
PIC1_4a: .db 0b00000000
PIC1_4b: .db 0b00000000
PIC1_4c: .db 0b00000000
PIC1_4d: .db 0b00001000
PIC1_4e: .db 0b00000000
PIC1_4f: .db 0b00000000
PIC1_4g: .db 0b00000000
PIC1_5a: .db 0b00000000
PIC1_5b: .db 0b00000000
PIC1_5c: .db 0b00000000
PIC1_5d: .db 0b00000000
PIC1_5e: .db 0b00000000
PIC1_5f: .db 0b00000000
PIC1_5g: .db 0b00000000
;-------------------------------
PIC2_1a: .db 0b00001000
PIC2_1b: .db 0b00001000
PIC2_1c: .db 0b00001000
PIC2_1d: .db 0b00001000
PIC2_1e: .db 0b00001000
PIC2_1f: .db 0b00001000
PIC2_1g: .db 0b00001000
PIC2_2a: .db 0b00000001
PIC2_2b: .db 0b00000010
PIC2_2c: .db 0b00000100
PIC2_2d: .db 0b00001000
PIC2_2e: .db 0b00010000
PIC2_2f: .db 0b00100000
PIC2_2g: .db 0b01000000
PIC2_3a: .db 0b00000000
PIC2_3b: .db 0b00000000
PIC2_3c: .db 0b00000000
PIC2_3d: .db 0b01111111
PIC2_3e: .db 0b00000000
PIC2_3f: .db 0b00000000
PIC2_3g: .db 0b00000000
PIC2_4a: .db 0b01000000
PIC2_4b: .db 0b00100000
PIC2_4c: .db 0b00010000
PIC2_4d: .db 0b00001000
PIC2_4e: .db 0b00000100
PIC2_4f: .db 0b00000010
PIC2_4g: .db 0b00000001
;-------------------------------
PIC3_1a: .db 0b00011100
PIC3_1b: .db 0b00101010
PIC3_1c: .db 0b01001001
PIC3_1d: .db 0b01001001
PIC3_1e: .db 0b01010101
PIC3_1f: .db 0b00100010
PIC3_1g: .db 0b00011100
PIC3_2a: .db 0b00011100
PIC3_2b: .db 0b00101010
PIC3_2c: .db 0b00101010
PIC3_2d: .db 0b00101010
PIC3_2e: .db 0b00110110
PIC3_2f: .db 0b00100010
PIC3_2g: .db 0b00011100
PIC3_3a: .db 0b00001000
PIC3_3b: .db 0b00011100
PIC3_3c: .db 0b00011100
PIC3_3d: .db 0b00011100
PIC3_3e: .db 0b00010100
PIC3_3f: .db 0b00010100
PIC3_3g: .db 0b00001000
PIC3_4a: .db 0b00001000
PIC3_4b: .db 0b00001000
PIC3_4c: .db 0b00001000
PIC3_4d: .db 0b00001000
PIC3_4e: .db 0b00001000
PIC3_4f: .db 0b00001000
PIC3_4g: .db 0b00001000
;-------------------------------
PIC4_1a: .db 0b00001000
PIC4_1b: .db 0b00001000
PIC4_1c: .db 0b00001000
PIC4_1d: .db 0b01111111
PIC4_1e: .db 0b00001000
PIC4_1f: .db 0b00001000
PIC4_1g: .db 0b00001000
PIC4_2a: .db 0b01000001
PIC4_2b: .db 0b00100010
PIC4_2c: .db 0b00010100
PIC4_2d: .db 0b00001000
PIC4_2e: .db 0b00010100
PIC4_2f: .db 0b00100010
PIC4_2g: .db 0b01000001
;-------------------------------
PIC5_1a: .db 0b00000000
PIC5_1b: .db 0b01000001
PIC5_1c: .db 0b00100010
PIC5_1d: .db 0b00010100
PIC5_1e: .db 0b00001000
PIC5_1f: .db 0b00000000
PIC5_1g: .db 0b00000000
PIC5_2a: .db 0b00000000
PIC5_2b: .db 0b00000000
PIC5_2c: .db 0b01000001
PIC5_2d: .db 0b00110110
PIC5_2e: .db 0b00001000
PIC5_2f: .db 0b00000000
PIC5_2g: .db 0b00000000
PIC5_3a: .db 0b00000000
PIC5_3b: .db 0b00000000
PIC5_3c: .db 0b00000000
PIC5_3d: .db 0b01110111
PIC5_3e: .db 0b00001000
PIC5_3f: .db 0b00000000
PIC5_3g: .db 0b00000000
PIC5_4a: .db 0b00000000
PIC5_4b: .db 0b00000000
PIC5_4c: .db 0b00000000
PIC5_4d: .db 0b00110110
PIC5_4e: .db 0b01001001
PIC5_4f: .db 0b00000000
PIC5_4g: .db 0b00000000
;-------------------------------
PIC6_1a: .db 0b00000000
PIC6_1b: .db 0b00000000
PIC6_1c: .db 0b00000000
PIC6_1d: .db 0b00001000
PIC6_1e: .db 0b00000000
PIC6_1f: .db 0b00000000
PIC6_1g: .db 0b00000000
PIC6_2a: .db 0b00000000
PIC6_2b: .db 0b00000000
PIC6_2c: .db 0b00001000
PIC6_2d: .db 0b00011100
PIC6_2e: .db 0b00001000
PIC6_2f: .db 0b00000000
PIC6_2g: .db 0b00000000
PIC6_3a: .db 0b00000000
PIC6_3b: .db 0b00000000
PIC6_3c: .db 0b00011100
PIC6_3d: .db 0b00011100
PIC6_3e: .db 0b00011100
PIC6_3f: .db 0b00000000
PIC6_3g: .db 0b00000000
PIC6_4a: .db 0b00000000
PIC6_4b: .db 0b00101010
PIC6_4c: .db 0b00011100
PIC6_4d: .db 0b00111110
PIC6_4e: .db 0b00011100
PIC6_4f: .db 0b00101010
PIC6_4g: .db 0b00000000
PIC6_5a: .db 0b01001001
PIC6_5b: .db 0b00101010
PIC6_5c: .db 0b00011100
PIC6_5d: .db 0b01111111
PIC6_5e: .db 0b00011100
PIC6_5f: .db 0b00101010
PIC6_5g: .db 0b01001001
PIC6_6a: .db 0b00000000
PIC6_6b: .db 0b00000000
PIC6_6c: .db 0b00000000
PIC6_6d: .db 0b00000000
PIC6_6e: .db 0b00000000
PIC6_6f: .db 0b00000000
PIC6_6g: .db 0b00000000
;-------------------------------
PIC7_1a: .db 0b00001000
PIC7_1b: .db 0b00001000
PIC7_1c: .db 0b00001000
PIC7_1d: .db 0b01111111
PIC7_1e: .db 0b00001000
PIC7_1f: .db 0b00001000
PIC7_1g: .db 0b00001000
PIC7_2a: .db 0b00001000
PIC7_2b: .db 0b00001000
PIC7_2c: .db 0b00011100
PIC7_2d: .db 0b01110111
PIC7_2e: .db 0b00011100
PIC7_2f: .db 0b00001000
PIC7_2g: .db 0b00001000
PIC7_3a: .db 0b00001000
PIC7_3b: .db 0b00111110
PIC7_3c: .db 0b00100010
PIC7_3d: .db 0b01100011
PIC7_3e: .db 0b00100000
PIC7_3f: .db 0b00111110
PIC7_3g: .db 0b00001000
PIC7_4a: .db 0b01111111
PIC7_4b: .db 0b01000001
PIC7_4c: .db 0b01000001
PIC7_4d: .db 0b01000001
PIC7_4e: .db 0b01000001
PIC7_4f: .db 0b01000001
PIC7_4g: .db 0b01111111
;-------------------------------
PIC8_1a: .db 0b00000000
PIC8_1b: .db 0b00000000
PIC8_1c: .db 0b00100000
PIC8_1d: .db 0b00100100
PIC8_1e: .db 0b00101101
PIC8_1f: .db 0b01111111
PIC8_1g: .db 0b01111111
PIC8_2a: .db 0b00000000
PIC8_2b: .db 0b01000000
PIC8_2c: .db 0b01000000
PIC8_2d: .db 0b01010100
PIC8_2e: .db 0b01111110
PIC8_2f: .db 0b01111111
PIC8_2g: .db 0b01111111
PIC8_3a: .db 0b00000000
PIC8_3b: .db 0b00000000
PIC8_3c: .db 0b00001001
PIC8_3d: .db 0b00001011
PIC8_3e: .db 0b00101111
PIC8_3f: .db 0b01111111
PIC8_3g: .db 0b01111111
PIC8_4a: .db 0b00000000
PIC8_4b: .db 0b00001000
PIC8_4c: .db 0b00001000
PIC8_4d: .db 0b00001001
PIC8_4e: .db 0b00101011
PIC8_4f: .db 0b01111111
PIC8_4g: .db 0b01111111
;-------------------------------
PIC9_1a: .db 0b01111111
PIC9_1b: .db 0b01000001
PIC9_1c: .db 0b01000001
PIC9_1d: .db 0b01000001
PIC9_1e: .db 0b01000001
PIC9_1f: .db 0b01000001
PIC9_1g: .db 0b01111111
PIC9_2a: .db 0b00000000
PIC9_2b: .db 0b00111110
PIC9_2c: .db 0b00100010
PIC9_2d: .db 0b00100010
PIC9_2e: .db 0b00100010
PIC9_2f: .db 0b00111110
PIC9_2g: .db 0b00000000
PIC9_3a: .db 0b00000000
PIC9_3b: .db 0b00000000
PIC9_3c: .db 0b00011100
PIC9_3d: .db 0b00010100
PIC9_3e: .db 0b00011100
PIC9_3f: .db 0b00000000
PIC9_3g: .db 0b00000000
PIC9_4a: .db 0b00000000
PIC9_4b: .db 0b00000000
PIC9_4c: .db 0b00000000
PIC9_4d: .db 0b00001000
PIC9_4e: .db 0b00000000
PIC9_4f: .db 0b00000000
PIC9_4g: .db 0b00000000
;-------------------------------
PIC10_1a: .db 0b00011100
PIC10_1b: .db 0b00100010
PIC10_1c: .db 0b01000001
PIC10_1d: .db 0b01000001
PIC10_1e: .db 0b01000001
PIC10_1f: .db 0b00100010
PIC10_1g: .db 0b00011100
PIC10_2a: .db 0b00000000
PIC10_2b: .db 0b00011100
PIC10_2c: .db 0b00100010
PIC10_2d: .db 0b00100010
PIC10_2e: .db 0b00100010
PIC10_2f: .db 0b00011100
PIC10_2g: .db 0b00000000
PIC10_3a: .db 0b00000000
PIC10_3b: .db 0b00000000
PIC10_3c: .db 0b00001000
PIC10_3d: .db 0b00010100
PIC10_3e: .db 0b00001000
PIC10_3f: .db 0b00000000
PIC10_3g: .db 0b00000000
PIC10_4a: .db 0b00000000
PIC10_4b: .db 0b00000000
PIC10_4c: .db 0b00000000
PIC10_4d: .db 0b00001000
PIC10_4e: .db 0b00000000
PIC10_4f: .db 0b00000000
PIC10_4g: .db 0b00000000
;-------------------------------
PIC11_1a: .db 0b01111111
PIC11_1b: .db 0b01000001
PIC11_1c: .db 0b01000001
PIC11_1d: .db 0b01000001
PIC11_1e: .db 0b01000001
PIC11_1f: .db 0b01000001
PIC11_1g: .db 0b01111111
PIC11_2a: .db 0b00000000
PIC11_2b: .db 0b00000000
PIC11_2c: .db 0b00000000
PIC11_2d: .db 0b00000000
PIC11_2e: .db 0b00000000
PIC11_2f: .db 0b00000000
PIC11_2g: .db 0b00000000
PIC11_3a: .db 0b00001000
PIC11_3b: .db 0b00010100
PIC11_3c: .db 0b00100010
PIC11_3d: .db 0b01000001
PIC11_3e: .db 0b00100010
PIC11_3f: .db 0b00010100
PIC11_3g: .db 0b00001000
PIC11_4a: .db 0b00000000
PIC11_4b: .db 0b00000000
PIC11_4c: .db 0b00000000
PIC11_4d: .db 0b00000000
PIC11_4e: .db 0b00000000
PIC11_4f: .db 0b00000000
PIC11_4g: .db 0b00000000
;-------------------------------
PIC12_1a: .db 0b01111111
PIC12_1b: .db 0b01000001
PIC12_1c: .db 0b01000001
PIC12_1d: .db 0b01000001
PIC12_1e: .db 0b01000001
PIC12_1f: .db 0b01000001
PIC12_1g: .db 0b01111111
PIC12_2a: .db 0b00111110
PIC12_2b: .db 0b01000001
PIC12_2c: .db 0b01000001
PIC12_2d: .db 0b01000001
PIC12_2e: .db 0b01000001
PIC12_2f: .db 0b01000001
PIC12_2g: .db 0b00111110
PIC12_3a: .db 0b00011100
PIC12_3b: .db 0b00100010
PIC12_3c: .db 0b01000001
PIC12_3d: .db 0b01000001
PIC12_3e: .db 0b01000001
PIC12_3f: .db 0b00100010
PIC12_3g: .db 0b00011100
PIC12_4a: .db 0b00001000
PIC12_4b: .db 0b00010100
PIC12_4c: .db 0b00110110
PIC12_4d: .db 0b01000001
PIC12_4e: .db 0b00110110
PIC12_4f: .db 0b00010100
PIC12_4g: .db 0b00001000
PIC12_5a: .db 0b00000000
PIC12_5b: .db 0b00010100
PIC12_5c: .db 0b00110110
PIC12_5d: .db 0b00001010
PIC12_5e: .db 0b00110110
PIC12_5f: .db 0b00010100
PIC12_5g: .db 0b00000000
PIC12_6a: .db 0b00000000
PIC12_6b: .db 0b00000000
PIC12_6c: .db 0b00011100
PIC12_6d: .db 0b00011100
PIC12_6e: .db 0b00011100
PIC12_6f: .db 0b00000000
PIC12_6g: .db 0b00000000
PIC12_7a: .db 0b00000000
PIC12_7b: .db 0b00000000
PIC12_7c: .db 0b00000000
PIC12_7d: .db 0b00001000
PIC12_7e: .db 0b00000000
PIC12_7f: .db 0b00000000
PIC12_7g: .db 0b00000000
PIC12_8a: .db 0b00000000
PIC12_8b: .db 0b00000000
PIC12_8c: .db 0b00000000
PIC12_8d: .db 0b00000000
PIC12_8e: .db 0b00000000
PIC12_8f: .db 0b00000000
PIC12_8g: .db 0b00000000
;----------------------- BEGIN OF PROGRAMM ---------------------------------
;---------------------- *** setup part *** ---------------------------------
start: ldi r16,0xdf ;stack init SP=0xdf
out spl,r16 ;
sbi ACSR,ACD ;Analog comparator off
ldi r16,0xFF ;Set Ini Ports func (DIRECTION)
out ddrb,r16 ; DDRB
ldi r16,0b11111110 ;Set Ini Ports value (VALUE)
out portb,r16 ; PORTB
ldi r16,0xFF ;Set Ini Ports func (DIRECTIO) (76543210)
out ddrd,r16 ; DDRD
ldi r16,0b01010101 ;Set Ini Ports value (VALUE) (76543210)
out portd,r16 ; PORTD
ldi r16,0b00000011
out TCCR0,r16 ;T/C0 CK/64
ldi r16,0b00000010
out TIMSK,r16 ;T/C0 Overflow INT enable
;--------------------- Registers clearing ----------------------------------
ldi r31,0x00 ;Load 0=>MSB (Z)
ldi r30,0x1d ;Load 29=>LSB (Z)
RgClr: st Z,R31 ;0=>R(Z)
dec R30 ;Counter=counter-1
brne RgClr ;Do until counter=0
;====================== Main program =======================================
sei ;global INT enable
;--------------------------- SETUP -----------------------------------------
ldi r16,7
ldi r17,0b111111110
sts NUMBER,r16
sts POSITION,r17
ldi r16,1
sts EFF,r16
clr r16
sts BUT_FL,r16
;---------------------------------------------------------------------------
EFF1: lds r16,EFF
cpi r16,0x01
brne EFF2
rcall DL25
ldi ZL,low(PIC1_1a*2)
ldi ZH,high(PIC1_1a*2)
rcall PIC_PICB
rcall DL25
rcall DL25
ldi ZL,low(PIC1_2a*2)
ldi ZH,high(PIC1_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_3a*2)
ldi ZH,high(PIC1_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_4a*2)
ldi ZH,high(PIC1_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_5a*2)
ldi ZH,high(PIC1_5a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_4a*2)
ldi ZH,high(PIC1_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_3a*2)
ldi ZH,high(PIC1_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC1_2a*2)
ldi ZH,high(PIC1_2a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF1
EFF2: lds r16,EFF
cpi r16,0x02
brne EFF3
rcall DL25
ldi ZL,low(PIC2_1a*2)
ldi ZH,high(PIC2_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC2_2a*2)
ldi ZH,high(PIC2_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC2_3a*2)
ldi ZH,high(PIC2_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC2_4a*2)
ldi ZH,high(PIC2_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF2
EFF3: lds r16,EFF
cpi r16,0x03
brne EFF4
rcall DL25
ldi ZL,low(PIC3_1a*2)
ldi ZH,high(PIC3_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC3_2a*2)
ldi ZH,high(PIC3_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC3_3a*2)
ldi ZH,high(PIC3_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC3_4a*2)
ldi ZH,high(PIC3_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC3_3a*2)
ldi ZH,high(PIC3_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC3_2a*2)
ldi ZH,high(PIC3_2a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF3
EFF4: lds r16,EFF
cpi r16,0x04
brne EFF5
rcall DL25
ldi ZL,low(PIC4_1a*2)
ldi ZH,high(PIC4_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC4_2a*2)
ldi ZH,high(PIC4_2a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF4
EFF5: lds r16,EFF
cpi r16,0x05
brne EFF6
rcall DL25
ldi ZL,low(PIC5_1a*2)
ldi ZH,high(PIC5_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC5_2a*2)
ldi ZH,high(PIC5_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC5_3a*2)
ldi ZH,high(PIC5_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC5_4a*2)
ldi ZH,high(PIC5_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC5_3a*2)
ldi ZH,high(PIC5_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC5_2a*2)
ldi ZH,high(PIC5_2a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF5
EFF6: lds r16,EFF
cpi r16,0x06
brne EFF7
rcall DL25
ldi ZL,low(PIC6_1a*2)
ldi ZH,high(PIC6_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC6_2a*2)
ldi ZH,high(PIC6_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC6_3a*2)
ldi ZH,high(PIC6_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC6_4a*2)
ldi ZH,high(PIC6_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC6_5a*2)
ldi ZH,high(PIC6_5a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC6_6a*2)
ldi ZH,high(PIC6_6a*2)
rcall PIC_PICB
rcall DL25
clr r16
sts BUT_FL,r16
rjmp EFF6
EFF7: lds r16,EFF
cpi r16,0x07
brne EFF8
rcall DL25
ldi ZL,low(PIC7_1a*2)
ldi ZH,high(PIC7_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC7_2a*2)
ldi ZH,high(PIC7_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC7_3a*2)
ldi ZH,high(PIC7_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC7_4a*2)
ldi ZH,high(PIC7_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF7
EFF8: lds r16,EFF
cpi r16,0x08
brne EFF9
rcall DL25
ldi ZL,low(PIC8_1a*2)
ldi ZH,high(PIC8_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC8_2a*2)
ldi ZH,high(PIC8_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC8_3a*2)
ldi ZH,high(PIC8_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC8_4a*2)
ldi ZH,high(PIC8_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF8
EFF9: lds r16,EFF
cpi r16,9
brne EFF10
rcall DL25
ldi ZL,low(PIC9_1a*2)
ldi ZH,high(PIC9_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC9_2a*2)
ldi ZH,high(PIC9_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC9_3a*2)
ldi ZH,high(PIC9_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC9_4a*2)
ldi ZH,high(PIC9_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF9
EFF10: lds r16,EFF
cpi r16,10
brne EFF11
rcall DL25
ldi ZL,low(PIC10_1a*2)
ldi ZH,high(PIC10_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC10_2a*2)
ldi ZH,high(PIC10_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC10_3a*2)
ldi ZH,high(PIC10_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC10_4a*2)
ldi ZH,high(PIC10_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF10
EFF11: lds r16,EFF
cpi r16,11
brne EFF12
rcall DL25
ldi ZL,low(PIC11_1a*2)
ldi ZH,high(PIC11_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC11_2a*2)
ldi ZH,high(PIC11_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC11_3a*2)
ldi ZH,high(PIC11_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC11_4a*2)
ldi ZH,high(PIC11_4a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF10
EFF12: lds r16,EFF
cpi r16,12
brne EFF13
rcall DL25
ldi ZL,low(PIC12_1a*2)
ldi ZH,high(PIC12_1a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_2a*2)
ldi ZH,high(PIC12_2a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_3a*2)
ldi ZH,high(PIC12_3a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_4a*2)
ldi ZH,high(PIC12_4a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_5a*2)
ldi ZH,high(PIC12_5a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_6a*2)
ldi ZH,high(PIC12_6a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_7a*2)
ldi ZH,high(PIC12_7a*2)
rcall PIC_PICB
rcall DL25
ldi ZL,low(PIC12_8a*2)
ldi ZH,high(PIC12_8a*2)
rcall PIC_PICB
clr r16
sts BUT_FL,r16
rjmp EFF10
EFF13: rjmp EFF1
;========================== END of MAIN ====================================
.include "timekey.asm"
;================== DELAY 025s ============================================
DL25: cli
push r16
ldi r16,50
mov DEL25,r16
pop r16
sei
DEL1: tst DEL25
brne DEL1
RET
;================== PICTURE TO PICTURE BUFFER =============================
PIC_PICB: push r16
push XL
push XH
ldi XH,high(PIC_BUF1)
ldi XL,low(PIC_BUF1)
ldi r16,7
PP1: LPM
adiw r30,2
st X+,r0
dec r16
brne PP1
pop XH
pop XL
pop r16
RET
;===========================================================================
| 18.580074 | 77 | 0.633676 |
511763c92a23d361a827317fd43dbbe63cbdf6e4 | 18,458 | asm | Assembly | audio/music/kantotrainerbattle.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | audio/music/kantotrainerbattle.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | audio/music/kantotrainerbattle.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | Music_KantoTrainerBattle:
musicheader 3, 1, Music_KantoTrainerBattle_Ch1
musicheader 1, 2, Music_KantoTrainerBattle_Ch2
musicheader 1, 3, Music_KantoTrainerBattle_Ch3
db $3
Music_KantoTrainerBattle_Ch1:
tempo 114
volume $77
pitchoffset 1, B_
notetype $c, $b3
vibrato $12, $24
dutycycle $1
note __, 1
octave 4
note A_, 1
note G#, 1
note G_, 1
note G#, 1
note G_, 1
note F#, 1
note F_, 1
note F#, 1
note F_, 1
note E_, 1
note D#, 1
note E_, 1
note D#, 1
note D_, 1
note C#, 1
note D_, 1
note C#, 1
note C_, 1
octave 3
note B_, 1
octave 4
note C_, 1
octave 3
note B_, 1
note A#, 1
note A_, 1
note A#, 1
note A_, 1
note G#, 1
note G_, 1
note G#, 1
note G_, 1
note F#, 1
note G_, 1
dutycycle $2
intensity $b1
octave 4
note D#, 2
octave 2
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 4
note C_, 2
octave 2
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 4
note D#, 2
note __, 2
octave 3
note A#, 2
octave 4
note C_, 2
note __, 2
note D#, 2
note __, 2
octave 3
note D#, 1
note __, 1
note F_, 1
note __, 1
note F#, 1
note __, 1
octave 4
note C_, 2
octave 2
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 4
note C_, 2
octave 2
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 4
note D#, 2
note __, 2
octave 3
note A#, 2
octave 4
note C_, 2
note __, 2
note D#, 2
note __, 2
note D#, 1
note __, 1
note F_, 1
note __, 1
note G_, 1
note __, 1
intensity $b3
note D#, 2
note __, 4
note F_, 2
note __, 4
note F#, 2
note __, 2
note D#, 2
note F_, 2
note __, 2
note F#, 2
note __, 2
note D#, 2
note F_, 2
note F#, 2
Music_KantoTrainerBattle_branch_eca88:
notetype $c, $b7
note D#, 4
note __, 2
note C_, 10
note __, 4
note D#, 2
note C_, 2
octave 3
note G_, 1
octave 4
note C_, 1
note D#, 1
note __, 1
note C_, 1
note __, 1
note D#, 1
note __, 1
note C#, 8
note F_, 8
note G#, 8
octave 5
note C#, 4
note C#, 1
octave 4
note G#, 1
note F_, 1
note C#, 1
note D#, 4
note __, 2
note C_, 10
note __, 4
note D#, 2
note C_, 2
octave 3
note G_, 1
octave 4
note C_, 1
note D#, 1
note __, 1
note D_, 1
note __, 1
note F_, 1
note __, 1
note D#, 6
note D_, 6
note C_, 2
note __, 2
note __, 2
note D_, 2
note __, 4
note F_, 2
note __, 2
note G#, 2
note G_, 1
note F#, 1
octave 3
note G#, 1
note F_, 1
note C_, 1
note G#, 1
octave 4
note C_, 1
note __, 1
note F_, 1
note __, 1
note C_, 1
octave 3
note G#, 1
note F_, 1
note __, 5
octave 4
note D#, 8
note D_, 4
octave 3
note F_, 1
note A_, 1
octave 4
note C_, 1
note D#, 1
note D_, 4
octave 3
note D_, 4
octave 4
note F_, 4
octave 3
note D_, 4
note __, 4
note D_, 4
note __, 4
note D_, 4
note G#, 1
note F_, 1
note C_, 1
note G#, 1
octave 4
note C_, 1
note __, 1
note F_, 1
note __, 1
note C_, 1
octave 3
note G#, 1
note F_, 1
note __, 5
octave 4
note D#, 8
note D_, 4
octave 3
note F_, 1
note A_, 1
octave 4
note C_, 1
note D#, 1
note D_, 4
octave 3
note D_, 4
note __, 4
note D_, 4
note A#, 1
octave 4
note D_, 1
note F_, 1
note __, 1
octave 3
note D_, 2
octave 4
note F_, 2
note D_, 2
octave 3
note A#, 2
note D_, 2
octave 4
note D_, 2
intensity $67
note C_, 1
note C#, 1
note D_, 1
note D#, 1
note E_, 1
note D#, 1
note D_, 1
note C#, 1
note C_, 1
note __, 3
note D#, 4
notetype $6, $67
note D#, 1
note __, 1
note D#, 1
note __, 1
note D#, 1
note __, 7
note D#, 1
note __, 1
note D#, 1
note __, 1
octave 3
note G_, 1
note __, 3
note G_, 1
note __, 3
octave 4
note C_, 8
intensity $77
note C#, 2
note D_, 2
note D#, 2
note E_, 2
note F_, 2
note E_, 2
note D#, 2
note D_, 2
note C#, 2
note __, 6
note E_, 8
note E_, 1
note __, 1
note E_, 1
note __, 1
note E_, 1
note __, 7
note E_, 1
note __, 1
note E_, 1
note __, 1
octave 3
note G#, 1
note __, 3
note G#, 1
note __, 3
octave 4
note C#, 8
intensity $87
note D_, 2
note D#, 2
note E_, 2
note F_, 2
note F#, 2
note F_, 2
note E_, 2
note D#, 2
note D_, 2
note __, 6
note F_, 8
note F_, 1
note __, 1
note F_, 1
note __, 1
note F_, 1
note __, 7
note F_, 1
note __, 1
note F_, 1
note __, 1
octave 3
note A_, 1
note __, 3
note A_, 1
note __, 3
octave 4
note D_, 8
intensity $97
note D#, 2
note E_, 2
note F_, 2
note F#, 2
note G_, 2
note F#, 2
note F_, 2
note E_, 2
note D#, 2
note __, 6
note F#, 8
intensity $a7
note G#, 8
note A#, 8
intensity $b7
octave 5
note D_, 8
note D_, 2
note __, 6
octave 4
note A#, 2
note F#, 2
note D#, 2
octave 3
note A#, 2
octave 4
note F#, 2
note D#, 2
octave 3
note A#, 2
note F#, 2
octave 4
note G#, 2
note __, 2
note D#, 12
intensity $b1
octave 6
note C_, 2
note C_, 2
note C_, 8
note C_, 2
note C_, 2
note C_, 4
note C_, 4
note C_, 4
note C_, 4
intensity $b7
octave 4
note A#, 2
note F#, 2
note D#, 2
octave 3
note A#, 2
octave 4
note F#, 2
note D#, 2
octave 3
note A#, 2
note F#, 2
octave 4
note F#, 2
note __, 2
note B_, 4
note A#, 4
note G#, 4
note F#, 4
note F_, 4
note D#, 4
note D_, 4
note D#, 8
note F#, 8
octave 5
note C_, 8
note D#, 8
octave 4
note C#, 16
note C#, 2
note __, 2
note D#, 2
note __, 2
note F_, 2
note __, 2
octave 3
note G#, 2
note __, 2
octave 4
note F_, 2
note F#, 2
note F_, 2
note D#, 2
note F_, 2
intensity $67
note E_, 1
note D_, 1
note C_, 1
octave 3
note B_, 1
note A_, 1
note G_, 1
intensity $a1
octave 4
note C#, 2
octave 2
note G_, 2
note G_, 2
octave 4
note C#, 2
octave 2
note G_, 2
note G_, 2
intensity $b7
octave 4
note D_, 4
loopchannel 0, Music_KantoTrainerBattle_branch_eca88
Music_KantoTrainerBattle_Ch2:
pitchoffset 1, B_
vibrato $6, $36
dutycycle $1
notetype $c, $d1
octave 4
note A#, 4
note A#, 4
note A#, 4
note A#, 4
note A#, 4
note A#, 4
note A#, 4
note G_, 1
note G#, 1
note G_, 1
note F#, 1
dutycycle $3
intensity $62
Music_KantoTrainerBattle_branch_ecc04:
octave 3
note G_, 1
note G#, 1
note G_, 1
note F#, 1
loopchannel 14, Music_KantoTrainerBattle_branch_ecc04
note G_, 1
note G#, 1
note G_, 1
note F_, 1
note D#, 1
note D_, 1
note C_, 1
octave 2
note B_, 1
intensity $d7
dutycycle $2
note C_, 2
octave 3
note C_, 1
note __, 1
octave 2
note C_, 1
note __, 1
octave 1
note A#, 2
octave 2
note A#, 1
note __, 1
octave 1
note A#, 1
note __, 1
note A_, 2
octave 2
note A_, 1
note __, 1
octave 1
note A_, 1
note __, 1
note G#, 2
octave 2
note G#, 1
note __, 1
octave 1
note G#, 1
note __, 1
note G_, 1
note B_, 1
octave 2
note D_, 1
note F_, 1
note G_, 1
note B_, 1
octave 3
note D_, 1
note F_, 1
Music_KantoTrainerBattle_branch_ecc41:
notetype $c, $d7
octave 2
note C_, 1
note C_, 1
octave 3
note C_, 1
note __, 1
octave 2
note G_, 1
note __, 1
octave 3
note C_, 1
note __, 1
octave 2
note C_, 2
note B_, 1
note __, 1
note G_, 1
note __, 1
note B_, 1
note __, 1
note C_, 2
note A#, 1
note __, 1
note G_, 1
note __, 1
note A#, 1
note __, 1
note C_, 2
note A_, 1
note __, 1
note G#, 1
note __, 1
octave 3
note C_, 1
note __, 1
octave 2
note C#, 1
note C#, 1
note G#, 1
note __, 1
octave 3
note C#, 2
octave 2
note C#, 2
note G#, 1
note __, 1
octave 3
note C_, 2
octave 2
note C#, 2
note G#, 1
note __, 1
note A#, 2
note C#, 1
note C#, 1
note F_, 1
note __, 1
note G#, 2
octave 3
note C#, 1
note __, 1
note F_, 2
note G#, 1
note __, 1
note A#, 2
octave 2
note C_, 1
note C_, 1
octave 3
note C_, 1
note __, 1
octave 2
note G_, 1
note __, 1
octave 3
note C_, 1
note __, 1
octave 2
note C_, 2
note B_, 1
note __, 1
note G_, 1
note __, 1
note B_, 1
note __, 1
note C_, 2
note A#, 1
note __, 1
note G_, 1
note __, 1
note A#, 1
note __, 1
note C_, 2
note A_, 1
note __, 1
note F_, 1
note __, 1
note A_, 1
note __, 1
octave 1
note A#, 1
note A#, 1
octave 2
note F_, 1
note __, 1
note A#, 2
octave 1
note A#, 2
octave 2
note F_, 1
note __, 1
note A_, 2
octave 1
note A#, 2
octave 2
note F_, 1
note __, 1
note G#, 2
octave 1
note A#, 1
note A#, 1
octave 2
note F_, 1
note __, 1
note G_, 2
note A#, 1
note __, 1
octave 3
note D_, 2
note F_, 1
note __, 1
note A#, 2
octave 1
note F_, 2
octave 2
note F_, 1
note __, 1
note C_, 1
note __, 1
note F_, 1
note __, 1
octave 1
note F_, 2
octave 2
note E_, 1
note __, 1
note C_, 1
note __, 1
note E_, 1
note __, 1
octave 1
note F_, 2
octave 2
note D#, 1
note __, 1
note C_, 1
note __, 1
note D#, 1
note __, 1
octave 1
note F_, 2
octave 2
note D_, 1
note __, 1
note D#, 1
note C_, 1
octave 1
note A#, 1
note A_, 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note F_, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note F#, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note G_, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note G#, 4
octave 1
note F_, 2
octave 2
note F_, 1
note __, 1
note C_, 1
note __, 1
note F_, 1
note __, 1
octave 1
note F_, 2
octave 2
note E_, 1
note __, 1
note C_, 1
note __, 1
note E_, 1
note __, 1
octave 1
note F_, 2
octave 2
note D#, 1
note __, 1
note C_, 1
note __, 1
note D#, 1
note __, 1
octave 1
note F_, 2
octave 2
note D_, 1
note __, 1
note D#, 1
note C_, 1
octave 1
note A#, 1
note A_, 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note F_, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note F#, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note G_, 4
octave 1
note A#, 1
note __, 1
note A#, 1
note __, 1
octave 3
note G#, 4
vibrato $12, $24
notetype $c, $78
octave 4
note G_, 16
intensity $77
note G_, 16
notetype $6, $88
note G#, 16
intensity $87
note G#, 15
note G_, 1
note G#, 7
note A_, 1
note A#, 3
note A_, 1
note G#, 8
note G_, 4
note F_, 6
note __, 2
notetype $c, $98
note A_, 16
intensity $97
note A_, 16
intensity $a7
note A#, 16
intensity $d7
octave 5
note D_, 8
note F_, 8
vibrato $4, $36
octave 2
note A#, 4
note D#, 4
note C_, 1
note __, 1
intensity $d8
note G#, 6
intensity $d7
note G#, 16
note A#, 4
note D#, 4
note D#, 1
note __, 1
octave 3
note D#, 14
octave 2
note C_, 1
note __, 1
octave 3
note D#, 2
note __, 2
notetype $6, $d7
octave 2
note C_, 1
note __, 1
note C_, 1
note __, 1
note C_, 2
note __, 2
note C_, 2
note __, 2
octave 3
note G#, 8
octave 4
note F_, 2
note F#, 2
note F_, 2
note D#, 2
note F_, 2
note __, 2
note D#, 2
note __, 2
octave 3
note F_, 2
note __, 2
note F#, 2
note __, 2
note G#, 2
note __, 2
note C#, 2
note __, 2
note G#, 2
note A#, 2
note G#, 2
note F#, 2
note G#, 2
intensity $72
note G_, 1
note F_, 1
note E_, 1
note D_, 1
note C_, 1
octave 2
note B_, 1
intensity $c1
octave 3
note B_, 2
octave 1
note F#, 1
note __, 1
note F#, 1
note __, 1
octave 3
note B_, 2
octave 1
note F#, 1
note __, 1
note F#, 1
note __, 1
intensity $d7
octave 3
note B_, 4
loopchannel 0, Music_KantoTrainerBattle_branch_ecc41
Music_KantoTrainerBattle_Ch3:
pitchoffset 1, B_
vibrato $12, $23
notetype $c, $15
octave 2
note A#, 1
octave 4
note A#, 1
octave 3
note A#, 2
octave 2
note A_, 1
octave 4
note A_, 1
octave 3
note A_, 2
octave 2
note G#, 1
octave 4
note G#, 1
octave 3
note G#, 2
octave 2
note G_, 1
octave 4
note G_, 1
octave 3
note G_, 2
octave 2
note F#, 1
octave 4
note F#, 1
octave 3
note F#, 2
octave 2
note F_, 1
octave 4
note F_, 1
octave 3
note F_, 2
octave 2
note E_, 1
octave 4
note E_, 1
octave 3
note E_, 2
note D_, 1
note F_, 1
note B_, 1
octave 4
note D_, 1
intensity $18
octave 6
note C_, 2
octave 3
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 5
note F_, 2
octave 3
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 5
note F#, 2
octave 4
note C_, 1
note D#, 1
octave 5
note D#, 2
note F_, 2
note __, 2
note F#, 2
note __, 2
octave 4
note G_, 1
note __, 1
note A#, 1
note __, 1
note B_, 1
note __, 1
octave 5
note D#, 2
octave 3
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 5
note F_, 2
octave 3
note C_, 1
note __, 1
note C_, 1
note __, 1
octave 5
note F#, 2
octave 4
note C_, 1
note D#, 1
octave 5
note D#, 2
note F_, 2
note __, 2
note F#, 2
note __, 2
note G_, 1
note __, 1
note A#, 1
note __, 1
note B_, 1
note __, 1
octave 6
note C_, 2
note __, 4
note D_, 2
note __, 4
note D#, 2
note __, 2
note C_, 2
note D_, 2
note __, 2
note D#, 2
note __, 2
octave 5
note G_, 2
note A#, 2
note B_, 2
Music_KantoTrainerBattle_branch_ece5a:
notetype $c, $14
octave 6
note C_, 4
notetype $6, $14
octave 5
note B_, 1
note A#, 1
note A_, 1
note G#, 1
notetype $c, $14
note G_, 10
note __, 2
notetype $6, $14
note G_, 1
note G#, 1
note A_, 1
note A#, 1
octave 6
note C_, 6
octave 5
note A_, 1
note G#, 1
note G_, 8
octave 6
note C_, 7
octave 5
note B_, 1
notetype $c, $14
octave 6
note C#, 16
note C#, 8
note F_, 4
note G#, 1
note F_, 1
note C#, 1
octave 5
note G#, 1
octave 6
note C_, 4
notetype $6, $14
octave 5
note B_, 1
note A#, 1
note A_, 1
note G#, 1
notetype $c, $14
note G_, 10
note __, 2
notetype $6, $14
note G_, 1
note G#, 1
note A_, 1
note A#, 1
octave 6
note C_, 6
octave 5
note A_, 1
note G#, 1
note G_, 8
octave 6
note C_, 7
octave 5
note B_, 1
note A#, 16
note A#, 16
note A#, 13
note B_, 1
octave 6
note C_, 1
note C#, 1
note D_, 8
note F_, 2
note D_, 2
octave 5
note A#, 2
note A_, 2
notetype $c, $10
note G#, 11
intensity $14
note C_, 1
note F_, 1
note __, 1
note G#, 1
note __, 1
intensity $10
octave 6
note C_, 6
notetype $6, $10
octave 5
note B_, 1
note A#, 1
note A_, 1
note G#, 1
note G#, 16
notetype $c, $10
note A#, 16
intensity $25
note D_, 1
octave 4
note A#, 1
note F_, 1
note A#, 1
octave 5
note F_, 1
note D_, 1
octave 4
note A#, 1
octave 5
note D_, 1
note A#, 1
note F_, 1
note D_, 1
note F_, 1
octave 6
note D_, 2
note C#, 1
note C_, 1
intensity $10
octave 5
note G#, 11
intensity $14
note C_, 1
note F_, 1
note __, 1
note G#, 1
note __, 1
intensity $10
octave 6
note C_, 7
notetype $6, $10
note C#, 1
note D_, 1
notetype $c, $10
note D#, 8
note D_, 12
note G#, 1
note F_, 1
intensity $25
octave 5
note A#, 1
note F_, 1
note G#, 1
note G#, 1
note G#, 1
note __, 1
note A#, 1
note __, 1
note G#, 2
note G_, 2
note F_, 2
note D#, 2
note F_, 2
intensity $24
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G_, 1
octave 4
note C_, 1
octave 3
note D#, 1
octave 4
note C_, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
octave 3
note G#, 1
octave 4
note C#, 1
octave 3
note E_, 1
octave 4
note C#, 1
intensity $14
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
intensity $15
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
octave 3
note A_, 1
octave 4
note D_, 1
octave 3
note F_, 1
octave 4
note D_, 1
intensity $15
octave 3
note A#, 1
octave 4
note D#, 1
octave 3
note F#, 1
octave 4
note D#, 1
octave 3
note A#, 1
octave 4
note D#, 1
octave 3
note F#, 1
octave 4
note D#, 1
octave 3
note A#, 1
octave 4
note D#, 1
octave 3
note F#, 1
octave 4
note D#, 1
octave 3
note A#, 1
octave 4
note D#, 1
octave 3
note F#, 1
octave 4
note D#, 1
intensity $14
octave 3
note F_, 1
note G#, 1
note B_, 1
octave 4
note D_, 1
octave 3
note G#, 1
note B_, 1
octave 4
note D_, 1
note F_, 1
octave 3
note B_, 1
octave 4
note D_, 1
note F_, 1
note G#, 1
note D_, 1
note F_, 1
note G#, 1
octave 5
note D_, 1
octave 6
note D#, 4
octave 5
note A#, 4
octave 6
note C#, 1
note __, 1
note C_, 6
octave 4
note C_, 1
note D#, 1
note G#, 1
octave 5
note C_, 1
note D#, 1
note G#, 1
octave 6
note C_, 1
note D#, 1
note G#, 1
note D#, 1
note C_, 1
octave 5
note G#, 1
note D#, 1
note C_, 1
octave 4
note G#, 1
note D#, 1
octave 6
note D#, 4
octave 5
note A#, 4
note B_, 1
note __, 1
octave 6
note F#, 12
note F_, 1
note F#, 1
note G#, 16
note F_, 8
note C#, 1
note __, 1
note D#, 1
note __, 1
note F_, 1
note __, 1
octave 5
note G#, 1
note __, 1
octave 6
note F_, 1
note F#, 1
note F_, 1
note D#, 1
note F_, 1
notetype $6, $24
note E_, 1
note D_, 1
note C_, 1
octave 5
note B_, 1
note A_, 1
note G_, 1
intensity $14
note G_, 2
octave 3
note G_, 1
note __, 1
note G_, 1
note __, 1
octave 5
note G_, 2
octave 3
note G_, 1
note __, 1
note G_, 1
note __, 1
intensity $14
octave 5
note G_, 4
loopchannel 0, Music_KantoTrainerBattle_branch_ece5a
| 12.009109 | 54 | 0.60467 |
62fc8348a218fe2a922ca877ba86b85f960e8527 | 578 | asm | Assembly | oeis/015/A015240.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/015/A015240.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/015/A015240.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A015240: a(n) = (2*n - 5)n^2.
; 0,-3,-4,9,48,125,252,441,704,1053,1500,2057,2736,3549,4508,5625,6912,8381,10044,11913,14000,16317,18876,21689,24768,28125,31772,35721,39984,44573,49500,54777,60416,66429,72828,79625,86832,94461,102524,111033,120000,129437,139356,149769,160688,172125,184092,196601,209664,223293,237500,252297,267696,283709,300348,317625,335552,354141,373404,393353,414000,435357,457436,480249,503808,528125,553212,579081,605744,633213,661500,690617,720576,751389,783068,815625,849072,883421,918684,954873,992000
mov $1,$0
mul $0,2
sub $0,5
mul $0,$1
mul $0,$1
| 64.222222 | 496 | 0.780277 |
30ab5d998f7a316a7e9d54420c7b7d54930d4ed7 | 2,495 | asm | Assembly | assembler/tests/t_47c00/t_47c00.asm | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | 1 | 2022-01-17T16:06:15.000Z | 2022-01-17T16:06:15.000Z | assembler/tests/t_47c00/t_47c00.asm | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | null | null | null | assembler/tests/t_47c00/t_47c00.asm | paulscottrobson/RCA-Cosmac-VIP-III | 5d3fcea325aacb7c99269f266bc14e30439cdc2b | [
"MIT"
] | null | null | null | cpu 470ac00
include stddef47.inc
page 0
segment data
nvar1 db ?
nvar2 db ?
align 4
bvar db 2 dup (?)
segment io
port1 db ?
port2 db ?
port3 port 7
segment code
targ: db ?
ret
nop
reti
inc @hl
dec @hl
inc a
dec a
inc l
dec l
and a,@hl
and @hl,#3
and a,#5
or a,@hl
or @hl,#3
or a,#5
xor a,@hl
ld a,@hl
ld a,123
ld hl,bvar
ld a,#4
ld h,#-3
ld l,#7
ld hl,#0a5h
ld dmb,#2
ld dmb,@hl
ldl a,@dc
ldh a,@dc+
st a,@hl
st a,@hl+
st a,@hl-
st a,123
st #3,@hl+
st #5,nvar1
st dmb,@hl
mov h,a
mov l,a
mov a,dmb
mov dmb,a
mov a,spw13
mov stk13,a
xch a,@hl
xch nvar2,a
xch hl,bvar
xch a,l
xch h,a
xch eir,a
in %port1,a
in %15h,a
in %port2,@hl
in %1ah,@hl
out a,%port1
out @hl,%port2
out #-3,%port2
outb @hl
cmpr a,@hl
cmpr a,nvar2
cmpr nvar2,#3
cmpr a,#4
cmpr h,#5
cmpr l,#6
add a,@hl
add @hl,#4
add nvar2,#5
add a,#6
add h,#7
add l,#7
addc a,@hl
subrc a,@hl
subr a,#7
subr @hl,#0ah
rolc a
rolc a,3
rorc a
rorc a,2
clr @l
set @l
test @l
test cf
testp cf
testp zf
; clr gf
; set gf
; testp gf
; clr dmb
; set dmb
; test dmb
; testp dmb
clr dmb0
set dmb0
test dmb0
testp dmb0
clr dmb1
set dmb1
test dmb1
testp dmb1
clr stk13
set stk13
clr il,8h
test a,2
clr @hl,1
set @hl,3
test @hl,2
clr %5,1
set %6,3
test %7,2
testp %8,0
clr nvar2,1
set nvar2,3
test nvar2,2
testp nvar2,0
bss ($&3fc0h)+20h
bs 123h
bsl 0123h
bsl 1123h
bsl 2123h
bsl 3123h
calls 002eh
call 123h
eiclr il,3
diclr il,5
b ($&3fc0h)+20h
b 123h
b 0123h
b 1123h
b 2123h
b 3123h
bz targ
bnz targ
bc targ
bnc targ
be a,@hl,targ
be a,nvar2,targ
be a,#3,targ
be h,#4,targ
be l,#5,targ
be nvar1,#6,targ
bne a,@hl,targ
bne a,nvar2,targ
bne a,#3,targ
bne h,#4,targ
bne l,#5,targ
bne nvar1,#6,targ
bge a,@hl,targ
bge a,nvar2,targ
bge a,#3,targ
bge h,#4,targ
bge l,#5,targ
bge nvar1,#6,targ
bgt a,@hl,targ
bgt a,nvar2,targ
bgt a,#3,targ
bgt h,#4,targ
bgt l,#5,targ
bgt nvar1,#6,targ
ble a,@hl,targ
ble a,nvar2,targ
ble a,#3,targ
ble h,#4,targ
ble l,#5,targ
ble nvar1,#6,targ
blt a,@hl,targ
blt a,nvar2,targ
blt a,#3,targ
blt h,#4,targ
blt l,#5,targ
blt nvar1,#6,targ
callss 0
callss 5
callz targ
callnz targ
callc targ
callnc targ
retz
retnz
retc
retnc
retiz
retinz
retic
retinc
shl a,2
shl h,2
shl l,2
shl @hl,2
shl nvar1,2
shr a,2
shr h,2
shr l,2
shr @hl,2
shr nvar1,2
ei
di | 9.784314 | 21 | 0.603607 |
180e1409866ab249d51c2584bd4cc4311e67d5fc | 476 | asm | Assembly | programs/oeis/143/A143038.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/143/A143038.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/143/A143038.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A143038: Triangle read by rows, A000012 * A134309 * A000012; where A134309 = an infinite lower triangular matrix with (1, 1, 2, 4, 8, 16,...) in the main diagonal and the rest zeros.
; 1,1,2,2,3,4,4,6,7,8,8,12,14,15,16,16,24,28,30,31,32,32,48,56,60,62,63,64,64,96,112,120,124,126,127,128,128,192,224,240,248,252,254,255,256,256,384,448,480,496,504,508,510,511,512
cal $0,89633 ; Numbers having no more than one 0 in their binary representation.
mov $1,$0
div $1,2
add $1,1
| 59.5 | 184 | 0.701681 |
bf9b7c98932489bdf4ec2fb2922b2d20412fab1e | 394 | asm | Assembly | oeis/212/A212495.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/212/A212495.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/212/A212495.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A212495: Numbers all of whose base 11 digits are even.
; Submitted by Simon Strandgaard
; 0,2,4,6,8,10,22,24,26,28,30,32,44,46,48,50,52,54,66,68,70,72,74,76,88,90,92,94,96,98,110,112,114,116,118,120,242,244,246,248,250,252,264,266,268,270,272,274,286,288,290,292,294,296,308,310,312,314,316
mov $3,2
lpb $0
mov $2,$0
div $0,6
mod $2,6
mul $2,$3
add $1,$2
mul $3,11
lpe
mov $0,$1
| 26.266667 | 202 | 0.659898 |
f9accb6b5c037b93b11e41bb77403b60f8275122 | 238 | asm | Assembly | libsrc/z80_crt0s/crt0/htons.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/z80_crt0s/crt0/htons.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | libsrc/z80_crt0s/crt0/htons.asm | dex4er/deb-z88dk | 9ee4f23444fa6f6043462332a1bff7ae20a8504b | [
"ClArtistic"
] | null | null | null | ;
; Small C+ TCP Implementation
;
; htons() Convert host to network format and back again!
;
; djm 24/4/99
XLIB htons
.htons
ld a,l
ld l,h
ld h,a
ret
| 14 | 62 | 0.432773 |
1ea861c9c19184f5b2e6c96ad94f55c87219a57d | 7,498 | asm | Assembly | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1828.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1828.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_un_/i9-9900K_12_0xa0.log_1_1828.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x17a50, %r13
nop
nop
inc %r15
mov $0x6162636465666768, %r11
movq %r11, %xmm0
and $0xffffffffffffffc0, %r13
movntdq %xmm0, (%r13)
nop
nop
nop
cmp %r11, %r11
lea addresses_UC_ht+0x1e108, %rcx
sub %rsi, %rsi
mov (%rcx), %r12w
nop
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_normal_ht+0x9390, %rsi
lea addresses_normal_ht+0x1af68, %rdi
sub %r10, %r10
mov $62, %rcx
rep movsw
nop
nop
nop
inc %r15
lea addresses_UC_ht+0x2f90, %rsi
nop
nop
nop
nop
and $56390, %r15
mov (%rsi), %r12d
nop
sub %r11, %r11
lea addresses_normal_ht+0x9f30, %r15
nop
inc %r11
movups (%r15), %xmm1
vpextrq $1, %xmm1, %rsi
nop
and %r13, %r13
lea addresses_D_ht+0x17ff0, %r15
nop
nop
nop
cmp $10315, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
vmovups %ymm6, (%r15)
nop
nop
inc %rcx
lea addresses_A_ht+0x15090, %rsi
lea addresses_WT_ht+0x1c4a2, %rdi
nop
nop
nop
inc %r15
mov $40, %rcx
rep movsq
nop
nop
sub %r13, %r13
lea addresses_A_ht+0x1cb90, %rsi
lea addresses_WT_ht+0x13050, %rdi
nop
nop
nop
cmp $12127, %r15
mov $37, %rcx
rep movsb
nop
xor $40067, %rcx
lea addresses_A_ht+0x590, %r11
nop
nop
nop
cmp %rsi, %rsi
mov $0x6162636465666768, %r10
movq %r10, (%r11)
nop
nop
sub %r11, %r11
lea addresses_WC_ht+0x1a610, %rsi
lea addresses_WC_ht+0x11e4, %rdi
mfence
mov $0, %rcx
rep movsl
nop
nop
nop
nop
and $41859, %r11
lea addresses_UC_ht+0x15ce0, %rsi
nop
nop
nop
cmp $54324, %rcx
mov $0x6162636465666768, %r13
movq %r13, %xmm3
and $0xffffffffffffffc0, %rsi
vmovntdq %ymm3, (%rsi)
nop
nop
nop
nop
mfence
pop %rsi
pop %rdi
pop %rcx
pop %r15
pop %r13
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
// Load
lea addresses_WC+0x14228, %r8
nop
nop
nop
nop
sub $61842, %rbp
vmovntdqa (%r8), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $0, %xmm5, %rsi
nop
nop
sub $14877, %r9
// Store
lea addresses_US+0xf2f5, %r11
nop
nop
nop
nop
and $62963, %r8
movb $0x51, (%r11)
nop
nop
nop
nop
nop
sub $19765, %r11
// Store
lea addresses_PSE+0x1358, %rbp
nop
nop
nop
nop
nop
inc %r11
mov $0x5152535455565758, %r8
movq %r8, %xmm5
vmovups %ymm5, (%rbp)
nop
nop
nop
nop
cmp $4642, %rbp
// Store
lea addresses_D+0x1c190, %rbp
nop
cmp %rax, %rax
mov $0x5152535455565758, %r8
movq %r8, %xmm3
vmovups %ymm3, (%rbp)
nop
dec %r11
// Store
lea addresses_WT+0xe7fa, %rsi
nop
xor $5771, %r9
movl $0x51525354, (%rsi)
sub $43912, %r11
// REPMOV
mov $0x50239f0000000a1d, %rsi
mov $0x40cb040000000390, %rdi
clflush (%rdi)
sub %r8, %r8
mov $98, %rcx
rep movsb
// Exception!!!
nop
nop
nop
nop
nop
xor %rax, %rax
div %rax
nop
nop
nop
nop
sub $3333, %rdi
// REPMOV
lea addresses_A+0xc9d0, %rsi
lea addresses_RW+0x1c890, %rdi
nop
nop
nop
cmp $19457, %r11
mov $11, %rcx
rep movsw
nop
nop
nop
add %rax, %rax
// Store
lea addresses_UC+0x137e0, %rax
nop
nop
nop
nop
nop
and %r8, %r8
movb $0x51, (%rax)
nop
nop
nop
nop
cmp %r8, %r8
// Store
mov $0xbd0, %r9
nop
dec %rsi
movl $0x51525354, (%r9)
nop
nop
nop
inc %rsi
// Load
lea addresses_A+0x185f9, %r9
nop
nop
nop
nop
xor $53420, %rdi
mov (%r9), %rcx
nop
nop
cmp %rax, %rax
// Store
lea addresses_PSE+0x7990, %rbp
nop
nop
cmp $20299, %rcx
mov $0x5152535455565758, %rdi
movq %rdi, (%rbp)
nop
dec %rsi
// Load
lea addresses_PSE+0x18790, %rcx
nop
dec %rax
mov (%rcx), %bp
nop
nop
nop
nop
nop
mfence
// Store
lea addresses_WT+0x1d4d0, %rsi
nop
nop
sub $32524, %rbp
movl $0x51525354, (%rsi)
// Exception!!!
mov (0), %rdi
add %rbp, %rbp
// Load
lea addresses_D+0x12010, %r9
cmp $46384, %rbp
vmovntdqa (%r9), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $1, %xmm7, %rdi
and $17722, %r11
// Faulty Load
lea addresses_RW+0x13390, %r8
xor %rcx, %rcx
mov (%r8), %r11w
lea oracles, %rcx
and $0xff, %r11
shlq $12, %r11
mov (%rcx,%r11,1), %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'NT': True, 'same': False, 'congruent': 1, 'type': 'addresses_WC', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 32}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_D', 'AVXalign': False, 'size': 32}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 1, 'type': 'addresses_WT', 'AVXalign': False, 'size': 4}}
{'src': {'same': False, 'congruent': 0, 'type': 'addresses_NC'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_NC'}}
{'src': {'same': False, 'congruent': 6, 'type': 'addresses_A'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_RW'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_UC', 'AVXalign': False, 'size': 1}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 5, 'type': 'addresses_P', 'AVXalign': False, 'size': 4}}
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_A', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 8}}
{'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_PSE', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_WT', 'AVXalign': False, 'size': 4}}
{'src': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_D', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16}}
{'src': {'NT': False, 'same': True, 'congruent': 3, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 9, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_normal_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32}}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}}
{'src': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}}
{'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': True, 'congruent': 1, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 2, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32}}
{'ab': 1}
ab
*/
| 20.048128 | 156 | 0.643905 |
e432ef1e97dc28c33f5e22ca7930a81a730ba04f | 554 | asm | Assembly | programs/oeis/023/A023601.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/023/A023601.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/023/A023601.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A023601: Convolution of A023532 and odd numbers.
; 1,3,6,11,17,24,33,44,56,69,84,101,120,140,161,184,209,236,265,295,326,359,394,431,470,511,553,596,641,688,737,788,841,896,952,1009,1068,1129,1192,1257,1324,1393,1464,1536,1609,1684,1761,1840,1921
mov $2,$0
add $2,1
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
mov $4,$0
add $4,1
mov $5,$0
mov $6,0
lpb $4
mov $0,$5
sub $4,1
sub $0,$4
seq $0,136157 ; Triangle by columns, (3, 1, 0, 0, 0,...) in every column.
gcd $0,2
add $6,$0
lpe
add $1,$6
lpe
mov $0,$1
| 21.307692 | 197 | 0.597473 |
6708a3d44c42dd6ee22a0ff2261a7fae8f81e084 | 492 | asm | Assembly | libsrc/oz/ozserial/ozserialin.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | libsrc/oz/ozserial/ozserialin.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | null | null | null | libsrc/oz/ozserial/ozserialin.asm | grancier/z180 | e83f35e36c9b4d1457e40585019430e901c86ed9 | [
"ClArtistic"
] | 1 | 2019-12-03T23:57:48.000Z | 2019-12-03T23:57:48.000Z | ;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
; Serial libraries
;
;
; ------
; $Id: ozserialin.asm,v 1.3 2016/06/27 21:25:36 dom Exp $
;
SECTION code_clib
PUBLIC ozserialin
PUBLIC _ozserialin
ozserialin:
_ozserialin:
in a,(45h)
and 1
jr z,nothing
in a,(40h)
ld l,a
ld h,0
ret
nothing:
ld hl,-1
ret
| 16.4 | 57 | 0.528455 |
2de7f579970d36a08d58ce811133a580abb84dc3 | 492 | asm | Assembly | oeis/147/A147291.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/147/A147291.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/147/A147291.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A147291: a(n) = Sum_{k=1..n^2-1} binomial(2k,k).
; Submitted by Christian Krause
; 0,28,17576,209295260,43308802158650,150315393336149895056,8610524734277600186228691452,8068213695203463278728832778415607708,122985780058082302876789680971972469134558550878,30386103720799858392019761983012781659021124133753353112778
mov $3,$0
add $3,$0
mov $4,$0
pow $4,2
lpb $3
mov $2,$4
seq $2,79309 ; a(n) = C(1,1) + C(3,2) + C(5,3) + ... + C(2*n-1,n).
sub $3,1
add $4,1
lpe
mov $0,$2
mul $0,2
| 28.941176 | 235 | 0.723577 |
c4a9816db34a00a2d578a2a57644fde1357f85dd | 9,010 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_453.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_453.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_21829_453.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x5a68, %rbx
nop
nop
xor %rax, %rax
mov $0x6162636465666768, %r8
movq %r8, %xmm6
vmovups %ymm6, (%rbx)
nop
nop
nop
sub $35729, %r10
lea addresses_UC_ht+0x9728, %rsi
lea addresses_UC_ht+0xf68, %rdi
clflush (%rdi)
nop
nop
nop
nop
dec %r9
mov $117, %rcx
rep movsl
nop
nop
nop
nop
nop
and $60407, %r10
lea addresses_WC_ht+0xfd68, %r8
nop
nop
nop
nop
nop
inc %rdi
movb (%r8), %bl
nop
cmp %rsi, %rsi
lea addresses_WT_ht+0x39a8, %rdi
nop
cmp $48064, %r10
movups (%rdi), %xmm7
vpextrq $0, %xmm7, %rsi
nop
nop
nop
nop
add $19497, %rsi
lea addresses_WC_ht+0x18f68, %rcx
nop
cmp $55636, %rbx
movw $0x6162, (%rcx)
nop
dec %r10
lea addresses_normal_ht+0x5b68, %rsi
lea addresses_UC_ht+0x14368, %rdi
clflush (%rdi)
nop
lfence
mov $113, %rcx
rep movsl
nop
nop
nop
nop
nop
cmp $13939, %rax
lea addresses_normal_ht+0x1c370, %r8
nop
nop
inc %r9
movb $0x61, (%r8)
nop
nop
sub $4532, %r10
lea addresses_UC_ht+0xdae8, %rax
nop
nop
nop
and %r10, %r10
movw $0x6162, (%rax)
and %rcx, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rsi
// Store
lea addresses_PSE+0xcc90, %r12
add %r9, %r9
mov $0x5152535455565758, %rcx
movq %rcx, %xmm7
vmovups %ymm7, (%r12)
nop
nop
nop
cmp %r9, %r9
// Store
lea addresses_normal+0x14368, %r9
nop
nop
nop
sub $33471, %rsi
movb $0x51, (%r9)
nop
nop
nop
nop
sub %rbx, %rbx
// Load
lea addresses_A+0x682c, %rsi
nop
nop
nop
add %r13, %r13
mov (%rsi), %rbx
// Exception!!!
nop
nop
mov (0), %rcx
xor %rbx, %rbx
// Store
lea addresses_US+0x1f168, %r12
nop
nop
nop
and $41766, %r10
mov $0x5152535455565758, %r9
movq %r9, (%r12)
nop
nop
sub $20880, %r10
// Load
lea addresses_normal+0x17368, %rcx
nop
nop
nop
nop
nop
sub %rsi, %rsi
mov (%rcx), %r12
nop
and $2787, %r9
// Store
mov $0x33451d0000000168, %rsi
nop
nop
nop
nop
dec %r12
mov $0x5152535455565758, %r9
movq %r9, %xmm3
movups %xmm3, (%rsi)
nop
nop
nop
nop
add %r10, %r10
// Store
lea addresses_UC+0x19718, %r12
nop
add %r13, %r13
movl $0x51525354, (%r12)
and $222, %rsi
// Store
lea addresses_D+0x18768, %rsi
nop
nop
nop
nop
sub %r13, %r13
mov $0x5152535455565758, %rbx
movq %rbx, %xmm3
movups %xmm3, (%rsi)
nop
nop
nop
xor %r12, %r12
// Store
lea addresses_RW+0x1768, %r12
nop
nop
nop
nop
xor $8103, %r9
movl $0x51525354, (%r12)
add %r9, %r9
// Store
mov $0x768, %r10
nop
nop
nop
nop
nop
add $32717, %rsi
movw $0x5152, (%r10)
nop
nop
nop
nop
cmp %rcx, %rcx
// Store
lea addresses_D+0x18768, %r12
and %r10, %r10
mov $0x5152535455565758, %rcx
movq %rcx, %xmm6
movups %xmm6, (%r12)
nop
add $15802, %r12
// Store
lea addresses_US+0x1c648, %rcx
xor $49884, %rbx
mov $0x5152535455565758, %r10
movq %r10, (%rcx)
nop
nop
nop
nop
add $12486, %rcx
// Faulty Load
lea addresses_D+0x18768, %r13
nop
nop
nop
nop
nop
add $223, %r10
movups (%r13), %xmm3
vpextrq $1, %xmm3, %rcx
lea oracles, %r10
and $0xff, %rcx
shlq $12, %rcx
mov (%r10,%rcx,1), %rcx
pop %rsi
pop %rcx
pop %rbx
pop %r9
pop %r13
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D', 'congruent': 0}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_PSE', 'congruent': 1}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_normal', 'congruent': 10}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A', 'congruent': 2}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_US', 'congruent': 8}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_normal', 'congruent': 7}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_NC', 'congruent': 9}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': True, 'AVXalign': False, 'size': 4, 'type': 'addresses_UC', 'congruent': 4}, 'OP': 'STOR'}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_D', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_RW', 'congruent': 10}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_P', 'congruent': 11}, 'OP': 'STOR'}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_D', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_US', 'congruent': 2}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_D', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_UC_ht', 'congruent': 6}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 5, 'type': 'addresses_UC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WC_ht', 'congruent': 8}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 6}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WC_ht', 'congruent': 11}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_normal_ht'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 3}, 'OP': 'STOR'}
{'dst': {'same': True, 'NT': True, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 5}, 'OP': 'STOR'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 29.064516 | 2,999 | 0.649057 |
65dcc3e67ec7e09a426c6d3bc6764a3e3cb568d3 | 841 | asm | Assembly | programs/oeis/024/A024112.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/024/A024112.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/024/A024112.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A024112: a(n) = 9^n - n^11.
; 1,8,-1967,-176418,-4187743,-48769076,-362265615,-1972543774,-8546887871,-30993639120,-96513215599,-253930611002,-460578834207,749705434292,18827227285297,197241376235274,1835428002807425,16642909803358936,150030366886919889,1350735227414093870,12157460659056928801,109418638854011816988,984770317865309821553,8862937166842743182002,79766441555191366694337,717897985307666797754624,6461081885556328811944465,58149736997480999123834646,523347633019067027746039649,4710128697234044325155897860,42391158275198488814294433201,381520424476920423151753493978,3433683820292476455860830125313,30903154382632561819814128076712,278128389443693441068442138199377,2503155504993241504766414613038974,22528399544939174280218444032505505,202755595904452569528643709093493356
mov $1,9
pow $1,$0
pow $0,11
sub $1,$0
mov $0,$1
| 93.444444 | 760 | 0.891795 |
db96e91a7dd9c84327553ed154c74a27de85b11f | 242,951 | asm | Assembly | files.asm | RockmanEXEZone/MMBN45-English-Translation | 61c8df305f76b3b94395cf58cee16d816b56eaaa | [
"BSD-3-Clause"
] | 6 | 2019-11-16T10:19:15.000Z | 2022-03-25T16:36:40.000Z | files.asm | RockmanEXEZone/MMBN45-English-Translation | 61c8df305f76b3b94395cf58cee16d816b56eaaa | [
"BSD-3-Clause"
] | null | null | null | files.asm | RockmanEXEZone/MMBN45-English-Translation | 61c8df305f76b3b94395cf58cee16d816b56eaaa | [
"BSD-3-Clause"
] | null | null | null | .org 0x8016318
file_016318:
.area 0x28,0x00
.import TEMP+"/016318.map.bin"
.endarea
.org 0x805290C
file_05290C:
.area 0x6E4,0x00
.import "img/font/vwfont-width.bin"
.endarea
.org 0x8052FF0
file_052FF0:
.area 0x6E4,0x00
.import "img/font/vwfont-width.bin"
.endarea
.org 0x8016104 :: .dw (file_016108)
.org 0x80163F0 :: .dw (file_0163F4)
.org 0x8016314 :: .dw (file_016318)
.org 0x802B39C :: .dw (file_1F0000)
.org 0x802BA40 :: .dw (file_1F0000)
.org 0x802BAAC :: .dw (file_1F0000)
.org 0x802B3A4 :: .dw (file_1F89A8)
.org 0x802B3A8 :: .dw (file_1FB498)
.org 0x802B3AC :: .dw (file_1FDE50)
.org 0x802B3B0 :: .dw (file_1FFEE4)
.org 0x802B3B4 :: .dw (file_202634)|0x80000000
.org 0x802B3B8 :: .dw (file_203754)|0x80000000
.org 0x802B3BC :: .dw (file_203FC4)
.org 0x802B3C0 :: .dw (file_2053B8)
.org 0x802B3C4 :: .dw (file_207C30)|0x80000000
.org 0x802B3C8 :: .dw (file_208A20)
.org 0x802B3CC :: .dw (file_209A84)|0x80000000
.org 0x802B3D0 :: .dw (file_20A7EC)
.org 0x802B3D4 :: .dw (file_20DAA4)|0x80000000
.org 0x802B3D8 :: .dw (file_20E720)|0x80000000
.org 0x802B3DC :: .dw (file_20F584)|0x80000000
.org 0x802B3E0 :: .dw (file_21069C)|0x80000000
.org 0x802B3E4 :: .dw (file_211114)
.org 0x802B3E8 :: .dw (file_214A0C)|0x80000000
.org 0x802B3EC :: .dw (file_215540)|0x80000000
.org 0x802B3F0 :: .dw (file_215CE8)|0x80000000
.org 0x802B3F8 :: .dw (file_216724)
.org 0x802BC18 :: .dw (file_216724)
.org 0x802B3FC :: .dw (file_22137C)
.org 0x802BBD4 :: .dw (file_22137C)
.org 0x802B400 :: .dw (file_2301BC)
.org 0x802BC38 :: .dw (file_2301BC)
.org 0x802B404 :: .dw (file_239800)
.org 0x802B408 :: .dw (file_244738)
.org 0x802BC2C :: .dw (file_244738)
.org 0x802B40C :: .dw (file_24F3A0)
.org 0x802B410 :: .dw (file_2581C8)
.org 0x802BB78 :: .dw (file_2581C8)
.org 0x802B414 :: .dw (file_264A70)
.org 0x802BB28 :: .dw (file_264A70)
.org 0x802B418 :: .dw (file_270288)
.org 0x802BC60 :: .dw (file_270288)
.org 0x802B41C :: .dw (file_279F44)
.org 0x802B420 :: .dw (file_283228)
.org 0x802B424 :: .dw (file_28B5F8)
.org 0x802B428 :: .dw (file_295740)|0x80000000
.org 0x802BB1C :: .dw (file_295740)|0x80000000
.org 0x802B42C :: .dw (file_297C1C)|0x80000000
.org 0x802B434 :: .dw (file_29A424)|0x80000000
.org 0x802B438 :: .dw (file_29E23C)|0x80000000
.org 0x802B43C :: .dw (file_2A0788)|0x80000000
.org 0x802BC48 :: .dw (file_2A0788)|0x80000000
.org 0x802B440 :: .dw (file_2A26F4)|0x80000000
.org 0x802B444 :: .dw (file_2A4CA4)|0x80000000
.org 0x802B448 :: .dw (file_2A7510)|0x80000000
.org 0x802BC28 :: .dw (file_2A7510)|0x80000000
.org 0x802B44C :: .dw (file_2AA8DC)|0x80000000
.org 0x802BB14 :: .dw (file_2AA8DC)|0x80000000
.org 0x802B450 :: .dw (file_2AE238)|0x80000000
.org 0x802BB18 :: .dw (file_2AE238)|0x80000000
.org 0x802B458 :: .dw (file_2B09AC)
.org 0x802BC4C :: .dw (file_2B09AC)
.org 0x802B45C :: .dw (file_2BFCB8)
.org 0x802BAEC :: .dw (file_2BFCB8)
.org 0x802B460 :: .dw (file_2CBF5C)
.org 0x802BBF8 :: .dw (file_2CBF5C)
.org 0x802B464 :: .dw (file_2D6D58)
.org 0x802BB30 :: .dw (file_2D6D58)
.org 0x802B468 :: .dw (file_2F0450)
.org 0x802BC5C :: .dw (file_2F0450)
.org 0x802B46C :: .dw (file_3008B4)
.org 0x802BB2C :: .dw (file_3008B4)
.org 0x802B470 :: .dw (file_3069E4)
.org 0x802BC1C :: .dw (file_3069E4)
.org 0x802B474 :: .dw (file_311BA8)
.org 0x802BBFC :: .dw (file_311BA8)
.org 0x802B478 :: .dw (file_3205B8)
.org 0x802B47C :: .dw (file_32BF28)
.org 0x802BBEC :: .dw (file_32BF28)
.org 0x802B480 :: .dw (file_3317E8)
.org 0x802BBE8 :: .dw (file_3317E8)
.org 0x802B484 :: .dw (file_338990)
.org 0x802B48C :: .dw (file_339884)
.org 0x802B490 :: .dw (file_33A690)
.org 0x802B494 :: .dw (file_33ABFC)
.org 0x802BBD8 :: .dw (file_33ABFC)
.org 0x802B498 :: .dw (file_33C3C0)
.org 0x802B4A0 :: .dw (file_33D620)
.org 0x802BC70 :: .dw (file_33D620)
.org 0x802B4A4 :: .dw (file_33E30C)
.org 0x802B4A8 :: .dw (file_33F754)
.org 0x802B4AC :: .dw (file_340EC8)
.org 0x802B4B0 :: .dw (file_341C40)
.org 0x802B4B4 :: .dw (file_344E58)
.org 0x802BC30 :: .dw (file_344E58)
.org 0x802B4B8 :: .dw (file_345694)
.org 0x802B4BC :: .dw (file_3461E8)
.org 0x802BC24 :: .dw (file_3461E8)
.org 0x802B4C0 :: .dw (file_346348)
.org 0x802B4C4 :: .dw (file_346FCC)
.org 0x802B4C8 :: .dw (file_3482AC)
.org 0x802B4CC :: .dw (file_349314)
.org 0x802BBF0 :: .dw (file_349314)
.org 0x802B4D0 :: .dw (file_34B778)
.org 0x802BC58 :: .dw (file_34B778)
.org 0x802B4D4 :: .dw (file_34C874)
.org 0x802B4D8 :: .dw (file_34EF30)
.org 0x802B4DC :: .dw (file_34F800)
.org 0x802B4E0 :: .dw (file_352B2C)
.org 0x802B4E4 :: .dw (file_357174)
.org 0x802B4E8 :: .dw (file_3581D0)
.org 0x802BB7C :: .dw (file_3581D0)
.org 0x802B4EC :: .dw (file_358F48)
.org 0x802B4F0 :: .dw (file_35C350)
.org 0x802B4F4 :: .dw (file_35FAE4)
.org 0x802B4F8 :: .dw (file_361DC0)
.org 0x802B4FC :: .dw (file_3621D0)
.org 0x802B500 :: .dw (file_3626A8)
.org 0x802B504 :: .dw (file_362D4C)
.org 0x802B508 :: .dw (file_362EAC)
.org 0x802B50C :: .dw (file_3639BC)
.org 0x802B510 :: .dw (file_363C28)
.org 0x802B514 :: .dw (file_365484)
.org 0x802B518 :: .dw (file_366690)
.org 0x802B51C :: .dw (file_3682B8)
.org 0x802B520 :: .dw (file_368D00)
.org 0x802B524 :: .dw (file_36BB5C)
.org 0x802B528 :: .dw (file_36E13C)
.org 0x802B52C :: .dw (file_36E308)
.org 0x802B530 :: .dw (file_36E6D0)
.org 0x802B534 :: .dw (file_36EB34)
.org 0x802B538 :: .dw (file_36ED58)
.org 0x802BC0C :: .dw (file_36ED58)
.org 0x802B53C :: .dw (file_36F2E0)
.org 0x802B540 :: .dw (file_36F9B4)
.org 0x802B544 :: .dw (file_36FC14)
.org 0x802B548 :: .dw (file_370BA0)
.org 0x802B54C :: .dw (file_371234)
.org 0x802B550 :: .dw (file_371698)
.org 0x802B554 :: .dw (file_372934)
.org 0x802B558 :: .dw (file_372B68)
.org 0x802B55C :: .dw (file_373790)
.org 0x802B560 :: .dw (file_373B5C)
.org 0x802B564 :: .dw (file_3762F8)
.org 0x802B568 :: .dw (file_37672C)
.org 0x802B56C :: .dw (file_3787B8)
.org 0x802B570 :: .dw (file_378FB8)
.org 0x802B574 :: .dw (file_379C18)
.org 0x802B578 :: .dw (file_37A2D0)
.org 0x802B57C :: .dw (file_37B36C)
.org 0x802B580 :: .dw (file_37D1DC)
.org 0x802B584 :: .dw (file_37EEB0)
.org 0x802B588 :: .dw (file_37F764)
.org 0x802B58C :: .dw (file_381D60)
.org 0x802B590 :: .dw (file_382B70)
.org 0x802B594 :: .dw (file_384A4C)
.org 0x802B598 :: .dw (file_38520C)
.org 0x802B5A0 :: .dw (file_385B84)
.org 0x802B5A4 :: .dw (file_3866C4)
.org 0x802B5B0 :: .dw (file_38749C)
.org 0x802B5B4 :: .dw (file_387ED0)
.org 0x802B5B8 :: .dw (file_388DD4)
.org 0x802BB38 :: .dw (file_388DD4)
.org 0x802B5BC :: .dw (file_38B220)
.org 0x802BB3C :: .dw (file_38B220)
.org 0x802B5C0 :: .dw (file_38BA34)
.org 0x802BC00 :: .dw (file_38BA34)
.org 0x802B5C4 :: .dw (file_38CC7C)
.org 0x802B5C8 :: .dw (file_38E7B0)
.org 0x802B5CC :: .dw (file_38FDB0)
.org 0x802B5D0 :: .dw (file_390D80)
.org 0x802BAF4 :: .dw (file_390D80)
.org 0x802B5D4 :: .dw (file_39110C)
.org 0x802B5D8 :: .dw (file_391FE0)
.org 0x802BC34 :: .dw (file_391FE0)
.org 0x802B5DC :: .dw (file_393510)
.org 0x802BC04 :: .dw (file_393510)
.org 0x802B5E0 :: .dw (file_3938C8)
.org 0x802B5E4 :: .dw (file_39579C)
.org 0x802B5E8 :: .dw (file_396534)
.org 0x802BAF8 :: .dw (file_396534)
.org 0x802B5EC :: .dw (file_396990)
.org 0x802B5F0 :: .dw (file_396EB0)
.org 0x802BBDC :: .dw (file_396EB0)
.org 0x802B5F4 :: .dw (file_397418)
.org 0x802B5F8 :: .dw (file_397950)
.org 0x802B5FC :: .dw (file_39A9DC)
.org 0x802B600 :: .dw (file_39B3FC)
.org 0x802B604 :: .dw (file_39B680)
.org 0x802B608 :: .dw (file_39BCD0)
.org 0x802B60C :: .dw (file_39CB30)
.org 0x802B610 :: .dw (file_39D308)
.org 0x802B614 :: .dw (file_39D600)
.org 0x802BB10 :: .dw (file_39D600)
.org 0x802B618 :: .dw (file_39DDE4)
.org 0x802B61C :: .dw (file_39EE20)
.org 0x802B620 :: .dw (file_39FDBC)
.org 0x802B624 :: .dw (file_3A0874)
.org 0x802B628 :: .dw (file_3A2178)
.org 0x802B62C :: .dw (file_3A2738)
.org 0x802B630 :: .dw (file_3A3484)
.org 0x802B634 :: .dw (file_3A4B40)
.org 0x802B638 :: .dw (file_3A5E84)
.org 0x802B63C :: .dw (file_3A67DC)
.org 0x802B640 :: .dw (file_3A6FFC)
.org 0x802B644 :: .dw (file_3A7594)
.org 0x802B648 :: .dw (file_3A79F4)
.org 0x802B64C :: .dw (file_3A7F30)
.org 0x802B650 :: .dw (file_3A82F8)
.org 0x802B654 :: .dw (file_3A845C)
.org 0x802B658 :: .dw (file_3A8720)
.org 0x802BAFC :: .dw (file_3A8720)
.org 0x802BC3C :: .dw (file_3A8720)
.org 0x802B65C :: .dw (file_3A8D50)
.org 0x802BC40 :: .dw (file_3A8D50)
.org 0x802B660 :: .dw (file_3A9290)
.org 0x802B664 :: .dw (file_3A94B8)
.org 0x802B668 :: .dw (file_3A9B98)
.org 0x802B66C :: .dw (file_3AA0E4)
.org 0x802B670 :: .dw (file_3ABEF0)
.org 0x802B674 :: .dw (file_3AC688)
.org 0x802BC44 :: .dw (file_3AC688)
.org 0x802B67C :: .dw (file_3ACFA4)
.org 0x802B680 :: .dw (file_3AD390)
.org 0x802B684 :: .dw (file_3AD5F4)
.org 0x802B688 :: .dw (file_3ADE70)
.org 0x802B68C :: .dw (file_3AEA0C)
.org 0x802B690 :: .dw (file_3AFB60)
.org 0x802B694 :: .dw (file_3B03B4)
.org 0x802B698 :: .dw (file_3B245C)
.org 0x802B69C :: .dw (file_3B3A24)
.org 0x802BB00 :: .dw (file_3B3A24)
.org 0x802B6A0 :: .dw (file_3B3DC0)
.org 0x802B6A4 :: .dw (file_3B4B78)
.org 0x802B6A8 :: .dw (file_3B5364)
.org 0x802B6AC :: .dw (file_3B5B18)
.org 0x802B6B0 :: .dw (file_3B5C3C)
.org 0x802B6B4 :: .dw (file_3B6430)
.org 0x802B6B8 :: .dw (file_3B6A84)
.org 0x802BB08 :: .dw (file_3B6A84)
.org 0x802B6BC :: .dw (file_3B6C28)
.org 0x802BB0C :: .dw (file_3B6C28)
.org 0x802B6C0 :: .dw (file_3B6DD4)
.org 0x802B6C4 :: .dw (file_3B8D3C)
.org 0x802BC64 :: .dw (file_3B8D3C)
.org 0x802B6C8 :: .dw (file_3BA98C)
.org 0x802BC68 :: .dw (file_3BA98C)
.org 0x802B6CC :: .dw (file_3BAF58)
.org 0x802BC6C :: .dw (file_3BAF58)
.org 0x802B6D0 :: .dw (file_3BB2C8)
.org 0x802B6D4 :: .dw (file_3BCD98)
.org 0x802BB34 :: .dw (file_3BCD98)
.org 0x802B6D8 :: .dw (file_3BE63C)
.org 0x802BBF4 :: .dw (file_3BE63C)
.org 0x802B6DC :: .dw (file_3BEA7C)
.org 0x802B6E0 :: .dw (file_3BF2D4)
.org 0x802B6E4 :: .dw (file_3C07A4)
.org 0x802B6E8 :: .dw (file_3C1A14)
.org 0x802B6EC :: .dw (file_3C28EC)
.org 0x802B6F0 :: .dw (file_3C37D0)
.org 0x802BC14 :: .dw (file_3C37D0)
.org 0x802B6F4 :: .dw (file_3C3AB4)
.org 0x802BC10 :: .dw (file_3C3AB4)
.org 0x802B6F8 :: .dw (file_3C4F5C)
.org 0x802B6FC :: .dw (file_3C589C)
.org 0x802B700 :: .dw (file_3C61B8)
.org 0x802BC20 :: .dw (file_3C61B8)
.org 0x802B704 :: .dw (file_3C6F74)
.org 0x802B708 :: .dw (file_3CE6F4)
.org 0x802BC50 :: .dw (file_3CE6F4)
.org 0x802B70C :: .dw (file_3CF1BC)
.org 0x802B710 :: .dw (file_3CF5C4)
.org 0x802B714 :: .dw (file_3D11C4)
.org 0x802BA50 :: .dw (file_3D11C4)
.org 0x802B718 :: .dw (file_3D28D4)
.org 0x802B71C :: .dw (file_3D3B60)
.org 0x802B720 :: .dw (file_3D71C8)
.org 0x802B724 :: .dw (file_3D7F64)
.org 0x802BBE0 :: .dw (file_3D7F64)
.org 0x802B728 :: .dw (file_3DD37C)
.org 0x802BBE4 :: .dw (file_3DD37C)
.org 0x802B72C :: .dw (file_3DDB08)
.org 0x802B730 :: .dw (file_3DE504)
.org 0x802BC54 :: .dw (file_3DE504)
.org 0x802B734 :: .dw (file_3E1C44)
.org 0x802B738 :: .dw (file_3E1E8C)
.org 0x802B73C :: .dw (file_3E2A94)
.org 0x802B740 :: .dw (file_3E337C)
.org 0x802B744 :: .dw (file_3E3D80)
.org 0x802BB24 :: .dw (file_3E3D80)
.org 0x802B748 :: .dw (file_3E6028)
.org 0x802B74C :: .dw (file_3E6F40)
.org 0x802B750 :: .dw (file_3E78D8)
.org 0x802B754 :: .dw (file_3E8364)
.org 0x802B758 :: .dw (file_3EB258)
.org 0x802BBCC :: .dw (file_3EB258)
.org 0x802B75C :: .dw (file_3EC998)
.org 0x802B760 :: .dw (file_3ED538)
.org 0x802B764 :: .dw (file_3EDBF0)
.org 0x802B768 :: .dw (file_3EEBD8)
.org 0x802BB04 :: .dw (file_3EEBD8)
.org 0x802B7C8 :: .dw (file_3EF724)
.org 0x802B7CC :: .dw (file_3F7C08)
.org 0x802B7D0 :: .dw (file_3FF56C)
.org 0x802B7D8 :: .dw (file_40799C)
.org 0x802B7DC :: .dw (file_40EF98)
.org 0x802B7E4 :: .dw (file_4167E4)
.org 0x802B7E8 :: .dw (file_420E8C)
.org 0x802B85C :: .dw (file_420E8C)
.org 0x802BBB8 :: .dw (file_420E8C)
.org 0x802B7EC :: .dw (file_423BD0)
.org 0x802B7F0 :: .dw (file_423BD0)
.org 0x802B7F4 :: .dw (file_423BD0)
.org 0x802B7F8 :: .dw (file_423BD0)
.org 0x802B858 :: .dw (file_423BD0)
.org 0x802BBBC :: .dw (file_423BD0)
.org 0x802B7E0 :: .dw (file_4296C0)
.org 0x802B7FC :: .dw (file_4296C0)
.org 0x802BBB4 :: .dw (file_4296C0)
.org 0x802B800 :: .dw (file_42E028)
.org 0x802B874 :: .dw (file_42E028)
.org 0x802BBC0 :: .dw (file_42E028)
.org 0x802B804 :: .dw (file_430F04)
.org 0x802B808 :: .dw (file_43B7B4)
.org 0x802B80C :: .dw (file_445DC4)
.org 0x802B818 :: .dw (file_44E860)
.org 0x802B81C :: .dw (file_45D620)
.org 0x802B828 :: .dw (file_469D1C)
.org 0x802B82C :: .dw (file_474024)
.org 0x802B830 :: .dw (file_47D174)
.org 0x802B834 :: .dw (file_481F0C)
.org 0x802B838 :: .dw (file_48B148)
.org 0x802B83C :: .dw (file_490178)
.org 0x802B840 :: .dw (file_49E778)
.org 0x802B84C :: .dw (file_4A0FB4)
.org 0x802B850 :: .dw (file_4AA8A8)
.org 0x802B854 :: .dw (file_4B1714)
.org 0x802B860 :: .dw (file_4B3354)
.org 0x802BB5C :: .dw (file_4B3354)
.org 0x802B864 :: .dw (file_4B6E40)
.org 0x802BB60 :: .dw (file_4B6E40)
.org 0x802B868 :: .dw (file_4B9B84)
.org 0x802B86C :: .dw (file_4C35B4)
.org 0x802B870 :: .dw (file_4DAB90)
.org 0x802B87C :: .dw (file_4E2CA4)
.org 0x802BBD0 :: .dw (file_4E2CA4)
.org 0x802B880 :: .dw (file_4E31BC)
.org 0x802B884 :: .dw (file_4E3E90)
.org 0x802B888 :: .dw (file_4E4C18)
.org 0x802B88C :: .dw (file_4E7614)
.org 0x802B890 :: .dw (file_4E7F70)
.org 0x802B894 :: .dw (file_4E81F0)
.org 0x802B898 :: .dw (file_4EFA70)
.org 0x802B89C :: .dw (file_4F0CBC)
.org 0x802B8A0 :: .dw (file_4F1394)
.org 0x802B8A4 :: .dw (file_4F198C)
.org 0x802B8A8 :: .dw (file_4F22A4)
.org 0x802B8AC :: .dw (file_4F49BC)
.org 0x802B8B0 :: .dw (file_4F62C8)
.org 0x802B8B4 :: .dw (file_4F82E4)
.org 0x802B8B8 :: .dw (file_4F8EB4)
.org 0x802BB64 :: .dw (file_4F8EB4)
.org 0x802B8BC :: .dw (file_4FAABC)
.org 0x802BB68 :: .dw (file_4FAABC)
.org 0x802B8C4 :: .dw (file_4FC0E4)
.org 0x802B8C8 :: .dw (file_4FDC44)
.org 0x802B8CC :: .dw (file_4FDE28)
.org 0x802B8D0 :: .dw (file_4FE57C)
.org 0x802B8D4 :: .dw (file_4FEAD8)
.org 0x802B8D8 :: .dw (file_500614)
.org 0x802B8DC :: .dw (file_502150)
.org 0x802B8E0 :: .dw (file_5033B8)
.org 0x802B8E4 :: .dw (file_503944)
.org 0x802BB20 :: .dw (file_503944)
.org 0x802B8E8 :: .dw (file_504640)
.org 0x802B8EC :: .dw (file_504F60)
.org 0x802B8F0 :: .dw (file_506C18)
.org 0x802B8F4 :: .dw (file_50A9F8)
.org 0x8002200 :: .dw (file_50B268)
.org 0x802B3A0 :: .dw (file_50B268)
.org 0x802B3F4 :: .dw (file_50B268)
.org 0x802B430 :: .dw (file_50B268)
.org 0x802B454 :: .dw (file_50B268)
.org 0x802B488 :: .dw (file_50B268)
.org 0x802B49C :: .dw (file_50B268)
.org 0x802B59C :: .dw (file_50B268)
.org 0x802B5A8 :: .dw (file_50B268)
.org 0x802B5AC :: .dw (file_50B268)
.org 0x802B678 :: .dw (file_50B268)
.org 0x802B76C :: .dw (file_50B268)
.org 0x802B770 :: .dw (file_50B268)
.org 0x802B774 :: .dw (file_50B268)
.org 0x802B778 :: .dw (file_50B268)
.org 0x802B77C :: .dw (file_50B268)
.org 0x802B780 :: .dw (file_50B268)
.org 0x802B784 :: .dw (file_50B268)
.org 0x802B788 :: .dw (file_50B268)
.org 0x802B78C :: .dw (file_50B268)
.org 0x802B790 :: .dw (file_50B268)
.org 0x802B794 :: .dw (file_50B268)
.org 0x802B798 :: .dw (file_50B268)
.org 0x802B79C :: .dw (file_50B268)
.org 0x802B7A0 :: .dw (file_50B268)
.org 0x802B7A4 :: .dw (file_50B268)
.org 0x802B7A8 :: .dw (file_50B268)
.org 0x802B7AC :: .dw (file_50B268)
.org 0x802B7B0 :: .dw (file_50B268)
.org 0x802B7B4 :: .dw (file_50B268)
.org 0x802B7B8 :: .dw (file_50B268)
.org 0x802B7BC :: .dw (file_50B268)
.org 0x802B7C0 :: .dw (file_50B268)
.org 0x802B7C4 :: .dw (file_50B268)
.org 0x802B7D4 :: .dw (file_50B268)
.org 0x802B810 :: .dw (file_50B268)
.org 0x802B814 :: .dw (file_50B268)
.org 0x802B820 :: .dw (file_50B268)
.org 0x802B824 :: .dw (file_50B268)
.org 0x802B844 :: .dw (file_50B268)
.org 0x802B848 :: .dw (file_50B268)
.org 0x802B878 :: .dw (file_50B268)
.org 0x802B8C0 :: .dw (file_50B268)
.org 0x802B8F8 :: .dw (file_50B268)
.org 0x802BB44 :: .dw (file_50B268)
.org 0x802BB48 :: .dw (file_50B268)
.org 0x802BA0C :: .dw (file_50B960)
.org 0x802BA10 :: .dw (file_50C46C)
.org 0x802BA14 :: .dw (file_50C7E4)
.org 0x802BA18 :: .dw (file_50EAFC)
.org 0x802BA1C :: .dw (file_50F064)|0x80000000
.org 0x803974C :: .dw (file_50F064)
.org 0x8047C2C :: .dw (file_50F064)
.org 0x802BA20 :: .dw (file_510994)|0x80000000
.org 0x8039750 :: .dw (file_510994)
.org 0x8047C30 :: .dw (file_510994)
.org 0x802BA24 :: .dw (file_512160)|0x80000000
.org 0x80411B8 :: .dw (file_512160)
.org 0x802BA2C :: .dw (file_5121F0)|0x80000000
.org 0x80411B4 :: .dw (file_5121F0)
.org 0x802BA3C :: .dw (file_51234C)
.org 0x802BA4C :: .dw (file_512CB8)|0x80000000
.org 0x8048050 :: .dw (file_512CB8)
.org 0x802BA54 :: .dw (file_512FA0)|0x80000000
.org 0x803C42C :: .dw (file_512FA0)
.org 0x802BA70 :: .dw (file_5131A4)
.org 0x802BA78 :: .dw (file_5157B4)
.org 0x802BA88 :: .dw (file_515A9C)
.org 0x802BA8C :: .dw (file_516330)
.org 0x802BA98 :: .dw (file_516874)
.org 0x802BA9C :: .dw (file_5170C8)
.org 0x802BAA0 :: .dw (file_517E94)
.org 0x802BAA4 :: .dw (file_518470)
.org 0x802BAA8 :: .dw (file_518E80)
.org 0x802BAB0 :: .dw (file_519308)
.org 0x802BAB4 :: .dw (file_519F38)
.org 0x802BAB8 :: .dw (file_51ABE8)
.org 0x802BABC :: .dw (file_51BCB8)
.org 0x802BAC0 :: .dw (file_51C0EC)
.org 0x802BAC4 :: .dw (file_51CC14)
.org 0x802BAC8 :: .dw (file_51D5FC)
.org 0x802BACC :: .dw (file_51DD24)
.org 0x802BAD0 :: .dw (file_51E234)
.org 0x802BAD4 :: .dw (file_51F20C)
.org 0x802BAD8 :: .dw (file_51F8B4)
.org 0x802BADC :: .dw (file_5200AC)
.org 0x802BAE0 :: .dw (file_522904)
.org 0x802BAE4 :: .dw (file_522E6C)
.org 0x802BB40 :: .dw (file_523408)
.org 0x802BB4C :: .dw (file_524EA8)
.org 0x802BB50 :: .dw (file_52597C)
.org 0x802BB54 :: .dw (file_5268C0)
.org 0x802BB58 :: .dw (file_526DA8)
.org 0x802BB6C :: .dw (file_527274)
.org 0x802BB70 :: .dw (file_5291C4)
.org 0x802BB74 :: .dw (file_52A4A0)
.org 0x802BB80 :: .dw (file_52A870)
.org 0x802BB84 :: .dw (file_52AF58)
.org 0x802BB88 :: .dw (file_52B3EC)
.org 0x802BB8C :: .dw (file_52B7E4)
.org 0x802BB90 :: .dw (file_52C70C)
.org 0x802BB94 :: .dw (file_52D788)
.org 0x802BB98 :: .dw (file_52D9EC)
.org 0x802BB9C :: .dw (file_52ED3C)
.org 0x802BBA0 :: .dw (file_532908)
.org 0x802BBA4 :: .dw (file_533140)
.org 0x802BBAC :: .dw (file_533994)
.org 0x802BBB0 :: .dw (file_534028)
.org 0x802BBC4 :: .dw (file_535554)
.org 0x802BBC8 :: .dw (file_5381C8)
.org 0x802BC08 :: .dw (file_539E34)
.org 0x802B8FC :: .dw (file_53A3DC)
.org 0x802B900 :: .dw (file_53AADC)
.org 0x802B920 :: .dw (file_53B15C)
.org 0x802B924 :: .dw (file_53B948)
.org 0x802B928 :: .dw (file_53C0E8)
.org 0x802B92C :: .dw (file_53C6E8)
.org 0x802B930 :: .dw (file_53CD50)
.org 0x802B940 :: .dw (file_53D310)
.org 0x802B958 :: .dw (file_53DA50)
.org 0x802B95C :: .dw (file_53E0A0)
.org 0x802B960 :: .dw (file_53E76C)
.org 0x802B964 :: .dw (file_53EFCC)
.org 0x802B968 :: .dw (file_53F4F8)
.org 0x802B96C :: .dw (file_53FA24)
.org 0x802B974 :: .dw (file_540124)
.org 0x802B978 :: .dw (file_540938)
.org 0x802B9EC :: .dw (file_540938)
.org 0x802B97C :: .dw (file_540EC4)
.org 0x802B980 :: .dw (file_540EC4)
.org 0x802B9E8 :: .dw (file_540EC4)
.org 0x802B984 :: .dw (file_5413E8)
.org 0x802B988 :: .dw (file_541954)
.org 0x802B970 :: .dw (file_541E58)
.org 0x802B98C :: .dw (file_541E58)
.org 0x802B994 :: .dw (file_54235C)
.org 0x802B990 :: .dw (file_542BF0)
.org 0x802BA04 :: .dw (file_542BF0)
.org 0x802B998 :: .dw (file_54313C)
.org 0x802B99C :: .dw (file_54395C)
.org 0x802B9A0 :: .dw (file_543FD0)
.org 0x802B9A4 :: .dw (file_5447D0)
.org 0x802B9A8 :: .dw (file_54501C)
.org 0x802B9AC :: .dw (file_545768)
.org 0x802B9B0 :: .dw (file_545DE0)
.org 0x802B9B4 :: .dw (file_546398)
.org 0x802B9B8 :: .dw (file_546954)
.org 0x802B9BC :: .dw (file_546E38)
.org 0x802B9C0 :: .dw (file_547414)
.org 0x802B9C4 :: .dw (file_547934)
.org 0x802B9C8 :: .dw (file_547EAC)
.org 0x802B9CC :: .dw (file_5485A4)
.org 0x802B9D0 :: .dw (file_548B84)
.org 0x802B9D4 :: .dw (file_549058)
.org 0x802B9D8 :: .dw (file_5495C4)
.org 0x802B9DC :: .dw (file_549AA8)
.org 0x802B9E0 :: .dw (file_54A014)
.org 0x802B9F8 :: .dw (file_54A4F8)
.org 0x802B9FC :: .dw (file_54AA70)
.org 0x802BA00 :: .dw (file_54AFDC)
.org 0x802B904 :: .dw (file_54B594)
.org 0x802B908 :: .dw (file_54B594)
.org 0x802B90C :: .dw (file_54B594)
.org 0x802B910 :: .dw (file_54B594)
.org 0x802B914 :: .dw (file_54B594)
.org 0x802B918 :: .dw (file_54B594)
.org 0x802B91C :: .dw (file_54B594)
.org 0x802B934 :: .dw (file_54B594)
.org 0x802B938 :: .dw (file_54B594)
.org 0x802B93C :: .dw (file_54B594)
.org 0x802B944 :: .dw (file_54B594)
.org 0x802B948 :: .dw (file_54B594)
.org 0x802B94C :: .dw (file_54B594)
.org 0x802B950 :: .dw (file_54B594)
.org 0x802B954 :: .dw (file_54B594)
.org 0x802B9E4 :: .dw (file_54B594)
.org 0x802B9F0 :: .dw (file_54B594)
.org 0x802B9F4 :: .dw (file_54B594)
.org 0x802BA08 :: .dw (file_54B594)
.org 0x80646F0 :: .dw (file_54B9DC)
.org 0x806461C :: .dw (file_54BBE0)
.org 0x802BD44 :: .dw (file_54BDE0)
.org 0x802BD50 :: .dw (file_54BDE0)
.org 0x802BD5C :: .dw (file_54BDE0)
.org 0x802BD68 :: .dw (file_54BDE0)
.org 0x802BD74 :: .dw (file_54BDE0)
.org 0x802BD80 :: .dw (file_54BDE0)
.org 0x802BD8C :: .dw (file_54BDE0)
.org 0x802BD98 :: .dw (file_54BDE0)
.org 0x802BE1C :: .dw (file_54BDE0)
.org 0x802BD48 :: .dw (file_55031C)
.org 0x802BD54 :: .dw (file_55031C)
.org 0x802BD60 :: .dw (file_55031C)
.org 0x802BD6C :: .dw (file_55031C)
.org 0x802BE20 :: .dw (file_55031C)
.org 0x80560DC :: .dw (file_550400)
.org 0x8056114 :: .dw (file_550420)
.org 0x805614C :: .dw (file_550440)
.org 0x805619C :: .dw (file_550460)
.org 0x802BD4C :: .dw (file_5504C0)
.org 0x802BE24 :: .dw (file_5504C0)
.org 0x802BD58 :: .dw (file_552BBC)
.org 0x802BD64 :: .dw (file_5550B4)
.org 0x802BD70 :: .dw (file_5570D0)
.org 0x802BD78 :: .dw (file_559410)
.org 0x802BD84 :: .dw (file_559410)
.org 0x802BD90 :: .dw (file_559410)
.org 0x802BD9C :: .dw (file_559410)
.org 0x8058354 :: .dw (file_5594F4)
.org 0x805838C :: .dw (file_559514)
.org 0x80583C4 :: .dw (file_559534)
.org 0x8058414 :: .dw (file_559554)
.org 0x802BD7C :: .dw (file_5595B4)
.org 0x802BD88 :: .dw (file_55BCC4)
.org 0x802BD94 :: .dw (file_55E290)
.org 0x802BDA0 :: .dw (file_560BFC)
.org 0x802BDA4 :: .dw (file_5631B8)
.org 0x802BDB0 :: .dw (file_5631B8)
.org 0x802BDBC :: .dw (file_5631B8)
.org 0x802BDC8 :: .dw (file_5631B8)
.org 0x802BDA8 :: .dw (file_5672B4)
.org 0x802BDB4 :: .dw (file_5672B4)
.org 0x802BDC0 :: .dw (file_5672B4)
.org 0x802BDCC :: .dw (file_5672B4)
.org 0x805ABC4 :: .dw (file_567378)
.org 0x805AAD4 :: .dw (file_567398)
.org 0x805AB0C :: .dw (file_5673B8)
.org 0x805AB44 :: .dw (file_5673D8)
.org 0x805AB94 :: .dw (file_5673F8)
.org 0x802BDAC :: .dw (file_567458)
.org 0x802BDB8 :: .dw (file_569BB8)
.org 0x802BDC4 :: .dw (file_56CB84)
.org 0x802BDD0 :: .dw (file_56F4B0)
.org 0x802BDD4 :: .dw (file_5726B4)
.org 0x802BDE0 :: .dw (file_5726B4)
.org 0x802BDEC :: .dw (file_5726B4)
.org 0x802BDD8 :: .dw (file_576E54)
.org 0x802BDE4 :: .dw (file_576E54)
.org 0x802BDF0 :: .dw (file_576E54)
.org 0x805D49C :: .dw (file_576E98)
.org 0x805D4DC :: .dw (file_576ED8)
.org 0x805D51C :: .dw (file_576F38)
.org 0x802BDDC :: .dw (file_576FF8)
.org 0x802BDE8 :: .dw (file_57A3C4)
.org 0x802BDF4 :: .dw (file_57D83C)
.org 0x802BDF8 :: .dw (file_580E48)
.org 0x802BDFC :: .dw (file_5857E0)
.org 0x805D57C :: .dw (file_585824)
.org 0x805D5BC :: .dw (file_585864)
.org 0x805D65C :: .dw (file_5858A4)
.org 0x805D5FC :: .dw (file_5858C4)
.org 0x802BE00 :: .dw (file_585984)
.org 0x802BE04 :: .dw (file_588F38)
.org 0x802BE10 :: .dw (file_588F38)
.org 0x802BE08 :: .dw (file_58D9B4)
.org 0x805E9D8 :: .dw (file_58D9F8)
.org 0x805EA18 :: .dw (file_58DAB8)
.org 0x802BE0C :: .dw (file_58DB58)
.org 0x802BE14 :: .dw (file_591364)
.org 0x805EA78 :: .dw (file_5913E8)
.org 0x805EAB8 :: .dw (file_591488)
.org 0x802BE18 :: .dw (file_591508)
.org 0x802BE28 :: .dw (file_5949D8)
.org 0x802BE34 :: .dw (file_5949D8)
.org 0x802BE40 :: .dw (file_5949D8)
.org 0x802BE4C :: .dw (file_5949D8)
.org 0x802BE58 :: .dw (file_5949D8)
.org 0x802BE64 :: .dw (file_5949D8)
.org 0x802BE2C :: .dw (file_595904)
.org 0x805F388 :: .dw (file_595A48)
.org 0x802BE30 :: .dw (file_595AA8)
.org 0x802BE3C :: .dw (file_595AA8)
.org 0x802BE48 :: .dw (file_595AA8)
.org 0x802BE54 :: .dw (file_595AA8)
.org 0x802BE60 :: .dw (file_595AA8)
.org 0x802BE6C :: .dw (file_595AA8)
.org 0x802BE70 :: .dw (file_596A68)
.org 0x802BE7C :: .dw (file_596A68)
.org 0x802BE88 :: .dw (file_596A68)
.org 0x802BE94 :: .dw (file_596A68)
.org 0x802BEA0 :: .dw (file_596A68)
.org 0x802BEAC :: .dw (file_596A68)
.org 0x802BEB8 :: .dw (file_596A68)
.org 0x802BEC4 :: .dw (file_596A68)
.org 0x802BED0 :: .dw (file_596A68)
.org 0x802BEDC :: .dw (file_596A68)
.org 0x802BEE8 :: .dw (file_596A68)
.org 0x802BEF4 :: .dw (file_596A68)
.org 0x802BF00 :: .dw (file_596A68)
.org 0x802BF0C :: .dw (file_596A68)
.org 0x802BF18 :: .dw (file_596A68)
.org 0x802BF24 :: .dw (file_596A68)
.org 0x802BF30 :: .dw (file_596A68)
.org 0x802BF3C :: .dw (file_596A68)
.org 0x802BF48 :: .dw (file_596A68)
.org 0x802BF54 :: .dw (file_596A68)
.org 0x802BF60 :: .dw (file_596A68)
.org 0x802BF6C :: .dw (file_596A68)
.org 0x802BF78 :: .dw (file_596A68)
.org 0x802BF84 :: .dw (file_596A68)
.org 0x802BF90 :: .dw (file_596A68)
.org 0x802BF9C :: .dw (file_596A68)
.org 0x802BE74 :: .dw (file_598A18)
.org 0x802BE98 :: .dw (file_598A18)
.org 0x802BEA4 :: .dw (file_598A18)
.org 0x802BEB0 :: .dw (file_598A18)
.org 0x802BEC8 :: .dw (file_598A18)
.org 0x802BED4 :: .dw (file_598A18)
.org 0x802BEEC :: .dw (file_598A18)
.org 0x802BEF8 :: .dw (file_598A18)
.org 0x802BF10 :: .dw (file_598A18)
.org 0x802BF1C :: .dw (file_598A18)
.org 0x802BF28 :: .dw (file_598A18)
.org 0x802BF58 :: .dw (file_598A18)
.org 0x802BF70 :: .dw (file_598A18)
.org 0x802BF7C :: .dw (file_598A18)
.org 0x802BF88 :: .dw (file_598A18)
.org 0x802BFA0 :: .dw (file_598A18)
.org 0x8060224 :: .dw (file_598A9C)
.org 0x802BE78 :: .dw (file_598BBC)
.org 0x802BE9C :: .dw (file_598BBC)
.org 0x802BEA8 :: .dw (file_598BBC)
.org 0x802BEB4 :: .dw (file_598BBC)
.org 0x802BECC :: .dw (file_598BBC)
.org 0x802BED8 :: .dw (file_598BBC)
.org 0x802BEF0 :: .dw (file_598BBC)
.org 0x802BEFC :: .dw (file_598BBC)
.org 0x802BF14 :: .dw (file_598BBC)
.org 0x802BF20 :: .dw (file_598BBC)
.org 0x802BF2C :: .dw (file_598BBC)
.org 0x802BF5C :: .dw (file_598BBC)
.org 0x802BF74 :: .dw (file_598BBC)
.org 0x802BF80 :: .dw (file_598BBC)
.org 0x802BF8C :: .dw (file_598BBC)
.org 0x802BFA4 :: .dw (file_598BBC)
.org 0x802BE90 :: .dw (file_59A720)
.org 0x802BEE4 :: .dw (file_59A720)
.org 0x802BF38 :: .dw (file_59A720)
.org 0x802BF44 :: .dw (file_59A720)
.org 0x802BF50 :: .dw (file_59A720)
.org 0x802BF98 :: .dw (file_59A720)
.org 0x802BE8C :: .dw (file_59C534)
.org 0x802BEE0 :: .dw (file_59C534)
.org 0x802BF34 :: .dw (file_59C534)
.org 0x802BF40 :: .dw (file_59C534)
.org 0x802BF4C :: .dw (file_59C534)
.org 0x802BF94 :: .dw (file_59C534)
.org 0x80605C4 :: .dw (file_59C5B8)
.org 0x802BE84 :: .dw (file_59C6D8)
.org 0x802BEC0 :: .dw (file_59C6D8)
.org 0x802BF08 :: .dw (file_59C6D8)
.org 0x802BF68 :: .dw (file_59C6D8)
.org 0x802BE80 :: .dw (file_59E6C0)
.org 0x802BEBC :: .dw (file_59E6C0)
.org 0x802BF04 :: .dw (file_59E6C0)
.org 0x802BF64 :: .dw (file_59E6C0)
.org 0x8060694 :: .dw (file_59E744)
.org 0x80560E4 :: .dw (file_59E868)
.org 0x80560EC :: .dw (file_59E888)
.org 0x80560F4 :: .dw (file_59E8A8)
.org 0x80560FC :: .dw (file_59E8C8)
.org 0x805611C :: .dw (file_59E8E8)
.org 0x8056124 :: .dw (file_59E908)
.org 0x805612C :: .dw (file_59E928)
.org 0x8056134 :: .dw (file_59E948)
.org 0x8056154 :: .dw (file_59E968)
.org 0x8056184 :: .dw (file_59E968)
.org 0x805615C :: .dw (file_59E988)
.org 0x805617C :: .dw (file_59E988)
.org 0x8056164 :: .dw (file_59E9A8)
.org 0x8056174 :: .dw (file_59E9A8)
.org 0x805616C :: .dw (file_59E9C8)
.org 0x80561A4 :: .dw (file_59E9E8)
.org 0x80561AC :: .dw (file_59EA08)
.org 0x80561B4 :: .dw (file_59EA28)
.org 0x80561CC :: .dw (file_59EA6C)
.org 0x80561E4 :: .dw (file_59EB4C)
.org 0x805621C :: .dw (file_59EB6C)
.org 0x8056254 :: .dw (file_59EB8C)
.org 0x80562A4 :: .dw (file_59EBAC)
.org 0x80561EC :: .dw (file_59FA70)
.org 0x80561F4 :: .dw (file_59FA90)
.org 0x80561FC :: .dw (file_59FAB0)
.org 0x8056204 :: .dw (file_59FAD0)
.org 0x8056224 :: .dw (file_59FAF0)
.org 0x805622C :: .dw (file_59FB10)
.org 0x8056234 :: .dw (file_59FB30)
.org 0x805623C :: .dw (file_59FB50)
.org 0x805625C :: .dw (file_59FB70)
.org 0x805628C :: .dw (file_59FB70)
.org 0x8056264 :: .dw (file_59FB90)
.org 0x8056284 :: .dw (file_59FB90)
.org 0x805626C :: .dw (file_59FBB0)
.org 0x805627C :: .dw (file_59FBB0)
.org 0x8056274 :: .dw (file_59FBD0)
.org 0x80562AC :: .dw (file_59FBF0)
.org 0x80562B4 :: .dw (file_59FC10)
.org 0x80562BC :: .dw (file_59FC30)
.org 0x805835C :: .dw (file_59FC74)
.org 0x8058364 :: .dw (file_59FC94)
.org 0x805836C :: .dw (file_59FCB4)
.org 0x8058374 :: .dw (file_59FCD4)
.org 0x8058394 :: .dw (file_59FCF4)
.org 0x805839C :: .dw (file_59FD14)
.org 0x80583A4 :: .dw (file_59FD34)
.org 0x80583AC :: .dw (file_59FD54)
.org 0x80583CC :: .dw (file_59FD74)
.org 0x80583FC :: .dw (file_59FD74)
.org 0x80583D4 :: .dw (file_59FD94)
.org 0x80583F4 :: .dw (file_59FD94)
.org 0x80583DC :: .dw (file_59FDB4)
.org 0x80583EC :: .dw (file_59FDB4)
.org 0x80583E4 :: .dw (file_59FDD4)
.org 0x805841C :: .dw (file_59FDF4)
.org 0x8058424 :: .dw (file_59FE14)
.org 0x805842C :: .dw (file_59FE34)
.org 0x8058444 :: .dw (file_59FE78)
.org 0x805845C :: .dw (file_59FF58)
.org 0x8058494 :: .dw (file_59FF78)
.org 0x80584CC :: .dw (file_59FF98)
.org 0x805851C :: .dw (file_59FFB8)
.org 0x8058464 :: .dw (file_5A0E7C)
.org 0x805846C :: .dw (file_5A0E9C)
.org 0x8058474 :: .dw (file_5A0EBC)
.org 0x805847C :: .dw (file_5A0EDC)
.org 0x805849C :: .dw (file_5A0EFC)
.org 0x80584A4 :: .dw (file_5A0F1C)
.org 0x80584AC :: .dw (file_5A0F3C)
.org 0x80584B4 :: .dw (file_5A0F5C)
.org 0x80584D4 :: .dw (file_5A0F7C)
.org 0x8058504 :: .dw (file_5A0F7C)
.org 0x80584DC :: .dw (file_5A0F9C)
.org 0x80584FC :: .dw (file_5A0F9C)
.org 0x80584E4 :: .dw (file_5A0FBC)
.org 0x80584F4 :: .dw (file_5A0FBC)
.org 0x80584EC :: .dw (file_5A0FDC)
.org 0x8058524 :: .dw (file_5A0FFC)
.org 0x805852C :: .dw (file_5A101C)
.org 0x8058534 :: .dw (file_5A103C)
.org 0x805AADC :: .dw (file_5A1080)
.org 0x805AAE4 :: .dw (file_5A10A0)
.org 0x805AAEC :: .dw (file_5A10C0)
.org 0x805AAF4 :: .dw (file_5A10E0)
.org 0x805AB14 :: .dw (file_5A1100)
.org 0x805AB1C :: .dw (file_5A1120)
.org 0x805AB24 :: .dw (file_5A1140)
.org 0x805AB2C :: .dw (file_5A1160)
.org 0x805AB4C :: .dw (file_5A1180)
.org 0x805AB7C :: .dw (file_5A1180)
.org 0x805AB54 :: .dw (file_5A11A0)
.org 0x805AB74 :: .dw (file_5A11A0)
.org 0x805AB5C :: .dw (file_5A11C0)
.org 0x805AB6C :: .dw (file_5A11C0)
.org 0x805AB64 :: .dw (file_5A11E0)
.org 0x805AB9C :: .dw (file_5A1200)
.org 0x805ABA4 :: .dw (file_5A1220)
.org 0x805ABAC :: .dw (file_5A1240)
.org 0x805ABCC :: .dw (file_5A1284)
.org 0x805ABD4 :: .dw (file_5A12A4)
.org 0x805ABDC :: .dw (file_5A12C4)
.org 0x805ABE4 :: .dw (file_5A12E4)
.org 0x805ABFC :: .dw (file_5A1308)
.org 0x805AD04 :: .dw (file_5A13C8)
.org 0x805AC14 :: .dw (file_5A13E8)
.org 0x805AC4C :: .dw (file_5A1408)
.org 0x805AC84 :: .dw (file_5A1428)
.org 0x805ACD4 :: .dw (file_5A1448)
.org 0x805AC1C :: .dw (file_5A150C)
.org 0x805AC24 :: .dw (file_5A152C)
.org 0x805AC2C :: .dw (file_5A154C)
.org 0x805AC34 :: .dw (file_5A156C)
.org 0x805AC54 :: .dw (file_5A158C)
.org 0x805AC5C :: .dw (file_5A15AC)
.org 0x805AC64 :: .dw (file_5A15CC)
.org 0x805AC6C :: .dw (file_5A15EC)
.org 0x805AC8C :: .dw (file_5A160C)
.org 0x805ACBC :: .dw (file_5A160C)
.org 0x805AC94 :: .dw (file_5A162C)
.org 0x805ACB4 :: .dw (file_5A162C)
.org 0x805AC9C :: .dw (file_5A164C)
.org 0x805ACAC :: .dw (file_5A164C)
.org 0x805ACA4 :: .dw (file_5A166C)
.org 0x805ACDC :: .dw (file_5A168C)
.org 0x805ACE4 :: .dw (file_5A16AC)
.org 0x805ACEC :: .dw (file_5A16CC)
.org 0x805AD0C :: .dw (file_5A1710)
.org 0x805AD14 :: .dw (file_5A1730)
.org 0x805AD1C :: .dw (file_5A1750)
.org 0x805AD24 :: .dw (file_5A1770)
.org 0x805D4A4 :: .dw (file_5A1794)
.org 0x805D4AC :: .dw (file_5A17B4)
.org 0x805D4B4 :: .dw (file_5A17D4)
.org 0x805D4BC :: .dw (file_5A17F4)
.org 0x805D4C4 :: .dw (file_5A1814)
.org 0x805D4E4 :: .dw (file_5A1834)
.org 0x805D4EC :: .dw (file_5A1854)
.org 0x805D4F4 :: .dw (file_5A1874)
.org 0x805D4FC :: .dw (file_5A1894)
.org 0x805D504 :: .dw (file_5A18B4)
.org 0x805D524 :: .dw (file_5A18D4)
.org 0x805D564 :: .dw (file_5A18D4)
.org 0x805D52C :: .dw (file_5A18F4)
.org 0x805D55C :: .dw (file_5A18F4)
.org 0x805D534 :: .dw (file_5A1914)
.org 0x805D554 :: .dw (file_5A1914)
.org 0x805D53C :: .dw (file_5A1934)
.org 0x805D54C :: .dw (file_5A1934)
.org 0x805D544 :: .dw (file_5A1954)
.org 0x805D584 :: .dw (file_5A1998)
.org 0x805D58C :: .dw (file_5A19B8)
.org 0x805D594 :: .dw (file_5A19D8)
.org 0x805D59C :: .dw (file_5A19F8)
.org 0x805D5A4 :: .dw (file_5A1A18)
.org 0x805D5C4 :: .dw (file_5A1A38)
.org 0x805D5CC :: .dw (file_5A1A58)
.org 0x805D5D4 :: .dw (file_5A1A78)
.org 0x805D5DC :: .dw (file_5A1A98)
.org 0x805D5E4 :: .dw (file_5A1AB8)
.org 0x805D604 :: .dw (file_5A1AD8)
.org 0x805D644 :: .dw (file_5A1AD8)
.org 0x805D60C :: .dw (file_5A1AF8)
.org 0x805D63C :: .dw (file_5A1AF8)
.org 0x805D614 :: .dw (file_5A1B18)
.org 0x805D634 :: .dw (file_5A1B18)
.org 0x805D61C :: .dw (file_5A1B38)
.org 0x805D62C :: .dw (file_5A1B38)
.org 0x805D624 :: .dw (file_5A1B58)
.org 0x805D664 :: .dw (file_5A1B9C)
.org 0x805D66C :: .dw (file_5A1BBC)
.org 0x805D674 :: .dw (file_5A1BDC)
.org 0x805D67C :: .dw (file_5A1BFC)
.org 0x805D684 :: .dw (file_5A1C1C)
.org 0x805E9E0 :: .dw (file_5A1C40)
.org 0x805E9E8 :: .dw (file_5A1C60)
.org 0x805E9F0 :: .dw (file_5A1C80)
.org 0x805E9F8 :: .dw (file_5A1CA0)
.org 0x805EA00 :: .dw (file_5A1CC0)
.org 0x805EA20 :: .dw (file_5A1CE0)
.org 0x805EA60 :: .dw (file_5A1CE0)
.org 0x805EA28 :: .dw (file_5A1D00)
.org 0x805EA58 :: .dw (file_5A1D00)
.org 0x805EA30 :: .dw (file_5A1D20)
.org 0x805EA50 :: .dw (file_5A1D20)
.org 0x805EA38 :: .dw (file_5A1D40)
.org 0x805EA48 :: .dw (file_5A1D40)
.org 0x805EA40 :: .dw (file_5A1D60)
.org 0x805EA80 :: .dw (file_5A1D84)
.org 0x805EA88 :: .dw (file_5A1DA4)
.org 0x805EA90 :: .dw (file_5A1DC4)
.org 0x805EA98 :: .dw (file_5A1DE4)
.org 0x805EAA0 :: .dw (file_5A1E04)
.org 0x805EAC0 :: .dw (file_5A1E24)
.org 0x805EAC8 :: .dw (file_5A1E44)
.org 0x805EAD0 :: .dw (file_5A1E64)
.org 0x805EAD8 :: .dw (file_5A1E84)
.org 0x805F390 :: .dw (file_5A1EA8)
.org 0x805F3C0 :: .dw (file_5A1EA8)
.org 0x805F398 :: .dw (file_5A1EC8)
.org 0x805F3B8 :: .dw (file_5A1EC8)
.org 0x805F3A0 :: .dw (file_5A1EE8)
.org 0x805F3B0 :: .dw (file_5A1EE8)
.org 0x805F3A8 :: .dw (file_5A1F08)
.org 0x802BE38 :: .dw (file_5A1F28)
.org 0x802BE44 :: .dw (file_5A212C)
.org 0x802BE50 :: .dw (file_5A2330)
.org 0x802BE5C :: .dw (file_5A2534)
.org 0x802BE68 :: .dw (file_5A2738)
.org 0x805F2F8 :: .dw (file_5A2940)
.org 0x805F310 :: .dw (file_5A2B44)
.org 0x805F328 :: .dw (file_5A2D48)
.org 0x805F340 :: .dw (file_5A2F4C)
.org 0x805F358 :: .dw (file_5A3150)
.org 0x805F370 :: .dw (file_5A3354)
.org 0x806022C :: .dw (file_5A3558)
.org 0x806025C :: .dw (file_5A3558)
.org 0x8060234 :: .dw (file_5A3578)
.org 0x8060254 :: .dw (file_5A3578)
.org 0x806023C :: .dw (file_5A3598)
.org 0x806024C :: .dw (file_5A3598)
.org 0x8060244 :: .dw (file_5A35B8)
.org 0x8060544 :: .dw (file_5A35FC)
.org 0x806055C :: .dw (file_5A367C)
.org 0x8060564 :: .dw (file_5A36C0)
.org 0x8060594 :: .dw (file_5A36C0)
.org 0x806056C :: .dw (file_5A36E0)
.org 0x806058C :: .dw (file_5A36E0)
.org 0x8060574 :: .dw (file_5A3700)
.org 0x8060584 :: .dw (file_5A3700)
.org 0x806057C :: .dw (file_5A3720)
.org 0x80605CC :: .dw (file_5A3764)
.org 0x80605FC :: .dw (file_5A3764)
.org 0x80605D4 :: .dw (file_5A3784)
.org 0x80605F4 :: .dw (file_5A3784)
.org 0x80605DC :: .dw (file_5A37A4)
.org 0x80605EC :: .dw (file_5A37A4)
.org 0x80605E4 :: .dw (file_5A37C4)
.org 0x8060614 :: .dw (file_5A3808)
.org 0x806062C :: .dw (file_5A3888)
.org 0x8060634 :: .dw (file_5A38CC)
.org 0x8060664 :: .dw (file_5A38CC)
.org 0x806063C :: .dw (file_5A38EC)
.org 0x806065C :: .dw (file_5A38EC)
.org 0x8060644 :: .dw (file_5A390C)
.org 0x8060654 :: .dw (file_5A390C)
.org 0x806064C :: .dw (file_5A392C)
.org 0x806069C :: .dw (file_5A3970)
.org 0x80606CC :: .dw (file_5A3970)
.org 0x80606A4 :: .dw (file_5A3990)
.org 0x80606C4 :: .dw (file_5A3990)
.org 0x80606AC :: .dw (file_5A39B0)
.org 0x80606BC :: .dw (file_5A39B0)
.org 0x80606B4 :: .dw (file_5A39D0)
.org 0x80606E4 :: .dw (file_5A3A14)
.org 0x80606FC :: .dw (file_5A3A94)
.org 0x8060704 :: .dw (file_5A3AD8)
.org 0x8060734 :: .dw (file_5A3AD8)
.org 0x806070C :: .dw (file_5A3AF8)
.org 0x806072C :: .dw (file_5A3AF8)
.org 0x8060714 :: .dw (file_5A3B18)
.org 0x8060724 :: .dw (file_5A3B18)
.org 0x806071C :: .dw (file_5A3B38)
.org 0x8065144 :: .dw (file_5A3B78)
.org 0x8065168 :: .dw (file_5A3B78)
.org 0x806518C :: .dw (file_5A3B78)
.org 0x806515C :: .dw (file_5A41CC)
.org 0x80645BC :: .dw (file_5A41D0)
.org 0x80645C4 :: .dw (file_5A41F4)
.org 0x8065150 :: .dw (file_5A4214)
.org 0x8065174 :: .dw (file_5A4214)
.org 0x8065198 :: .dw (file_5A4214)
.org 0x8065180 :: .dw (file_5A4530)
.org 0x80645DC :: .dw (file_5A4534)
.org 0x80645E4 :: .dw (file_5A4558)
.org 0x80651A4 :: .dw (file_5A4578)
.org 0x80645FC :: .dw (file_5A457C)
.org 0x8064604 :: .dw (file_5A45A0)
.org 0x8064E08 :: .dw (file_5A45C0)
.org 0x8064E20 :: .dw (file_5A4834)
.org 0x8063168 :: .dw (file_5A4858)
.org 0x8064E14 :: .dw (file_5A4A18)
.org 0x8064E2C :: .dw (file_5A4C3C)
.org 0x806506C :: .dw (file_5A4C3C)
.org 0x8064E44 :: .dw (file_5A5154)
.org 0x80631F0 :: .dw (file_5A5178)
.org 0x8063240 :: .dw (file_5A5178)
.org 0x8063290 :: .dw (file_5A5178)
.org 0x80632C8 :: .dw (file_5A5178)
.org 0x8064E38 :: .dw (file_5A5DD8)
.org 0x8065084 :: .dw (file_5A635C)
.org 0x806433C :: .dw (file_5A6360)
.org 0x8064290 :: .dw (file_5A6380)
.org 0x8064344 :: .dw (file_5A6684)
.org 0x8064374 :: .dw (file_5A6684)
.org 0x806434C :: .dw (file_5A66A4)
.org 0x806436C :: .dw (file_5A66A4)
.org 0x8064354 :: .dw (file_5A66C4)
.org 0x8064364 :: .dw (file_5A66C4)
.org 0x806435C :: .dw (file_5A66E4)
.org 0x8065078 :: .dw (file_5A6704)
.org 0x8064F4C :: .dw (file_5A8460)
.org 0x8064F64 :: .dw (file_5A8894)
.org 0x8063BB0 :: .dw (file_5A88B8)
.org 0x8064F58 :: .dw (file_5A8D18)
.org 0x8065120 :: .dw (file_5A9518)
.org 0x8065138 :: .dw (file_5A9B6C)
.org 0x8064560 :: .dw (file_5A9B90)
.org 0x806512C :: .dw (file_5A9FD0)
.org 0x8064E50 :: .dw (file_5AA300)
.org 0x8064E68 :: .dw (file_5AA694)
.org 0x80646F8 :: .dw (file_5AA6BC)
.org 0x8064700 :: .dw (file_5AA6DC)
.org 0x8064708 :: .dw (file_5AA6FC)
.org 0x8064710 :: .dw (file_5AA71C)
.org 0x8064718 :: .dw (file_5AA73C)
.org 0x8064720 :: .dw (file_5AA75C)
.org 0x8064730 :: .dw (file_5AA75C)
.org 0x8064740 :: .dw (file_5AA75C)
.org 0x8064750 :: .dw (file_5AA75C)
.org 0x8064728 :: .dw (file_5AA77C)
.org 0x8064738 :: .dw (file_5AA77C)
.org 0x8064748 :: .dw (file_5AA77C)
.org 0x8064758 :: .dw (file_5AA79C)
.org 0x8064760 :: .dw (file_5AA7BC)
.org 0x8064768 :: .dw (file_5AA7DC)
.org 0x8064770 :: .dw (file_5AA7FC)
.org 0x8064778 :: .dw (file_5AA81C)
.org 0x8064780 :: .dw (file_5AA83C)
.org 0x8064788 :: .dw (file_5AA85C)
.org 0x8064790 :: .dw (file_5AA87C)
.org 0x8064798 :: .dw (file_5AA89C)
.org 0x80647A0 :: .dw (file_5AA8C0)
.org 0x80647A8 :: .dw (file_5AA8E0)
.org 0x80647B0 :: .dw (file_5AA900)
.org 0x80647B8 :: .dw (file_5AA920)
.org 0x80647C0 :: .dw (file_5AA940)
.org 0x80647C8 :: .dw (file_5AA960)
.org 0x8064E5C :: .dw (file_5AA980)
.org 0x8064F70 :: .dw (file_5AAC24)
.org 0x8064F94 :: .dw (file_5AAC24)
.org 0x8064FB8 :: .dw (file_5AAC24)
.org 0x8065000 :: .dw (file_5AAC24)
.org 0x8065024 :: .dw (file_5AAC24)
.org 0x8064F88 :: .dw (file_5AB088)
.org 0x8063C44 :: .dw (file_5AB0AC)
.org 0x8064F7C :: .dw (file_5AB4AC)
.org 0x8064FAC :: .dw (file_5AB930)
.org 0x8063D2C :: .dw (file_5AB954)
.org 0x8064FA0 :: .dw (file_5ABE34)
.org 0x8064FD0 :: .dw (file_5AC2C8)
.org 0x8063E08 :: .dw (file_5AC2EC)
.org 0x8064FC4 :: .dw (file_5ACAAC)
.org 0x8064FDC :: .dw (file_5ACCE0)
.org 0x8064FF4 :: .dw (file_5AD0F0)
.org 0x8064FE8 :: .dw (file_5AD114)
.org 0x8065018 :: .dw (file_5AD57C)
.org 0x8063F80 :: .dw (file_5AD5A0)
.org 0x806500C :: .dw (file_5AD9A0)
.org 0x806503C :: .dw (file_5ADE20)
.org 0x8064050 :: .dw (file_5ADE44)
.org 0x8065030 :: .dw (file_5AE5E4)
.org 0x80650FC :: .dw (file_5AE844)
.org 0x8065114 :: .dw (file_5AEDA8)
.org 0x80646B0 :: .dw (file_5AEDAC)
.org 0x80646B8 :: .dw (file_5AEDD0)
.org 0x80646C0 :: .dw (file_5AEDF0)
.org 0x80646C8 :: .dw (file_5AEE10)
.org 0x80646D0 :: .dw (file_5AEE30)
.org 0x80646D8 :: .dw (file_5AEE50)
.org 0x8065108 :: .dw (file_5AEE70)
.org 0x8064E74 :: .dw (file_5AF11C)
.org 0x8064E8C :: .dw (file_5AF3E4)
.org 0x8063584 :: .dw (file_5AF408)
.org 0x8064624 :: .dw (file_5AF62C)
.org 0x8064644 :: .dw (file_5AF62C)
.org 0x806462C :: .dw (file_5AF64C)
.org 0x806463C :: .dw (file_5AF64C)
.org 0x8064634 :: .dw (file_5AF66C)
.org 0x8064E80 :: .dw (file_5AF68C)
.org 0x8064E98 :: .dw (file_5AF8B0)
.org 0x8064EBC :: .dw (file_5AF8B0)
.org 0x8064EE0 :: .dw (file_5AF8B0)
.org 0x8064F04 :: .dw (file_5AF8B0)
.org 0x8065090 :: .dw (file_5AF8B0)
.org 0x80650B4 :: .dw (file_5AF8B0)
.org 0x80650D8 :: .dw (file_5AF8B0)
.org 0x8064EB0 :: .dw (file_5AFBFC)
.org 0x80636EC :: .dw (file_5AFC20)
.org 0x806392C :: .dw (file_5AFC20)
.org 0x80639BC :: .dw (file_5AFC20)
.org 0x8064EA4 :: .dw (file_5AFF80)
.org 0x8064EC8 :: .dw (file_5AFF80)
.org 0x8064EEC :: .dw (file_5AFF80)
.org 0x8064F10 :: .dw (file_5AFF80)
.org 0x806509C :: .dw (file_5AFF80)
.org 0x80650C0 :: .dw (file_5AFF80)
.org 0x80650E4 :: .dw (file_5AFF80)
.org 0x8064ED4 :: .dw (file_5B01CC)
.org 0x8064EF8 :: .dw (file_5B01F0)
.org 0x8064F1C :: .dw (file_5B0214)
.org 0x8063A4C :: .dw (file_5B0238)
.org 0x80643B0 :: .dw (file_5B0238)
.org 0x8064440 :: .dw (file_5B0238)
.org 0x80644D0 :: .dw (file_5B0238)
.org 0x80650A8 :: .dw (file_5B05D8)
.org 0x80650CC :: .dw (file_5B05FC)
.org 0x80650F0 :: .dw (file_5B0620)
.org 0x8064F28 :: .dw (file_5B0644)
.org 0x8065048 :: .dw (file_5B0644)
.org 0x8064F40 :: .dw (file_5B08AC)
.org 0x8063B80 :: .dw (file_5B08D0)
.org 0x8064F34 :: .dw (file_5B09F0)
.org 0x8065060 :: .dw (file_5B0E1C)
.org 0x8064220 :: .dw (file_5B0E40)
.org 0x8065054 :: .dw (file_5B1180)
.org 0x80566D4 :: .dw (file_5B13A4)
.org 0x80651B0 :: .dw (file_5B13A4)
.org 0x80566E0 :: .dw (file_5B151C)
.org 0x80566EC :: .dw (file_5B1824)
.org 0x80651C8 :: .dw (file_5B1824)
.org 0x8056334 :: .dw (file_5B1828)
.org 0x8064840 :: .dw (file_5B1828)
.org 0x80562C8 :: .dw (file_5B1848)
.org 0x80647D4 :: .dw (file_5B1848)
.org 0x805633C :: .dw (file_5B1DCC)
.org 0x8064848 :: .dw (file_5B1DCC)
.org 0x8056344 :: .dw (file_5B1DEC)
.org 0x8064850 :: .dw (file_5B1DEC)
.org 0x805634C :: .dw (file_5B1E0C)
.org 0x8064858 :: .dw (file_5B1E0C)
.org 0x8056364 :: .dw (file_5B1E30)
.org 0x805637C :: .dw (file_5B1E30)
.org 0x8064870 :: .dw (file_5B1E30)
.org 0x8064888 :: .dw (file_5B1E30)
.org 0x8056384 :: .dw (file_5B1E54)
.org 0x8064890 :: .dw (file_5B1E54)
.org 0x805638C :: .dw (file_5B1E74)
.org 0x8064898 :: .dw (file_5B1E74)
.org 0x8056394 :: .dw (file_5B1E94)
.org 0x80648A0 :: .dw (file_5B1E94)
.org 0x80651BC :: .dw (file_5B1EB4)
.org 0x80589AC :: .dw (file_5B21BC)
.org 0x80651D4 :: .dw (file_5B21BC)
.org 0x80589B8 :: .dw (file_5B2268)
.org 0x80589C4 :: .dw (file_5B2494)
.org 0x80651EC :: .dw (file_5B2494)
.org 0x8058540 :: .dw (file_5B24B8)
.org 0x80648AC :: .dw (file_5B24B8)
.org 0x80585BC :: .dw (file_5B27DC)
.org 0x8064928 :: .dw (file_5B27DC)
.org 0x80651E0 :: .dw (file_5B27FC)
.org 0x805B0C4 :: .dw (file_5B2A28)
.org 0x80651F8 :: .dw (file_5B2A28)
.org 0x805B0D0 :: .dw (file_5B2B38)
.org 0x805B0DC :: .dw (file_5B2D70)
.org 0x8065210 :: .dw (file_5B2D70)
.org 0x805AD30 :: .dw (file_5B2D94)
.org 0x8064934 :: .dw (file_5B2D94)
.org 0x805AD84 :: .dw (file_5B3238)
.org 0x8064988 :: .dw (file_5B3238)
.org 0x8065204 :: .dw (file_5B3258)
.org 0x805D8D4 :: .dw (file_5B3490)
.org 0x805EBFC :: .dw (file_5B3490)
.org 0x806521C :: .dw (file_5B3490)
.org 0x8065240 :: .dw (file_5B3490)
.org 0x805D8E0 :: .dw (file_5B34D8)
.org 0x805EC08 :: .dw (file_5B34D8)
.org 0x805D8EC :: .dw (file_5B36F0)
.org 0x805EC14 :: .dw (file_5B36F0)
.org 0x8065234 :: .dw (file_5B36F0)
.org 0x8065258 :: .dw (file_5B36F0)
.org 0x805D690 :: .dw (file_5B3714)
.org 0x8064994 :: .dw (file_5B3714)
.org 0x8065228 :: .dw (file_5B38B4)
.org 0x806524C :: .dw (file_5B38B4)
.org 0x805FCB4 :: .dw (file_5B3ACC)
.org 0x805FCC0 :: .dw (file_5B3B8C)
.org 0x805FCCC :: .dw (file_5B3DF8)
.org 0x805F45C :: .dw (file_5B3E1C)
.org 0x805F3D8 :: .dw (file_5B4220)
.org 0x805FCD8 :: .dw (file_5B4240)
.org 0x805FCE4 :: .dw (file_5B435C)
.org 0x805FCF0 :: .dw (file_5B459C)
.org 0x805F50C :: .dw (file_5B45C0)
.org 0x805F3F0 :: .dw (file_5B46E4)
.org 0x805FCFC :: .dw (file_5B4704)
.org 0x805FD08 :: .dw (file_5B48A0)
.org 0x805FD14 :: .dw (file_5B4AF4)
.org 0x805F578 :: .dw (file_5B4AF8)
.org 0x805F580 :: .dw (file_5B4B1C)
.org 0x805F5B0 :: .dw (file_5B4B1C)
.org 0x805F588 :: .dw (file_5B4B3C)
.org 0x805F5A8 :: .dw (file_5B4B3C)
.org 0x805F590 :: .dw (file_5B4B5C)
.org 0x805F5A0 :: .dw (file_5B4B5C)
.org 0x805F598 :: .dw (file_5B4B7C)
.org 0x805F408 :: .dw (file_5B4BA0)
.org 0x805F5C8 :: .dw (file_5B4BA0)
.org 0x805F5D0 :: .dw (file_5B4BC4)
.org 0x805F600 :: .dw (file_5B4BC4)
.org 0x805F5D8 :: .dw (file_5B4BE4)
.org 0x805F5F8 :: .dw (file_5B4BE4)
.org 0x805F5E0 :: .dw (file_5B4C04)
.org 0x805F5F0 :: .dw (file_5B4C04)
.org 0x805F5E8 :: .dw (file_5B4C24)
.org 0x805FD20 :: .dw (file_5B4C44)
.org 0x805FD2C :: .dw (file_5B4D94)
.org 0x805FD38 :: .dw (file_5B504C)
.org 0x805F60C :: .dw (file_5B5070)
.org 0x805F420 :: .dw (file_5B5BD4)
.org 0x805FD44 :: .dw (file_5B5BF4)
.org 0x805FD50 :: .dw (file_5B5CB4)
.org 0x805FD5C :: .dw (file_5B5F20)
.org 0x805F868 :: .dw (file_5B5F44)
.org 0x805F438 :: .dw (file_5B6348)
.org 0x805FD68 :: .dw (file_5B6368)
.org 0x805FD74 :: .dw (file_5B64FC)
.org 0x805FD80 :: .dw (file_5B6738)
.org 0x805F9C4 :: .dw (file_5B673C)
.org 0x805F9CC :: .dw (file_5B6760)
.org 0x805F9D4 :: .dw (file_5B6780)
.org 0x805F9DC :: .dw (file_5B67A0)
.org 0x805F9E4 :: .dw (file_5B67C0)
.org 0x805F9EC :: .dw (file_5B67E0)
.org 0x805F9F4 :: .dw (file_5B6800)
.org 0x805F9FC :: .dw (file_5B6820)
.org 0x805FA04 :: .dw (file_5B6840)
.org 0x805FA0C :: .dw (file_5B6860)
.org 0x805FA14 :: .dw (file_5B6880)
.org 0x805FA1C :: .dw (file_5B68A0)
.org 0x805FA24 :: .dw (file_5B68C0)
.org 0x805F450 :: .dw (file_5B68E4)
.org 0x8060C44 :: .dw (file_5B6904)
.org 0x8060C68 :: .dw (file_5B6904)
.org 0x8060C8C :: .dw (file_5B6904)
.org 0x80625A8 :: .dw (file_5B6904)
.org 0x80625CC :: .dw (file_5B6904)
.org 0x80625F0 :: .dw (file_5B6904)
.org 0x8065264 :: .dw (file_5B6904)
.org 0x8065288 :: .dw (file_5B6904)
.org 0x80652AC :: .dw (file_5B6904)
.org 0x8060C50 :: .dw (file_5B6AB0)
.org 0x8060C74 :: .dw (file_5B6AB0)
.org 0x8060C98 :: .dw (file_5B6AB0)
.org 0x80625B4 :: .dw (file_5B6AB0)
.org 0x80625D8 :: .dw (file_5B6AB0)
.org 0x80625FC :: .dw (file_5B6AB0)
.org 0x8060C5C :: .dw (file_5B6D14)
.org 0x80625C0 :: .dw (file_5B6D14)
.org 0x806527C :: .dw (file_5B6D14)
.org 0x8060268 :: .dw (file_5B6D38)
.org 0x80649C4 :: .dw (file_5B6D38)
.org 0x80605AC :: .dw (file_5B7A1C)
.org 0x8064A20 :: .dw (file_5B7A1C)
.org 0x8065270 :: .dw (file_5B7A3C)
.org 0x8065294 :: .dw (file_5B7A3C)
.org 0x80652B8 :: .dw (file_5B7A3C)
.org 0x8060C80 :: .dw (file_5B7C9C)
.org 0x80625E4 :: .dw (file_5B7C9C)
.org 0x80652A0 :: .dw (file_5B7C9C)
.org 0x806067C :: .dw (file_5B7CC4)
.org 0x8064A38 :: .dw (file_5B7CC4)
.org 0x8060CA4 :: .dw (file_5B7CE4)
.org 0x8062608 :: .dw (file_5B7CE4)
.org 0x80652C4 :: .dw (file_5B7CE4)
.org 0x806074C :: .dw (file_5B7D0C)
.org 0x8064A50 :: .dw (file_5B7D0C)
.org 0x802C3AC :: .dw (file_5B7D2C)
.org 0x802C3F4 :: .dw (file_5B7D2C)
.org 0x802C3B0 :: .dw (file_5BA0C8)
.org 0x802C3B4 :: .dw (file_5BC04C)
.org 0x802C3B8 :: .dw (file_5BD648)
.org 0x802C3BC :: .dw (file_5BF55C)
.org 0x802C3C0 :: .dw (file_5C1F3C)
.org 0x802C3C4 :: .dw (file_5C3D84)
.org 0x802C3C8 :: .dw (file_5C6F28)
.org 0x802C3CC :: .dw (file_5CAD84)
.org 0x802C3D0 :: .dw (file_5CD198)
.org 0x802C3D4 :: .dw (file_5CFD3C)
.org 0x802C3D8 :: .dw (file_5D247C)
.org 0x802C3DC :: .dw (file_5D7354)
.org 0x802C3E0 :: .dw (file_5DB040)
.org 0x802C3E4 :: .dw (file_5E00CC)
.org 0x802C3E8 :: .dw (file_5E70A0)
.org 0x802C3EC :: .dw (file_5EC6B8)
.org 0x802C3F0 :: .dw (file_5F1FFC)
.org 0x802C3F8 :: .dw (file_5F6218)
.org 0x802C3FC :: .dw (file_5F6218)
.org 0x802C400 :: .dw (file_5F6218)
.org 0x802C404 :: .dw (file_5F6218)
.org 0x802C408 :: .dw (file_5F6218)
.org 0x802C40C :: .dw (file_5F6218)
.org 0x802C410 :: .dw (file_5F6670)
.org 0x802C414 :: .dw (file_5F6CEC)
.org 0x802C418 :: .dw (file_5F7C34)
.org 0x802C41C :: .dw (file_5F8B20)
.org 0x802C420 :: .dw (file_5F9208)
.org 0x802C424 :: .dw (file_5F9878)
.org 0x802C448 :: .dw (file_5F9E98)
.org 0x802C44C :: .dw (file_5FA4A8)
.org 0x802C450 :: .dw (file_5FAB2C)
.org 0x802C454 :: .dw (file_5FBA94)
.org 0x802C458 :: .dw (file_5FC974)
.org 0x802C45C :: .dw (file_5FD88C)
.org 0x802C46C :: .dw (file_5FDEFC)
.org 0x802C42C :: .dw (file_5FE580)
.org 0x802C430 :: .dw (file_5FE580)
.org 0x802C438 :: .dw (file_5FE580)
.org 0x802C43C :: .dw (file_5FE580)
.org 0x802C444 :: .dw (file_5FE580)
.org 0x802C464 :: .dw (file_5FE580)
.org 0x802C468 :: .dw (file_5FE580)
.org 0x802C474 :: .dw (file_5FE580)
.org 0x802C434 :: .dw (file_5FEB64)
.org 0x802C470 :: .dw (file_5FEB64)
.org 0x802C428 :: .dw (file_5FF9E4)
.org 0x802C440 :: .dw (file_5FF9E4)
.org 0x802C460 :: .dw (file_5FF9E4)
.org 0x8055F50 :: .dw (file_6008C8)
.org 0x8055F44 :: .dw (file_600908)
.org 0x8055F90 :: .dw (file_600928)
.org 0x804FCD0 :: .dw (file_600F58)
.org 0x8029128 :: .dw (file_6010D8)|0x80000000
.org 0x8035F50 :: .dw (file_6010D8)
.org 0x804C8DC :: .dw (file_6010D8)
.org 0x804FDE4 :: .dw (file_6010D8)
.org 0x806B474 :: .dw (file_6010D8)
.org 0x804FE18 :: .dw (file_601258)
.org 0x804FEA8 :: .dw (file_601258)
.org 0x804C8E8 :: .dw (file_6014D8)
.org 0x8042800 :: .dw (file_601558)|0x80000000
.org 0x803D2E4 :: .dw (file_601658)
.org 0x803D2E8 :: .dw (file_601658)
.org 0x803D2EC :: .dw (file_601658)
.org 0x803D2F0 :: .dw (file_601658)
.org 0x803D2F4 :: .dw (file_601658)
.org 0x803D2F8 :: .dw (file_601658)
.org 0x803D2FC :: .dw (file_601658)
.org 0x803D300 :: .dw (file_601658)
.org 0x803D304 :: .dw (file_601658)
.org 0x803D308 :: .dw (file_601658)
.org 0x803D30C :: .dw (file_601658)
.org 0x803D310 :: .dw (file_601658)
.org 0x803D314 :: .dw (file_601658)
.org 0x803D318 :: .dw (file_601658)
.org 0x803D31C :: .dw (file_601658)
.org 0x803D320 :: .dw (file_601658)
.org 0x803D324 :: .dw (file_601658)
.org 0x803D328 :: .dw (file_601658)
.org 0x803D32C :: .dw (file_601658)
.org 0x803D330 :: .dw (file_601658)
.org 0x803D334 :: .dw (file_601658)
.org 0x803D338 :: .dw (file_601658)
.org 0x803D33C :: .dw (file_601658)
.org 0x803D620 :: .dw (file_601658)
.org 0x803D624 :: .dw (file_601658)
.org 0x803D628 :: .dw (file_601658)
.org 0x803D62C :: .dw (file_601658)
.org 0x803D630 :: .dw (file_601658)
.org 0x803D634 :: .dw (file_601658)
.org 0x803D638 :: .dw (file_601658)
.org 0x803D63C :: .dw (file_601658)
.org 0x803D640 :: .dw (file_601658)
.org 0x803D644 :: .dw (file_601658)
.org 0x803D648 :: .dw (file_601658)
.org 0x803D64C :: .dw (file_601658)
.org 0x803D650 :: .dw (file_601658)
.org 0x803D654 :: .dw (file_601658)
.org 0x803D658 :: .dw (file_601658)
.org 0x803D65C :: .dw (file_601658)
.org 0x803D660 :: .dw (file_601658)
.org 0x803D664 :: .dw (file_601658)
.org 0x803D668 :: .dw (file_601658)
.org 0x803D66C :: .dw (file_601658)
.org 0x803D670 :: .dw (file_601658)
.org 0x803D674 :: .dw (file_601658)
.org 0x803D678 :: .dw (file_601658)
.org 0x803E3B8 :: .dw (file_601658)|0x80000000
.org 0x804281C :: .dw (file_601658)|0x80000000
.org 0x804E180 :: .dw (file_601658)|0x80000000
.org 0x803E3C0 :: .dw (file_601678)|0x80000000
.org 0x8042814 :: .dw (file_601678)|0x80000000
.org 0x804286C :: .dw (file_6016B8)|0x80000000
.org 0x804C1D0 :: .dw (file_6016B8)
.org 0x8039754 :: .dw (file_6016D8)|0x80000000
.org 0x8041EA8 :: .dw (file_6016D8)|0x80000000
.org 0x80EA210 :: .dw (file_6016D8)|0x80000000
.org 0x8034DEC :: .dw (file_601718)|0x80000000
.org 0x80158A4 :: .dw (file_601738)
.org 0x8015CF4 :: .dw (file_601738)
.org 0x8015F48 :: .dw (file_601738)
.org 0x80168D4 :: .dw (file_601738+0x1E80)
.org 0x80168E0 :: .dw (file_601738+0xC0)
.org 0x8017358 :: .dw (file_601738)
.org 0x8017634 :: .dw (file_601738)
.org 0x8017644 :: .dw (file_601738+0x1E80)
.org 0x8017650 :: .dw (file_601738+0x1EA0)
.org 0x801765C :: .dw (file_601738+0xC0)
.org 0x8017668 :: .dw (file_601738+0xE0)
.org 0x801798C :: .dw (file_601738)
.org 0x801F6C0 :: .dw (file_601738)
.org 0x8020E10 :: .dw (file_601738)
.org 0x80229EC :: .dw (file_601738)
.org 0x8022B08 :: .dw (file_601738)
.org 0x8029104 :: .dw (file_601738)
.org 0x8032234 :: .dw (file_601738)
.org 0x8034DCC :: .dw (file_601738)
.org 0x8039710 :: .dw (file_601738)
.org 0x803BFD8 :: .dw (file_601738)
.org 0x803E3B0 :: .dw (file_601738)|0x80000000
.org 0x803E480 :: .dw (file_601738)
.org 0x80419BC :: .dw (file_601738)
.org 0x8041EB0 :: .dw (file_601738)|0x80000000
.org 0x8042824 :: .dw (file_601738)|0x80000000
.org 0x8042948 :: .dw (file_601738)
.org 0x804E188 :: .dw (file_601738)|0x80000000
.org 0x804E278 :: .dw (file_601738)
.org 0x806AD7C :: .dw (file_601738)
.org 0x80D2238 :: .dw (file_601738)
.org 0x80D2A9C :: .dw (file_601738)
.org 0x80D3820 :: .dw (file_601738)
.org 0x80D3898 :: .dw (file_601738)
.org 0x80D4068 :: .dw (file_601738)
.org 0x80D41AC :: .dw (file_601738)
.org 0x80D5188 :: .dw (file_601738)
.org 0x80D6098 :: .dw (file_601738)
.org 0x80D6234 :: .dw (file_601738)
.org 0x80EA374 :: .dw (file_601738)
.org 0x80016BC :: .dw (file_607F38)
.org 0x804FC30 :: .dw (file_607F38)
.org 0x80016B0 :: .dw (file_607F58)
.org 0x803AF84 :: .dw (file_608758)
.org 0x806B494 :: .dw (file_608758)
.org 0x80D2B64 :: .dw (file_608758)
.org 0x80D98C4 :: .dw (file_608758)
.org IWRAM_BLOB+0x137C :: .dw (file_608758)
.org 0x8029130 :: .dw (file_612CB8)|0x80000000
.org 0x803B040 :: .dw (file_612CB8)|0x80000000
.org 0x803B068 :: .dw (file_612CB8)|0x80000000
.org 0x803B090 :: .dw (file_612CB8)|0x80000000
.org 0x803B0A0 :: .dw (file_612CB8)|0x80000000
.org 0x804C90C :: .dw (file_612CB8)
.org 0x804FC38 :: .dw (file_612CB8)
.org 0x8051358 :: .dw (file_612CB8)
.org 0x803B638 :: .dw (file_612CF8)
.org 0x803B038 :: .dw (file_612DD8)|0x80000000
.org 0x803B060 :: .dw (file_612DD8)|0x80000000
.org 0x803B088 :: .dw (file_612DD8)|0x80000000
.org 0x803B048 :: .dw (file_612E18)|0x80000000
.org 0x803B070 :: .dw (file_612E18)|0x80000000
.org 0x803B098 :: .dw (file_612E18)|0x80000000
.org 0x80166FC :: .dw (file_612E38)
.org 0x801777C :: .dw (file_612E38)
.org 0x802CC78 :: .dw (file_612E38)
.org 0x8034DE4 :: .dw (file_612E38)
.org 0x80EA39C :: .dw (file_612E38)
.org 0x802CC7C :: .dw (file_619E38)
.org 0x8034DFC :: .dw (file_619E38)|0x80000000
.org 0x8020B78 :: .dw (file_619EF8)
.org 0x8021654 :: .dw (file_619EF8)
.org 0x8022F9C :: .dw (file_619EF8)
.org 0x8031B30 :: .dw (file_619EF8)
.org 0x8031B3C :: .dw (file_619EF8)
.org 0x8031B48 :: .dw (file_619EF8)
.org 0x8032D0C :: .dw (file_619EF8)
.org 0x8033060 :: .dw (file_619EF8)
.org 0x80333E0 :: .dw (file_619EF8)
.org 0x80338FC :: .dw (file_619EF8)
.org 0x8033CC4 :: .dw (file_619EF8)
.org 0x80349D4 :: .dw (file_619EF8)
.org 0x8034DD8 :: .dw (file_619EF8)
.org 0x80353A4 :: .dw (file_619EF8)
.org 0x803575C :: .dw (file_619EF8)
.org 0x803B824 :: .dw (file_619EF8)
.org 0x8040320 :: .dw (file_619EF8)
.org 0x8040860 :: .dw (file_619EF8)
.org 0x8042004 :: .dw (file_619EF8)
.org 0x8044990 :: .dw (file_619EF8)
.org 0x804812C :: .dw (file_619EF8)
.org 0x804BA48 :: .dw (file_619EF8)
.org 0x804BD58 :: .dw (file_619EF8)
.org 0x804C96C :: .dw (file_619EF8)
.org 0x804CA24 :: .dw (file_619EF8)
.org 0x804CAC4 :: .dw (file_619EF8)
.org 0x804CB20 :: .dw (file_619EF8)
.org 0x804CB50 :: .dw (file_619EF8)
.org 0x804CBB4 :: .dw (file_619EF8)
.org 0x804CCF8 :: .dw (file_619EF8)
.org 0x804CD8C :: .dw (file_619EF8)
.org 0x80D4D14 :: .dw (file_619EF8)
.org 0x80D50E4 :: .dw (file_619EF8)
.org 0x80E39D0 :: .dw (file_619EF8)
.org 0x8033DC4 :: .dw (file_620EF8)|0x80000000
.org 0x80343FC :: .dw (file_620EF8)|0x80000000
.org 0x804067C :: .dw (file_620EF8)|0x80000000
.org 0x8048134 :: .dw (file_620EF8)
.org 0x804DE70 :: .dw (file_620F18)
.org 0x80D96E4 :: .dw (file_620F18)
.org 0x804C8FC :: .dw (file_620F78)
.org 0x8048130 :: .dw (file_620F98)
.org 0x804C8F4 :: .dw (file_620F98)
.org 0x804C920 :: .dw (file_620FD8)
.org 0x804C928 :: .dw (file_620FF8)
.org 0x804B8EC :: .dw (file_621038)|0x80000000
.org 0x8031B70 :: .dw (file_621078)|0x80000000
.org 0x80327EC :: .dw (file_621078)|0x80000000
.org 0x8032D30 :: .dw (file_621078)|0x80000000
.org 0x8032D38 :: .dw (file_621078)|0x80000000
.org 0x803308C :: .dw (file_621078)|0x80000000
.org 0x8033404 :: .dw (file_621078)|0x80000000
.org 0x8033680 :: .dw (file_621078)|0x80000000
.org 0x8033920 :: .dw (file_621078)|0x80000000
.org 0x8034A04 :: .dw (file_621078)|0x80000000
.org 0x8034DF4 :: .dw (file_621078)|0x80000000
.org 0x8035778 :: .dw (file_621078)|0x80000000
.org 0x80357AC :: .dw (file_621078)|0x80000000
.org 0x80449C8 :: .dw (file_621078)|0x80000000
.org 0x804B8E4 :: .dw (file_621078)|0x80000000
.org 0x80E39E4 :: .dw (file_621078)
.org 0x8035780 :: .dw (file_621098)|0x80000000
.org 0x80357B4 :: .dw (file_621098)|0x80000000
.org 0x8040674 :: .dw (file_621098)|0x80000000
.org 0x80407AC :: .dw (file_621098)|0x80000000
.org 0x8041EA0 :: .dw (file_621098)|0x80000000
.org 0x804B8F4 :: .dw (file_621098)|0x80000000
.org 0x8033DBC :: .dw (file_6210B8)|0x80000000
.org 0x80343F4 :: .dw (file_6210B8)|0x80000000
.org 0x80407B4 :: .dw (file_6210B8)|0x80000000
.org 0x804B8FC :: .dw (file_6210B8)|0x80000000
.org 0x804C904 :: .dw (file_6210B8)
.org 0x8040684 :: .dw (file_6210D8)|0x80000000
.org 0x802C76C :: .dw (file_6210F8)
.org 0x802C928 :: .dw (file_6210F8)
.org 0x8035C68 :: .dw (file_6210F8)
.org 0x802C748 :: .dw (file_621158)
.org 0x802C754 :: .dw (file_621158+0x740)
.org 0x802CBD8 :: .dw (file_621158+0xC80)
.org 0x802CC20 :: .dw (file_621158+0xE40)
.org 0x8035BC8 :: .dw (file_621158)
.org 0x8035BCC :: .dw filesize(TEMP+"/621158.img.bin")
.org 0x802D208 :: .dw (file_622098)
.org 0x802D228 :: .dw (file_622098)
.org 0x802D248 :: .dw (file_622098)
.org 0x802D268 :: .dw (file_622098)
.org 0x802D288 :: .dw (file_622098)
.org 0x802D2A8 :: .dw (file_622098)
.org 0x802D2C8 :: .dw (file_622098)
.org 0x802D2E8 :: .dw (file_622098)
.org 0x802D310 :: .dw (file_622098)
.org 0x802D330 :: .dw (file_622098)
.org 0x802D210 :: .dw (file_6220B8)
.org 0x802D230 :: .dw (file_6220B8)
.org 0x802D250 :: .dw (file_6220B8)
.org 0x802D270 :: .dw (file_6220B8)
.org 0x802D290 :: .dw (file_6220B8)
.org 0x802D2B0 :: .dw (file_6220B8)
.org 0x802D2D0 :: .dw (file_6220B8)
.org 0x802D2F0 :: .dw (file_6220B8)
.org 0x802D318 :: .dw (file_6220B8)
.org 0x802D338 :: .dw (file_6220B8)
.org 0x802D218 :: .dw (file_6220D8)
.org 0x802D238 :: .dw (file_6220D8)
.org 0x802D258 :: .dw (file_6220D8)
.org 0x802D278 :: .dw (file_6220D8)
.org 0x802D298 :: .dw (file_6220D8)
.org 0x802D2B8 :: .dw (file_6220D8)
.org 0x802D2D8 :: .dw (file_6220D8)
.org 0x802D2F8 :: .dw (file_6220D8)
.org 0x802D320 :: .dw (file_6220D8)
.org 0x802D340 :: .dw (file_6220D8)
.org 0x802D220 :: .dw (file_6220F8)
.org 0x802D240 :: .dw (file_6220F8)
.org 0x802D260 :: .dw (file_6220F8)
.org 0x802D280 :: .dw (file_6220F8)
.org 0x802D2A0 :: .dw (file_6220F8)
.org 0x802D2C0 :: .dw (file_6220F8)
.org 0x802D2E0 :: .dw (file_6220F8)
.org 0x802D300 :: .dw (file_6220F8)
.org 0x802D328 :: .dw (file_6220F8)
.org 0x802D348 :: .dw (file_6220F8)
.org 0x802D204 :: .dw (file_622118)
.org 0x802D224 :: .dw (file_622118)
.org 0x802D244 :: .dw (file_622118)
.org 0x802D264 :: .dw (file_622118)
.org 0x802D284 :: .dw (file_622118)
.org 0x802D2A4 :: .dw (file_622118)
.org 0x802D2C4 :: .dw (file_622118)
.org 0x802D2E4 :: .dw (file_622118)
.org 0x802D30C :: .dw (file_622118)
.org 0x802D32C :: .dw (file_622118)
.org 0x802D20C :: .dw (file_62542C)
.org 0x802D22C :: .dw (file_62542C)
.org 0x802D24C :: .dw (file_62542C)
.org 0x802D26C :: .dw (file_62542C)
.org 0x802D28C :: .dw (file_62542C)
.org 0x802D2AC :: .dw (file_62542C)
.org 0x802D2CC :: .dw (file_62542C)
.org 0x802D2EC :: .dw (file_62542C)
.org 0x802D314 :: .dw (file_62542C)
.org 0x802D334 :: .dw (file_62542C)
.org 0x802D214 :: .dw (file_628A50)
.org 0x802D234 :: .dw (file_628A50)
.org 0x802D254 :: .dw (file_628A50)
.org 0x802D274 :: .dw (file_628A50)
.org 0x802D294 :: .dw (file_628A50)
.org 0x802D2B4 :: .dw (file_628A50)
.org 0x802D2D4 :: .dw (file_628A50)
.org 0x802D2F4 :: .dw (file_628A50)
.org 0x802D31C :: .dw (file_628A50)
.org 0x802D33C :: .dw (file_628A50)
.org 0x802D21C :: .dw (file_62BF18)
.org 0x802D23C :: .dw (file_62BF18)
.org 0x802D25C :: .dw (file_62BF18)
.org 0x802D27C :: .dw (file_62BF18)
.org 0x802D29C :: .dw (file_62BF18)
.org 0x802D2BC :: .dw (file_62BF18)
.org 0x802D2DC :: .dw (file_62BF18)
.org 0x802D2FC :: .dw (file_62BF18)
.org 0x802D324 :: .dw (file_62BF18)
.org 0x802D344 :: .dw (file_62BF18)
.org 0x803069C :: .dw (file_62F134)
.org 0x80306A8 :: .dw (file_62F134)
.org 0x80306AC :: .dw (file_62FA94)
.org 0x80306B4 :: .dw (file_62FAB4)
.org 0x804AEC8 :: .dw (file_62FFB4)
.org 0x804AED0 :: .dw (file_6301B0)
.org 0x804AED4 :: .dw (file_6302B0)
.org 0x804AECC :: .dw (file_630368)
.org 0x802BA6C :: .dw (file_630398)
.org 0x802BBA8 :: .dw (file_631798)
.org 0x80312CC :: .dw (file_631DF8)
.org 0x8031B50 :: .dw (file_631DF8)
.org 0x803BDF4 :: .dw (file_631DF8)
.org 0x80312D0 :: .dw (file_631EEC)
.org 0x8031B54 :: .dw (file_631EEC)
.org 0x803BDF8 :: .dw (file_631EEC)
.org 0x8031374 :: .dw (file_631F00)
.org 0x8031388 :: .dw (file_631F80)
.org 0x803139C :: .dw (file_631FD4)
.org 0x80313B0 :: .dw (file_63205C)
.org 0x80313C4 :: .dw (file_6320C8)
.org 0x80313D8 :: .dw (file_632154)
.org 0x80313EC :: .dw (file_6321C8)
.org 0x8031400 :: .dw (file_632248)
.org 0x8031414 :: .dw (file_6322B0)
.org 0x8031428 :: .dw (file_63233C)
.org 0x803143C :: .dw (file_6323B4)
.org 0x8031450 :: .dw (file_63242C)
.org 0x8031464 :: .dw (file_6324A8)
.org 0x8031478 :: .dw (file_632520)
.org 0x803148C :: .dw (file_632598)
.org 0x80314A0 :: .dw (file_63261C)
.org 0x80314B4 :: .dw (file_632694)
.org 0x80314C8 :: .dw (file_63270C)
.org 0x80314DC :: .dw (file_632780)
.org 0x80314F0 :: .dw (file_6327FC)
.org 0x8031504 :: .dw (file_63287C)
.org 0x8035828 :: .dw (file_6328E4)|0x80000000
.org 0x8035840 :: .dw (file_632BE4)|0x80000000
.org 0x8035A4C :: .dw (file_632DE4)
.org 0x803584C :: .dw (file_632FA4)|0x80000000
.org 0x8035850 :: .dw filesize(TEMP+"/632FA4.img.bin")
.org 0x8035858 :: .dw (file_6330A4)|0x80000000
.org 0x803585C :: .dw filesize(TEMP+"/6330A4.img.bin")
.org 0x8035864 :: .dw (file_6331A4)|0x80000000
.org 0x8035868 :: .dw filesize(TEMP+"/6331A4.img.bin")
.org 0x8035870 :: .dw (file_6332A4)|0x80000000
.org 0x8035874 :: .dw filesize(TEMP+"/6332A4.img.bin")
.org 0x803587C :: .dw (file_6333A4)|0x80000000
.org 0x8035880 :: .dw filesize(TEMP+"/6333A4.img.bin")
.org 0x8035888 :: .dw (file_6334A4)|0x80000000
.org 0x803588C :: .dw filesize(TEMP+"/6334A4.img.bin")
.org 0x8035894 :: .dw (file_6335A4)|0x80000000
.org 0x8035898 :: .dw filesize(TEMP+"/6335A4.img.bin")
.org 0x8035830 :: .dw (file_6336A4)|0x80000000
.org 0x8041EE0 :: .dw (file_6336A4)|0x80000000
.org 0x8042864 :: .dw (file_6336A4)|0x80000000
.org 0x804B8D4 :: .dw (file_6336A4)|0x80000000
.org 0x804E1E4 :: .dw (file_6336A4)|0x80000000
.org 0x802BA94 :: .dw (file_6336C4)
.org 0x8032264 :: .dw (file_633950)|0x80000000
.org 0x803226C :: .dw (file_633D50)|0x80000000
.org 0x8032274 :: .dw (file_633E50)|0x80000000
.org 0x80312D4 :: .dw (file_633E70)
.org 0x803C460 :: .dw (file_633F38)
.org 0x8041EDC :: .dw (file_633F38)
.org 0x80427FC :: .dw (file_633F38)
.org 0x804B8D0 :: .dw (file_633F38)
.org 0x804E1E0 :: .dw (file_633F38)
.org 0x803C45C :: .dw (file_633FF4)
.org 0x803E388 :: .dw (file_633FF4)
.org 0x80427F8 :: .dw (file_633FF4)
.org 0x803E38C :: .dw (file_634098)
.org 0x8035F5C :: .dw (file_6341A4)
.org 0x803E390 :: .dw (file_6341A4)|0x80000000
.org 0x8040044 :: .dw (file_6341A4)|0x80000000
.org 0x804285C :: .dw (file_6341A4)|0x80000000
.org 0x804B8C8 :: .dw (file_6341A4)|0x80000000
.org 0x804E1EC :: .dw (file_6341A4)|0x80000000
.org 0x8032D40 :: .dw (file_6341E4)
.org 0x8033DCC :: .dw (file_6341E4)
.org 0x8034404 :: .dw (file_6341E4)
.org 0x8034A0C :: .dw (file_6341E4)
.org 0x804E1F4 :: .dw (file_6341E4)
.org 0x802945C :: .dw (file_634270)
.org 0x803A084 :: .dw (file_634270)
.org 0x8029460 :: .dw (file_6344E8)
.org 0x803A088 :: .dw (file_6344E8)
.org 0x8029464 :: .dw (file_634518)
.org 0x803A08C :: .dw (file_634518)
.org 0x803A0B4 :: .dw (file_63466C)
.org 0x803A0B8 :: .dw (file_634B8C)
.org 0x803A0BC :: .dw (file_634BB8)
.org 0x803A0A8 :: .dw (file_634D88)
.org 0x803A0AC :: .dw (file_63521C)
.org 0x803A0B0 :: .dw (file_635240)
.org 0x8031B64 :: .dw (file_6353DC)
.org 0x8031B68 :: .dw (file_6354D8)
.org 0x8031B6C :: .dw (file_63552C)
.org 0x803224C :: .dw (file_6355F0)|0x80000000
.org 0x80327E4 :: .dw (file_6355F0)|0x80000000
.org 0x8032D28 :: .dw (file_6355F0)|0x80000000
.org 0x8033084 :: .dw (file_6355F0)|0x80000000
.org 0x80333FC :: .dw (file_6355F0)|0x80000000
.org 0x8033678 :: .dw (file_6355F0)|0x80000000
.org 0x8033918 :: .dw (file_6355F0)|0x80000000
.org 0x8033DB4 :: .dw (file_6355F0)|0x80000000
.org 0x80343EC :: .dw (file_6355F0)|0x80000000
.org 0x8032254 :: .dw (file_635690)|0x80000000
.org 0x8032190 :: .dw (file_635870)
.org 0x80321A8 :: .dw (file_635870)
.org 0x803225C :: .dw (file_6359D0+0x3C0)|0x80000000
.org 0x80327D8 :: .dw (file_6359D0)|0x80000000
.org 0x8032D20 :: .dw (file_6359D0)|0x80000000
.org 0x8033078 :: .dw (file_6359D0)|0x80000000
.org 0x80333F4 :: .dw (file_6359D0)|0x80000000
.org 0x8033670 :: .dw (file_6359D0)|0x80000000
.org 0x8033910 :: .dw (file_6359D0)|0x80000000
.org 0x8033D9C :: .dw (file_6359D0)|0x80000000
.org 0x80343D0 :: .dw (file_6359D0)|0x80000000
.org 0x8032040 :: .dw (file_635DD0)
.org 0x8033DA4 :: .dw (file_6363D0)|0x80000000
.org 0x80343D8 :: .dw (file_6363D0)|0x80000000
.org 0x8033DAC :: .dw (file_6364D0)
.org 0x80343E0 :: .dw (file_6364D0)
.org 0x8033DB0 :: .dw (file_6365B8)
.org 0x80343E4 :: .dw (file_6365B8)
.org 0x80327E0 :: .dw (file_63673C)
.org 0x8032D44 :: .dw (file_63673C)
.org 0x8033080 :: .dw (file_63673C)
.org 0x80343E8 :: .dw (file_63673C)
.org 0x8031B20 :: .dw (file_6368E8)
.org 0x8032228 :: .dw (file_6368E8)
.org 0x8032338 :: .dw (file_6368E8)
.org 0x8032AD8 :: .dw (file_6368E8)
.org 0x8032CF8 :: .dw (file_6368E8)
.org 0x8033054 :: .dw (file_6368E8)
.org 0x80333D4 :: .dw (file_6368E8)
.org 0x80338F0 :: .dw (file_6368E8)
.org 0x8033CB8 :: .dw (file_6368E8)
.org 0x8034DC0 :: .dw (file_6368E8)
.org 0x8035398 :: .dw (file_6368E8)
.org 0x80353A8 :: .dw (file_6368E8)
.org 0x8035748 :: .dw (file_6368E8)
.org 0x8035750 :: .dw (file_6368E8)
.org 0x8039704 :: .dw (file_6368E8)
.org 0x8038F84 :: .dw (file_63720C)
.org 0x803223C :: .dw (file_63756C)|0x80000000
.org 0x8032244 :: .dw (file_63814C)|0x80000000
.org 0x80322A4 :: .dw (file_63816C)
.org 0x80327CC :: .dw (file_63861C)
.org 0x803306C :: .dw (file_63861C)
.org 0x80333E8 :: .dw (file_63861C)
.org 0x8033664 :: .dw (file_63861C)
.org 0x8033904 :: .dw (file_63861C)
.org 0x80327D0 :: .dw (file_638704)
.org 0x8033070 :: .dw (file_638704)
.org 0x80333EC :: .dw (file_638704)
.org 0x8033668 :: .dw (file_638704)
.org 0x8033908 :: .dw (file_638704)
.org 0x80327D4 :: .dw (file_638728)
.org 0x8033074 :: .dw (file_638728)
.org 0x80333F0 :: .dw (file_638728)
.org 0x803366C :: .dw (file_638728)
.org 0x803390C :: .dw (file_638728)
.org 0x8038FB4 :: .dw (file_6387E8)
.org 0x8038FB8 :: .dw (file_638B20)
.org 0x8038FBC :: .dw (file_638B50)
.org 0x8039940 :: .dw (file_638CC4)
.org 0x8039944 :: .dw (file_638E18)
.org 0x8039948 :: .dw (file_638E40)
.org 0x80349F8 :: .dw (file_638F14)
.org 0x80349FC :: .dw (file_63900C)
.org 0x8034A00 :: .dw (file_639028)
.org 0x803975C :: .dw (file_639100)
.org 0x8047C34 :: .dw (file_639100)
.org 0x8039764 :: .dw (file_6391D8)
.org 0x8047C38 :: .dw (file_6391D8)
.org 0x8039760 :: .dw (file_639208)
.org 0x8032D14 :: .dw (file_639DA0)
.org 0x8032D18 :: .dw (file_639F30)
.org 0x8032D1C :: .dw (file_639F54)
.org 0x8033D90 :: .dw (file_63A04C)
.org 0x80343C4 :: .dw (file_63A04C)
.org 0x8033D94 :: .dw (file_63A154)
.org 0x80343C8 :: .dw (file_63A154)
.org 0x8033D98 :: .dw (file_63A16C)
.org 0x80343CC :: .dw (file_63A238)
.org 0x8034E04 :: .dw (file_63A304)
.org 0x8034E08 :: .dw (file_63A3D8)
.org 0x8034E0C :: .dw (file_63A3F4)
.org 0x803B02C :: .dw (file_63A4CC)
.org 0x803B030 :: .dw (file_63A620)
.org 0x803B034 :: .dw (file_63A648)
.org 0x803B054 :: .dw (file_63A71C)
.org 0x803B058 :: .dw (file_63A870)
.org 0x803B05C :: .dw (file_63A898)
.org 0x803B07C :: .dw (file_63A968)
.org 0x803B080 :: .dw (file_63AAE0)
.org 0x803B084 :: .dw (file_63AB08)
.org 0x80356E8 :: .dw (file_63ABF4)
.org 0x80356F8 :: .dw (file_63D174)
.org 0x8035708 :: .dw (file_63F654)
.org 0x8035770 :: .dw (file_641294)|0x80000000
.org 0x80357A4 :: .dw (file_6412B4)|0x80000000
.org 0x80356C0 :: .dw (file_6412D4)
.org 0x80356C4 :: .dw (file_641784)
.org 0x80356C8 :: .dw (file_641C34)
.org 0x8035798 :: .dw (file_6420E4)|0x80000000
.org 0x80357CC :: .dw (file_6420E4)|0x80000000
.org 0x8035788 :: .dw (file_642104)|0x80000000
.org 0x80357BC :: .dw (file_642104)|0x80000000
.org 0x8035790 :: .dw (file_642404)|0x80000000
.org 0x80357C4 :: .dw (file_642404)|0x80000000
.org 0x80312D8 :: .dw (file_642804)
.org 0x8031B58 :: .dw (file_642804)
.org 0x803A268 :: .dw (file_642804)
.org 0x803A38C :: .dw (file_642804)
.org 0x803BDFC :: .dw (file_642804)
.org 0x80312DC :: .dw (file_6432A4)
.org 0x8031B5C :: .dw (file_6432A4)
.org 0x803A26C :: .dw (file_6432A4)
.org 0x803A390 :: .dw (file_6432A4)
.org 0x803BE00 :: .dw (file_6432A4)
.org 0x80312E0 :: .dw (file_6432F4)
.org 0x8031B60 :: .dw (file_6432F4)
.org 0x803A270 :: .dw (file_6432F4)
.org 0x803A394 :: .dw (file_6432F4)
.org 0x803BE04 :: .dw (file_6432F4)
.org 0x8031368 :: .dw (file_643698)
.org 0x803136C :: .dw (file_644028)
.org 0x8031370 :: .dw (file_644098)
.org 0x803137C :: .dw (file_644238)
.org 0x8031380 :: .dw (file_644ED0)
.org 0x8031384 :: .dw (file_644F48)
.org 0x8031390 :: .dw (file_645148)
.org 0x8031394 :: .dw (file_64605C)
.org 0x8031398 :: .dw (file_6460D4)
.org 0x80313A4 :: .dw (file_646358)
.org 0x80313A8 :: .dw (file_647524)
.org 0x80313AC :: .dw (file_647584)
.org 0x80313B8 :: .dw (file_6477E4)
.org 0x80313BC :: .dw (file_648520)
.org 0x80313C0 :: .dw (file_6485A4)
.org 0x80313CC :: .dw (file_648780)
.org 0x80313D0 :: .dw (file_6494C8)
.org 0x80313D4 :: .dw (file_649520)
.org 0x80313E0 :: .dw (file_649738)
.org 0x80313E4 :: .dw (file_64AC48)
.org 0x80313E8 :: .dw (file_64ACA4)
.org 0x80313F4 :: .dw (file_64AF64)
.org 0x80313F8 :: .dw (file_64BD80)
.org 0x80313FC :: .dw (file_64BDF4)
.org 0x8031408 :: .dw (file_64C018)
.org 0x803140C :: .dw (file_64CB80)
.org 0x8031410 :: .dw (file_64CBE8)
.org 0x803141C :: .dw (file_64CDC4)
.org 0x8031420 :: .dw (file_64E064)
.org 0x8031424 :: .dw (file_64E0C8)
.org 0x8031430 :: .dw (file_64E344)
.org 0x8031434 :: .dw (file_64F834)
.org 0x8031438 :: .dw (file_64F894)
.org 0x803144C :: .dw (file_64FB2C)
.org 0x8031444 :: .dw (file_64FC5C)
.org 0x8031448 :: .dw (file_6502EC)
.org 0x8031458 :: .dw (file_650348)
.org 0x803145C :: .dw (file_6513C8)
.org 0x8031460 :: .dw (file_651420)
.org 0x803146C :: .dw (file_65169C)
.org 0x8031470 :: .dw (file_6523A0)
.org 0x8031474 :: .dw (file_65240C)
.org 0x8031480 :: .dw (file_652624)
.org 0x8031484 :: .dw (file_6531E0)
.org 0x8031488 :: .dw (file_653238)
.org 0x8031494 :: .dw (file_653448)
.org 0x8031498 :: .dw (file_654484)
.org 0x803149C :: .dw (file_6544E4)
.org 0x80314A8 :: .dw (file_65477C)
.org 0x80314AC :: .dw (file_6558B0)
.org 0x80314B0 :: .dw (file_65591C)
.org 0x80314BC :: .dw (file_655B98)
.org 0x80314C0 :: .dw (file_656288)
.org 0x80314C4 :: .dw (file_6562F8)
.org 0x80314D0 :: .dw (file_656438)
.org 0x80314D4 :: .dw (file_657700)
.org 0x80314D8 :: .dw (file_657764)
.org 0x80314E4 :: .dw (file_6579C4)
.org 0x80314E8 :: .dw (file_658BCC)
.org 0x80314EC :: .dw (file_658C30)
.org 0x80314F8 :: .dw (file_658EA8)
.org 0x80314FC :: .dw (file_659A3C)
.org 0x8031500 :: .dw (file_659AB4)
.org 0x80322DC :: .dw (file_659CB8)
.org 0x8032310 :: .dw (file_659CB8)
.org 0x8032314 :: .dw (file_659CB8)
.org 0x8038098 :: .dw (file_65A578)
.org 0x803809C :: .dw (file_65A608)
.org 0x80380A0 :: .dw (file_65AA80)
.org 0x80380A4 :: .dw (file_65AAE0)
.org 0x80380A8 :: .dw (file_65AF54)
.org 0x80380AC :: .dw (file_65AFA0)
.org 0x80380B0 :: .dw (file_65B220)
.org 0x80380B4 :: .dw (file_65B74C)
.org 0x80380BC :: .dw (file_65B8E4)
.org 0x80380C0 :: .dw (file_65B9E8)
.org 0x80380C4 :: .dw (file_65CC78)
.org 0x80380C8 :: .dw (file_65E384)
.org 0x80380CC :: .dw (file_65E438)
.org 0x80380B8 :: .dw (file_65E828)
.org 0x80380D0 :: .dw (file_65E8B8)
.org 0x80322E0 :: .dw (file_65F11C)
.org 0x80380D4 :: .dw (file_65F9AC)
.org 0x80380D8 :: .dw (file_65FA58)
.org 0x80380DC :: .dw (file_65FEC0)
.org 0x80380E0 :: .dw (file_65FF3C)
.org 0x80380E4 :: .dw (file_660CA8)
.org 0x80380E8 :: .dw (file_660D90)
.org 0x80380EC :: .dw (file_661060)
.org 0x80380F0 :: .dw (file_6615A8)
.org 0x80380F8 :: .dw (file_661754)
.org 0x80380FC :: .dw (file_661858)
.org 0x8038100 :: .dw (file_662C5C)
.org 0x8038104 :: .dw (file_664804)
.org 0x8038108 :: .dw (file_6648D0)
.org 0x80380F4 :: .dw (file_664D84)
.org 0x803810C :: .dw (file_664E28)
.org 0x80322E4 :: .dw (file_665698)
.org 0x8038110 :: .dw (file_665EB8)
.org 0x8038114 :: .dw (file_665F3C)
.org 0x8038118 :: .dw (file_6663B8)
.org 0x803811C :: .dw (file_666430)
.org 0x8038120 :: .dw (file_6664D0)
.org 0x8038124 :: .dw (file_66651C)
.org 0x8038128 :: .dw (file_666820)
.org 0x803812C :: .dw (file_666D5C)
.org 0x8038134 :: .dw (file_666F38)
.org 0x8038138 :: .dw (file_667044)
.org 0x803813C :: .dw (file_6684B0)
.org 0x8038140 :: .dw (file_66A160)
.org 0x8038144 :: .dw (file_66A234)
.org 0x8038130 :: .dw (file_66A7A8)
.org 0x8038148 :: .dw (file_66A844)
.org 0x80322E8 :: .dw (file_66B0D4)
.org 0x803814C :: .dw (file_66B8B0)
.org 0x8038150 :: .dw (file_66B950)
.org 0x8038154 :: .dw (file_66BDE0)
.org 0x8038158 :: .dw (file_66BE58)
.org 0x803815C :: .dw (file_66BEF8)
.org 0x8038160 :: .dw (file_66BF44)
.org 0x8038164 :: .dw (file_66C264)
.org 0x8038168 :: .dw (file_66C7D8)
.org 0x8038170 :: .dw (file_66C978)
.org 0x8038174 :: .dw (file_66CA84)
.org 0x8038178 :: .dw (file_66DDD0)
.org 0x803817C :: .dw (file_66F6A0)
.org 0x8038180 :: .dw (file_66F78C)
.org 0x803816C :: .dw (file_66FC98)
.org 0x8038184 :: .dw (file_66FD14)
.org 0x80322EC :: .dw (file_670568)
.org 0x8038188 :: .dw (file_670DF4)
.org 0x803818C :: .dw (file_670E9C)
.org 0x8038190 :: .dw (file_67133C)
.org 0x8038194 :: .dw (file_6713B8)
.org 0x8038198 :: .dw (file_671638)
.org 0x803819C :: .dw (file_671684)
.org 0x80381A0 :: .dw (file_671958)
.org 0x80381A4 :: .dw (file_671F24)
.org 0x80381AC :: .dw (file_672124)
.org 0x80381B0 :: .dw (file_672238)
.org 0x80381B4 :: .dw (file_673770)
.org 0x80381B8 :: .dw (file_675338)
.org 0x80381BC :: .dw (file_675440)
.org 0x80381A8 :: .dw (file_67593C)
.org 0x80381C0 :: .dw (file_675A20)
.org 0x80322F0 :: .dw (file_6762A8)
.org 0x80381C4 :: .dw (file_676AE4)
.org 0x80381C8 :: .dw (file_676BA8)
.org 0x80381CC :: .dw (file_677028)
.org 0x80381D0 :: .dw (file_6770B8)
.org 0x80381D4 :: .dw (file_677318)
.org 0x80381D8 :: .dw (file_677364)
.org 0x80381DC :: .dw (file_677774)
.org 0x80381E0 :: .dw (file_677C94)
.org 0x80381E8 :: .dw (file_677E58)
.org 0x80381EC :: .dw (file_677F64)
.org 0x80381F0 :: .dw (file_679424)
.org 0x80381F4 :: .dw (file_67AD3C)
.org 0x80381F8 :: .dw (file_67AE2C)
.org 0x80381E4 :: .dw (file_67B3D0)
.org 0x80381FC :: .dw (file_67B47C)
.org 0x80322F4 :: .dw (file_67BCF4)
.org 0x8038200 :: .dw (file_67C4CC)
.org 0x8038204 :: .dw (file_67C578)
.org 0x8038208 :: .dw (file_67C9FC)
.org 0x803820C :: .dw (file_67CA84)
.org 0x8038210 :: .dw (file_67CB24)
.org 0x8038214 :: .dw (file_67CB70)
.org 0x8038218 :: .dw (file_67CED8)
.org 0x803821C :: .dw (file_67D44C)
.org 0x8038224 :: .dw (file_67D5F8)
.org 0x8038228 :: .dw (file_67D708)
.org 0x803822C :: .dw (file_67EA58)
.org 0x8038230 :: .dw (file_680370)
.org 0x8038234 :: .dw (file_680454)
.org 0x8038220 :: .dw (file_6808C4)
.org 0x8038238 :: .dw (file_68097C)
.org 0x80322F8 :: .dw (file_6811F0)
.org 0x803823C :: .dw (file_681AB8)
.org 0x8038240 :: .dw (file_681B3C)
.org 0x8038244 :: .dw (file_681FD4)
.org 0x8038248 :: .dw (file_682054)
.org 0x803824C :: .dw (file_6824B8)
.org 0x8038250 :: .dw (file_682504)
.org 0x8038254 :: .dw (file_6827F8)
.org 0x8038258 :: .dw (file_682D68)
.org 0x8038260 :: .dw (file_682F44)
.org 0x8038264 :: .dw (file_683054)
.org 0x8038268 :: .dw (file_6842F8)
.org 0x803826C :: .dw (file_685B7C)
.org 0x8038270 :: .dw (file_685C68)
.org 0x803825C :: .dw (file_68611C)
.org 0x8038274 :: .dw (file_6861B8)
.org 0x80322FC :: .dw (file_686A60)
.org 0x8038278 :: .dw (file_6872B8)
.org 0x803827C :: .dw (file_6873F4)
.org 0x8038280 :: .dw (file_68787C)
.org 0x8038284 :: .dw (file_687910)
.org 0x8038288 :: .dw (file_687E3C)
.org 0x803828C :: .dw (file_687E88)
.org 0x8038290 :: .dw (file_6881C4)
.org 0x8038294 :: .dw (file_6886F0)
.org 0x803829C :: .dw (file_688900)
.org 0x80382A0 :: .dw (file_688A10)
.org 0x80382A4 :: .dw (file_689DF8)
.org 0x80382A8 :: .dw (file_68BAAC)
.org 0x80382AC :: .dw (file_68BBB4)
.org 0x8038298 :: .dw (file_68C2CC)
.org 0x80382B0 :: .dw (file_68C368)
.org 0x8032300 :: .dw (file_68CBFC)
.org 0x80382B4 :: .dw (file_68D3C8)
.org 0x80382B8 :: .dw (file_68D454)
.org 0x80382BC :: .dw (file_68D8F8)
.org 0x80382C0 :: .dw (file_68D96C)
.org 0x80382C4 :: .dw (file_68DD4C)
.org 0x80382C8 :: .dw (file_68DD98)
.org 0x80382CC :: .dw (file_68E0B4)
.org 0x80382D0 :: .dw (file_68E5E0)
.org 0x80382D8 :: .dw (file_68E7BC)
.org 0x80382DC :: .dw (file_68E8C4)
.org 0x80382E0 :: .dw (file_68FB1C)
.org 0x80382E4 :: .dw (file_691994)
.org 0x80382E8 :: .dw (file_691A64)
.org 0x80382D4 :: .dw (file_691F80)
.org 0x80382EC :: .dw (file_692020)
.org 0x8032304 :: .dw (file_692874)
.org 0x80382F0 :: .dw (file_69303C)
.org 0x80382F4 :: .dw (file_6930F8)
.org 0x80382F8 :: .dw (file_693590)
.org 0x80382FC :: .dw (file_69360C)
.org 0x8038300 :: .dw (file_693778)
.org 0x8038304 :: .dw (file_6937C4)
.org 0x8038308 :: .dw (file_693AA4)
.org 0x803830C :: .dw (file_693FEC)
.org 0x8038314 :: .dw (file_6941DC)
.org 0x8038318 :: .dw (file_6942F0)
.org 0x803831C :: .dw (file_69561C)
.org 0x8038320 :: .dw (file_696CF4)
.org 0x8038324 :: .dw (file_696DD8)
.org 0x8038310 :: .dw (file_697268)
.org 0x8038328 :: .dw (file_697310)
.org 0x8032308 :: .dw (file_697B70)
.org 0x803832C :: .dw (file_698424)
.org 0x8038330 :: .dw (file_698508)
.org 0x8038334 :: .dw (file_6989B0)
.org 0x8038338 :: .dw (file_698A2C)
.org 0x803833C :: .dw (file_698CB0)
.org 0x8038340 :: .dw (file_698CFC)
.org 0x8038344 :: .dw (file_699194)
.org 0x8038348 :: .dw (file_6996DC)
.org 0x8038350 :: .dw (file_6998DC)
.org 0x8038354 :: .dw (file_6999F4)
.org 0x8038358 :: .dw (file_69B134)
.org 0x803835C :: .dw (file_69C8FC)
.org 0x8038360 :: .dw (file_69C9F4)
.org 0x803834C :: .dw (file_69CF44)
.org 0x8038364 :: .dw (file_69D020)
.org 0x803230C :: .dw (file_69D8D4)
.org 0x8038368 :: .dw (file_69E088)
.org 0x803836C :: .dw (file_69E12C)
.org 0x8038370 :: .dw (file_69E5A8)
.org 0x8038374 :: .dw (file_69E61C)
.org 0x8038378 :: .dw (file_69E6BC)
.org 0x803837C :: .dw (file_69E708)
.org 0x8038380 :: .dw (file_69EA0C)
.org 0x8038384 :: .dw (file_69EF48)
.org 0x803838C :: .dw (file_69F11C)
.org 0x8038390 :: .dw (file_69F220)
.org 0x8038394 :: .dw (file_6A0640)
.org 0x8038398 :: .dw (file_6A207C)
.org 0x803839C :: .dw (file_6A2184)
.org 0x8038388 :: .dw (file_6A26C8)
.org 0x80383A0 :: .dw (file_6A276C)
.org 0x8032318 :: .dw (file_6A2FBC)
.org 0x80383A4 :: .dw (file_6A383C)
.org 0x80383A8 :: .dw (file_6A38E8)
.org 0x80383AC :: .dw (file_6A3D48)
.org 0x80383B0 :: .dw (file_6A3DD0)
.org 0x80383B4 :: .dw (file_6A4BF0)
.org 0x80383B8 :: .dw (file_6A4CC8)
.org 0x80383BC :: .dw (file_6A504C)
.org 0x80383C0 :: .dw (file_6A5578)
.org 0x80383C8 :: .dw (file_6A570C)
.org 0x80383CC :: .dw (file_6A5814)
.org 0x80383D0 :: .dw (file_6A6C64)
.org 0x80383D4 :: .dw (file_6A8A08)
.org 0x80383D8 :: .dw (file_6A8ADC)
.org 0x80383C4 :: .dw (file_6A907C)
.org 0x80383DC :: .dw (file_6A911C)
.org 0x803231C :: .dw (file_6A9970)
.org 0x80383E0 :: .dw (file_6AA1A0)
.org 0x80383E4 :: .dw (file_6AA214)
.org 0x80383E8 :: .dw (file_6AA6A0)
.org 0x80383EC :: .dw (file_6AA730)
.org 0x80383F0 :: .dw (file_6AAB08)
.org 0x80383F4 :: .dw (file_6AAB54)
.org 0x80383F8 :: .dw (file_6AAEB0)
.org 0x80383FC :: .dw (file_6AB458)
.org 0x8038404 :: .dw (file_6AB600)
.org 0x8038408 :: .dw (file_6AB70C)
.org 0x803840C :: .dw (file_6ACCA8)
.org 0x8038410 :: .dw (file_6AE758)
.org 0x8038414 :: .dw (file_6AE834)
.org 0x8038400 :: .dw (file_6AED8C)
.org 0x8038418 :: .dw (file_6AEE68)
.org 0x8032320 :: .dw (file_6B525C)
.org 0x803841C :: .dw (file_6B5A70)
.org 0x8038420 :: .dw (file_6B5B1C)
.org 0x8038424 :: .dw (file_6B5FB0)
.org 0x8038428 :: .dw (file_6B6050)
.org 0x803842C :: .dw (file_6B60F0)
.org 0x8038430 :: .dw (file_6B613C)
.org 0x8038434 :: .dw (file_6B6474)
.org 0x8038438 :: .dw (file_6B69A0)
.org 0x8038440 :: .dw (file_6B6B98)
.org 0x8038444 :: .dw (file_6B6CA4)
.org 0x8038448 :: .dw (file_6B8478)
.org 0x803844C :: .dw (file_6BA2BC)
.org 0x8038450 :: .dw (file_6BA3AC)
.org 0x803843C :: .dw (file_6BA910)
.org 0x8038454 :: .dw (file_6BA9F8)
.org 0x8032324 :: .dw (file_6BB2A4)
.org 0x8038458 :: .dw (file_6BBAF8)
.org 0x803845C :: .dw (file_6BBBBC)
.org 0x8038460 :: .dw (file_6BC034)
.org 0x8038464 :: .dw (file_6BC0C8)
.org 0x8038468 :: .dw (file_6BC2F8)
.org 0x803846C :: .dw (file_6BC344)
.org 0x8038470 :: .dw (file_6BC74C)
.org 0x8038474 :: .dw (file_6BCCD0)
.org 0x803847C :: .dw (file_6BCEB4)
.org 0x8038480 :: .dw (file_6BCFBC)
.org 0x8038484 :: .dw (file_6BE52C)
.org 0x8038488 :: .dw (file_6BFF50)
.org 0x803848C :: .dw (file_6C004C)
.org 0x8038478 :: .dw (file_6C04FC)
.org 0x8038490 :: .dw (file_6C05C4)
.org 0x8032328 :: .dw (file_6C0E38)
.org 0x8038494 :: .dw (file_6C167C)
.org 0x8038498 :: .dw (file_6C1710)
.org 0x803849C :: .dw (file_6C1B84)
.org 0x80384A0 :: .dw (file_6C1BFC)
.org 0x80384A4 :: .dw (file_6C231C)
.org 0x80384A8 :: .dw (file_6C2368)
.org 0x80384AC :: .dw (file_6C2660)
.org 0x80384B0 :: .dw (file_6C2B8C)
.org 0x80384B8 :: .dw (file_6C2D3C)
.org 0x80384BC :: .dw (file_6C2E4C)
.org 0x80384C0 :: .dw (file_6C40AC)
.org 0x80384C4 :: .dw (file_6C5994)
.org 0x80384C8 :: .dw (file_6C5A88)
.org 0x80384B4 :: .dw (file_6C5F28)
.org 0x80384CC :: .dw (file_6C5FCC)
.org 0x803232C :: .dw (file_6C6828)
.org 0x80384D0 :: .dw (file_6C7084)
.org 0x80384D4 :: .dw (file_6C7128)
.org 0x80384D8 :: .dw (file_6C7594)
.org 0x80384DC :: .dw (file_6C7608)
.org 0x80384E0 :: .dw (file_6C79E8)
.org 0x80384E4 :: .dw (file_6C7A34)
.org 0x80384E8 :: .dw (file_6C7D04)
.org 0x80384EC :: .dw (file_6C8230)
.org 0x80384F4 :: .dw (file_6C83BC)
.org 0x80384F8 :: .dw (file_6C84C8)
.org 0x80384FC :: .dw (file_6C982C)
.org 0x8038500 :: .dw (file_6CB080)
.org 0x8038504 :: .dw (file_6CB184)
.org 0x80384F0 :: .dw (file_6CB6C0)
.org 0x8038508 :: .dw (file_6CB75C)
.org 0x8032330 :: .dw (file_6CBFC0)
.org 0x803850C :: .dw (file_6CC808)
.org 0x8038510 :: .dw (file_6CC8D0)
.org 0x8038514 :: .dw (file_6CCD40)
.org 0x8038518 :: .dw (file_6CCDC0)
.org 0x803851C :: .dw (file_6CD068)
.org 0x8038520 :: .dw (file_6CD0B4)
.org 0x8038524 :: .dw (file_6CD48C)
.org 0x8038528 :: .dw (file_6CD9E4)
.org 0x8038530 :: .dw (file_6CDBC8)
.org 0x8038534 :: .dw (file_6CDCD0)
.org 0x8038538 :: .dw (file_6CF0A0)
.org 0x803853C :: .dw (file_6D0A08)
.org 0x8038540 :: .dw (file_6D0ADC)
.org 0x803852C :: .dw (file_6D1068)
.org 0x8038544 :: .dw (file_6D10F0)
.org 0x8032334 :: .dw (file_6D1984)
.org 0x8038548 :: .dw (file_6D2180)
.org 0x803854C :: .dw (file_6D2230)
.org 0x8038550 :: .dw (file_6D26A0)
.org 0x8038554 :: .dw (file_6D2700)
.org 0x8038558 :: .dw (file_6D27A0)
.org 0x803855C :: .dw (file_6D27EC)
.org 0x8038560 :: .dw (file_6D2B34)
.org 0x8038564 :: .dw (file_6D3050)
.org 0x803856C :: .dw (file_6D31E4)
.org 0x8038570 :: .dw (file_6D32EC)
.org 0x8038574 :: .dw (file_6D44D4)
.org 0x8038578 :: .dw (file_6D59B8)
.org 0x803857C :: .dw (file_6D5A9C)
.org 0x8038568 :: .dw (file_6D5EB0)
.org 0x8038580 :: .dw (file_6D5F34)
.org 0x8042850 :: .dw (file_6D6780)
.org 0x8042858 :: .dw (file_6D6870)
.org 0x8042874 :: .dw (file_6D6890)
.org 0x8042838 :: .dw (file_6D69F0)
.org 0x804E1BC :: .dw (file_6D69F0)
.org 0x804283C :: .dw (file_6D6B34)
.org 0x804E1C0 :: .dw (file_6D6B34)
.org 0x802BA30 :: .dw (file_6D6B5C)
.org 0x802BA64 :: .dw (file_6D8188)|0x80000000
.org 0x804280C :: .dw (file_6D8188)
.org 0x802BA68 :: .dw (file_6D8620)|0x80000000
.org 0x8042810 :: .dw (file_6D8620)
.org 0x802BA34 :: .dw (file_6D8A2C)
.org 0x802BA60 :: .dw (file_6D9CF4)|0x80000000
.org 0x803E44C :: .dw (file_6D9CF4)
.org 0x8042808 :: .dw (file_6D9CF4)
.org 0x80428E0 :: .dw (file_6D9EC0)
.org 0x803BE48 :: .dw (file_6D9EF4)
.org 0x803BE4C :: .dw (file_6D9FF4)
.org 0x803BE50 :: .dw (file_6DA018)
.org 0x803BC7C :: .dw (file_6DA21C)
.org 0x803BF6C :: .dw (file_6DA21C)
.org 0x8040034 :: .dw (file_6DC54C)
.org 0x8040038 :: .dw (file_6DC748)
.org 0x804004C :: .dw (file_6DC764)
.org 0x8040050 :: .dw (file_6DC814)
.org 0x8040054 :: .dw (file_6DC8D0)
.org 0x8040058 :: .dw (file_6DC99C)
.org 0x804005C :: .dw (file_6DCA74)
.org 0x8040060 :: .dw (file_6DCB50)
.org 0x8040064 :: .dw (file_6DCC2C)
.org 0x804002C :: .dw (file_6DCD08)
.org 0x8040030 :: .dw (file_6DD038)
.org 0x804003C :: .dw (file_6DD054)
.org 0x8040040 :: .dw (file_6DD080)
.org 0x8040068 :: .dw (file_6DD094)
.org 0x8041140 :: .dw (file_6DD0B8)
.org 0x8041144 :: .dw (file_6DD0B8)
.org 0x8041148 :: .dw (file_6DD0B8)
.org 0x804114C :: .dw (file_6DD0B8)
.org 0x8041150 :: .dw (file_6DD0B8)
.org 0x8041154 :: .dw (file_6DD0B8)
.org 0x8041158 :: .dw (file_6DD0B8)
.org 0x804115C :: .dw (file_6DD0B8)
.org 0x8041160 :: .dw (file_6DD0B8)
.org 0x8041164 :: .dw (file_6DD0B8)
.org 0x8041168 :: .dw (file_6DD0B8)
.org 0x804116C :: .dw (file_6DD0B8)
.org 0x8041170 :: .dw (file_6DD0B8)
.org 0x8041174 :: .dw (file_6DD0B8)
.org 0x8041178 :: .dw (file_6DD0B8)
.org 0x804117C :: .dw (file_6DD0B8)
.org 0x8041180 :: .dw (file_6DD0B8)
.org 0x8041184 :: .dw (file_6DD0B8)
.org 0x8041188 :: .dw (file_6DD0B8)
.org 0x804118C :: .dw (file_6DD0B8)
.org 0x8041190 :: .dw (file_6DD0B8)
.org 0x8041194 :: .dw (file_6DD0B8)
.org 0x8041198 :: .dw (file_6DD0B8)
.org 0x804057C :: .dw (file_6DD63C)
.org 0x8040580 :: .dw (file_6DD63C)
.org 0x8040584 :: .dw (file_6DD63C)
.org 0x8040588 :: .dw (file_6DD63C)
.org 0x804058C :: .dw (file_6DD63C)
.org 0x8040590 :: .dw (file_6DD63C)
.org 0x8040594 :: .dw (file_6DD63C)
.org 0x8040598 :: .dw (file_6DD63C)
.org 0x804059C :: .dw (file_6DD63C)
.org 0x80405A0 :: .dw (file_6DD63C)
.org 0x80405A4 :: .dw (file_6DD63C)
.org 0x80405A8 :: .dw (file_6DD63C)
.org 0x80405AC :: .dw (file_6DD63C)
.org 0x80405B0 :: .dw (file_6DD63C)
.org 0x80405B4 :: .dw (file_6DD63C)
.org 0x80405B8 :: .dw (file_6DD63C)
.org 0x80405BC :: .dw (file_6DD63C)
.org 0x80405C0 :: .dw (file_6DD63C)
.org 0x80405C4 :: .dw (file_6DD63C)
.org 0x80405C8 :: .dw (file_6DD63C)
.org 0x80405CC :: .dw (file_6DD63C)
.org 0x80405D0 :: .dw (file_6DD63C)
.org 0x80405D4 :: .dw (file_6DD63C)
.org 0x80405D8 :: .dw (file_6DD63C)
.org 0x80405DC :: .dw (file_6DD718)
.org 0x80405E0 :: .dw (file_6DD798)
.org 0x80405E4 :: .dw (file_6DD804)
.org 0x80405E8 :: .dw (file_6DD864)
.org 0x80405EC :: .dw (file_6DD91C)
.org 0x80405F8 :: .dw (file_6DD9AC)
.org 0x80405FC :: .dw (file_6DD9AC)
.org 0x8040600 :: .dw (file_6DD9AC)
.org 0x8040604 :: .dw (file_6DD9AC)
.org 0x8040608 :: .dw (file_6DD9AC)
.org 0x804060C :: .dw (file_6DD9AC)
.org 0x8040610 :: .dw (file_6DD9AC)
.org 0x8040614 :: .dw (file_6DD9AC)
.org 0x8040618 :: .dw (file_6DD9AC)
.org 0x804061C :: .dw (file_6DD9AC)
.org 0x8040620 :: .dw (file_6DD9AC)
.org 0x8040624 :: .dw (file_6DD9AC)
.org 0x8040628 :: .dw (file_6DD9AC)
.org 0x804062C :: .dw (file_6DD9AC)
.org 0x8040630 :: .dw (file_6DD9AC)
.org 0x8040634 :: .dw (file_6DD9AC)
.org 0x8040638 :: .dw (file_6DD9AC)
.org 0x804063C :: .dw (file_6DD9AC)
.org 0x8040640 :: .dw (file_6DD9AC)
.org 0x8040644 :: .dw (file_6DD9AC)
.org 0x8040648 :: .dw (file_6DD9AC)
.org 0x804064C :: .dw (file_6DD9AC)
.org 0x8040650 :: .dw (file_6DD9AC)
.org 0x8040654 :: .dw (file_6DD9AC)
.org 0x8040658 :: .dw (file_6DE2C8)
.org 0x804065C :: .dw (file_6DE3E0)
.org 0x8040660 :: .dw (file_6DED88)
.org 0x8040664 :: .dw (file_6DF988)
.org 0x8040668 :: .dw (file_6E01AC)
.org 0x802BA48 :: .dw (file_6E09D8)|0x80000000
.org 0x803C428 :: .dw (file_6E09D8)
.org 0x803C5BC :: .dw (file_6E1068)
.org 0x803C5F0 :: .dw (file_6E1068)
.org 0x803C5F4 :: .dw (file_6E1068)
.org 0x803C5C0 :: .dw (file_6E12DC)
.org 0x803C5C4 :: .dw (file_6E1554)
.org 0x803C5C8 :: .dw (file_6E17CC)
.org 0x803C5CC :: .dw (file_6E1A48)
.org 0x803C5D0 :: .dw (file_6E1CC0)
.org 0x803C5D4 :: .dw (file_6E1F38)
.org 0x803C5D8 :: .dw (file_6E21B0)
.org 0x803C5DC :: .dw (file_6E2428)
.org 0x803C5E0 :: .dw (file_6E26A0)
.org 0x803C5E4 :: .dw (file_6E2914)
.org 0x803C5E8 :: .dw (file_6E2B9C)
.org 0x803C5EC :: .dw (file_6E2E18)
.org 0x803C5F8 :: .dw (file_6E308C)
.org 0x803C5FC :: .dw (file_6E32FC)
.org 0x803C600 :: .dw (file_6E3574)
.org 0x803C604 :: .dw (file_6E37EC)
.org 0x803C608 :: .dw (file_6E3A64)
.org 0x803C60C :: .dw (file_6E3CD8)
.org 0x803C610 :: .dw (file_6E3F4C)
.org 0x803C614 :: .dw (file_6E41C4)
.org 0x8047848 :: .dw (file_6E443C)
.org 0x8047858 :: .dw (file_6E443C)
.org 0x8047868 :: .dw (file_6E443C)
.org 0x8047878 :: .dw (file_6E443C)
.org 0x8047888 :: .dw (file_6E443C)
.org 0x804784C :: .dw (file_6E540C)
.org 0x804785C :: .dw (file_6E540C)
.org 0x804786C :: .dw (file_6E540C)
.org 0x804787C :: .dw (file_6E540C)
.org 0x804788C :: .dw (file_6E540C)
.org 0x8047850 :: .dw (file_6E5480)
.org 0x8047870 :: .dw (file_6E5518)
.org 0x8047860 :: .dw (file_6E55B0)
.org 0x8047880 :: .dw (file_6E5648)
.org 0x8047890 :: .dw (file_6E56F4)
.org 0x8047AC8 :: .dw (file_6E57AC)
.org 0x8047AD8 :: .dw (file_6E57AC)
.org 0x8047AE8 :: .dw (file_6E57AC)
.org 0x8047AF8 :: .dw (file_6E57AC)
.org 0x8047B08 :: .dw (file_6E57AC)
.org 0x8047ACC :: .dw (file_6E5858)
.org 0x8047ADC :: .dw (file_6E5858)
.org 0x8047AEC :: .dw (file_6E5858)
.org 0x8047AFC :: .dw (file_6E5858)
.org 0x8047B0C :: .dw (file_6E5858)
.org 0x8047AD0 :: .dw (file_6E5914)
.org 0x8047AE0 :: .dw (file_6E59D4)
.org 0x8047AF0 :: .dw (file_6E5A94)
.org 0x8047B00 :: .dw (file_6E5B54)
.org 0x8047B10 :: .dw (file_6E5C14)
.org 0x8047B4C :: .dw (file_6E5CD4)
.org 0x8047B64 :: .dw (file_6E5CD4)
.org 0x8047B7C :: .dw (file_6E5CD4)
.org 0x8047B94 :: .dw (file_6E5CD4)
.org 0x8047BAC :: .dw (file_6E5CD4)
.org 0x8047B50 :: .dw (file_6E6EB8)
.org 0x8047B68 :: .dw (file_6E6EB8)
.org 0x8047B80 :: .dw (file_6E6EB8)
.org 0x8047B98 :: .dw (file_6E6EB8)
.org 0x8047BB0 :: .dw (file_6E6EB8)
.org 0x8047B5C :: .dw (file_6E6F4C)
.org 0x8047B74 :: .dw (file_6E70D0)
.org 0x8047B8C :: .dw (file_6E7254)
.org 0x8047BA4 :: .dw (file_6E73D8)
.org 0x8047BBC :: .dw (file_6E7590)
.org 0x8047CB8 :: .dw (file_6E7754)
.org 0x8047CBC :: .dw (file_6E7C60)
.org 0x8047CC0 :: .dw (file_6E7CAC)
.org 0x8047CD0 :: .dw (file_6E7CAC)
.org 0x8047CE0 :: .dw (file_6E7CAC)
.org 0x8047CF0 :: .dw (file_6E7CAC)
.org 0x8047D00 :: .dw (file_6E7CAC)
.org 0x8047CC8 :: .dw (file_6E7E68)
.org 0x8047CCC :: .dw (file_6E8374)
.org 0x8047CD8 :: .dw (file_6E83C0)
.org 0x8047CDC :: .dw (file_6E88CC)
.org 0x8047CE8 :: .dw (file_6E8918)
.org 0x8047CEC :: .dw (file_6E8E24)
.org 0x8047CF8 :: .dw (file_6E8E70)
.org 0x8047CFC :: .dw (file_6E937C)
.org 0x8047980 :: .dw (file_6E93C8)
.org 0x8047984 :: .dw (file_6E93C8)
.org 0x8047988 :: .dw (file_6E93C8)
.org 0x804798C :: .dw (file_6E93C8)
.org 0x8047990 :: .dw (file_6E93C8)
.org 0x8047994 :: .dw (file_6E93C8)
.org 0x8047998 :: .dw (file_6E93C8)
.org 0x804799C :: .dw (file_6E93C8)
.org 0x80479A0 :: .dw (file_6E93C8)
.org 0x80479A4 :: .dw (file_6E93C8)
.org 0x80479A8 :: .dw (file_6E93C8)
.org 0x80479AC :: .dw (file_6E93C8)
.org 0x80479B0 :: .dw (file_6E93C8)
.org 0x80479B4 :: .dw (file_6E93C8)
.org 0x80479B8 :: .dw (file_6E93C8)
.org 0x80479BC :: .dw (file_6E93C8)
.org 0x80479C0 :: .dw (file_6E93C8)
.org 0x80479C4 :: .dw (file_6E93C8)
.org 0x80479C8 :: .dw (file_6E93C8)
.org 0x80479CC :: .dw (file_6E93C8)
.org 0x80479D0 :: .dw (file_6E93C8)
.org 0x80479D4 :: .dw (file_6E93C8)
.org 0x80479D8 :: .dw (file_6E93C8)
.org 0x80479F8 :: .dw (file_6EAD18)
.org 0x80479FC :: .dw (file_6EAD18)
.org 0x8047A00 :: .dw (file_6EAD18)
.org 0x8047A04 :: .dw (file_6EAD18)
.org 0x8047A08 :: .dw (file_6EAD18)
.org 0x8047A0C :: .dw (file_6EAD18)
.org 0x8047A10 :: .dw (file_6EAD18)
.org 0x8047A14 :: .dw (file_6EAD18)
.org 0x8047A18 :: .dw (file_6EAD18)
.org 0x8047A1C :: .dw (file_6EAD18)
.org 0x8047A20 :: .dw (file_6EAD18)
.org 0x8047A24 :: .dw (file_6EAD18)
.org 0x8047A28 :: .dw (file_6EAD18)
.org 0x8047A2C :: .dw (file_6EAD18)
.org 0x8047A30 :: .dw (file_6EAD18)
.org 0x8047A34 :: .dw (file_6EAD18)
.org 0x8047A38 :: .dw (file_6EAD18)
.org 0x8047A3C :: .dw (file_6EAD18)
.org 0x8047A40 :: .dw (file_6EAD18)
.org 0x8047A44 :: .dw (file_6EAD18)
.org 0x8047A48 :: .dw (file_6EAD18)
.org 0x8047A4C :: .dw (file_6EAD18)
.org 0x8047A50 :: .dw (file_6EAD18)
.org 0x80478CC :: .dw (file_6EDC88)
.org 0x80478D0 :: .dw (file_6EE884)
.org 0x80478D4 :: .dw (file_6EE940)
.org 0x80478DC :: .dw (file_6EEA38)
.org 0x80478E0 :: .dw (file_6EF1E0)
.org 0x80478E4 :: .dw (file_6EF26C)
.org 0x80478EC :: .dw (file_6EF35C)
.org 0x80478F0 :: .dw (file_6F00C8)
.org 0x80478F4 :: .dw (file_6F0150)
.org 0x80478FC :: .dw (file_6F024C)
.org 0x8047900 :: .dw (file_6F0F8C)
.org 0x8047904 :: .dw (file_6F1014)
.org 0x8047DB0 :: .dw (file_6F1110)
.org 0x8047DB4 :: .dw (file_6F14A4)
.org 0x8047DE8 :: .dw (file_6F14F8)
.org 0x8047DFC :: .dw (file_6F15AC)
.org 0x8047DB8 :: .dw (file_6F1660)
.org 0x8047DBC :: .dw (file_6F189C)
.org 0x8047DC0 :: .dw (file_6F18B4)
.org 0x8047D3C :: .dw (file_6F1904)
.org 0x8047D40 :: .dw (file_6F1C00)
.org 0x8047D44 :: .dw (file_6F1C30)
.org 0x8048078 :: .dw (file_6F1DB8)
.org 0x804807C :: .dw (file_6F1E2C)
.org 0x8047FE8 :: .dw (file_6F1E4C)
.org 0x8047FF8 :: .dw (file_6F32DC)
.org 0x8047FF0 :: .dw (file_6F345C)
.org 0x8047FEC :: .dw (file_6F38D8)
.org 0x8047FFC :: .dw (file_6F3FAC)
.org 0x8047FF4 :: .dw (file_6F3FF0)
.org 0x80462EC :: .dw (file_6F4128)
.org 0x80462F4 :: .dw (file_6F4148)
.org 0x80462FC :: .dw (file_6F4168)
.org 0x8046304 :: .dw (file_6F4188)
.org 0x804630C :: .dw (file_6F41A8)
.org 0x8046314 :: .dw (file_6F41C8)
.org 0x8046324 :: .dw (file_6F41E8)
.org 0x804633C :: .dw (file_6F41E8)
.org 0x804634C :: .dw (file_6F4208)
.org 0x804636C :: .dw (file_6F4208)
.org 0x8046354 :: .dw (file_6F4228)
.org 0x8046374 :: .dw (file_6F4228)
.org 0x804635C :: .dw (file_6F4248)
.org 0x804637C :: .dw (file_6F4248)
.org 0x8046394 :: .dw (file_6F4248)
.org 0x8046414 :: .dw (file_6F4248)
.org 0x80463AC :: .dw (file_6F4268)
.org 0x80463CC :: .dw (file_6F4268)
.org 0x80463DC :: .dw (file_6F4268)
.org 0x80463FC :: .dw (file_6F4268)
.org 0x80463B4 :: .dw (file_6F4288)
.org 0x80463C4 :: .dw (file_6F4288)
.org 0x80463E4 :: .dw (file_6F4288)
.org 0x80463F4 :: .dw (file_6F4288)
.org 0x80463BC :: .dw (file_6F42A8)
.org 0x80463EC :: .dw (file_6F42A8)
.org 0x804641C :: .dw (file_6F42A8)
.org 0x80462B8 :: .dw (file_6F42CC)
.org 0x80462C8 :: .dw (file_6F42CC)
.org 0x80462C0 :: .dw (file_6F42EC)
.org 0x8047C64 :: .dw (file_6F5500)
.org 0x8046B78 :: .dw (file_6F55A0)
.org 0x8047C58 :: .dw (file_6F55A0)
.org 0x8047B54 :: .dw (file_6F55C0)|0x80000000
.org 0x8047B6C :: .dw (file_6F55C0)|0x80000000
.org 0x8047B84 :: .dw (file_6F55C0)|0x80000000
.org 0x8047B9C :: .dw (file_6F55C0)|0x80000000
.org 0x8047BB4 :: .dw (file_6F55C0)|0x80000000
.org 0x8047FE0 :: .dw (file_6F55E0)
.org 0x8047FE4 :: .dw (file_6F5690)
.org 0x80448E0 :: .dw (file_6F56B8)
.org 0x8044914 :: .dw (file_6F56B8)
.org 0x8044918 :: .dw (file_6F56B8)
.org 0x80448E4 :: .dw (file_6F59F8)
.org 0x80448E8 :: .dw (file_6F5D38)
.org 0x80448EC :: .dw (file_6F605C)
.org 0x80448F0 :: .dw (file_6F63A8)
.org 0x80448F4 :: .dw (file_6F66C8)
.org 0x80448F8 :: .dw (file_6F6A04)
.org 0x80448FC :: .dw (file_6F6D5C)
.org 0x8044900 :: .dw (file_6F7084)
.org 0x8044904 :: .dw (file_6F73C4)
.org 0x8044908 :: .dw (file_6F76FC)
.org 0x804490C :: .dw (file_6F7A04)
.org 0x8044910 :: .dw (file_6F7D10)
.org 0x804491C :: .dw (file_6F8018)
.org 0x8044920 :: .dw (file_6F8344)
.org 0x8044924 :: .dw (file_6F8698)
.org 0x8044928 :: .dw (file_6F89D0)
.org 0x804492C :: .dw (file_6F8D00)
.org 0x8044930 :: .dw (file_6F9038)
.org 0x8044934 :: .dw (file_6F9358)
.org 0x8044938 :: .dw (file_6F9698)
.org 0x80449C0 :: .dw (file_6F99AC)
.org 0x80449C4 :: .dw (file_6F9B34)
.org 0x8041F38 :: .dw (file_6F9B4C)
.org 0x8041F3C :: .dw (file_6F9CA8)
.org 0x8041F40 :: .dw (file_6F9E00)
.org 0x8041F44 :: .dw (file_6F9F5C)
.org 0x8041F48 :: .dw (file_6FA0B8)
.org 0x8041F4C :: .dw (file_6FA228)
.org 0x8041F50 :: .dw (file_6FA388)
.org 0x8041F54 :: .dw (file_6FA4E4)
.org 0x8041F58 :: .dw (file_6FA654)
.org 0x8041F5C :: .dw (file_6FA7B8)
.org 0x8041F60 :: .dw (file_6FA910)
.org 0x8041F64 :: .dw (file_6FAA80)
.org 0x8041F68 :: .dw (file_6FABEC)
.org 0x8041F74 :: .dw (file_6FAD44)
.org 0x8041F78 :: .dw (file_6FAEA0)
.org 0x8041F7C :: .dw (file_6FB000)
.org 0x8041F80 :: .dw (file_6FB164)
.org 0x8041F84 :: .dw (file_6FB2C4)
.org 0x8041F88 :: .dw (file_6FB41C)
.org 0x8041F8C :: .dw (file_6FB574)
.org 0x8041F90 :: .dw (file_6FB6D4)
.org 0x8041E98 :: .dw (file_6FB82C)
.org 0x8041E9C :: .dw (file_6FBC38)
.org 0x8041EE8 :: .dw (file_6FBC68)
.org 0x8041EC8 :: .dw (file_6FBDAC)
.org 0x8041ECC :: .dw (file_6FBDD8)
.org 0x8041ED0 :: .dw (file_6FBE08)
.org 0x8041ED4 :: .dw (file_6FBE38)
.org 0x8041EB8 :: .dw (file_6FBE68)
.org 0x8041EC4 :: .dw (file_6FC100)
.org 0x802BA38 :: .dw (file_6FC178)|0x80000000
.org 0x8041ED8 :: .dw (file_6FC178)
.org 0x803E404 :: .dw (file_6FC3B4)|0x80000000
.org 0x803E40C :: .dw (file_6FC5F4)|0x80000000
.org 0x803E334 :: .dw (file_6FC614)
.org 0x8042854 :: .dw (file_6FC614)
.org 0x803E338 :: .dw (file_6FC6B8)
.org 0x8042834 :: .dw (file_6FC6B8)
.org 0x803E33C :: .dw (file_6FC6E8)
.org 0x8042878 :: .dw (file_6FC6E8)
.org 0x803E35C :: .dw (file_6FC79C)
.org 0x803E360 :: .dw (file_6FC8A4)
.org 0x803E364 :: .dw (file_6FC8C4)
.org 0x803E368 :: .dw (file_6FC940)
.org 0x803E428 :: .dw (file_6FCA14)
.org 0x804E238 :: .dw (file_6FCA14)
.org 0x803E42C :: .dw (file_6FCD34)
.org 0x804E23C :: .dw (file_6FCD34)
.org 0x803E430 :: .dw (file_6FCD54)
.org 0x804E240 :: .dw (file_6FCD54)
.org 0x804E1D4 :: .dw (file_6FCDEC)|0x80000000
.org 0x804E198 :: .dw (file_6FD50C)|0x80000000
.org 0x804E864 :: .dw (file_6FD52C)
.org 0x804E868 :: .dw (file_6FD9DC)
.org 0x804E86C :: .dw (file_6FDB54)
.org 0x80D5990 :: .dw (file_6FE34C)
.org 0x80D5978 :: .dw (file_6FE4FC)
.org 0x802BA28 :: .dw (file_6FE6AC)|0x80000000
.org 0x804E1DC :: .dw (file_6FE6AC)
.org 0x804E978 :: .dw (file_6FE8D4)
.org 0x806AA35 :: .dw (file_6FE8D4)
.org 0x806AD80 :: .dw (file_6FE8D4)
.org 0x806AD96 :: .dw (file_6FE8D4)
.org 0x80D5974 :: .dw (file_6FE8D4)
.org 0x802BA74 :: .dw (file_6FEF5C)
.org 0x804B8C0 :: .dw (file_6FF378)
.org 0x804B8C4 :: .dw (file_6FF604)
.org 0x804B8B8 :: .dw (file_6FF6B8)|0x80000000
.org 0x804B2C4 :: .dw (file_6FF6D8)
.org 0x804B2E8 :: .dw (file_6FF6D8)
.org 0x804B30C :: .dw (file_6FF6D8)
.org 0x804B330 :: .dw (file_6FF6D8)
.org 0x804B354 :: .dw (file_6FF6D8)
.org 0x804B378 :: .dw (file_6FF6D8)
.org 0x804BA04 :: .dw (file_6FF6D8)
.org 0x804BD0C :: .dw (file_6FFB88)
.org 0x804B2C8 :: .dw (file_6FFD68)
.org 0x804B2EC :: .dw (file_6FFD68)
.org 0x804B310 :: .dw (file_6FFD68)
.org 0x804B334 :: .dw (file_6FFD68)
.org 0x804B358 :: .dw (file_6FFD68)
.org 0x804B37C :: .dw (file_6FFDAC)
.org 0x804BD24 :: .dw (file_6FFDF0)
.org 0x804B8DC :: .dw (file_6FFF70)
.org 0x804B904 :: .dw (file_6FFF70)
.org 0x804B8E0 :: .dw (file_70001C)
.org 0x804B908 :: .dw (file_70001C)
.org 0x804B384 :: .dw (file_7000AC)
.org 0x804B380 :: .dw (file_700F6C)
.org 0x804B38C :: .dw (file_7011F0)
.org 0x804B388 :: .dw (file_701C94)
.org 0x804B394 :: .dw (file_701ED8)
.org 0x804B390 :: .dw (file_70272C)
.org 0x804B39C :: .dw (file_7028FC)
.org 0x804B398 :: .dw (file_703080)
.org 0x804B3A4 :: .dw (file_7000AC)
.org 0x804B3A0 :: .dw (file_700F6C)
.org 0x804B3AC :: .dw (file_7000AC)
.org 0x804B3A8 :: .dw (file_700F6C)
.org 0x804B714 :: .dw (file_704368)
.org 0x804C95C :: .dw (file_704B70)
.org 0x804CBF0 :: .dw (file_705370)
.org 0x804CCEC :: .dw (file_705568)
.org 0x804CCE8 :: .dw (file_7055C4)
.org 0x804CD80 :: .dw (file_705620)
.org 0x806AD68 :: .dw (file_70567C)
.org 0x804C8B8 :: .dw (file_7056D8)
.org 0x804C8A8 :: .dw (file_7058F8)
.org 0x804C8C4 :: .dw (file_705918)
.org 0x804C8B0 :: .dw (file_705E38)
.org 0x806AD10 :: .dw (file_705E58)
.org 0x806AD18 :: .dw (file_706158)
.org 0x804C8D0 :: .dw (file_706178)
.org 0x804BF6C :: .dw (file_706498)
.org 0x804BF7C :: .dw (file_706498)
.org 0x804BF8C :: .dw (file_706498)
.org 0x804BF9C :: .dw (file_706498)
.org 0x804C00C :: .dw (file_706498)
.org 0x804C01C :: .dw (file_706498)
.org 0x804C02C :: .dw (file_706498)
.org 0x804C03C :: .dw (file_706498)
.org 0x804BFAC :: .dw (file_706C78)
.org 0x804C04C :: .dw (file_706C78)
.org 0x804BFBC :: .dw (file_707450)
.org 0x804BFDC :: .dw (file_707450)
.org 0x804BFEC :: .dw (file_707450)
.org 0x804BFFC :: .dw (file_707450)
.org 0x804C05C :: .dw (file_707450)
.org 0x804C07C :: .dw (file_707450)
.org 0x804C08C :: .dw (file_707450)
.org 0x804C09C :: .dw (file_707450)
.org 0x804BFCC :: .dw (file_707C30)
.org 0x804C06C :: .dw (file_707C30)
.org 0x803CE94 :: .dw (file_70844C)
.org 0x803CE98 :: .dw (file_70844C)
.org 0x803CE9C :: .dw (file_70844C)
.org 0x803CEA0 :: .dw (file_70844C)
.org 0x803CEA4 :: .dw (file_70844C)
.org 0x803CEA8 :: .dw (file_70844C)
.org 0x803CEAC :: .dw (file_70844C)
.org 0x803CEB0 :: .dw (file_70844C)
.org 0x803CEB4 :: .dw (file_70844C)
.org 0x803CEB8 :: .dw (file_70844C)
.org 0x803CEBC :: .dw (file_70844C)
.org 0x803CEC0 :: .dw (file_70844C)
.org 0x803CEC4 :: .dw (file_70844C)
.org 0x803CEC8 :: .dw (file_70844C)
.org 0x803CECC :: .dw (file_70844C)
.org 0x803CED0 :: .dw (file_70844C)
.org 0x803CED4 :: .dw (file_70844C)
.org 0x803CED8 :: .dw (file_70844C)
.org 0x803CEDC :: .dw (file_70844C)
.org 0x803CEE0 :: .dw (file_70844C)
.org 0x803CEE4 :: .dw (file_70844C)
.org 0x803CEE8 :: .dw (file_70844C)
.org 0x803CEEC :: .dw (file_70844C)
.org 0x8041AA4 :: .dw (file_70846C)
.org 0x8041AB0 :: .dw (file_7087AC)
.org 0x804E228 :: .dw (file_708FCC)
.org 0x803CBA4 :: .dw (file_708FEC)
.org 0x803CBA8 :: .dw (file_708FEC)
.org 0x804E6CC :: .dw (file_708FEC)
.org 0x80D608C :: .dw (file_708FEC)
.org 0x80D6208 :: .dw (file_708FEC)
.org 0x804E27C :: .dw (file_708FF0)
.org 0x8051670 :: .dw (file_708FF0)
.org 0x80290F8 :: .dw (file_70904C)
.org 0x80349C8 :: .dw (file_70904C)
.org 0x8039848 :: .dw (file_70904C)
.org 0x8039AE4 :: .dw (file_70904C)
.org 0x803A0F0 :: .dw (file_70904C)
.org 0x803AF78 :: .dw (file_70904C)
.org 0x806A6B8 :: .dw (file_70904C)
.org 0x806A930 :: .dw (file_70904C)
.org 0x806AD70 :: .dw (file_70904C)
.org 0x806CD18 :: .dw (file_70904C)
.org 0x8034A2C :: .dw (file_709408)
.org 0x804C5E8 :: .dw (file_709408)
.org 0x804C5EC :: .dw (file_709704)
.org 0x802CC6C :: .dw (file_7097D8)
.org 0x8031B24 :: .dw (file_7097D8)
.org 0x803B818 :: .dw (file_7097D8)
.org 0x80428E8 :: .dw (file_709A34)
.org 0x803B66C :: .dw (file_70A514)
.org 0x803B640 :: .dw (file_70AA14)
.org 0x802BA44 :: .dw (file_70ABD4)
.org 0x804C918 :: .dw (file_70BC34)
.org 0x802BA58 :: .dw (file_70C29C)|0x80000000
.org 0x802BA5C :: .dw (file_70C29C)|0x80000000
.org 0x802BA7C :: .dw (file_70C29C)|0x80000000
.org 0x802BA80 :: .dw (file_70C29C)|0x80000000
.org 0x802BA84 :: .dw (file_70C29C)|0x80000000
.org 0x802BA90 :: .dw (file_70C29C)|0x80000000
.org 0x802BAE8 :: .dw (file_70C29C)|0x80000000
.org 0x802BAF0 :: .dw (file_70C29C)|0x80000000
.org 0x8045F54 :: .dw (file_70C54C)
.org 0x8045F6C :: .dw (file_70C564)
.org 0x8045F50 :: .dw (file_70C6F4)
.org 0x8045F60 :: .dw (file_70C710)
.org 0x8045F64 :: .dw (file_70C774)
.org 0x8045F68 :: .dw (file_70C854)
.org 0x8045F5C :: .dw (file_70C974)
.org 0x8045F58 :: .dw (file_70CA4C)
.org 0x8045F70 :: .dw (file_70CA60)
.org 0x8045F74 :: .dw (file_70CAB4)
.org 0x8045F78 :: .dw (file_70CB20)
.org 0x8045F7C :: .dw (file_70CBA4)
.org 0x8045F80 :: .dw (file_70CC40)
.org 0x8045F3C :: .dw (file_70CCC0)
.org 0x8045F38 :: .dw (file_70E284)
.org 0x8045F40 :: .dw (file_70E358)
.org 0x8045F48 :: .dw (file_70E448)
.org 0x8045F44 :: .dw (file_70EAD0)
.org 0x8045F4C :: .dw (file_70EB28)
.org 0x8041A30 :: .dw (file_70ED18)
.org 0x8041EBC :: .dw (file_70ED18)|0x80000000
.org 0x803CF4C :: .dw (file_70ED38)
.org 0x803CF50 :: .dw (file_70ED38)
.org 0x803CF54 :: .dw (file_70ED38)
.org 0x803CF58 :: .dw (file_70ED38)
.org 0x803CF5C :: .dw (file_70ED38)
.org 0x803CF60 :: .dw (file_70ED38)
.org 0x803CF64 :: .dw (file_70ED38)
.org 0x803CF68 :: .dw (file_70ED38)
.org 0x803CF6C :: .dw (file_70ED38)
.org 0x803CF70 :: .dw (file_70ED38)
.org 0x803CF74 :: .dw (file_70ED38)
.org 0x803CF78 :: .dw (file_70ED38)
.org 0x803CF7C :: .dw (file_70ED38)
.org 0x803CF80 :: .dw (file_70ED38)
.org 0x803CF84 :: .dw (file_70ED38)
.org 0x803CF88 :: .dw (file_70ED38)
.org 0x803CF8C :: .dw (file_70ED38)
.org 0x803CF90 :: .dw (file_70ED38)
.org 0x803CF94 :: .dw (file_70ED38)
.org 0x803CF98 :: .dw (file_70ED38)
.org 0x803CF9C :: .dw (file_70ED38)
.org 0x803CFA0 :: .dw (file_70ED38)
.org 0x803CFA4 :: .dw (file_70ED38)
.org 0x803B630 :: .dw (file_70ED78)
.org 0x803CEF0 :: .dw (file_70EDF8)
.org 0x803CEF4 :: .dw (file_70EDF8)
.org 0x803CEF8 :: .dw (file_70EDF8)
.org 0x803CEFC :: .dw (file_70EDF8)
.org 0x803CF00 :: .dw (file_70EDF8)
.org 0x803CF04 :: .dw (file_70EDF8)
.org 0x803CF08 :: .dw (file_70EDF8)
.org 0x803CF0C :: .dw (file_70EDF8)
.org 0x803CF10 :: .dw (file_70EDF8)
.org 0x803CF14 :: .dw (file_70EDF8)
.org 0x803CF18 :: .dw (file_70EDF8)
.org 0x803CF1C :: .dw (file_70EDF8)
.org 0x803CF20 :: .dw (file_70EDF8)
.org 0x803CF24 :: .dw (file_70EDF8)
.org 0x803CF28 :: .dw (file_70EDF8)
.org 0x803CF2C :: .dw (file_70EDF8)
.org 0x803CF30 :: .dw (file_70EDF8)
.org 0x803CF34 :: .dw (file_70EDF8)
.org 0x803CF38 :: .dw (file_70EDF8)
.org 0x803CF3C :: .dw (file_70EDF8)
.org 0x803CF40 :: .dw (file_70EDF8)
.org 0x803CF44 :: .dw (file_70EDF8)
.org 0x803CF48 :: .dw (file_70EDF8)
.org 0x803CFA8 :: .dw (file_70EDF8)
.org 0x803CFAC :: .dw (file_70EDF8)
.org 0x803CFB0 :: .dw (file_70EDF8)
.org 0x803CFB4 :: .dw (file_70EDF8)
.org 0x803CFB8 :: .dw (file_70EDF8)
.org 0x803CFBC :: .dw (file_70EDF8)
.org 0x803CFC0 :: .dw (file_70EDF8)
.org 0x803CFC4 :: .dw (file_70EDF8)
.org 0x803CFC8 :: .dw (file_70EDF8)
.org 0x803CFCC :: .dw (file_70EDF8)
.org 0x803CFD0 :: .dw (file_70EDF8)
.org 0x803CFD4 :: .dw (file_70EDF8)
.org 0x803CFD8 :: .dw (file_70EDF8)
.org 0x803CFDC :: .dw (file_70EDF8)
.org 0x803CFE0 :: .dw (file_70EDF8)
.org 0x803CFE4 :: .dw (file_70EDF8)
.org 0x803CFE8 :: .dw (file_70EDF8)
.org 0x803CFEC :: .dw (file_70EDF8)
.org 0x803CFF0 :: .dw (file_70EDF8)
.org 0x803CFF4 :: .dw (file_70EDF8)
.org 0x803CFF8 :: .dw (file_70EDF8)
.org 0x803CFFC :: .dw (file_70EDF8)
.org 0x803D000 :: .dw (file_70EDF8)
.org 0x803D004 :: .dw (file_70EE98)
.org 0x803D008 :: .dw (file_70EE98)
.org 0x803D00C :: .dw (file_70EE98)
.org 0x803D010 :: .dw (file_70EE98)
.org 0x803D014 :: .dw (file_70EE98)
.org 0x803D018 :: .dw (file_70EE98)
.org 0x803D01C :: .dw (file_70EE98)
.org 0x803D020 :: .dw (file_70EE98)
.org 0x803D024 :: .dw (file_70EE98)
.org 0x803D028 :: .dw (file_70EE98)
.org 0x803D02C :: .dw (file_70EE98)
.org 0x803D030 :: .dw (file_70EE98)
.org 0x803D034 :: .dw (file_70EE98)
.org 0x803D038 :: .dw (file_70EE98)
.org 0x803D03C :: .dw (file_70EE98)
.org 0x803D040 :: .dw (file_70EE98)
.org 0x803D044 :: .dw (file_70EE98)
.org 0x803D048 :: .dw (file_70EE98)
.org 0x803D04C :: .dw (file_70EE98)
.org 0x803D050 :: .dw (file_70EE98)
.org 0x803D054 :: .dw (file_70EE98)
.org 0x803D058 :: .dw (file_70EE98)
.org 0x803D05C :: .dw (file_70EE98)
.org 0x803D060 :: .dw (file_70F0B8)
.org 0x803D064 :: .dw (file_70F0B8)
.org 0x803D068 :: .dw (file_70F0B8)
.org 0x803D06C :: .dw (file_70F0B8)
.org 0x803D070 :: .dw (file_70F0B8)
.org 0x803D074 :: .dw (file_70F0B8)
.org 0x803D078 :: .dw (file_70F0B8)
.org 0x803D07C :: .dw (file_70F0B8)
.org 0x803D080 :: .dw (file_70F0B8)
.org 0x803D084 :: .dw (file_70F0B8)
.org 0x803D088 :: .dw (file_70F0B8)
.org 0x803D08C :: .dw (file_70F0B8)
.org 0x803D090 :: .dw (file_70F0B8)
.org 0x803D094 :: .dw (file_70F0B8)
.org 0x803D098 :: .dw (file_70F0B8)
.org 0x803D09C :: .dw (file_70F0B8)
.org 0x803D0A0 :: .dw (file_70F0B8)
.org 0x803D0A4 :: .dw (file_70F0B8)
.org 0x803D0A8 :: .dw (file_70F0B8)
.org 0x803D0AC :: .dw (file_70F0B8)
.org 0x803D0B0 :: .dw (file_70F0B8)
.org 0x803D0B4 :: .dw (file_70F0B8)
.org 0x803D0B8 :: .dw (file_70F0B8)
.org 0x803D0BC :: .dw (file_70F2B8)
.org 0x803D0C0 :: .dw (file_70F2B8)
.org 0x803D0C4 :: .dw (file_70F2B8)
.org 0x803D0C8 :: .dw (file_70F2B8)
.org 0x803D0CC :: .dw (file_70F2B8)
.org 0x803D0D0 :: .dw (file_70F2B8)
.org 0x803D0D4 :: .dw (file_70F2B8)
.org 0x803D0D8 :: .dw (file_70F2B8)
.org 0x803D0DC :: .dw (file_70F2B8)
.org 0x803D0E0 :: .dw (file_70F2B8)
.org 0x803D0E4 :: .dw (file_70F2B8)
.org 0x803D0E8 :: .dw (file_70F2B8)
.org 0x803D0EC :: .dw (file_70F2B8)
.org 0x803D0F0 :: .dw (file_70F2B8)
.org 0x803D0F4 :: .dw (file_70F2B8)
.org 0x803D0F8 :: .dw (file_70F2B8)
.org 0x803D0FC :: .dw (file_70F2B8)
.org 0x803D100 :: .dw (file_70F2B8)
.org 0x803D104 :: .dw (file_70F2B8)
.org 0x803D108 :: .dw (file_70F2B8)
.org 0x803D10C :: .dw (file_70F2B8)
.org 0x803D110 :: .dw (file_70F2B8)
.org 0x803D114 :: .dw (file_70F2B8)
.org 0x803D4B0 :: .dw (file_70F2B8)
.org 0x803D4B4 :: .dw (file_70F2B8)
.org 0x803D4B8 :: .dw (file_70F2B8)
.org 0x803D4BC :: .dw (file_70F2B8)
.org 0x803D4C0 :: .dw (file_70F2B8)
.org 0x803D4C4 :: .dw (file_70F2B8)
.org 0x803D4C8 :: .dw (file_70F2B8)
.org 0x803D4CC :: .dw (file_70F2B8)
.org 0x803D4D0 :: .dw (file_70F2B8)
.org 0x803D4D4 :: .dw (file_70F2B8)
.org 0x803D4D8 :: .dw (file_70F2B8)
.org 0x803D4DC :: .dw (file_70F2B8)
.org 0x803D4E0 :: .dw (file_70F2B8)
.org 0x803D4E4 :: .dw (file_70F2B8)
.org 0x803D4E8 :: .dw (file_70F2B8)
.org 0x803D4EC :: .dw (file_70F2B8)
.org 0x803D4F0 :: .dw (file_70F2B8)
.org 0x803D4F4 :: .dw (file_70F2B8)
.org 0x803D4F8 :: .dw (file_70F2B8)
.org 0x803D4FC :: .dw (file_70F2B8)
.org 0x803D500 :: .dw (file_70F2B8)
.org 0x803D504 :: .dw (file_70F2B8)
.org 0x803D508 :: .dw (file_70F2B8)
.org 0x803D118 :: .dw (file_70F2D8)
.org 0x803D11C :: .dw (file_70F2D8)
.org 0x803D120 :: .dw (file_70F2D8)
.org 0x803D124 :: .dw (file_70F2D8)
.org 0x803D128 :: .dw (file_70F2D8)
.org 0x803D12C :: .dw (file_70F2D8)
.org 0x803D130 :: .dw (file_70F2D8)
.org 0x803D134 :: .dw (file_70F2D8)
.org 0x803D138 :: .dw (file_70F2D8)
.org 0x803D13C :: .dw (file_70F2D8)
.org 0x803D140 :: .dw (file_70F2D8)
.org 0x803D144 :: .dw (file_70F2D8)
.org 0x803D148 :: .dw (file_70F2D8)
.org 0x803D14C :: .dw (file_70F2D8)
.org 0x803D150 :: .dw (file_70F2D8)
.org 0x803D154 :: .dw (file_70F2D8)
.org 0x803D158 :: .dw (file_70F2D8)
.org 0x803D15C :: .dw (file_70F2D8)
.org 0x803D160 :: .dw (file_70F2D8)
.org 0x803D164 :: .dw (file_70F2D8)
.org 0x803D168 :: .dw (file_70F2D8)
.org 0x803D16C :: .dw (file_70F2D8)
.org 0x803D170 :: .dw (file_70F2D8)
.org 0x803D174 :: .dw (file_70F318)
.org 0x803D178 :: .dw (file_70F318)
.org 0x803D17C :: .dw (file_70F318)
.org 0x803D180 :: .dw (file_70F318)
.org 0x803D184 :: .dw (file_70F318)
.org 0x803D188 :: .dw (file_70F318)
.org 0x803D18C :: .dw (file_70F318)
.org 0x803D190 :: .dw (file_70F318)
.org 0x803D194 :: .dw (file_70F318)
.org 0x803D198 :: .dw (file_70F318)
.org 0x803D19C :: .dw (file_70F318)
.org 0x803D1A0 :: .dw (file_70F318)
.org 0x803D1A4 :: .dw (file_70F318)
.org 0x803D1A8 :: .dw (file_70F318)
.org 0x803D1AC :: .dw (file_70F318)
.org 0x803D1B0 :: .dw (file_70F318)
.org 0x803D1B4 :: .dw (file_70F318)
.org 0x803D1B8 :: .dw (file_70F318)
.org 0x803D1BC :: .dw (file_70F318)
.org 0x803D1C0 :: .dw (file_70F318)
.org 0x803D1C4 :: .dw (file_70F318)
.org 0x803D1C8 :: .dw (file_70F318)
.org 0x803D1CC :: .dw (file_70F318)
.org 0x803D22C :: .dw (file_70F358)
.org 0x803D230 :: .dw (file_70F358)
.org 0x803D234 :: .dw (file_70F358)
.org 0x803D238 :: .dw (file_70F358)
.org 0x803D23C :: .dw (file_70F358)
.org 0x803D240 :: .dw (file_70F358)
.org 0x803D244 :: .dw (file_70F358)
.org 0x803D248 :: .dw (file_70F358)
.org 0x803D24C :: .dw (file_70F358)
.org 0x803D250 :: .dw (file_70F358)
.org 0x803D254 :: .dw (file_70F358)
.org 0x803D258 :: .dw (file_70F358)
.org 0x803D25C :: .dw (file_70F358)
.org 0x803D260 :: .dw (file_70F358)
.org 0x803D264 :: .dw (file_70F358)
.org 0x803D268 :: .dw (file_70F358)
.org 0x803D26C :: .dw (file_70F358)
.org 0x803D270 :: .dw (file_70F358)
.org 0x803D274 :: .dw (file_70F358)
.org 0x803D278 :: .dw (file_70F358)
.org 0x803D27C :: .dw (file_70F358)
.org 0x803D280 :: .dw (file_70F358)
.org 0x803D284 :: .dw (file_70F358)
.org 0x803D288 :: .dw (file_70F378)
.org 0x803D28C :: .dw (file_70F378)
.org 0x803D290 :: .dw (file_70F378)
.org 0x803D294 :: .dw (file_70F378)
.org 0x803D298 :: .dw (file_70F378)
.org 0x803D29C :: .dw (file_70F378)
.org 0x803D2A0 :: .dw (file_70F378)
.org 0x803D2A4 :: .dw (file_70F378)
.org 0x803D2A8 :: .dw (file_70F378)
.org 0x803D2AC :: .dw (file_70F378)
.org 0x803D2B0 :: .dw (file_70F378)
.org 0x803D2B4 :: .dw (file_70F378)
.org 0x803D2B8 :: .dw (file_70F378)
.org 0x803D2BC :: .dw (file_70F378)
.org 0x803D2C0 :: .dw (file_70F378)
.org 0x803D2C4 :: .dw (file_70F378)
.org 0x803D2C8 :: .dw (file_70F378)
.org 0x803D2CC :: .dw (file_70F378)
.org 0x803D2D0 :: .dw (file_70F378)
.org 0x803D2D4 :: .dw (file_70F378)
.org 0x803D2D8 :: .dw (file_70F378)
.org 0x803D2DC :: .dw (file_70F378)
.org 0x803D2E0 :: .dw (file_70F378)
.org 0x803D340 :: .dw (file_70F3D8)
.org 0x803D344 :: .dw (file_70F3D8)
.org 0x803D348 :: .dw (file_70F3D8)
.org 0x803D34C :: .dw (file_70F3D8)
.org 0x803D350 :: .dw (file_70F3D8)
.org 0x803D354 :: .dw (file_70F3D8)
.org 0x803D358 :: .dw (file_70F3D8)
.org 0x803D35C :: .dw (file_70F3D8)
.org 0x803D360 :: .dw (file_70F3D8)
.org 0x803D364 :: .dw (file_70F3D8)
.org 0x803D368 :: .dw (file_70F3D8)
.org 0x803D36C :: .dw (file_70F3D8)
.org 0x803D370 :: .dw (file_70F3D8)
.org 0x803D374 :: .dw (file_70F3D8)
.org 0x803D378 :: .dw (file_70F3D8)
.org 0x803D37C :: .dw (file_70F3D8)
.org 0x803D380 :: .dw (file_70F3D8)
.org 0x803D384 :: .dw (file_70F3D8)
.org 0x803D388 :: .dw (file_70F3D8)
.org 0x803D38C :: .dw (file_70F3D8)
.org 0x803D390 :: .dw (file_70F3D8)
.org 0x803D394 :: .dw (file_70F3D8)
.org 0x803D398 :: .dw (file_70F3D8)
.org 0x803D1D0 :: .dw (file_70F5D8)
.org 0x803D1D4 :: .dw (file_70F5D8)
.org 0x803D1D8 :: .dw (file_70F5D8)
.org 0x803D1DC :: .dw (file_70F5D8)
.org 0x803D1E0 :: .dw (file_70F5D8)
.org 0x803D1E4 :: .dw (file_70F5D8)
.org 0x803D1E8 :: .dw (file_70F5D8)
.org 0x803D1EC :: .dw (file_70F5D8)
.org 0x803D1F0 :: .dw (file_70F5D8)
.org 0x803D1F4 :: .dw (file_70F5D8)
.org 0x803D1F8 :: .dw (file_70F5D8)
.org 0x803D1FC :: .dw (file_70F5D8)
.org 0x803D200 :: .dw (file_70F5D8)
.org 0x803D204 :: .dw (file_70F5D8)
.org 0x803D208 :: .dw (file_70F5D8)
.org 0x803D20C :: .dw (file_70F5D8)
.org 0x803D210 :: .dw (file_70F5D8)
.org 0x803D214 :: .dw (file_70F5D8)
.org 0x803D218 :: .dw (file_70F5D8)
.org 0x803D21C :: .dw (file_70F5D8)
.org 0x803D220 :: .dw (file_70F5D8)
.org 0x803D224 :: .dw (file_70F5D8)
.org 0x803D228 :: .dw (file_70F5D8)
.org 0x803D39C :: .dw (file_70F678)
.org 0x803D3A0 :: .dw (file_70F678)
.org 0x803D3A4 :: .dw (file_70F678)
.org 0x803D3A8 :: .dw (file_70F678)
.org 0x803D3AC :: .dw (file_70F678)
.org 0x803D3B0 :: .dw (file_70F678)
.org 0x803D3B4 :: .dw (file_70F678)
.org 0x803D3B8 :: .dw (file_70F678)
.org 0x803D3BC :: .dw (file_70F678)
.org 0x803D3C0 :: .dw (file_70F678)
.org 0x803D3C4 :: .dw (file_70F678)
.org 0x803D3C8 :: .dw (file_70F678)
.org 0x803D3CC :: .dw (file_70F678)
.org 0x803D3D0 :: .dw (file_70F678)
.org 0x803D3D4 :: .dw (file_70F678)
.org 0x803D3D8 :: .dw (file_70F678)
.org 0x803D3DC :: .dw (file_70F678)
.org 0x803D3E0 :: .dw (file_70F678)
.org 0x803D3E4 :: .dw (file_70F678)
.org 0x803D3E8 :: .dw (file_70F678)
.org 0x803D3EC :: .dw (file_70F678)
.org 0x803D3F0 :: .dw (file_70F678)
.org 0x803D3F4 :: .dw (file_70F678)
.org 0x803D50C :: .dw (file_70F678)
.org 0x803D510 :: .dw (file_70F678)
.org 0x803D514 :: .dw (file_70F678)
.org 0x803D518 :: .dw (file_70F678)
.org 0x803D51C :: .dw (file_70F678)
.org 0x803D520 :: .dw (file_70F678)
.org 0x803D524 :: .dw (file_70F678)
.org 0x803D528 :: .dw (file_70F678)
.org 0x803D52C :: .dw (file_70F678)
.org 0x803D530 :: .dw (file_70F678)
.org 0x803D534 :: .dw (file_70F678)
.org 0x803D538 :: .dw (file_70F678)
.org 0x803D53C :: .dw (file_70F678)
.org 0x803D540 :: .dw (file_70F678)
.org 0x803D544 :: .dw (file_70F678)
.org 0x803D548 :: .dw (file_70F678)
.org 0x803D54C :: .dw (file_70F678)
.org 0x803D550 :: .dw (file_70F678)
.org 0x803D554 :: .dw (file_70F678)
.org 0x803D558 :: .dw (file_70F678)
.org 0x803D55C :: .dw (file_70F678)
.org 0x803D560 :: .dw (file_70F678)
.org 0x803D564 :: .dw (file_70F678)
.org 0x803D3F8 :: .dw (file_70F6D8)
.org 0x803D3FC :: .dw (file_70F6D8)
.org 0x803D400 :: .dw (file_70F6D8)
.org 0x803D404 :: .dw (file_70F6D8)
.org 0x803D408 :: .dw (file_70F6D8)
.org 0x803D40C :: .dw (file_70F6D8)
.org 0x803D410 :: .dw (file_70F6D8)
.org 0x803D414 :: .dw (file_70F6D8)
.org 0x803D418 :: .dw (file_70F6D8)
.org 0x803D41C :: .dw (file_70F6D8)
.org 0x803D420 :: .dw (file_70F6D8)
.org 0x803D424 :: .dw (file_70F6D8)
.org 0x803D428 :: .dw (file_70F6D8)
.org 0x803D42C :: .dw (file_70F6D8)
.org 0x803D430 :: .dw (file_70F6D8)
.org 0x803D434 :: .dw (file_70F6D8)
.org 0x803D438 :: .dw (file_70F6D8)
.org 0x803D43C :: .dw (file_70F6D8)
.org 0x803D440 :: .dw (file_70F6D8)
.org 0x803D444 :: .dw (file_70F6D8)
.org 0x803D448 :: .dw (file_70F6D8)
.org 0x803D44C :: .dw (file_70F6D8)
.org 0x803D450 :: .dw (file_70F6D8)
.org 0x803D568 :: .dw (file_70F758)
.org 0x803D56C :: .dw (file_70F758)
.org 0x803D570 :: .dw (file_70F758)
.org 0x803D574 :: .dw (file_70F758)
.org 0x803D578 :: .dw (file_70F758)
.org 0x803D57C :: .dw (file_70F758)
.org 0x803D580 :: .dw (file_70F758)
.org 0x803D584 :: .dw (file_70F758)
.org 0x803D588 :: .dw (file_70F758)
.org 0x803D58C :: .dw (file_70F758)
.org 0x803D590 :: .dw (file_70F758)
.org 0x803D594 :: .dw (file_70F758)
.org 0x803D598 :: .dw (file_70F758)
.org 0x803D59C :: .dw (file_70F758)
.org 0x803D5A0 :: .dw (file_70F758)
.org 0x803D5A4 :: .dw (file_70F758)
.org 0x803D5A8 :: .dw (file_70F758)
.org 0x803D5AC :: .dw (file_70F758)
.org 0x803D5B0 :: .dw (file_70F758)
.org 0x803D5B4 :: .dw (file_70F758)
.org 0x803D5B8 :: .dw (file_70F758)
.org 0x803D5BC :: .dw (file_70F758)
.org 0x803D5C0 :: .dw (file_70F758)
.org 0x803D5C4 :: .dw (file_70F878)
.org 0x803D5C8 :: .dw (file_70F878)
.org 0x803D5CC :: .dw (file_70F878)
.org 0x803D5D0 :: .dw (file_70F878)
.org 0x803D5D4 :: .dw (file_70F878)
.org 0x803D5D8 :: .dw (file_70F878)
.org 0x803D5DC :: .dw (file_70F878)
.org 0x803D5E0 :: .dw (file_70F878)
.org 0x803D5E4 :: .dw (file_70F878)
.org 0x803D5E8 :: .dw (file_70F878)
.org 0x803D5EC :: .dw (file_70F878)
.org 0x803D5F0 :: .dw (file_70F878)
.org 0x803D5F4 :: .dw (file_70F878)
.org 0x803D5F8 :: .dw (file_70F878)
.org 0x803D5FC :: .dw (file_70F878)
.org 0x803D600 :: .dw (file_70F878)
.org 0x803D604 :: .dw (file_70F878)
.org 0x803D608 :: .dw (file_70F878)
.org 0x803D60C :: .dw (file_70F878)
.org 0x803D610 :: .dw (file_70F878)
.org 0x803D614 :: .dw (file_70F878)
.org 0x803D618 :: .dw (file_70F878)
.org 0x803D61C :: .dw (file_70F878)
.org 0x80DD400 :: .dw (file_70F8F8)
.org 0x80DD3F8 :: .dw (file_70FA10)
.org 0x80DD3FC :: .dw (file_70FAEC)
.org 0x80DD40C :: .dw (file_70FB18)
.org 0x80DD404 :: .dw (file_70FC90)
.org 0x80DD408 :: .dw (file_7101EC)
.org 0x80DD41C :: .dw (file_7101EC)
.org 0x80DD410 :: .dw (file_710254)
.org 0x80DD414 :: .dw (file_7103DC)
.org 0x80DD418 :: .dw (file_710460)
.org 0x80DE0F4 :: .dw (file_7104A4)
.org 0x80DE0EC :: .dw (file_710A04)
.org 0x80DE0F0 :: .dw (file_7134BC)
.org 0x80E38F0 :: .dw (file_71352C)
.org 0x80E38DC :: .dw (file_713684)
.org 0x80E38E0 :: .dw (file_7137E4)
.org 0x80E38E4 :: .dw (file_7137E4)
.org 0x80EA1D4 :: .dw (file_713814)
.org 0x80EA1CC :: .dw (file_7138D8)
.org 0x80EA1D0 :: .dw (file_713948)
.org 0x80EA1E0 :: .dw (file_713978)
.org 0x80EA1D8 :: .dw (file_713A80)
.org 0x80EA1DC :: .dw (file_713F64)
.org 0x80EA1E8 :: .dw (file_713FB4)
.org 0x80EA1E4 :: .dw (file_7140D0)
.org 0x80EA1F0 :: .dw (file_714668)
.org 0x80EA1EC :: .dw (file_714770)
.org 0x80EA1FC :: .dw (file_714CD0)
.org 0x80EA1F4 :: .dw (file_714DE8)
.org 0x80EA1F8 :: .dw (file_714EA4)
.org 0x80EA200 :: .dw (file_714ED4)
.org 0x80EA204 :: .dw (file_714F4C)
.org 0x80EA208 :: .dw (file_714FD8)
.org 0x80EA20C :: .dw (file_715028)
.org 0x80DD394 :: .dw (file_715064)
.org 0x80DD894 :: .dw (file_715064)
.org 0x80DDCD0 :: .dw (file_71551C)
.org 0x80DE2F8 :: .dw (file_71551C)
.org 0x80DE5DC :: .dw (file_71551C)
.org 0x80752F0 :: .dw (file_716DE4)
.org 0x8075C40 :: .dw (file_716DE4)
.org 0x8077608 :: .dw (file_716DE4)
.org 0x80776E8 :: .dw (file_716DE4)
.org 0x80DF1B0 :: .dw (file_716DE4)
.org 0x80DF7D0 :: .dw (file_716DE4)
.org 0x80E30EC :: .dw (file_71A37C)
.org 0x80E39C4 :: .dw (file_71A37C)
.org 0x80E89A4 :: .dw (file_71A66C)
.org 0x80E8F28 :: .dw (file_71A66C)
.org 0x80EA0CC :: .dw (file_71BE98)
.org 0x80EA368 :: .dw (file_71BE98)
.org 0x80EA390 :: .dw (file_71BE98)
.org 0x8006DC4 :: .dw (file_71CAFC)
.org 0x8009CA8 :: .dw (file_71EADC)
.org 0x8009D18 :: .dw (file_71F3DC)
.org 0x8009D8C :: .dw (file_71F3FC)
.org 0x8009EA8 :: .dw (file_71F43C)
.org 0x8009EC8 :: .dw (file_71F43C)
.org 0x8009EAC :: .dw (file_71F45C)
.org 0x8009EC4 :: .dw (file_71F45C)
.org 0x8009EB0 :: .dw (file_71F47C)
.org 0x8009EC0 :: .dw (file_71F47C)
.org 0x8009EB4 :: .dw (file_71F49C)
.org 0x8009EBC :: .dw (file_71F49C)
.org 0x8009EB8 :: .dw (file_71F4BC)
.org 0x8009F08 :: .dw (file_71F4DC)
.org 0x8009F0C :: .dw (file_71F4FC)
.org 0x8009F10 :: .dw (file_71F51C)
.org 0x8009F14 :: .dw (file_71F53C)
.org 0x8009F18 :: .dw (file_71F55C)
.org 0x8009F48 :: .dw (file_71F57C)
.org 0x8009F68 :: .dw (file_71F57C)
.org 0x8009F4C :: .dw (file_71F59C)
.org 0x8009F64 :: .dw (file_71F59C)
.org 0x8009F50 :: .dw (file_71F5BC)
.org 0x8009F60 :: .dw (file_71F5BC)
.org 0x8009F54 :: .dw (file_71F5DC)
.org 0x8009F5C :: .dw (file_71F5DC)
.org 0x8009F58 :: .dw (file_71F5FC)
.org 0x8009ED8 :: .dw (file_71F63C)
.org 0x8009EF8 :: .dw (file_71F63C)
.org 0x8009EDC :: .dw (file_71F65C)
.org 0x8009EF4 :: .dw (file_71F65C)
.org 0x8009EE0 :: .dw (file_71F67C)
.org 0x8009EF0 :: .dw (file_71F67C)
.org 0x8009EE4 :: .dw (file_71F69C)
.org 0x8009EEC :: .dw (file_71F69C)
.org 0x8009EE8 :: .dw (file_71F6BC)
.org 0x8009F28 :: .dw (file_71F6DC)
.org 0x8009F2C :: .dw (file_71F6FC)
.org 0x8009F30 :: .dw (file_71F71C)
.org 0x8009F34 :: .dw (file_71F73C)
.org 0x8009F38 :: .dw (file_71F75C)
.org 0x8009F78 :: .dw (file_71F77C)
.org 0x8009F98 :: .dw (file_71F77C)
.org 0x8009F7C :: .dw (file_71F79C)
.org 0x8009F94 :: .dw (file_71F79C)
.org 0x8009F80 :: .dw (file_71F7BC)
.org 0x8009F90 :: .dw (file_71F7BC)
.org 0x8009F84 :: .dw (file_71F7DC)
.org 0x8009F8C :: .dw (file_71F7DC)
.org 0x8009F88 :: .dw (file_71F7FC)
.org 0x8006D98 :: .dw (file_71F85C)
.org 0x8009EA4 :: .dw (file_71F85C)
.org 0x8009F04 :: .dw (file_71F89C)
.org 0x8009F44 :: .dw (file_71F8BC)
.org 0x8009ED4 :: .dw (file_71F8DC)
.org 0x8009F24 :: .dw (file_71F91C)
.org 0x8009F74 :: .dw (file_71F93C)
.org 0x8006DA4 :: .dw (file_71F95C)
.org 0x8006DB0 :: .dw (file_71F95C)
.org 0x80AABB8 :: .dw (file_71F95C)
.org 0x80AAB7C :: .dw (file_71F97C)
.org 0x80AAB88 :: .dw (file_71F99C)
.org 0x80AAB94 :: .dw (file_71F99C)
.org 0x80AABA0 :: .dw (file_71F99C)
.org 0x80AABAC :: .dw (file_71F99C)
.org 0x8015AA4 :: .dw (file_71FA1C)
.org 0x8015AA8 :: .dw (file_71FA5C)
.org 0x8015AAC :: .dw (file_71FA9C)
.org 0x8015AB0 :: .dw (file_71FADC)
.org 0x8015AB4 :: .dw (file_71FB1C)
.org 0x8015AB8 :: .dw (file_71FB5C)
.org 0x8015ABC :: .dw (file_71FB9C)
.org 0x8015AC0 :: .dw (file_71FBDC)
.org 0x8015AC4 :: .dw (file_71FC1C)
.org 0x8015AC8 :: .dw (file_71FC5C)
.org 0x80168B0 :: .dw (file_71FC9C)
.org 0x80168BC :: .dw (file_71FCBC)
.org 0x80190FC :: .dw (file_71FFBC)
.org 0x8019100 :: .dw (file_71FFFC)
.org 0x8019104 :: .dw (file_72003C)
.org 0x8019108 :: .dw (file_72007C)
.org 0x801910C :: .dw (file_7200BC)
.org 0x8019110 :: .dw (file_7200FC)
.org 0x8019114 :: .dw (file_72013C)
.org 0x8019118 :: .dw (file_72017C)
.org 0x801911C :: .dw (file_7201BC)
.org 0x8019120 :: .dw (file_7201FC)
.org 0x8019128 :: .dw (file_72027C)
.org 0x80159A8 :: .dw (file_7202FC)
.org 0x80168C8 :: .dw (file_7202FC)
.org 0x8016E7C :: .dw (file_7202FC)
.org 0x8016E84 :: .dw (file_7202FC)
.org 0x8016F98 :: .dw (file_7202FC)
.org 0x8016FA0 :: .dw (file_7202FC)
.org 0x8017018 :: .dw (file_7202FC)
.org 0x801623C :: .dw (file_72035C)
.org 0x80D4C90 :: .dw (file_7203BC)
.org 0x80214D8 :: .dw (file_720ABC)
.org 0x803CCB8 :: .dw (file_720ABC)
.org 0x803CD1C :: .dw (file_720ABC)
.org 0x8042848 :: .dw (file_720ABC)|0x80000000
.org 0x804E1C4 :: .dw (file_720ABC)|0x80000000
.org 0x80D4C94 :: .dw (file_720ABC)
.org 0x8021594 :: .dw (file_72113C)
.org 0x80D4CA8 :: .dw (file_72113C)
.org 0x80214C4 :: .dw (file_7213FC)
.org 0x803E3EC :: .dw (file_7213FC)|0x80000000
.org 0x8042840 :: .dw (file_7213FC)|0x80000000
.org 0x804E1CC :: .dw (file_7213FC)|0x80000000
.org 0x80D4CA0 :: .dw (file_7213FC)
.org 0x8017850 :: .dw (file_72141C)
.org 0x801785C :: .dw (file_72179C)
.org 0x801789C :: .dw (file_72191C)
.org 0x8017AC0 :: .dw (file_7219DC)
.org 0x80157C0 :: .dw (file_721ADC)
.org 0x80157C4 :: .dw (file_721C5C)
.org 0x80157C8 :: .dw (file_721DDC)
.org 0x80157CC :: .dw (file_721F5C)
.org 0x80157D4 :: .dw max( \
filesize(TEMP+"/721ADC.img.bin"), \
filesize(TEMP+"/721C5C.img.bin"), \
filesize(TEMP+"/721DDC.img.bin"), \
filesize(TEMP+"/721F5C.img.bin") \
)
.org 0x80178A4 :: .dw (file_7220DC)
.org 0x80170D4 :: .dw (file_72211C)
.org 0x8017A88 :: .dw (file_72211C)
.org 0x8017AB8 :: .dw (file_72211C)
.org 0x8017AF0 :: .dw (file_72211C)
.org 0x80179D4 :: .dw (file_72213C)
.org 0x80179DC :: .dw filesize(TEMP+"/72213C.img.bin")
.org 0x80AD0A8 :: .dw (file_72239C)
.org 0x80AF0C8 :: .dw (file_72239C)
.org 0x80B0AE0 :: .dw (file_72239C)
.org 0x80B1BA8 :: .dw (file_72239C)
.org 0x801571C :: .dw (file_72249C)
.org 0x8015720 :: .dw (file_722C1C)
.org 0x801577C :: .dw (file_72321C)
.org 0x8015730 :: .dw (file_72351C)
.org 0x801F790 :: .dw (file_72369C)
.org 0x8021408 :: .dw (file_72369C)
.org 0x8016904 :: .dw (file_7236BC)
.org 0x80AD0B4 :: .dw (file_7236DC)
.org 0x80AF0D4 :: .dw (file_7236DC)
.org 0x80B0AEC :: .dw (file_7236DC)
.org 0x80B1BB4 :: .dw (file_7236DC)
.org 0x8021220 :: .dw (file_7236FC)
.org 0x8020F20 :: .dw (file_72387C)
.org 0x80212B0 :: .dw (file_7239FC)
.org 0x8020FB4 :: .dw (file_723AFC)
.org 0x801FD7C :: .dw (file_723B7C)
.org 0x8020978 :: .dw (file_723B7C)
.org 0x8021044 :: .dw (file_723C7C)
.org 0x8021A50 :: .dw (file_723CBC)
.org 0x8021A84 :: .dw (file_723CBC)
.org 0x8021A88 :: .dw (file_723CBC)
.org 0x8021A54 :: .dw (file_723D3C)
.org 0x8021A58 :: .dw (file_723DBC)
.org 0x8021A5C :: .dw (file_723E3C)
.org 0x8021A60 :: .dw (file_723EBC)
.org 0x8021A64 :: .dw (file_723F3C)
.org 0x8021A68 :: .dw (file_723FBC)
.org 0x8021A6C :: .dw (file_72403C)
.org 0x8021A70 :: .dw (file_7240BC)
.org 0x8021A74 :: .dw (file_72413C)
.org 0x8021A78 :: .dw (file_7241BC)
.org 0x8021A7C :: .dw (file_72423C)
.org 0x8021A80 :: .dw (file_7242BC)
.org 0x8021A8C :: .dw (file_72433C)
.org 0x8021A90 :: .dw (file_7243BC)
.org 0x8021A94 :: .dw (file_72443C)
.org 0x8021A98 :: .dw (file_7244BC)
.org 0x8021A9C :: .dw (file_72453C)
.org 0x8021AA0 :: .dw (file_7245BC)
.org 0x8021AA4 :: .dw (file_72463C)
.org 0x8021AA8 :: .dw (file_7246BC)
.org 0x8021998 :: .dw (file_72473C)
.org 0x80219CC :: .dw (file_72473C)
.org 0x80219D0 :: .dw (file_72473C)
.org 0x80219F4 :: .dw (file_72475C)
.org 0x80219F8 :: .dw (file_72475C)
.org 0x8021A10 :: .dw (file_72475C)
.org 0x8021A28 :: .dw (file_72475C)
.org 0x8021A2C :: .dw (file_72475C)
.org 0x8021A4C :: .dw (file_72475C)
.org 0x80219FC :: .dw (file_72477C)
.org 0x8021A08 :: .dw (file_72477C)
.org 0x8021A18 :: .dw (file_72477C)
.org 0x8021A1C :: .dw (file_72477C)
.org 0x8021A34 :: .dw (file_72477C)
.org 0x8021A38 :: .dw (file_72477C)
.org 0x8021A44 :: .dw (file_72477C)
.org 0x8021A00 :: .dw (file_72479C)
.org 0x8021A14 :: .dw (file_72479C)
.org 0x8021A0C :: .dw (file_7247BC)
.org 0x8021A48 :: .dw (file_7247BC)
.org 0x8021A04 :: .dw (file_7247DC)
.org 0x8021A24 :: .dw (file_7247DC)
.org 0x8021A20 :: .dw (file_7247FC)
.org 0x8021A30 :: .dw (file_72481C)
.org 0x8021A3C :: .dw (file_72483C)
.org 0x8021A40 :: .dw (file_72485C)
.org 0x802199C :: .dw (file_72487C)
.org 0x80219A0 :: .dw (file_72489C)
.org 0x80219A4 :: .dw (file_7248BC)
.org 0x80219A8 :: .dw (file_7248DC)
.org 0x80219AC :: .dw (file_7248FC)
.org 0x80219B0 :: .dw (file_72491C)
.org 0x80219B4 :: .dw (file_72493C)
.org 0x80219B8 :: .dw (file_72495C)
.org 0x80219BC :: .dw (file_72497C)
.org 0x80219C0 :: .dw (file_72499C)
.org 0x80219C4 :: .dw (file_7249BC)
.org 0x80219C8 :: .dw (file_7249DC)
.org 0x80219D4 :: .dw (file_7249FC)
.org 0x80219D8 :: .dw (file_724A1C)
.org 0x80219DC :: .dw (file_724A3C)
.org 0x80219E0 :: .dw (file_724A5C)
.org 0x80219E4 :: .dw (file_724A7C)
.org 0x80219E8 :: .dw (file_724A9C)
.org 0x80219EC :: .dw (file_724ABC)
.org 0x80219F0 :: .dw (file_724ADC)
.org 0x801FD70 :: .dw (file_724AFC)
.org 0x802161C :: .dw (file_724D7C)
.org 0x80216D4 :: .dw (file_724DDC)
.org 0x801FD64 :: .dw (file_724F30)
.org 0x8020A44 :: .dw (file_7258F0)
.org 0x8020A1C :: .dw (file_725914)
.org 0x8020A20 :: .dw (file_725914)
.org 0x8020A24 :: .dw (file_725B30)
.org 0x8020A28 :: .dw (file_725B78)
.org 0x8020A2C :: .dw (file_725B78)
.org 0x8020A30 :: .dw (file_725D94)
.org 0x8017694 :: .dw (file_726538)
.org 0x80DD420 :: .dw (file_726538)|0x80000000
.org 0x80DDEA0 :: .dw (file_726538)
.org 0x80DFE60 :: .dw (file_726538)
.org 0x80E38E8 :: .dw (file_726538)|0x80000000
.org 0x80E94B4 :: .dw (file_726538)
.org 0x80EA218 :: .dw (file_726538)|0x80000000
.org 0x801AF30 :: .dw (file_7268D0)
.org 0x801AF34 :: .dw (file_7268D0)
.org 0x801D0B4 :: .dw (file_7268D0)
.org 0x801D0B8 :: .dw (file_7268D0)
.org 0x801D0E0 :: .dw (file_7268D0)
.org 0x801D0E4 :: .dw (file_7268D0)
.org 0x801D10C :: .dw (file_7268D0)
.org 0x801D110 :: .dw (file_7268D0)
.org 0x801D138 :: .dw (file_7268D0)
.org 0x801D13C :: .dw (file_7268D0)
.org 0x801D164 :: .dw (file_7268D0)
.org 0x801D168 :: .dw (file_7268D0)
.org 0x801D190 :: .dw (file_7268D0)
.org 0x801D194 :: .dw (file_7268D0)
.org 0x801E134 :: .dw (file_7268D0)
.org 0x801E138 :: .dw (file_7268D0)
.org 0x801E160 :: .dw (file_7268D0)
.org 0x801E164 :: .dw (file_7268D0)
.org 0x801E18C :: .dw (file_7268D0)
.org 0x801E190 :: .dw (file_7268D0)
.org 0x801E1B8 :: .dw (file_7268D0)
.org 0x801E1BC :: .dw (file_7268D0)
.org 0x801E1E4 :: .dw (file_7268D0)
.org 0x801E1E8 :: .dw (file_7268D0)
.org 0x801E210 :: .dw (file_7268D0)
.org 0x801E214 :: .dw (file_7268D0)
.org 0x801E23C :: .dw (file_7268D0)
.org 0x801E240 :: .dw (file_7268D0)
.org 0x801E268 :: .dw (file_7268D0)
.org 0x801E26C :: .dw (file_7268D0)
.org 0x801E294 :: .dw (file_7268D0)
.org 0x801E298 :: .dw (file_7268D0)
.org 0x801E2C0 :: .dw (file_7268D0)
.org 0x801E2C4 :: .dw (file_7268D0)
.org 0x801E4A4 :: .dw (file_7268D0)
.org 0x801E4A8 :: .dw (file_7268D0)
.org 0x801E4D0 :: .dw (file_7268D0)
.org 0x801E4D4 :: .dw (file_7268D0)
.org 0x801E4FC :: .dw (file_7268D0)
.org 0x801E500 :: .dw (file_7268D0)
.org 0x801E528 :: .dw (file_7268D0)
.org 0x801E52C :: .dw (file_7268D0)
.org 0x801E554 :: .dw (file_7268D0)
.org 0x801E558 :: .dw (file_7268D0)
.org 0x801E580 :: .dw (file_7268D0)
.org 0x801E584 :: .dw (file_7268D0)
.org 0x801E5AC :: .dw (file_7268D0)
.org 0x801E5B0 :: .dw (file_7268D0)
.org 0x801E5D8 :: .dw (file_7268D0)
.org 0x801E5DC :: .dw (file_7268D0)
.org 0x801E604 :: .dw (file_7268D0)
.org 0x801E608 :: .dw (file_7268D0)
.org 0x801E630 :: .dw (file_7268D0)
.org 0x801E634 :: .dw (file_7268D0)
.org 0x801E65C :: .dw (file_7268D0)
.org 0x801E660 :: .dw (file_7268D0)
.org 0x801E688 :: .dw (file_7268D0)
.org 0x801E68C :: .dw (file_7268D0)
.org 0x801E6B4 :: .dw (file_7268D0)
.org 0x801E6B8 :: .dw (file_7268D0)
.org 0x801E6E0 :: .dw (file_7268D0)
.org 0x801E6E4 :: .dw (file_7268D0)
.org 0x801E70C :: .dw (file_7268D0)
.org 0x801E710 :: .dw (file_7268D0)
.org 0x801E738 :: .dw (file_7268D0)
.org 0x801E73C :: .dw (file_7268D0)
.org 0x801E764 :: .dw (file_7268D0)
.org 0x801E768 :: .dw (file_7268D0)
.org 0x801E790 :: .dw (file_7268D0)
.org 0x801E794 :: .dw (file_7268D0)
.org 0x801E7BC :: .dw (file_7268D0)
.org 0x801E7C0 :: .dw (file_7268D0)
.org 0x801E7E8 :: .dw (file_7268D0)
.org 0x801E7EC :: .dw (file_7268D0)
.org 0x801E814 :: .dw (file_7268D0)
.org 0x801E818 :: .dw (file_7268D0)
.org 0x801E840 :: .dw (file_7268D0)
.org 0x801E844 :: .dw (file_7268D0)
.org 0x801E86C :: .dw (file_7268D0)
.org 0x801E870 :: .dw (file_7268D0)
.org 0x801E898 :: .dw (file_7268D0)
.org 0x801E89C :: .dw (file_7268D0)
.org 0x801E8C4 :: .dw (file_7268D0)
.org 0x801E8C8 :: .dw (file_7268D0)
.org 0x801E8F0 :: .dw (file_7268D0)
.org 0x801E8F4 :: .dw (file_7268D0)
.org 0x801E91C :: .dw (file_7268D0)
.org 0x801E920 :: .dw (file_7268D0)
.org 0x801E948 :: .dw (file_7268D0)
.org 0x801E94C :: .dw (file_7268D0)
.org 0x801E974 :: .dw (file_7268D0)
.org 0x801E978 :: .dw (file_7268D0)
.org 0x801E9A0 :: .dw (file_7268D0)
.org 0x801E9A4 :: .dw (file_7268D0)
.org 0x801E9CC :: .dw (file_7268D0)
.org 0x801E9D0 :: .dw (file_7268D0)
.org 0x801E9F8 :: .dw (file_7268D0)
.org 0x801E9FC :: .dw (file_7268D0)
.org 0x801EA24 :: .dw (file_7268D0)
.org 0x801EA28 :: .dw (file_7268D0)
.org 0x801EA50 :: .dw (file_7268D0)
.org 0x801EA54 :: .dw (file_7268D0)
.org 0x801EA7C :: .dw (file_7268D0)
.org 0x801EA80 :: .dw (file_7268D0)
.org 0x801EAA8 :: .dw (file_7268D0)
.org 0x801EAAC :: .dw (file_7268D0)
.org 0x801EAD4 :: .dw (file_7268D0)
.org 0x801EAD8 :: .dw (file_7268D0)
.org 0x801EB00 :: .dw (file_7268D0)
.org 0x801EB04 :: .dw (file_7268D0)
.org 0x801EB2C :: .dw (file_7268D0)
.org 0x801EB30 :: .dw (file_7268D0)
.org 0x801EB58 :: .dw (file_7268D0)
.org 0x801EB5C :: .dw (file_7268D0)
.org 0x801EB84 :: .dw (file_7268D0)
.org 0x801EB88 :: .dw (file_7268D0)
.org 0x801EBB0 :: .dw (file_7268D0)
.org 0x801EBB4 :: .dw (file_7268D0)
.org 0x801EBDC :: .dw (file_7268D0)
.org 0x801EBE0 :: .dw (file_7268D0)
.org 0x801EC08 :: .dw (file_7268D0)
.org 0x801EC0C :: .dw (file_7268D0)
.org 0x801EC34 :: .dw (file_7268D0)
.org 0x801EC38 :: .dw (file_7268D0)
.org 0x801EC60 :: .dw (file_7268D0)
.org 0x801EC64 :: .dw (file_7268D0)
.org 0x801EC8C :: .dw (file_7268D0)
.org 0x801EC90 :: .dw (file_7268D0)
.org 0x801ECB8 :: .dw (file_7268D0)
.org 0x801ECBC :: .dw (file_7268D0)
.org 0x801ECE4 :: .dw (file_7268D0)
.org 0x801ECE8 :: .dw (file_7268D0)
.org 0x801ED10 :: .dw (file_7268D0)
.org 0x801ED14 :: .dw (file_7268D0)
.org 0x801ED3C :: .dw (file_7268D0)
.org 0x801ED40 :: .dw (file_7268D0)
.org 0x801ED68 :: .dw (file_7268D0)
.org 0x801ED6C :: .dw (file_7268D0)
.org 0x801ED94 :: .dw (file_7268D0)
.org 0x801ED98 :: .dw (file_7268D0)
.org 0x801EDC0 :: .dw (file_7268D0)
.org 0x801EDC4 :: .dw (file_7268D0)
.org 0x801EDEC :: .dw (file_7268D0)
.org 0x801EDF0 :: .dw (file_7268D0)
.org 0x801EE18 :: .dw (file_7268D0)
.org 0x801EE1C :: .dw (file_7268D0)
.org 0x801EE44 :: .dw (file_7268D0)
.org 0x801EE48 :: .dw (file_7268D0)
.org 0x801EE70 :: .dw (file_7268D0)
.org 0x801EE74 :: .dw (file_7268D0)
.org 0x801EE9C :: .dw (file_7268D0)
.org 0x801EEA0 :: .dw (file_7268D0)
.org 0x801EFFC :: .dw (file_7268D0)
.org 0x801F000 :: .dw (file_7268D0)
.org 0x801F028 :: .dw (file_7268D0)
.org 0x801F02C :: .dw (file_7268D0)
.org 0x801F054 :: .dw (file_7268D0)
.org 0x801F058 :: .dw (file_7268D0)
.org 0x801F080 :: .dw (file_7268D0)
.org 0x801F084 :: .dw (file_7268D0)
.org 0x801F0AC :: .dw (file_7268D0)
.org 0x801F0B0 :: .dw (file_7268D0)
.org 0x801F1E0 :: .dw (file_7268D0)
.org 0x801F1E4 :: .dw (file_7268D0)
.org 0x801F20C :: .dw (file_7268D0)
.org 0x801F210 :: .dw (file_7268D0)
.org 0x801AF5C :: .dw (file_7268F0)
.org 0x801AF88 :: .dw (file_7268F0)
.org 0x801AFB4 :: .dw (file_7268F0)
.org 0x801CF54 :: .dw (file_7268F0)
.org 0x801AFE0 :: .dw (file_726E30)
.org 0x801B00C :: .dw (file_727370)
.org 0x801B038 :: .dw (file_727370)
.org 0x801B668 :: .dw (file_727370)
.org 0x801B694 :: .dw (file_727370)
.org 0x801B090 :: .dw (file_7278B0)
.org 0x801B0BC :: .dw (file_727DF0)
.org 0x801B0E8 :: .dw (file_727DF0)
.org 0x801B114 :: .dw (file_727DF0)
.org 0x801B140 :: .dw (file_728330)
.org 0x801B16C :: .dw (file_728330)
.org 0x801B198 :: .dw (file_728330)
.org 0x801B1C4 :: .dw (file_728870)
.org 0x801B1F0 :: .dw (file_728870)
.org 0x801B21C :: .dw (file_728870)
.org 0x801CFD8 :: .dw (file_728870)
.org 0x801D500 :: .dw (file_728870)
.org 0x801B248 :: .dw (file_728DB0)
.org 0x801D030 :: .dw (file_728DB0)
.org 0x801B274 :: .dw (file_7292F0)
.org 0x801B2A0 :: .dw (file_7292F0)
.org 0x801B2CC :: .dw (file_7292F0)
.org 0x801B2F8 :: .dw (file_729830)
.org 0x801B324 :: .dw (file_729830)
.org 0x801B350 :: .dw (file_729830)
.org 0x801B37C :: .dw (file_729D70)
.org 0x801B3A8 :: .dw (file_729D70)
.org 0x801C4D8 :: .dw (file_729D70)
.org 0x801C530 :: .dw (file_729D70)
.org 0x801D3CC :: .dw (file_729D70)
.org 0x801B3D4 :: .dw (file_72A2B0)
.org 0x801B400 :: .dw (file_72A7F0)
.org 0x801B42C :: .dw (file_72AD30)
.org 0x801B458 :: .dw (file_72B270)
.org 0x801B484 :: .dw (file_72B270)
.org 0x801B4B0 :: .dw (file_72B7B0)
.org 0x801B4DC :: .dw (file_72B7B0)
.org 0x801B508 :: .dw (file_72B7B0)
.org 0x801B534 :: .dw (file_72BCF0)
.org 0x801B560 :: .dw (file_72BCF0)
.org 0x801B58C :: .dw (file_72BCF0)
.org 0x801B5B8 :: .dw (file_72C230)
.org 0x801B5E4 :: .dw (file_72C230)
.org 0x801B610 :: .dw (file_72C230)
.org 0x801B63C :: .dw (file_72C770)
.org 0x801B6C0 :: .dw (file_72CCB0)
.org 0x801B6EC :: .dw (file_72D1F0)
.org 0x801B718 :: .dw (file_72D730)
.org 0x801B744 :: .dw (file_72DC70)
.org 0x801B770 :: .dw (file_72E1B0)
.org 0x801CF80 :: .dw (file_72E1B0)
.org 0x801EEC8 :: .dw (file_72E1B0)
.org 0x801EEF4 :: .dw (file_72E1B0)
.org 0x801EF20 :: .dw (file_72E1B0)
.org 0x801EF4C :: .dw (file_72E1B0)
.org 0x801EF78 :: .dw (file_72E1B0)
.org 0x801EFA4 :: .dw (file_72E1B0)
.org 0x801EFD0 :: .dw (file_72E1B0)
.org 0x801B79C :: .dw (file_72E6F0)
.org 0x801B7C8 :: .dw (file_72EC30)
.org 0x801B7F4 :: .dw (file_72F170)
.org 0x801B820 :: .dw (file_72F6B0)
.org 0x801B84C :: .dw (file_72FBF0)
.org 0x801B878 :: .dw (file_730130)
.org 0x801B8A4 :: .dw (file_730670)
.org 0x801D47C :: .dw (file_730670)
.org 0x801B8D0 :: .dw (file_730BB0)
.org 0x801B8FC :: .dw (file_7310F0)
.org 0x801B928 :: .dw (file_7310F0)
.org 0x801B954 :: .dw (file_7310F0)
.org 0x801B980 :: .dw (file_731630)
.org 0x801B9AC :: .dw (file_731630)
.org 0x801B9D8 :: .dw (file_731630)
.org 0x801BA04 :: .dw (file_731B70)
.org 0x801BA30 :: .dw (file_731B70)
.org 0x801BA5C :: .dw (file_731B70)
.org 0x801BA88 :: .dw (file_7320B0)
.org 0x801BAB4 :: .dw (file_7320B0)
.org 0x801BAE0 :: .dw (file_7320B0)
.org 0x801BB0C :: .dw (file_7325F0)
.org 0x801BB38 :: .dw (file_7325F0)
.org 0x801BB64 :: .dw (file_7325F0)
.org 0x801BB90 :: .dw (file_732B30)
.org 0x801BBBC :: .dw (file_732B30)
.org 0x801BBE8 :: .dw (file_732B30)
.org 0x801BC14 :: .dw (file_733070)
.org 0x801BC40 :: .dw (file_733070)
.org 0x801BC6C :: .dw (file_733070)
.org 0x801BC98 :: .dw (file_7335B0)
.org 0x801BCC4 :: .dw (file_7335B0)
.org 0x801BCF0 :: .dw (file_7335B0)
.org 0x801BD1C :: .dw (file_733AF0)
.org 0x801D004 :: .dw (file_733AF0)
.org 0x801BD48 :: .dw (file_734030)
.org 0x801D450 :: .dw (file_734030)
.org 0x801BD74 :: .dw (file_734570)
.org 0x801BDA0 :: .dw (file_734570)
.org 0x801BDCC :: .dw (file_734AB0)
.org 0x801BDF8 :: .dw (file_734AB0)
.org 0x801BE24 :: .dw (file_734AB0)
.org 0x801BE50 :: .dw (file_734FF0)
.org 0x801BE7C :: .dw (file_734FF0)
.org 0x801BEA8 :: .dw (file_734FF0)
.org 0x801BED4 :: .dw (file_735530)
.org 0x801BF00 :: .dw (file_735A70)
.org 0x801BF2C :: .dw (file_735FB0)
.org 0x801BF58 :: .dw (file_7364F0)
.org 0x801BF84 :: .dw (file_736A30)
.org 0x801BFB0 :: .dw (file_736F70)
.org 0x801BFDC :: .dw (file_7374B0)
.org 0x801C008 :: .dw (file_7379F0)
.org 0x801C034 :: .dw (file_737F30)
.org 0x801F0D8 :: .dw (file_737F30)
.org 0x801F104 :: .dw (file_737F30)
.org 0x801F130 :: .dw (file_737F30)
.org 0x801F15C :: .dw (file_737F30)
.org 0x801F188 :: .dw (file_737F30)
.org 0x801F1B4 :: .dw (file_737F30)
.org 0x801B064 :: .dw (file_738470)
.org 0x801C060 :: .dw (file_738470)
.org 0x801C08C :: .dw (file_738470)
.org 0x801C0B8 :: .dw (file_738470)
.org 0x801C0E4 :: .dw (file_7389B0)
.org 0x801C110 :: .dw (file_738EF0)
.org 0x801C13C :: .dw (file_738EF0)
.org 0x801C168 :: .dw (file_738EF0)
.org 0x801D424 :: .dw (file_738EF0)
.org 0x801C194 :: .dw (file_739430)
.org 0x801C1C0 :: .dw (file_739430)
.org 0x801C1EC :: .dw (file_739970)
.org 0x801C218 :: .dw (file_739970)
.org 0x801C244 :: .dw (file_739EB0)
.org 0x801C270 :: .dw (file_739EB0)
.org 0x801C29C :: .dw (file_73A3F0)
.org 0x801C2C8 :: .dw (file_73A3F0)
.org 0x801C2F4 :: .dw (file_73A930)
.org 0x801C320 :: .dw (file_73AE70)
.org 0x801C34C :: .dw (file_73B3B0)
.org 0x801C378 :: .dw (file_73B8F0)
.org 0x801C3A4 :: .dw (file_73B8F0)
.org 0x801C3D0 :: .dw (file_73BE30)
.org 0x801C3FC :: .dw (file_73BE30)
.org 0x801C428 :: .dw (file_73C370)
.org 0x801D05C :: .dw (file_73C370)
.org 0x801C454 :: .dw (file_73C8B0)
.org 0x801C480 :: .dw (file_73CDF0)
.org 0x801C4AC :: .dw (file_73D330)
.org 0x801C504 :: .dw (file_73D870)
.org 0x801D2C4 :: .dw (file_73D870)
.org 0x801C55C :: .dw (file_73DDB0)
.org 0x801C588 :: .dw (file_73E2F0)
.org 0x801C5B4 :: .dw (file_73E2F0)
.org 0x801C5E0 :: .dw (file_73E2F0)
.org 0x801C60C :: .dw (file_73E830)
.org 0x801C638 :: .dw (file_73ED70)
.org 0x801C664 :: .dw (file_73F2B0)
.org 0x801C690 :: .dw (file_73F2B0)
.org 0x801C6BC :: .dw (file_73F2B0)
.org 0x801C6E8 :: .dw (file_73F7F0)
.org 0x801C714 :: .dw (file_73FD30)
.org 0x801D2F0 :: .dw (file_73FD30)
.org 0x801C740 :: .dw (file_740270)
.org 0x801C76C :: .dw (file_7407B0)
.org 0x801C798 :: .dw (file_740CF0)
.org 0x801C7C4 :: .dw (file_741230)
.org 0x801C7F0 :: .dw (file_741770)
.org 0x801C81C :: .dw (file_741CB0)
.org 0x801C848 :: .dw (file_7421F0)
.org 0x801C874 :: .dw (file_742730)
.org 0x801C8A0 :: .dw (file_742C70)
.org 0x801C8CC :: .dw (file_7431B0)
.org 0x801C8F8 :: .dw (file_7436F0)
.org 0x801C924 :: .dw (file_743C30)
.org 0x801C950 :: .dw (file_743C30)
.org 0x801C97C :: .dw (file_743C30)
.org 0x801C9A8 :: .dw (file_744170)
.org 0x801C9D4 :: .dw (file_744170)
.org 0x801CA00 :: .dw (file_744170)
.org 0x801CA2C :: .dw (file_7446B0)
.org 0x801CA58 :: .dw (file_7446B0)
.org 0x801CA84 :: .dw (file_7446B0)
.org 0x801CAB0 :: .dw (file_744BF0)
.org 0x801CADC :: .dw (file_744BF0)
.org 0x801CB08 :: .dw (file_744BF0)
.org 0x801CB34 :: .dw (file_745130)
.org 0x801CB60 :: .dw (file_745130)
.org 0x801CB8C :: .dw (file_745130)
.org 0x801CBB8 :: .dw (file_745670)
.org 0x801CBE4 :: .dw (file_745670)
.org 0x801CC10 :: .dw (file_745670)
.org 0x801CC3C :: .dw (file_745BB0)
.org 0x801CC68 :: .dw (file_745BB0)
.org 0x801CC94 :: .dw (file_745BB0)
.org 0x801CCC0 :: .dw (file_7460F0)
.org 0x801CCEC :: .dw (file_7460F0)
.org 0x801CD18 :: .dw (file_7460F0)
.org 0x801CD44 :: .dw (file_746630)
.org 0x801CD70 :: .dw (file_746630)
.org 0x801CD9C :: .dw (file_746630)
.org 0x801CDC8 :: .dw (file_746B70)
.org 0x801CDF4 :: .dw (file_746B70)
.org 0x801CE20 :: .dw (file_746B70)
.org 0x801CE4C :: .dw (file_7470B0)
.org 0x801CE78 :: .dw (file_7470B0)
.org 0x801CEA4 :: .dw (file_7470B0)
.org 0x801CED0 :: .dw (file_7475F0)
.org 0x801CEFC :: .dw (file_7475F0)
.org 0x801CF28 :: .dw (file_7475F0)
.org 0x801CFAC :: .dw (file_747B30)
.org 0x801D088 :: .dw (file_748070)
.org 0x801D1BC :: .dw (file_7485B0)
.org 0x801D1E8 :: .dw (file_748AF0)
.org 0x801D214 :: .dw (file_749030)
.org 0x801D240 :: .dw (file_749570)
.org 0x801D26C :: .dw (file_749AB0)
.org 0x801D298 :: .dw (file_749FF0)
.org 0x801D31C :: .dw (file_74A530)
.org 0x801D348 :: .dw (file_74AA70)
.org 0x801D3A0 :: .dw (file_74AFB0)
.org 0x801D374 :: .dw (file_74B4F0)
.org 0x801D3F8 :: .dw (file_74BA30)
.org 0x801D4A8 :: .dw (file_74BF70)
.org 0x801D4D4 :: .dw (file_74C4B0)
.org 0x801D52C :: .dw (file_74C9F0)
.org 0x801D558 :: .dw (file_74C9F0)
.org 0x801D584 :: .dw (file_74C9F0)
.org 0x801D5B0 :: .dw (file_74CF30)
.org 0x801D5DC :: .dw (file_74CF30)
.org 0x801D608 :: .dw (file_74CF30)
.org 0x801D634 :: .dw (file_74D470)
.org 0x801D660 :: .dw (file_74D470)
.org 0x801D68C :: .dw (file_74D470)
.org 0x801D6B8 :: .dw (file_74D9B0)
.org 0x801D6E4 :: .dw (file_74D9B0)
.org 0x801D710 :: .dw (file_74D9B0)
.org 0x801D73C :: .dw (file_74DEF0)
.org 0x801D768 :: .dw (file_74DEF0)
.org 0x801D794 :: .dw (file_74DEF0)
.org 0x801D7C0 :: .dw (file_74E430)
.org 0x801D7EC :: .dw (file_74E430)
.org 0x801D818 :: .dw (file_74E430)
.org 0x801D844 :: .dw (file_74E970)
.org 0x801D870 :: .dw (file_74E970)
.org 0x801D89C :: .dw (file_74E970)
.org 0x801D8C8 :: .dw (file_74EEB0)
.org 0x801D8F4 :: .dw (file_74EEB0)
.org 0x801D920 :: .dw (file_74EEB0)
.org 0x801D94C :: .dw (file_74F3F0)
.org 0x801D978 :: .dw (file_74F3F0)
.org 0x801D9A4 :: .dw (file_74F3F0)
.org 0x801D9D0 :: .dw (file_74F930)
.org 0x801D9FC :: .dw (file_74F930)
.org 0x801DA28 :: .dw (file_74F930)
.org 0x801DA54 :: .dw (file_74FE70)
.org 0x801DA80 :: .dw (file_74FE70)
.org 0x801DAAC :: .dw (file_74FE70)
.org 0x801DAD8 :: .dw (file_7503B0)
.org 0x801DB04 :: .dw (file_7503B0)
.org 0x801DB30 :: .dw (file_7503B0)
.org 0x801DB5C :: .dw (file_7508F0)
.org 0x801DB88 :: .dw (file_7508F0)
.org 0x801DBB4 :: .dw (file_7508F0)
.org 0x801DBE0 :: .dw (file_750E30)
.org 0x801DC0C :: .dw (file_750E30)
.org 0x801DC38 :: .dw (file_750E30)
.org 0x801DC64 :: .dw (file_751370)
.org 0x801DC90 :: .dw (file_751370)
.org 0x801DCBC :: .dw (file_751370)
.org 0x801DCE8 :: .dw (file_7518B0)
.org 0x801DD14 :: .dw (file_7518B0)
.org 0x801DD40 :: .dw (file_7518B0)
.org 0x801DD6C :: .dw (file_751DF0)
.org 0x801DD98 :: .dw (file_751DF0)
.org 0x801DDC4 :: .dw (file_751DF0)
.org 0x801DDF0 :: .dw (file_752330)
.org 0x801DE1C :: .dw (file_752330)
.org 0x801DE48 :: .dw (file_752330)
.org 0x801DE74 :: .dw (file_752870)
.org 0x801DEA0 :: .dw (file_752870)
.org 0x801DECC :: .dw (file_752870)
.org 0x801DEF8 :: .dw (file_752DB0)
.org 0x801DF24 :: .dw (file_752DB0)
.org 0x801DF50 :: .dw (file_752DB0)
.org 0x801DF7C :: .dw (file_7532F0)
.org 0x801DFA8 :: .dw (file_753830)
.org 0x801DFD4 :: .dw (file_753D70)
.org 0x801E000 :: .dw (file_7542B0)
.org 0x801E02C :: .dw (file_7547F0)
.org 0x801E058 :: .dw (file_754D30)
.org 0x801E084 :: .dw (file_755270)
.org 0x801E0B0 :: .dw (file_7557B0)
.org 0x801E0DC :: .dw (file_755CF0)
.org 0x801E108 :: .dw (file_756230)
.org 0x801E2EC :: .dw (file_756770)
.org 0x801E3C8 :: .dw (file_756770)
.org 0x801E318 :: .dw (file_756CB0)
.org 0x801E344 :: .dw (file_7571F0)
.org 0x801E370 :: .dw (file_757730)
.org 0x801E39C :: .dw (file_757C70)
.org 0x801E3F4 :: .dw (file_7581B0)
.org 0x801E420 :: .dw (file_7586F0)
.org 0x801E44C :: .dw (file_758C30)
.org 0x801E478 :: .dw (file_759170)
.org 0x801AF60 :: .dw (file_75ABB0)
.org 0x801AF8C :: .dw (file_75ABD0)
.org 0x801AFB8 :: .dw (file_75ABF0)
.org 0x801AFE4 :: .dw (file_75AC10)
.org 0x801B010 :: .dw (file_75AC30)
.org 0x801B03C :: .dw (file_75AC50)
.org 0x801B068 :: .dw (file_75AC70)
.org 0x801B094 :: .dw (file_75AC90)
.org 0x801B0C0 :: .dw (file_75ACB0)
.org 0x801B0EC :: .dw (file_75ACD0)
.org 0x801B118 :: .dw (file_75ACF0)
.org 0x801B144 :: .dw (file_75AD10)
.org 0x801B170 :: .dw (file_75AD30)
.org 0x801B19C :: .dw (file_75AD50)
.org 0x801B1C8 :: .dw (file_75AD70)
.org 0x801B1F4 :: .dw (file_75AD90)
.org 0x801B220 :: .dw (file_75ADB0)
.org 0x801B24C :: .dw (file_75ADD0)
.org 0x801B278 :: .dw (file_75ADF0)
.org 0x801B2A4 :: .dw (file_75AE10)
.org 0x801B2D0 :: .dw (file_75AE30)
.org 0x801B2FC :: .dw (file_75AE50)
.org 0x801B328 :: .dw (file_75AE70)
.org 0x801B354 :: .dw (file_75AE90)
.org 0x801B380 :: .dw (file_75AEB0)
.org 0x801B3AC :: .dw (file_75AED0)
.org 0x801B3D8 :: .dw (file_75AEF0)
.org 0x801B404 :: .dw (file_75AF10)
.org 0x801B430 :: .dw (file_75AF30)
.org 0x801B45C :: .dw (file_75AF50)
.org 0x801B488 :: .dw (file_75AF70)
.org 0x801B4B4 :: .dw (file_75AF90)
.org 0x801B4E0 :: .dw (file_75AFB0)
.org 0x801B50C :: .dw (file_75AFD0)
.org 0x801B538 :: .dw (file_75AFF0)
.org 0x801B564 :: .dw (file_75B010)
.org 0x801B590 :: .dw (file_75B030)
.org 0x801B5BC :: .dw (file_75B050)
.org 0x801B5E8 :: .dw (file_75B070)
.org 0x801B614 :: .dw (file_75B090)
.org 0x801B640 :: .dw (file_75B0B0)
.org 0x801B66C :: .dw (file_75B0D0)
.org 0x801B698 :: .dw (file_75B0F0)
.org 0x801B6C4 :: .dw (file_75B110)
.org 0x801B6F0 :: .dw (file_75B130)
.org 0x801B71C :: .dw (file_75B150)
.org 0x801B748 :: .dw (file_75B170)
.org 0x801B774 :: .dw (file_75B190)
.org 0x801EECC :: .dw (file_75B190)
.org 0x801EEF8 :: .dw (file_75B190)
.org 0x801EF24 :: .dw (file_75B190)
.org 0x801EF50 :: .dw (file_75B190)
.org 0x801EF7C :: .dw (file_75B190)
.org 0x801EFA8 :: .dw (file_75B190)
.org 0x801EFD4 :: .dw (file_75B190)
.org 0x801B7A0 :: .dw (file_75B1B0)
.org 0x801B7CC :: .dw (file_75B1D0)
.org 0x801B7F8 :: .dw (file_75B1F0)
.org 0x801B824 :: .dw (file_75B210)
.org 0x801B850 :: .dw (file_75B230)
.org 0x801B87C :: .dw (file_75B250)
.org 0x801B8A8 :: .dw (file_75B270)
.org 0x801B8D4 :: .dw (file_75B290)
.org 0x801B900 :: .dw (file_75B2B0)
.org 0x801B92C :: .dw (file_75B2D0)
.org 0x801B958 :: .dw (file_75B2F0)
.org 0x801B984 :: .dw (file_75B310)
.org 0x801B9B0 :: .dw (file_75B330)
.org 0x801B9DC :: .dw (file_75B350)
.org 0x801BA08 :: .dw (file_75B370)
.org 0x801BA34 :: .dw (file_75B390)
.org 0x801BA60 :: .dw (file_75B3B0)
.org 0x801BA8C :: .dw (file_75B3D0)
.org 0x801BAB8 :: .dw (file_75B3F0)
.org 0x801BAE4 :: .dw (file_75B410)
.org 0x801BB10 :: .dw (file_75B430)
.org 0x801BB3C :: .dw (file_75B450)
.org 0x801BB68 :: .dw (file_75B470)
.org 0x801BB94 :: .dw (file_75B490)
.org 0x801BBC0 :: .dw (file_75B4B0)
.org 0x801BBEC :: .dw (file_75B4D0)
.org 0x801BC18 :: .dw (file_75B4F0)
.org 0x801BC44 :: .dw (file_75B510)
.org 0x801BC70 :: .dw (file_75B530)
.org 0x801BC9C :: .dw (file_75B550)
.org 0x801BCC8 :: .dw (file_75B570)
.org 0x801BCF4 :: .dw (file_75B590)
.org 0x801BD20 :: .dw (file_75B5B0)
.org 0x801BD4C :: .dw (file_75B5D0)
.org 0x801BD78 :: .dw (file_75B5F0)
.org 0x801BDA4 :: .dw (file_75B610)
.org 0x801BDD0 :: .dw (file_75B630)
.org 0x801BDFC :: .dw (file_75B650)
.org 0x801BE28 :: .dw (file_75B670)
.org 0x801BE54 :: .dw (file_75B690)
.org 0x801BE80 :: .dw (file_75B6B0)
.org 0x801BEAC :: .dw (file_75B6D0)
.org 0x801BED8 :: .dw (file_75B6F0)
.org 0x801BF04 :: .dw (file_75B710)
.org 0x801BF30 :: .dw (file_75B730)
.org 0x801BF5C :: .dw (file_75B750)
.org 0x801BF88 :: .dw (file_75B770)
.org 0x801BFB4 :: .dw (file_75B790)
.org 0x801BFE0 :: .dw (file_75B7B0)
.org 0x801C00C :: .dw (file_75B7D0)
.org 0x801C038 :: .dw (file_75B7F0)
.org 0x801F0DC :: .dw (file_75B7F0)
.org 0x801F108 :: .dw (file_75B7F0)
.org 0x801F134 :: .dw (file_75B7F0)
.org 0x801F160 :: .dw (file_75B7F0)
.org 0x801F18C :: .dw (file_75B7F0)
.org 0x801F1B8 :: .dw (file_75B7F0)
.org 0x801C064 :: .dw (file_75B810)
.org 0x801C090 :: .dw (file_75B830)
.org 0x801C0BC :: .dw (file_75B850)
.org 0x801C0E8 :: .dw (file_75B870)
.org 0x801C114 :: .dw (file_75B890)
.org 0x801C140 :: .dw (file_75B8B0)
.org 0x801C16C :: .dw (file_75B8D0)
.org 0x801C198 :: .dw (file_75B8F0)
.org 0x801C1C4 :: .dw (file_75B910)
.org 0x801C1F0 :: .dw (file_75B930)
.org 0x801C21C :: .dw (file_75B950)
.org 0x801C248 :: .dw (file_75B970)
.org 0x801C274 :: .dw (file_75B990)
.org 0x801C2A0 :: .dw (file_75B9B0)
.org 0x801C2CC :: .dw (file_75B9D0)
.org 0x801C2F8 :: .dw (file_75B9F0)
.org 0x801C324 :: .dw (file_75BA10)
.org 0x801C350 :: .dw (file_75BA30)
.org 0x801C37C :: .dw (file_75BA50)
.org 0x801C3A8 :: .dw (file_75BA70)
.org 0x801C3D4 :: .dw (file_75BA90)
.org 0x801C400 :: .dw (file_75BAB0)
.org 0x801C42C :: .dw (file_75BAD0)
.org 0x801C458 :: .dw (file_75BAF0)
.org 0x801C484 :: .dw (file_75BB10)
.org 0x801C4B0 :: .dw (file_75BB30)
.org 0x801C4DC :: .dw (file_75BB50)
.org 0x801C508 :: .dw (file_75BB70)
.org 0x801C534 :: .dw (file_75BB90)
.org 0x801C560 :: .dw (file_75BBB0)
.org 0x801C58C :: .dw (file_75BBD0)
.org 0x801C5B8 :: .dw (file_75BBF0)
.org 0x801C5E4 :: .dw (file_75BC10)
.org 0x801C610 :: .dw (file_75BC30)
.org 0x801C63C :: .dw (file_75BC50)
.org 0x801C668 :: .dw (file_75BC70)
.org 0x801C694 :: .dw (file_75BC90)
.org 0x801C6C0 :: .dw (file_75BCB0)
.org 0x801C6EC :: .dw (file_75BCD0)
.org 0x801C718 :: .dw (file_75BCF0)
.org 0x801C744 :: .dw (file_75BD10)
.org 0x801C770 :: .dw (file_75BD30)
.org 0x801C79C :: .dw (file_75BD50)
.org 0x801C7C8 :: .dw (file_75BD70)
.org 0x801C7F4 :: .dw (file_75BD90)
.org 0x801C820 :: .dw (file_75BDB0)
.org 0x801C84C :: .dw (file_75BDD0)
.org 0x801C878 :: .dw (file_75BDF0)
.org 0x801C8A4 :: .dw (file_75BE10)
.org 0x801C8D0 :: .dw (file_75BE30)
.org 0x801C8FC :: .dw (file_75BE50)
.org 0x801C928 :: .dw (file_75BE70)
.org 0x801C954 :: .dw (file_75BE90)
.org 0x801C980 :: .dw (file_75BEB0)
.org 0x801C9AC :: .dw (file_75BED0)
.org 0x801C9D8 :: .dw (file_75BEF0)
.org 0x801CA04 :: .dw (file_75BF10)
.org 0x801CA30 :: .dw (file_75BF30)
.org 0x801CA5C :: .dw (file_75BF50)
.org 0x801CA88 :: .dw (file_75BF70)
.org 0x801CAB4 :: .dw (file_75BF90)
.org 0x801CAE0 :: .dw (file_75BFB0)
.org 0x801CB0C :: .dw (file_75BFD0)
.org 0x801CB38 :: .dw (file_75BFF0)
.org 0x801CB64 :: .dw (file_75C010)
.org 0x801CB90 :: .dw (file_75C030)
.org 0x801CBBC :: .dw (file_75C050)
.org 0x801CBE8 :: .dw (file_75C070)
.org 0x801CC14 :: .dw (file_75C090)
.org 0x801CC40 :: .dw (file_75C0B0)
.org 0x801CC6C :: .dw (file_75C0D0)
.org 0x801CC98 :: .dw (file_75C0F0)
.org 0x801CCC4 :: .dw (file_75C110)
.org 0x801CCF0 :: .dw (file_75C130)
.org 0x801CD1C :: .dw (file_75C150)
.org 0x801CD48 :: .dw (file_75C170)
.org 0x801CD74 :: .dw (file_75C190)
.org 0x801CDA0 :: .dw (file_75C1B0)
.org 0x801CDCC :: .dw (file_75C1D0)
.org 0x801CDF8 :: .dw (file_75C1F0)
.org 0x801CE24 :: .dw (file_75C210)
.org 0x801CE50 :: .dw (file_75C230)
.org 0x801CE7C :: .dw (file_75C250)
.org 0x801CEA8 :: .dw (file_75C270)
.org 0x801CED4 :: .dw (file_75C290)
.org 0x801CF00 :: .dw (file_75C2B0)
.org 0x801CF2C :: .dw (file_75C2D0)
.org 0x801CF58 :: .dw (file_75C2F0)
.org 0x801CF84 :: .dw (file_75C310)
.org 0x801CFB0 :: .dw (file_75C330)
.org 0x801CFDC :: .dw (file_75C350)
.org 0x801D008 :: .dw (file_75C370)
.org 0x801D034 :: .dw (file_75C390)
.org 0x801D060 :: .dw (file_75C3B0)
.org 0x801D08C :: .dw (file_75C3D0)
.org 0x801D1C0 :: .dw (file_75C3F0)
.org 0x801D1EC :: .dw (file_75C410)
.org 0x801D218 :: .dw (file_75C430)
.org 0x801D244 :: .dw (file_75C450)
.org 0x801D270 :: .dw (file_75C470)
.org 0x801D29C :: .dw (file_75C490)
.org 0x801D2C8 :: .dw (file_75C4B0)
.org 0x801D2F4 :: .dw (file_75C4D0)
.org 0x801D320 :: .dw (file_75C4F0)
.org 0x801D34C :: .dw (file_75C510)
.org 0x801D378 :: .dw (file_75C530)
.org 0x801D3A4 :: .dw (file_75C550)
.org 0x801D3D0 :: .dw (file_75C570)
.org 0x801D3FC :: .dw (file_75C590)
.org 0x801D428 :: .dw (file_75C5B0)
.org 0x801D454 :: .dw (file_75C5D0)
.org 0x801D480 :: .dw (file_75C5F0)
.org 0x801D4AC :: .dw (file_75C610)
.org 0x801D4D8 :: .dw (file_75C630)
.org 0x801D504 :: .dw (file_75C650)
.org 0x801D530 :: .dw (file_75C670)
.org 0x801D55C :: .dw (file_75C690)
.org 0x801D588 :: .dw (file_75C6B0)
.org 0x801D5B4 :: .dw (file_75C6D0)
.org 0x801D5E0 :: .dw (file_75C6F0)
.org 0x801D60C :: .dw (file_75C710)
.org 0x801D638 :: .dw (file_75C730)
.org 0x801D664 :: .dw (file_75C750)
.org 0x801D690 :: .dw (file_75C770)
.org 0x801D6BC :: .dw (file_75C790)
.org 0x801D6E8 :: .dw (file_75C7B0)
.org 0x801D714 :: .dw (file_75C7D0)
.org 0x801D740 :: .dw (file_75C7F0)
.org 0x801D76C :: .dw (file_75C810)
.org 0x801D798 :: .dw (file_75C830)
.org 0x801D7C4 :: .dw (file_75C850)
.org 0x801D7F0 :: .dw (file_75C870)
.org 0x801D81C :: .dw (file_75C890)
.org 0x801D848 :: .dw (file_75C8B0)
.org 0x801D874 :: .dw (file_75C8D0)
.org 0x801D8A0 :: .dw (file_75C8F0)
.org 0x801D8CC :: .dw (file_75C910)
.org 0x801D8F8 :: .dw (file_75C930)
.org 0x801D924 :: .dw (file_75C950)
.org 0x801D950 :: .dw (file_75C970)
.org 0x801D97C :: .dw (file_75C990)
.org 0x801D9A8 :: .dw (file_75C9B0)
.org 0x801D9D4 :: .dw (file_75C9D0)
.org 0x801DA00 :: .dw (file_75C9F0)
.org 0x801DA2C :: .dw (file_75CA10)
.org 0x801DA58 :: .dw (file_75CA30)
.org 0x801DA84 :: .dw (file_75CA50)
.org 0x801DAB0 :: .dw (file_75CA70)
.org 0x801DADC :: .dw (file_75CA90)
.org 0x801DB08 :: .dw (file_75CAB0)
.org 0x801DB34 :: .dw (file_75CAD0)
.org 0x801DB60 :: .dw (file_75CAF0)
.org 0x801DB8C :: .dw (file_75CB10)
.org 0x801DBB8 :: .dw (file_75CB30)
.org 0x801DBE4 :: .dw (file_75CB50)
.org 0x801DC10 :: .dw (file_75CB70)
.org 0x801DC3C :: .dw (file_75CB90)
.org 0x801DC68 :: .dw (file_75CBB0)
.org 0x801DC94 :: .dw (file_75CBD0)
.org 0x801DCC0 :: .dw (file_75CBF0)
.org 0x801DCEC :: .dw (file_75CC10)
.org 0x801DD18 :: .dw (file_75CC30)
.org 0x801DD44 :: .dw (file_75CC50)
.org 0x801DD70 :: .dw (file_75CC70)
.org 0x801DD9C :: .dw (file_75CC90)
.org 0x801DDC8 :: .dw (file_75CCB0)
.org 0x801DDF4 :: .dw (file_75CCD0)
.org 0x801DE20 :: .dw (file_75CCF0)
.org 0x801DE4C :: .dw (file_75CD10)
.org 0x801DE78 :: .dw (file_75CD30)
.org 0x801DEA4 :: .dw (file_75CD50)
.org 0x801DED0 :: .dw (file_75CD70)
.org 0x801DEFC :: .dw (file_75CD90)
.org 0x801DF28 :: .dw (file_75CDB0)
.org 0x801DF54 :: .dw (file_75CDD0)
.org 0x801DF80 :: .dw (file_75CDF0)
.org 0x801DFAC :: .dw (file_75CE10)
.org 0x801DFD8 :: .dw (file_75CE30)
.org 0x801E004 :: .dw (file_75CE50)
.org 0x801E030 :: .dw (file_75CE70)
.org 0x801E05C :: .dw (file_75CE90)
.org 0x801E088 :: .dw (file_75CEB0)
.org 0x801E0B4 :: .dw (file_75CED0)
.org 0x801E0E0 :: .dw (file_75CEF0)
.org 0x801E10C :: .dw (file_75CF10)
.org 0x801E2F0 :: .dw (file_75CF30)
.org 0x801E31C :: .dw (file_75CF50)
.org 0x801E348 :: .dw (file_75CF70)
.org 0x801E374 :: .dw (file_75CF90)
.org 0x801E3A0 :: .dw (file_75CFB0)
.org 0x801E3CC :: .dw (file_75CFD0)
.org 0x801E3F8 :: .dw (file_75CFF0)
.org 0x801E424 :: .dw (file_75D010)
.org 0x801E450 :: .dw (file_75D030)
.org 0x801E47C :: .dw (file_75D050)
.org 0x801AF2C :: .dw (file_75D0B0)
.org 0x801D0B0 :: .dw (file_75D0B0)
.org 0x801D0DC :: .dw (file_75D0B0)
.org 0x801D108 :: .dw (file_75D0B0)
.org 0x801D134 :: .dw (file_75D0B0)
.org 0x801D160 :: .dw (file_75D0B0)
.org 0x801D18C :: .dw (file_75D0B0)
.org 0x801E130 :: .dw (file_75D0B0)
.org 0x801E15C :: .dw (file_75D0B0)
.org 0x801E188 :: .dw (file_75D0B0)
.org 0x801E1B4 :: .dw (file_75D0B0)
.org 0x801E1E0 :: .dw (file_75D0B0)
.org 0x801E20C :: .dw (file_75D0B0)
.org 0x801E238 :: .dw (file_75D0B0)
.org 0x801E264 :: .dw (file_75D0B0)
.org 0x801E290 :: .dw (file_75D0B0)
.org 0x801E2BC :: .dw (file_75D0B0)
.org 0x801E4A0 :: .dw (file_75D0B0)
.org 0x801E4CC :: .dw (file_75D0B0)
.org 0x801E4F8 :: .dw (file_75D0B0)
.org 0x801E524 :: .dw (file_75D0B0)
.org 0x801E550 :: .dw (file_75D0B0)
.org 0x801E57C :: .dw (file_75D0B0)
.org 0x801E5A8 :: .dw (file_75D0B0)
.org 0x801E5D4 :: .dw (file_75D0B0)
.org 0x801E600 :: .dw (file_75D0B0)
.org 0x801EB54 :: .dw (file_75D0B0)
.org 0x801EB80 :: .dw (file_75D0B0)
.org 0x801EDE8 :: .dw (file_75D0B0)
.org 0x801EE14 :: .dw (file_75D0B0)
.org 0x801EE6C :: .dw (file_75D0B0)
.org 0x801EE98 :: .dw (file_75D0B0)
.org 0x801EFF8 :: .dw (file_75D0B0)
.org 0x801F024 :: .dw (file_75D0B0)
.org 0x801F050 :: .dw (file_75D0B0)
.org 0x801F07C :: .dw (file_75D0B0)
.org 0x801F0A8 :: .dw (file_75D0B0)
.org 0x801F1DC :: .dw (file_75D0B0)
.org 0x801AF58 :: .dw (file_75D130)
.org 0x801AF84 :: .dw (file_75D1B0)
.org 0x801AFB0 :: .dw (file_75D230)
.org 0x801AFDC :: .dw (file_75D2B0)
.org 0x801B008 :: .dw (file_75D330)
.org 0x801B034 :: .dw (file_75D3B0)
.org 0x801B060 :: .dw (file_75D430)
.org 0x801B08C :: .dw (file_75D4B0)
.org 0x801B0B8 :: .dw (file_75D530)
.org 0x801B0E4 :: .dw (file_75D5B0)
.org 0x801B110 :: .dw (file_75D630)
.org 0x801B13C :: .dw (file_75D6B0)
.org 0x801B168 :: .dw (file_75D730)
.org 0x801B194 :: .dw (file_75D7B0)
.org 0x801B1C0 :: .dw (file_75D830)
.org 0x801B1EC :: .dw (file_75D8B0)
.org 0x801B218 :: .dw (file_75D930)
.org 0x801B244 :: .dw (file_75D9B0)
.org 0x801B270 :: .dw (file_75DA30)
.org 0x801B29C :: .dw (file_75DAB0)
.org 0x801B2C8 :: .dw (file_75DB30)
.org 0x801B2F4 :: .dw (file_75DBB0)
.org 0x801B320 :: .dw (file_75DC30)
.org 0x801B34C :: .dw (file_75DCB0)
.org 0x801B378 :: .dw (file_75DD30)
.org 0x801B3A4 :: .dw (file_75DDB0)
.org 0x801B3D0 :: .dw (file_75DE30)
.org 0x801B3FC :: .dw (file_75DEB0)
.org 0x801B428 :: .dw (file_75DF30)
.org 0x801B454 :: .dw (file_75DFB0)
.org 0x801B480 :: .dw (file_75E030)
.org 0x801B4AC :: .dw (file_75E0B0)
.org 0x801B4D8 :: .dw (file_75E130)
.org 0x801B504 :: .dw (file_75E1B0)
.org 0x801B530 :: .dw (file_75E230)
.org 0x801B55C :: .dw (file_75E2B0)
.org 0x801B588 :: .dw (file_75E330)
.org 0x801B5B4 :: .dw (file_75E3B0)
.org 0x801B5E0 :: .dw (file_75E430)
.org 0x801B60C :: .dw (file_75E4B0)
.org 0x801B638 :: .dw (file_75E530)
.org 0x801B664 :: .dw (file_75E5B0)
.org 0x801B690 :: .dw (file_75E630)
.org 0x801B6BC :: .dw (file_75E6B0)
.org 0x801B6E8 :: .dw (file_75E730)
.org 0x801B714 :: .dw (file_75E7B0)
.org 0x801B740 :: .dw (file_75E830)
.org 0x801B76C :: .dw (file_75E8B0)
.org 0x801EEC4 :: .dw (file_75E8B0)
.org 0x801EEF0 :: .dw (file_75E8B0)
.org 0x801EF1C :: .dw (file_75E8B0)
.org 0x801EF48 :: .dw (file_75E8B0)
.org 0x801EF74 :: .dw (file_75E8B0)
.org 0x801EFA0 :: .dw (file_75E8B0)
.org 0x801EFCC :: .dw (file_75E8B0)
.org 0x801B798 :: .dw (file_75E930)
.org 0x801B7C4 :: .dw (file_75E9B0)
.org 0x801B7F0 :: .dw (file_75EA30)
.org 0x801B81C :: .dw (file_75EAB0)
.org 0x801B848 :: .dw (file_75EB30)
.org 0x801B874 :: .dw (file_75EBB0)
.org 0x801B8A0 :: .dw (file_75EC30)
.org 0x801B8CC :: .dw (file_75ECB0)
.org 0x801B8F8 :: .dw (file_75ED30)
.org 0x801B924 :: .dw (file_75EDB0)
.org 0x801B950 :: .dw (file_75EE30)
.org 0x801B97C :: .dw (file_75EEB0)
.org 0x801B9A8 :: .dw (file_75EF30)
.org 0x801B9D4 :: .dw (file_75EFB0)
.org 0x801BA00 :: .dw (file_75F030)
.org 0x801BA2C :: .dw (file_75F0B0)
.org 0x801BA58 :: .dw (file_75F130)
.org 0x801BA84 :: .dw (file_75F1B0)
.org 0x801BAB0 :: .dw (file_75F230)
.org 0x801BADC :: .dw (file_75F2B0)
.org 0x801BB08 :: .dw (file_75F330)
.org 0x801BB34 :: .dw (file_75F3B0)
.org 0x801BB60 :: .dw (file_75F430)
.org 0x801BB8C :: .dw (file_75F4B0)
.org 0x801BBB8 :: .dw (file_75F530)
.org 0x801BBE4 :: .dw (file_75F5B0)
.org 0x801BC10 :: .dw (file_75F630)
.org 0x801BC3C :: .dw (file_75F6B0)
.org 0x801BC68 :: .dw (file_75F730)
.org 0x801BC94 :: .dw (file_75F7B0)
.org 0x801BCC0 :: .dw (file_75F830)
.org 0x801BCEC :: .dw (file_75F8B0)
.org 0x801BD18 :: .dw (file_75F930)
.org 0x801BD44 :: .dw (file_75F9B0)
.org 0x801BD70 :: .dw (file_75FA30)
.org 0x801BD9C :: .dw (file_75FAB0)
.org 0x801BDC8 :: .dw (file_75FB30)
.org 0x801BDF4 :: .dw (file_75FBB0)
.org 0x801BE20 :: .dw (file_75FC30)
.org 0x801BE4C :: .dw (file_75FCB0)
.org 0x801BE78 :: .dw (file_75FD30)
.org 0x801BEA4 :: .dw (file_75FDB0)
.org 0x801BED0 :: .dw (file_75FE30)
.org 0x801BEFC :: .dw (file_75FEB0)
.org 0x801BF28 :: .dw (file_75FF30)
.org 0x801BF54 :: .dw (file_75FFB0)
.org 0x801BF80 :: .dw (file_760030)
.org 0x801BFAC :: .dw (file_7600B0)
.org 0x801BFD8 :: .dw (file_760130)
.org 0x801C004 :: .dw (file_7601B0)
.org 0x801C030 :: .dw (file_760230)
.org 0x801F0D4 :: .dw (file_760230)
.org 0x801F100 :: .dw (file_760230)
.org 0x801F12C :: .dw (file_760230)
.org 0x801F158 :: .dw (file_760230)
.org 0x801F184 :: .dw (file_760230)
.org 0x801F1B0 :: .dw (file_760230)
.org 0x801F208 :: .dw (file_760230)
.org 0x801C05C :: .dw (file_7602B0)
.org 0x801C088 :: .dw (file_760330)
.org 0x801C0B4 :: .dw (file_7603B0)
.org 0x801C0E0 :: .dw (file_760430)
.org 0x801C10C :: .dw (file_7604B0)
.org 0x801C138 :: .dw (file_760530)
.org 0x801C164 :: .dw (file_7605B0)
.org 0x801C190 :: .dw (file_760630)
.org 0x801C1BC :: .dw (file_7606B0)
.org 0x801C1E8 :: .dw (file_760730)
.org 0x801C214 :: .dw (file_7607B0)
.org 0x801C240 :: .dw (file_760830)
.org 0x801C26C :: .dw (file_7608B0)
.org 0x801C298 :: .dw (file_760930)
.org 0x801C2C4 :: .dw (file_7609B0)
.org 0x801C2F0 :: .dw (file_760A30)
.org 0x801C31C :: .dw (file_760AB0)
.org 0x801C348 :: .dw (file_760B30)
.org 0x801C374 :: .dw (file_760BB0)
.org 0x801C3A0 :: .dw (file_760C30)
.org 0x801C3CC :: .dw (file_760CB0)
.org 0x801C3F8 :: .dw (file_760D30)
.org 0x801C424 :: .dw (file_760DB0)
.org 0x801C450 :: .dw (file_760E30)
.org 0x801C47C :: .dw (file_760EB0)
.org 0x801C4A8 :: .dw (file_760F30)
.org 0x801C4D4 :: .dw (file_760FB0)
.org 0x801C500 :: .dw (file_761030)
.org 0x801C52C :: .dw (file_7610B0)
.org 0x801C558 :: .dw (file_761130)
.org 0x801C584 :: .dw (file_7611B0)
.org 0x801C5B0 :: .dw (file_761230)
.org 0x801C5DC :: .dw (file_7612B0)
.org 0x801C608 :: .dw (file_761330)
.org 0x801C634 :: .dw (file_7613B0)
.org 0x801C660 :: .dw (file_761430)
.org 0x801C68C :: .dw (file_7614B0)
.org 0x801C6B8 :: .dw (file_761530)
.org 0x801C6E4 :: .dw (file_7615B0)
.org 0x801C710 :: .dw (file_761630)
.org 0x801C73C :: .dw (file_7616B0)
.org 0x801C768 :: .dw (file_761730)
.org 0x801C794 :: .dw (file_7617B0)
.org 0x801C7C0 :: .dw (file_761830)
.org 0x801C7EC :: .dw (file_7618B0)
.org 0x801C818 :: .dw (file_761930)
.org 0x801C844 :: .dw (file_7619B0)
.org 0x801C870 :: .dw (file_761A30)
.org 0x801C89C :: .dw (file_761AB0)
.org 0x801C8C8 :: .dw (file_761B30)
.org 0x801C8F4 :: .dw (file_761BB0)
.org 0x801C920 :: .dw (file_761C30)
.org 0x801C94C :: .dw (file_761CB0)
.org 0x801C978 :: .dw (file_761D30)
.org 0x801C9A4 :: .dw (file_761DB0)
.org 0x801C9D0 :: .dw (file_761E30)
.org 0x801C9FC :: .dw (file_761EB0)
.org 0x801CA28 :: .dw (file_761F30)
.org 0x801CA54 :: .dw (file_761FB0)
.org 0x801CA80 :: .dw (file_762030)
.org 0x801CAAC :: .dw (file_7620B0)
.org 0x801CAD8 :: .dw (file_762130)
.org 0x801CB04 :: .dw (file_7621B0)
.org 0x801CB30 :: .dw (file_762230)
.org 0x801CB5C :: .dw (file_7622B0)
.org 0x801CB88 :: .dw (file_762330)
.org 0x801CBB4 :: .dw (file_7623B0)
.org 0x801CBE0 :: .dw (file_762430)
.org 0x801CC0C :: .dw (file_7624B0)
.org 0x801CC38 :: .dw (file_762530)
.org 0x801CC64 :: .dw (file_7625B0)
.org 0x801CC90 :: .dw (file_762630)
.org 0x801CCBC :: .dw (file_7626B0)
.org 0x801CCE8 :: .dw (file_762730)
.org 0x801CD14 :: .dw (file_7627B0)
.org 0x801CD40 :: .dw (file_762830)
.org 0x801CD6C :: .dw (file_7628B0)
.org 0x801CD98 :: .dw (file_762930)
.org 0x801CDC4 :: .dw (file_7629B0)
.org 0x801CDF0 :: .dw (file_762A30)
.org 0x801CE1C :: .dw (file_762AB0)
.org 0x801CE48 :: .dw (file_762B30)
.org 0x801CE74 :: .dw (file_762BB0)
.org 0x801CEA0 :: .dw (file_762C30)
.org 0x801CECC :: .dw (file_762CB0)
.org 0x801CEF8 :: .dw (file_762D30)
.org 0x801CF24 :: .dw (file_762DB0)
.org 0x801CF50 :: .dw (file_762E30)
.org 0x801CF7C :: .dw (file_762EB0)
.org 0x801CFA8 :: .dw (file_762F30)
.org 0x801CFD4 :: .dw (file_762FB0)
.org 0x801D000 :: .dw (file_763030)
.org 0x801D02C :: .dw (file_7630B0)
.org 0x801D058 :: .dw (file_763130)
.org 0x801D084 :: .dw (file_7631B0)
.org 0x801D1B8 :: .dw (file_763230)
.org 0x801D1E4 :: .dw (file_7632B0)
.org 0x801D210 :: .dw (file_763330)
.org 0x801D23C :: .dw (file_7633B0)
.org 0x801D268 :: .dw (file_763430)
.org 0x801D294 :: .dw (file_7634B0)
.org 0x801D2C0 :: .dw (file_763530)
.org 0x801D2EC :: .dw (file_7635B0)
.org 0x801D318 :: .dw (file_763630)
.org 0x801D344 :: .dw (file_7636B0)
.org 0x801D370 :: .dw (file_763730)
.org 0x801D39C :: .dw (file_7637B0)
.org 0x801D3C8 :: .dw (file_763830)
.org 0x801D3F4 :: .dw (file_7638B0)
.org 0x801D420 :: .dw (file_763930)
.org 0x801D44C :: .dw (file_7639B0)
.org 0x801D478 :: .dw (file_763A30)
.org 0x801D4A4 :: .dw (file_763AB0)
.org 0x801D4D0 :: .dw (file_763B30)
.org 0x801D4FC :: .dw (file_763BB0)
.org 0x801D528 :: .dw (file_763C30)
.org 0x801D554 :: .dw (file_763C30)
.org 0x801D580 :: .dw (file_763C30)
.org 0x801D5AC :: .dw (file_763C30)
.org 0x801D5D8 :: .dw (file_763C30)
.org 0x801D604 :: .dw (file_763C30)
.org 0x801D630 :: .dw (file_763C30)
.org 0x801D65C :: .dw (file_763C30)
.org 0x801D688 :: .dw (file_763C30)
.org 0x801D6B4 :: .dw (file_763C30)
.org 0x801D6E0 :: .dw (file_763C30)
.org 0x801D70C :: .dw (file_763C30)
.org 0x801D738 :: .dw (file_763C30)
.org 0x801D764 :: .dw (file_763C30)
.org 0x801D790 :: .dw (file_763C30)
.org 0x801D7BC :: .dw (file_763C30)
.org 0x801D7E8 :: .dw (file_763C30)
.org 0x801D814 :: .dw (file_763C30)
.org 0x801D840 :: .dw (file_763C30)
.org 0x801D86C :: .dw (file_763C30)
.org 0x801D898 :: .dw (file_763C30)
.org 0x801D8C4 :: .dw (file_763C30)
.org 0x801D8F0 :: .dw (file_763C30)
.org 0x801D91C :: .dw (file_763C30)
.org 0x801D948 :: .dw (file_763C30)
.org 0x801D974 :: .dw (file_763C30)
.org 0x801D9A0 :: .dw (file_763C30)
.org 0x801D9CC :: .dw (file_763C30)
.org 0x801D9F8 :: .dw (file_763C30)
.org 0x801DA24 :: .dw (file_763C30)
.org 0x801DA50 :: .dw (file_763C30)
.org 0x801DA7C :: .dw (file_763C30)
.org 0x801DAA8 :: .dw (file_763C30)
.org 0x801DAD4 :: .dw (file_763C30)
.org 0x801DB00 :: .dw (file_763C30)
.org 0x801DB2C :: .dw (file_763C30)
.org 0x801DB58 :: .dw (file_763C30)
.org 0x801DB84 :: .dw (file_763C30)
.org 0x801DBB0 :: .dw (file_763C30)
.org 0x801DBDC :: .dw (file_763C30)
.org 0x801DC08 :: .dw (file_763C30)
.org 0x801DC34 :: .dw (file_763C30)
.org 0x801DC60 :: .dw (file_763C30)
.org 0x801DC8C :: .dw (file_763C30)
.org 0x801DCB8 :: .dw (file_763C30)
.org 0x801DCE4 :: .dw (file_763C30)
.org 0x801DD10 :: .dw (file_763C30)
.org 0x801DD3C :: .dw (file_763C30)
.org 0x801DD68 :: .dw (file_763C30)
.org 0x801DD94 :: .dw (file_763C30)
.org 0x801DDC0 :: .dw (file_763C30)
.org 0x801DDEC :: .dw (file_763C30)
.org 0x801DE18 :: .dw (file_763C30)
.org 0x801DE44 :: .dw (file_763C30)
.org 0x801DE70 :: .dw (file_763C30)
.org 0x801DE9C :: .dw (file_763C30)
.org 0x801DEC8 :: .dw (file_763C30)
.org 0x801DEF4 :: .dw (file_763C30)
.org 0x801DF20 :: .dw (file_763C30)
.org 0x801DF4C :: .dw (file_763C30)
.org 0x801DF78 :: .dw (file_763CB0)
.org 0x801DFA4 :: .dw (file_763D30)
.org 0x801DFD0 :: .dw (file_763DB0)
.org 0x801DFFC :: .dw (file_763E30)
.org 0x801E028 :: .dw (file_763EB0)
.org 0x801E054 :: .dw (file_763F30)
.org 0x801E080 :: .dw (file_763FB0)
.org 0x801E0AC :: .dw (file_764030)
.org 0x801E0D8 :: .dw (file_7640B0)
.org 0x801E104 :: .dw (file_764130)
.org 0x801E2E8 :: .dw (file_7641B0)
.org 0x801E314 :: .dw (file_764230)
.org 0x801E340 :: .dw (file_7642B0)
.org 0x801E36C :: .dw (file_764330)
.org 0x801E398 :: .dw (file_7643B0)
.org 0x801E3C4 :: .dw (file_764430)
.org 0x801E3F0 :: .dw (file_7644B0)
.org 0x801E41C :: .dw (file_764530)
.org 0x801E448 :: .dw (file_7645B0)
.org 0x801E474 :: .dw (file_764630)
.org 0x801E62C :: .dw (file_7647B0)
.org 0x801E658 :: .dw (file_7647B0)
.org 0x801E684 :: .dw (file_7647B0)
.org 0x801E6B0 :: .dw (file_7647B0)
.org 0x801E6DC :: .dw (file_7647B0)
.org 0x801E708 :: .dw (file_7647B0)
.org 0x801E734 :: .dw (file_7647B0)
.org 0x801E760 :: .dw (file_7647B0)
.org 0x801E78C :: .dw (file_7647B0)
.org 0x801E7B8 :: .dw (file_7647B0)
.org 0x801E7E4 :: .dw (file_7647B0)
.org 0x801E810 :: .dw (file_7647B0)
.org 0x801E83C :: .dw (file_7647B0)
.org 0x801E868 :: .dw (file_7647B0)
.org 0x801E894 :: .dw (file_7647B0)
.org 0x801E8C0 :: .dw (file_7647B0)
.org 0x801E8EC :: .dw (file_7647B0)
.org 0x801E918 :: .dw (file_7647B0)
.org 0x801E944 :: .dw (file_7647B0)
.org 0x801E970 :: .dw (file_7647B0)
.org 0x801E99C :: .dw (file_7647B0)
.org 0x801E9C8 :: .dw (file_7647B0)
.org 0x801E9F4 :: .dw (file_7647B0)
.org 0x801EA20 :: .dw (file_7647B0)
.org 0x801EA4C :: .dw (file_7647B0)
.org 0x801EA78 :: .dw (file_7647B0)
.org 0x801EAA4 :: .dw (file_7647B0)
.org 0x801EAD0 :: .dw (file_7647B0)
.org 0x801EAFC :: .dw (file_7647B0)
.org 0x801EB28 :: .dw (file_7647B0)
.org 0x801EBAC :: .dw (file_764830)
.org 0x801EBD8 :: .dw (file_7648B0)
.org 0x801EC04 :: .dw (file_764930)
.org 0x801EC30 :: .dw (file_7649B0)
.org 0x801EC5C :: .dw (file_764A30)
.org 0x801EC88 :: .dw (file_764AB0)
.org 0x801ECB4 :: .dw (file_764B30)
.org 0x801ECE0 :: .dw (file_764BB0)
.org 0x801ED0C :: .dw (file_764C30)
.org 0x801ED38 :: .dw (file_764CB0)
.org 0x801ED64 :: .dw (file_764D30)
.org 0x801ED90 :: .dw (file_764DB0)
.org 0x801EDBC :: .dw (file_764E30)
.org 0x801EE40 :: .dw (file_764EB0)
.org 0x8016910 :: .dw (file_764F30)
.org 0x80168EC :: .dw (file_764FB0)
.org 0x803D454 :: .dw (file_764FB0)
.org 0x803D458 :: .dw (file_764FB0)
.org 0x803D45C :: .dw (file_764FB0)
.org 0x803D460 :: .dw (file_764FB0)
.org 0x803D464 :: .dw (file_764FB0)
.org 0x803D468 :: .dw (file_764FB0)
.org 0x803D46C :: .dw (file_764FB0)
.org 0x803D470 :: .dw (file_764FB0)
.org 0x803D474 :: .dw (file_764FB0)
.org 0x803D478 :: .dw (file_764FB0)
.org 0x803D47C :: .dw (file_764FB0)
.org 0x803D480 :: .dw (file_764FB0)
.org 0x803D484 :: .dw (file_764FB0)
.org 0x803D488 :: .dw (file_764FB0)
.org 0x803D48C :: .dw (file_764FB0)
.org 0x803D490 :: .dw (file_764FB0)
.org 0x803D494 :: .dw (file_764FB0)
.org 0x803D498 :: .dw (file_764FB0)
.org 0x803D49C :: .dw (file_764FB0)
.org 0x803D4A0 :: .dw (file_764FB0)
.org 0x803D4A4 :: .dw (file_764FB0)
.org 0x803D4A8 :: .dw (file_764FB0)
.org 0x803D4AC :: .dw (file_764FB0)
.org 0x804282C :: .dw (file_764FB0)|0x80000000
.org 0x804E190 :: .dw (file_764FB0)|0x80000000
.org 0x80D4C98 :: .dw (file_764FB0)
.org 0x80168F8 :: .dw (file_764FF0)
.org 0x80169B4 :: .dw (file_764FF0)
.org 0x801F7F0 :: .dw (file_765190)
.org 0x8022AF8 :: .dw (file_765190)
.org 0x803866C :: .dw (file_765190)
.org 0x803CB98 :: .dw (file_765190)
.org 0x8042F98 :: .dw (file_765190)
.org 0x804CAA8 :: .dw (file_765190)
.org 0x804E6A4 :: .dw (file_765190)
.org 0x804E79C :: .dw (file_765190)
.org 0x8051664 :: .dw (file_765190)
.org 0x801F7F4 :: .dw (file_765B18)
.org 0x8022AFC :: .dw (file_765B18)
.org 0x8038670 :: .dw (file_765B18)
.org 0x803CB9C :: .dw (file_765B18)
.org 0x8042F9C :: .dw (file_765B18)
.org 0x804CAAC :: .dw (file_765B18)
.org 0x804E6A8 :: .dw (file_765B18)
.org 0x804E7A0 :: .dw (file_765B18)
.org 0x8051668 :: .dw (file_765B18)
.org 0x8022B0C :: .dw (file_765F7C)
.org 0x804CAB8 :: .dw (file_765F7C)
.org 0x805166C :: .dw (file_765F7C)
.org 0x8016700 :: .dw (file_765FEC)
.org 0x8017998 :: .dw (file_765FEC)
.org 0x801F6C4 :: .dw (file_765FEC)
.org 0x8015F3C :: .dw (file_766060)
.org 0x801734C :: .dw (file_766060)
.org 0x801F78C :: .dw (file_766134)
.org 0x801FC88 :: .dw (file_766134)
.org 0x802130C :: .dw (file_766134)
.org 0x8017770 :: .dw (file_767E0C)
.org 0x8017980 :: .dw (file_767E0C)
.org 0x8020C20 :: .dw (file_767E0C)
.org 0x8020E04 :: .dw (file_767E0C)
.org 0x8048110 :: .dw (file_767E0C)
.org 0x805167C :: .dw (file_767E0C)
.org 0x8020C1C :: .dw (file_768764)
.org 0x8020D6C :: .dw (file_768764)
.org 0x8021118 :: .dw (file_768764)
.org 0x8007DA8 :: .dw (file_768800)
.org 0x8007DA4 :: .dw (file_768BD0)
.org 0x80213AC :: .dw (file_768BD0)
.org 0x802165C :: .dw (file_76937C)
.org 0x80D2B58 :: .dw (file_76937C)
.org 0x80D4D0C :: .dw (file_76937C)
.org 0x8021660 :: .dw (file_76BC60)
.org 0x80D2B5C :: .dw (file_76BC60)
.org 0x80D4D10 :: .dw (file_76BC60)
.org 0x80D50D8 :: .dw (file_76BC60)
.org 0x80212E8 :: .dw (file_76C944)
.org 0x8017E20 :: .dw (file_76DAC0)
.org 0x8017E40 :: .dw (file_76DAC0)
.org 0x8017ED8 :: .dw (file_76DAC0)
.org 0x8017F40 :: .dw (file_76DAC0)
.org 0x8017F7C :: .dw (file_76DAC0)
.org 0x8018074 :: .dw (file_76DAC0)
.org 0x80180C4 :: .dw (file_76DAC0)
.org 0x8018180 :: .dw (file_76DAC0)
.org 0x8018188 :: .dw (file_76DAC0)
.org 0x80181C8 :: .dw (file_76DAC0)
.org 0x8018218 :: .dw (file_76DAC0)
.org 0x8018244 :: .dw (file_76DAC0)
.org 0x80182D4 :: .dw (file_76DAC0)
.org 0x801837C :: .dw (file_76DAC0)
.org 0x80183D0 :: .dw (file_76DAC0)
.org 0x8018418 :: .dw (file_76DAC0)
.org 0x801842C :: .dw (file_76DAC0)
.org 0x8018478 :: .dw (file_76DAC0)
.org 0x80184D8 :: .dw (file_76DAC0)
.org 0x801857C :: .dw (file_76DAC0)
.org 0x80185C0 :: .dw (file_76DAC0)
.org 0x80185CC :: .dw (file_76DAC0)
.org 0x801861C :: .dw (file_76DAC0)
.org 0x801865C :: .dw (file_76DAC0)
.org 0x8018668 :: .dw (file_76DAC0)
.org 0x8018670 :: .dw (file_76DAC0)
.org 0x80186C4 :: .dw (file_76DAC0)
.org 0x8018714 :: .dw (file_76DAC0)
.org 0x8018724 :: .dw (file_76DAC0)
.org 0x8018770 :: .dw (file_76DAC0)
.org 0x8018814 :: .dw (file_76DAC0)
.org 0x8018868 :: .dw (file_76DAC0)
.org 0x80188AC :: .dw (file_76DAC0)
.org 0x80188C0 :: .dw (file_76DAC0)
.org 0x8018910 :: .dw (file_76DAC0)
.org 0x801896C :: .dw (file_76DAC0)
.org 0x8018A10 :: .dw (file_76DAC0)
.org 0x8018A58 :: .dw (file_76DAC0)
.org 0x8018A64 :: .dw (file_76DAC0)
.org 0x8018AB4 :: .dw (file_76DAC0)
.org 0x8018AF4 :: .dw (file_76DAC0)
.org 0x8018B00 :: .dw (file_76DAC0)
.org 0x8018B08 :: .dw (file_76DAC0)
.org 0x8018B5C :: .dw (file_76DAC0)
.org 0x8018BA4 :: .dw (file_76DAC0)
.org 0x8018BB0 :: .dw (file_76DAC0)
.org 0x8018BF8 :: .dw (file_76DAC0)
.org 0x8018C0C :: .dw (file_76DAC0)
.org 0x8018C60 :: .dw (file_76DAC0)
.org 0x8018C9C :: .dw (file_76DAC0)
.org 0x8018CA4 :: .dw (file_76DAC0)
.org 0x8018CB4 :: .dw (file_76DAC0)
.org 0x8018CFC :: .dw (file_76DAC0)
.org 0x8018D54 :: .dw (file_76DAC0)
.org 0x8018D9C :: .dw (file_76DAC0)
.org 0x8018DAC :: .dw (file_76DAC0)
.org 0x8018E44 :: .dw (file_76DAC0)
.org 0x8018E50 :: .dw (file_76DAC0)
.org 0x8018E94 :: .dw (file_76DAC0)
.org 0x8018EA8 :: .dw (file_76DAC0)
.org 0x8018EFC :: .dw (file_76DAC0)
.org 0x8018F38 :: .dw (file_76DAC0)
.org 0x8018F40 :: .dw (file_76DAC0)
.org 0x8018F50 :: .dw (file_76DAC0)
.org 0x8018F9C :: .dw (file_76DAC0)
.org 0x8018FF4 :: .dw (file_76DAC0)
.org 0x801903C :: .dw (file_76DAC0)
.org 0x801904C :: .dw (file_76DAC0)
.org 0x80E3950 :: .dw (file_76DAC0)
.org 0x8017E1C :: .dw (file_76DB00)
.org 0x80180C0 :: .dw (file_76DB00)
.org 0x8018214 :: .dw (file_76DB00)
.org 0x801850C :: .dw (file_76DB00)
.org 0x801856C :: .dw (file_76DB00)
.org 0x80189A4 :: .dw (file_76DB00)
.org 0x8018A00 :: .dw (file_76DB00)
.org 0x8017ECC :: .dw (file_76DB40)
.org 0x80182C8 :: .dw (file_76DB40)
.org 0x8018420 :: .dw (file_76DB40)
.org 0x80188B4 :: .dw (file_76DB40)
.org 0x8018CF0 :: .dw (file_76DB40)
.org 0x8018D4C :: .dw (file_76DB40)
.org 0x8018F90 :: .dw (file_76DB40)
.org 0x8018FEC :: .dw (file_76DB40)
.org 0x8017E88 :: .dw (file_76DB80)
.org 0x8017EA0 :: .dw (file_76DB80)
.org 0x8017EE4 :: .dw (file_76DB80)
.org 0x8017EFC :: .dw (file_76DB80)
.org 0x801806C :: .dw (file_76DB80)
.org 0x801817C :: .dw (file_76DB80)
.org 0x80181A0 :: .dw (file_76DB80)
.org 0x80181D4 :: .dw (file_76DB80)
.org 0x80181EC :: .dw (file_76DB80)
.org 0x80183C8 :: .dw (file_76DB80)
.org 0x80184C8 :: .dw (file_76DB80)
.org 0x80186BC :: .dw (file_76DB80)
.org 0x80187C0 :: .dw (file_76DB80)
.org 0x80187D8 :: .dw (file_76DB80)
.org 0x8018820 :: .dw (file_76DB80)
.org 0x8018838 :: .dw (file_76DB80)
.org 0x8018860 :: .dw (file_76DB80)
.org 0x8018874 :: .dw (file_76DB80)
.org 0x801888C :: .dw (file_76DB80)
.org 0x80188CC :: .dw (file_76DB80)
.org 0x80188E4 :: .dw (file_76DB80)
.org 0x801891C :: .dw (file_76DB80)
.org 0x8018934 :: .dw (file_76DB80)
.org 0x801895C :: .dw (file_76DB80)
.org 0x8018978 :: .dw (file_76DB80)
.org 0x8018990 :: .dw (file_76DB80)
.org 0x80189BC :: .dw (file_76DB80)
.org 0x80189D4 :: .dw (file_76DB80)
.org 0x8018A1C :: .dw (file_76DB80)
.org 0x8018A34 :: .dw (file_76DB80)
.org 0x8018A70 :: .dw (file_76DB80)
.org 0x8018A88 :: .dw (file_76DB80)
.org 0x8018AC0 :: .dw (file_76DB80)
.org 0x8018AD8 :: .dw (file_76DB80)
.org 0x8018B14 :: .dw (file_76DB80)
.org 0x8018B2C :: .dw (file_76DB80)
.org 0x8018B54 :: .dw (file_76DB80)
.org 0x8018B68 :: .dw (file_76DB80)
.org 0x8018B80 :: .dw (file_76DB80)
.org 0x8018BFC :: .dw (file_76DB80)
.org 0x8018E5C :: .dw (file_76DB80)
.org 0x8018E74 :: .dw (file_76DB80)
.org 0x8018E98 :: .dw (file_76DB80)
.org 0x8018EB4 :: .dw (file_76DB80)
.org 0x8018ECC :: .dw (file_76DB80)
.org 0x8018F08 :: .dw (file_76DB80)
.org 0x8018F20 :: .dw (file_76DB80)
.org 0x8018F5C :: .dw (file_76DB80)
.org 0x8018F74 :: .dw (file_76DB80)
.org 0x8018FA8 :: .dw (file_76DB80)
.org 0x8018FC0 :: .dw (file_76DB80)
.org 0x8019000 :: .dw (file_76DB80)
.org 0x8019018 :: .dw (file_76DB80)
.org 0x8019058 :: .dw (file_76DB80)
.org 0x8019070 :: .dw (file_76DB80)
.org 0x80190A0 :: .dw (file_76DB80)
.org 0x80190B8 :: .dw (file_76DB80)
.org 0x8017E30 :: .dw (file_76DBC0)
.org 0x8017E70 :: .dw (file_76DBC0)
.org 0x8017E78 :: .dw (file_76DBC0)
.org 0x8017E8C :: .dw (file_76DBC0)
.org 0x8017E94 :: .dw (file_76DBC0)
.org 0x8017E9C :: .dw (file_76DBC0)
.org 0x8017EE8 :: .dw (file_76DBC0)
.org 0x8017EF0 :: .dw (file_76DBC0)
.org 0x8017EF8 :: .dw (file_76DBC0)
.org 0x8018034 :: .dw (file_76DBC0)
.org 0x80180D4 :: .dw (file_76DBC0)
.org 0x8018190 :: .dw (file_76DBC0)
.org 0x80181A8 :: .dw (file_76DBC0)
.org 0x80181D8 :: .dw (file_76DBC0)
.org 0x80181E0 :: .dw (file_76DBC0)
.org 0x80181E8 :: .dw (file_76DBC0)
.org 0x8018228 :: .dw (file_76DBC0)
.org 0x8018414 :: .dw (file_76DBC0)
.org 0x8018470 :: .dw (file_76DBC0)
.org 0x80184CC :: .dw (file_76DBC0)
.org 0x8018518 :: .dw (file_76DBC0)
.org 0x8018570 :: .dw (file_76DBC0)
.org 0x80185B8 :: .dw (file_76DBC0)
.org 0x801875C :: .dw (file_76DBC0)
.org 0x8018760 :: .dw (file_76DBC0)
.org 0x80187C4 :: .dw (file_76DBC0)
.org 0x80187CC :: .dw (file_76DBC0)
.org 0x80187D4 :: .dw (file_76DBC0)
.org 0x8018824 :: .dw (file_76DBC0)
.org 0x801882C :: .dw (file_76DBC0)
.org 0x8018834 :: .dw (file_76DBC0)
.org 0x8018878 :: .dw (file_76DBC0)
.org 0x8018880 :: .dw (file_76DBC0)
.org 0x8018888 :: .dw (file_76DBC0)
.org 0x80188A8 :: .dw (file_76DBC0)
.org 0x80188D0 :: .dw (file_76DBC0)
.org 0x80188D8 :: .dw (file_76DBC0)
.org 0x80188E0 :: .dw (file_76DBC0)
.org 0x8018908 :: .dw (file_76DBC0)
.org 0x8018920 :: .dw (file_76DBC0)
.org 0x8018928 :: .dw (file_76DBC0)
.org 0x8018930 :: .dw (file_76DBC0)
.org 0x8018960 :: .dw (file_76DBC0)
.org 0x801897C :: .dw (file_76DBC0)
.org 0x8018984 :: .dw (file_76DBC0)
.org 0x801898C :: .dw (file_76DBC0)
.org 0x80189B0 :: .dw (file_76DBC0)
.org 0x80189C0 :: .dw (file_76DBC0)
.org 0x80189C8 :: .dw (file_76DBC0)
.org 0x80189D0 :: .dw (file_76DBC0)
.org 0x8018A04 :: .dw (file_76DBC0)
.org 0x8018A20 :: .dw (file_76DBC0)
.org 0x8018A28 :: .dw (file_76DBC0)
.org 0x8018A30 :: .dw (file_76DBC0)
.org 0x8018A50 :: .dw (file_76DBC0)
.org 0x8018A74 :: .dw (file_76DBC0)
.org 0x8018A7C :: .dw (file_76DBC0)
.org 0x8018A84 :: .dw (file_76DBC0)
.org 0x8018AC4 :: .dw (file_76DBC0)
.org 0x8018ACC :: .dw (file_76DBC0)
.org 0x8018AD4 :: .dw (file_76DBC0)
.org 0x8018B18 :: .dw (file_76DBC0)
.org 0x8018B20 :: .dw (file_76DBC0)
.org 0x8018B28 :: .dw (file_76DBC0)
.org 0x8018B6C :: .dw (file_76DBC0)
.org 0x8018B74 :: .dw (file_76DBC0)
.org 0x8018B7C :: .dw (file_76DBC0)
.org 0x8018CF4 :: .dw (file_76DBC0)
.org 0x8018D40 :: .dw (file_76DBC0)
.org 0x8018D48 :: .dw (file_76DBC0)
.org 0x8018DF8 :: .dw (file_76DBC0)
.org 0x8018E60 :: .dw (file_76DBC0)
.org 0x8018E68 :: .dw (file_76DBC0)
.org 0x8018E70 :: .dw (file_76DBC0)
.org 0x8018EB8 :: .dw (file_76DBC0)
.org 0x8018EC0 :: .dw (file_76DBC0)
.org 0x8018EC8 :: .dw (file_76DBC0)
.org 0x8018F0C :: .dw (file_76DBC0)
.org 0x8018F14 :: .dw (file_76DBC0)
.org 0x8018F1C :: .dw (file_76DBC0)
.org 0x8018F60 :: .dw (file_76DBC0)
.org 0x8018F68 :: .dw (file_76DBC0)
.org 0x8018F70 :: .dw (file_76DBC0)
.org 0x8018F94 :: .dw (file_76DBC0)
.org 0x8018FAC :: .dw (file_76DBC0)
.org 0x8018FB4 :: .dw (file_76DBC0)
.org 0x8018FBC :: .dw (file_76DBC0)
.org 0x8018FE0 :: .dw (file_76DBC0)
.org 0x8018FE8 :: .dw (file_76DBC0)
.org 0x8019004 :: .dw (file_76DBC0)
.org 0x801900C :: .dw (file_76DBC0)
.org 0x8019014 :: .dw (file_76DBC0)
.org 0x801905C :: .dw (file_76DBC0)
.org 0x8019064 :: .dw (file_76DBC0)
.org 0x801906C :: .dw (file_76DBC0)
.org 0x8019098 :: .dw (file_76DBC0)
.org 0x80190A4 :: .dw (file_76DBC0)
.org 0x80190AC :: .dw (file_76DBC0)
.org 0x80190B4 :: .dw (file_76DBC0)
.org 0x8017F70 :: .dw (file_76DC00)
.org 0x80181C0 :: .dw (file_76DC00)
.org 0x8018464 :: .dw (file_76DC00)
.org 0x80188FC :: .dw (file_76DC00)
.org 0x8018DE8 :: .dw (file_76DC00)
.org 0x8019088 :: .dw (file_76DC00)
.org 0x801818C :: .dw (file_76DC40)
.org 0x80181A4 :: .dw (file_76DC40)
.org 0x80181CC :: .dw (file_76DC40)
.org 0x8018368 :: .dw (file_76DC40)
.org 0x8018800 :: .dw (file_76DC40)
.org 0x8018C50 :: .dw (file_76DC40)
.org 0x8018EEC :: .dw (file_76DC40)
.org 0x801816C :: .dw (file_76DC80)
.org 0x8018424 :: .dw (file_76DC80)
.org 0x80184BC :: .dw (file_76DC80)
.org 0x8018758 :: .dw (file_76DC80)
.org 0x80188B8 :: .dw (file_76DC80)
.org 0x8018950 :: .dw (file_76DC80)
.org 0x8018BF4 :: .dw (file_76DC80)
.org 0x8018C54 :: .dw (file_76DC80)
.org 0x8018E90 :: .dw (file_76DC80)
.org 0x8018EF0 :: .dw (file_76DC80)
.org 0x8017F74 :: .dw (file_76DCC0)
.org 0x8017FD8 :: .dw (file_76DCC0)
.org 0x8018170 :: .dw (file_76DCC0)
.org 0x80182E4 :: .dw (file_76DCC0)
.org 0x801832C :: .dw (file_76DCC0)
.org 0x801838C :: .dw (file_76DCC0)
.org 0x80183C0 :: .dw (file_76DCC0)
.org 0x80183E0 :: .dw (file_76DCC0)
.org 0x801843C :: .dw (file_76DCC0)
.org 0x8018468 :: .dw (file_76DCC0)
.org 0x8018488 :: .dw (file_76DCC0)
.org 0x80184E8 :: .dw (file_76DCC0)
.org 0x8018528 :: .dw (file_76DCC0)
.org 0x801858C :: .dw (file_76DCC0)
.org 0x80185DC :: .dw (file_76DCC0)
.org 0x801862C :: .dw (file_76DCC0)
.org 0x8018680 :: .dw (file_76DCC0)
.org 0x80186D4 :: .dw (file_76DCC0)
.org 0x801872C :: .dw (file_76DCC0)
.org 0x8018738 :: .dw (file_76DCC0)
.org 0x8018778 :: .dw (file_76DCC0)
.org 0x8018784 :: .dw (file_76DCC0)
.org 0x8018858 :: .dw (file_76DCC0)
.org 0x8018900 :: .dw (file_76DCC0)
.org 0x8018BC0 :: .dw (file_76DCC0)
.org 0x8018C1C :: .dw (file_76DCC0)
.org 0x8018C4C :: .dw (file_76DCC0)
.org 0x8018C70 :: .dw (file_76DCC0)
.org 0x8018CC4 :: .dw (file_76DCC0)
.org 0x8018CEC :: .dw (file_76DCC0)
.org 0x8018D0C :: .dw (file_76DCC0)
.org 0x8018D64 :: .dw (file_76DCC0)
.org 0x8018DBC :: .dw (file_76DCC0)
.org 0x8018E04 :: .dw (file_76DCC0)
.org 0x8018EE8 :: .dw (file_76DCC0)
.org 0x8018F8C :: .dw (file_76DCC0)
.org 0x8018198 :: .dw (file_76DD00)
.org 0x8018608 :: .dw (file_76DD00)
.org 0x8018AA0 :: .dw (file_76DD00)
.org 0x8017ED0 :: .dw (file_76DD40)
.org 0x80182CC :: .dw (file_76DD40)
.org 0x8018614 :: .dw (file_76DD40)
.org 0x8018AAC :: .dw (file_76DD40)
.org 0x8018C44 :: .dw (file_76DD40)
.org 0x8018EE0 :: .dw (file_76DD40)
.org 0x8017E2C :: .dw (file_76DD80)
.org 0x8017E90 :: .dw (file_76DD80)
.org 0x8017EEC :: .dw (file_76DD80)
.org 0x8017F80 :: .dw (file_76DD80)
.org 0x8018028 :: .dw (file_76DD80)
.org 0x80180D0 :: .dw (file_76DD80)
.org 0x80181C4 :: .dw (file_76DD80)
.org 0x80181DC :: .dw (file_76DD80)
.org 0x8018224 :: .dw (file_76DD80)
.org 0x801831C :: .dw (file_76DD80)
.org 0x8018320 :: .dw (file_76DD80)
.org 0x8018510 :: .dw (file_76DD80)
.org 0x80185C4 :: .dw (file_76DD80)
.org 0x8018718 :: .dw (file_76DD80)
.org 0x8018764 :: .dw (file_76DD80)
.org 0x80187B4 :: .dw (file_76DD80)
.org 0x80187B8 :: .dw (file_76DD80)
.org 0x80187C8 :: .dw (file_76DD80)
.org 0x8018828 :: .dw (file_76DD80)
.org 0x801887C :: .dw (file_76DD80)
.org 0x80188D4 :: .dw (file_76DD80)
.org 0x8018924 :: .dw (file_76DD80)
.org 0x8018980 :: .dw (file_76DD80)
.org 0x80189A8 :: .dw (file_76DD80)
.org 0x80189C4 :: .dw (file_76DD80)
.org 0x8018A24 :: .dw (file_76DD80)
.org 0x8018A5C :: .dw (file_76DD80)
.org 0x8018A78 :: .dw (file_76DD80)
.org 0x8018AC8 :: .dw (file_76DD80)
.org 0x8018B1C :: .dw (file_76DD80)
.org 0x8018B70 :: .dw (file_76DD80)
.org 0x8018CA8 :: .dw (file_76DD80)
.org 0x8018D44 :: .dw (file_76DD80)
.org 0x8018D98 :: .dw (file_76DD80)
.org 0x8018E64 :: .dw (file_76DD80)
.org 0x8018EBC :: .dw (file_76DD80)
.org 0x8018F10 :: .dw (file_76DD80)
.org 0x8018F44 :: .dw (file_76DD80)
.org 0x8018F64 :: .dw (file_76DD80)
.org 0x8018FB0 :: .dw (file_76DD80)
.org 0x8018FE4 :: .dw (file_76DD80)
.org 0x8019008 :: .dw (file_76DD80)
.org 0x8019038 :: .dw (file_76DD80)
.org 0x8019060 :: .dw (file_76DD80)
.org 0x80190A8 :: .dw (file_76DD80)
.org 0x8017E7C :: .dw (file_76DDC0)
.org 0x8017ED4 :: .dw (file_76DDC0)
.org 0x8018184 :: .dw (file_76DDC0)
.org 0x80182D0 :: .dw (file_76DDC0)
.org 0x8018378 :: .dw (file_76DDC0)
.org 0x80183CC :: .dw (file_76DDC0)
.org 0x8018428 :: .dw (file_76DDC0)
.org 0x8018474 :: .dw (file_76DDC0)
.org 0x80184D4 :: .dw (file_76DDC0)
.org 0x8018568 :: .dw (file_76DDC0)
.org 0x8018578 :: .dw (file_76DDC0)
.org 0x80185B4 :: .dw (file_76DDC0)
.org 0x80185C8 :: .dw (file_76DDC0)
.org 0x8018618 :: .dw (file_76DDC0)
.org 0x801866C :: .dw (file_76DDC0)
.org 0x80186C0 :: .dw (file_76DDC0)
.org 0x8018710 :: .dw (file_76DDC0)
.org 0x8018810 :: .dw (file_76DDC0)
.org 0x8018864 :: .dw (file_76DDC0)
.org 0x80188BC :: .dw (file_76DDC0)
.org 0x801890C :: .dw (file_76DDC0)
.org 0x8018968 :: .dw (file_76DDC0)
.org 0x80189FC :: .dw (file_76DDC0)
.org 0x8018A0C :: .dw (file_76DDC0)
.org 0x8018A4C :: .dw (file_76DDC0)
.org 0x8018A60 :: .dw (file_76DDC0)
.org 0x8018AB0 :: .dw (file_76DDC0)
.org 0x8018B04 :: .dw (file_76DDC0)
.org 0x8018B58 :: .dw (file_76DDC0)
.org 0x8018BAC :: .dw (file_76DDC0)
.org 0x8018C08 :: .dw (file_76DDC0)
.org 0x8018C5C :: .dw (file_76DDC0)
.org 0x8018CAC :: .dw (file_76DDC0)
.org 0x8018CB0 :: .dw (file_76DDC0)
.org 0x8018CF8 :: .dw (file_76DDC0)
.org 0x8018D50 :: .dw (file_76DDC0)
.org 0x8018DA8 :: .dw (file_76DDC0)
.org 0x8018E4C :: .dw (file_76DDC0)
.org 0x8018EA4 :: .dw (file_76DDC0)
.org 0x8018EF8 :: .dw (file_76DDC0)
.org 0x8018F48 :: .dw (file_76DDC0)
.org 0x8018F4C :: .dw (file_76DDC0)
.org 0x8018F98 :: .dw (file_76DDC0)
.org 0x8018FF0 :: .dw (file_76DDC0)
.org 0x8019048 :: .dw (file_76DDC0)
.org 0x8017E74 :: .dw (file_76DE00)
.org 0x8017EDC :: .dw (file_76DE00)
.org 0x8017F24 :: .dw (file_76DE00)
.org 0x8017F78 :: .dw (file_76DE00)
.org 0x8017F94 :: .dw (file_76DE00)
.org 0x8017FDC :: .dw (file_76DE00)
.org 0x80182D8 :: .dw (file_76DE00)
.org 0x80182E8 :: .dw (file_76DE00)
.org 0x8018330 :: .dw (file_76DE00)
.org 0x8018380 :: .dw (file_76DE00)
.org 0x8018390 :: .dw (file_76DE00)
.org 0x80183C4 :: .dw (file_76DE00)
.org 0x80183D4 :: .dw (file_76DE00)
.org 0x80183E4 :: .dw (file_76DE00)
.org 0x8018430 :: .dw (file_76DE00)
.org 0x8018440 :: .dw (file_76DE00)
.org 0x801847C :: .dw (file_76DE00)
.org 0x801848C :: .dw (file_76DE00)
.org 0x80184C4 :: .dw (file_76DE00)
.org 0x80184DC :: .dw (file_76DE00)
.org 0x80184EC :: .dw (file_76DE00)
.org 0x801852C :: .dw (file_76DE00)
.org 0x8018560 :: .dw (file_76DE00)
.org 0x8018580 :: .dw (file_76DE00)
.org 0x8018590 :: .dw (file_76DE00)
.org 0x80185D0 :: .dw (file_76DE00)
.org 0x80185E0 :: .dw (file_76DE00)
.org 0x8018610 :: .dw (file_76DE00)
.org 0x8018620 :: .dw (file_76DE00)
.org 0x8018630 :: .dw (file_76DE00)
.org 0x8018674 :: .dw (file_76DE00)
.org 0x8018684 :: .dw (file_76DE00)
.org 0x80186C8 :: .dw (file_76DE00)
.org 0x80186D8 :: .dw (file_76DE00)
.org 0x8018704 :: .dw (file_76DE00)
.org 0x8018720 :: .dw (file_76DE00)
.org 0x801873C :: .dw (file_76DE00)
.org 0x801876C :: .dw (file_76DE00)
.org 0x8018788 :: .dw (file_76DE00)
.org 0x8018818 :: .dw (file_76DE00)
.org 0x801885C :: .dw (file_76DE00)
.org 0x801886C :: .dw (file_76DE00)
.org 0x80188C4 :: .dw (file_76DE00)
.org 0x8018914 :: .dw (file_76DE00)
.org 0x8018958 :: .dw (file_76DE00)
.org 0x8018970 :: .dw (file_76DE00)
.org 0x80189F4 :: .dw (file_76DE00)
.org 0x8018A14 :: .dw (file_76DE00)
.org 0x8018A68 :: .dw (file_76DE00)
.org 0x8018AA8 :: .dw (file_76DE00)
.org 0x8018AB8 :: .dw (file_76DE00)
.org 0x8018B0C :: .dw (file_76DE00)
.org 0x8018B60 :: .dw (file_76DE00)
.org 0x8018BB4 :: .dw (file_76DE00)
.org 0x8018BC4 :: .dw (file_76DE00)
.org 0x8018C10 :: .dw (file_76DE00)
.org 0x8018C20 :: .dw (file_76DE00)
.org 0x8018C48 :: .dw (file_76DE00)
.org 0x8018C64 :: .dw (file_76DE00)
.org 0x8018C74 :: .dw (file_76DE00)
.org 0x8018C98 :: .dw (file_76DE00)
.org 0x8018CB8 :: .dw (file_76DE00)
.org 0x8018CC8 :: .dw (file_76DE00)
.org 0x8018D00 :: .dw (file_76DE00)
.org 0x8018D10 :: .dw (file_76DE00)
.org 0x8018D58 :: .dw (file_76DE00)
.org 0x8018D68 :: .dw (file_76DE00)
.org 0x8018DA0 :: .dw (file_76DE00)
.org 0x8018DB0 :: .dw (file_76DE00)
.org 0x8018DC0 :: .dw (file_76DE00)
.org 0x8018E08 :: .dw (file_76DE00)
.org 0x8018E54 :: .dw (file_76DE00)
.org 0x8018EAC :: .dw (file_76DE00)
.org 0x8018EE4 :: .dw (file_76DE00)
.org 0x8018F00 :: .dw (file_76DE00)
.org 0x8018F34 :: .dw (file_76DE00)
.org 0x8018F54 :: .dw (file_76DE00)
.org 0x8018FA0 :: .dw (file_76DE00)
.org 0x8018FF8 :: .dw (file_76DE00)
.org 0x8019040 :: .dw (file_76DE00)
.org 0x8019050 :: .dw (file_76DE00)
.org 0x8017EC8 :: .dw (file_76DE40)
.org 0x8017FC8 :: .dw (file_76DE40)
.org 0x801801C :: .dw (file_76DE40)
.org 0x801802C :: .dw (file_76DE40)
.org 0x80182C4 :: .dw (file_76DE40)
.org 0x8018318 :: .dw (file_76DE40)
.org 0x80186B4 :: .dw (file_76DE40)
.org 0x80186B8 :: .dw (file_76DE40)
.org 0x8018708 :: .dw (file_76DE40)
.org 0x80187B0 :: .dw (file_76DE40)
.org 0x8018B4C :: .dw (file_76DE40)
.org 0x8018B50 :: .dw (file_76DE40)
.org 0x8018C00 :: .dw (file_76DE40)
.org 0x8018DEC :: .dw (file_76DE40)
.org 0x8018E9C :: .dw (file_76DE40)
.org 0x801908C :: .dw (file_76DE40)
.org 0x8018CA0 :: .dw (file_76DE80)
.org 0x8018D94 :: .dw (file_76DE80)
.org 0x8018F3C :: .dw (file_76DE80)
.org 0x8019034 :: .dw (file_76DE80)
.org 0x8018660 :: .dw (file_76DEC0)
.org 0x8018AF8 :: .dw (file_76DEC0)
.org 0x8017E44 :: .dw (file_76DF00)
.org 0x8017EC4 :: .dw (file_76DF00)
.org 0x8017F20 :: .dw (file_76DF00)
.org 0x8017F44 :: .dw (file_76DF00)
.org 0x8017F90 :: .dw (file_76DF00)
.org 0x8018070 :: .dw (file_76DF00)
.org 0x8018248 :: .dw (file_76DF00)
.org 0x80182C0 :: .dw (file_76DF00)
.org 0x8018314 :: .dw (file_76DF00)
.org 0x801841C :: .dw (file_76DF00)
.org 0x801846C :: .dw (file_76DF00)
.org 0x80184D0 :: .dw (file_76DF00)
.org 0x8018574 :: .dw (file_76DF00)
.org 0x801870C :: .dw (file_76DF00)
.org 0x80187AC :: .dw (file_76DF00)
.org 0x80188B0 :: .dw (file_76DF00)
.org 0x8018904 :: .dw (file_76DF00)
.org 0x8018964 :: .dw (file_76DF00)
.org 0x8018A08 :: .dw (file_76DF00)
.org 0x8018BA8 :: .dw (file_76DF00)
.org 0x8018DF0 :: .dw (file_76DF00)
.org 0x8018E48 :: .dw (file_76DF00)
.org 0x8019090 :: .dw (file_76DF00)
.org 0x8017E38 :: .dw (file_76DF40)
.org 0x8017F38 :: .dw (file_76DF40)
.org 0x8018030 :: .dw (file_76DF40)
.org 0x801823C :: .dw (file_76DF40)
.org 0x8018374 :: .dw (file_76DF40)
.org 0x8018410 :: .dw (file_76DF40)
.org 0x801851C :: .dw (file_76DF40)
.org 0x801880C :: .dw (file_76DF40)
.org 0x80188A4 :: .dw (file_76DF40)
.org 0x80189B4 :: .dw (file_76DF40)
.org 0x8018B9C :: .dw (file_76DF40)
.org 0x8018BF0 :: .dw (file_76DF40)
.org 0x8018E3C :: .dw (file_76DF40)
.org 0x8018E8C :: .dw (file_76DF40)
.org 0x8017E24 :: .dw (file_76DF80)
.org 0x8017E28 :: .dw (file_76DF80)
.org 0x8017E3C :: .dw (file_76DF80)
.org 0x8017E48 :: .dw (file_76DF80)
.org 0x8017E98 :: .dw (file_76DF80)
.org 0x8017EF4 :: .dw (file_76DF80)
.org 0x8017F18 :: .dw (file_76DF80)
.org 0x8017F3C :: .dw (file_76DF80)
.org 0x8017F48 :: .dw (file_76DF80)
.org 0x8017F88 :: .dw (file_76DF80)
.org 0x80180C8 :: .dw (file_76DF80)
.org 0x80180CC :: .dw (file_76DF80)
.org 0x8018174 :: .dw (file_76DF80)
.org 0x80181E4 :: .dw (file_76DF80)
.org 0x801821C :: .dw (file_76DF80)
.org 0x8018220 :: .dw (file_76DF80)
.org 0x8018240 :: .dw (file_76DF80)
.org 0x801824C :: .dw (file_76DF80)
.org 0x8018370 :: .dw (file_76DF80)
.org 0x80184B8 :: .dw (file_76DF80)
.org 0x80185BC :: .dw (file_76DF80)
.org 0x80187D0 :: .dw (file_76DF80)
.org 0x8018808 :: .dw (file_76DF80)
.org 0x8018830 :: .dw (file_76DF80)
.org 0x8018884 :: .dw (file_76DF80)
.org 0x80188DC :: .dw (file_76DF80)
.org 0x801892C :: .dw (file_76DF80)
.org 0x801894C :: .dw (file_76DF80)
.org 0x8018988 :: .dw (file_76DF80)
.org 0x80189CC :: .dw (file_76DF80)
.org 0x8018A2C :: .dw (file_76DF80)
.org 0x8018A54 :: .dw (file_76DF80)
.org 0x8018A80 :: .dw (file_76DF80)
.org 0x8018AD0 :: .dw (file_76DF80)
.org 0x8018B24 :: .dw (file_76DF80)
.org 0x8018B78 :: .dw (file_76DF80)
.org 0x8018BA0 :: .dw (file_76DF80)
.org 0x8018C58 :: .dw (file_76DF80)
.org 0x8018DA4 :: .dw (file_76DF80)
.org 0x8018DF4 :: .dw (file_76DF80)
.org 0x8018E40 :: .dw (file_76DF80)
.org 0x8018E6C :: .dw (file_76DF80)
.org 0x8018EC4 :: .dw (file_76DF80)
.org 0x8018EF4 :: .dw (file_76DF80)
.org 0x8018F18 :: .dw (file_76DF80)
.org 0x8018F6C :: .dw (file_76DF80)
.org 0x8018FB8 :: .dw (file_76DF80)
.org 0x8019010 :: .dw (file_76DF80)
.org 0x8019044 :: .dw (file_76DF80)
.org 0x8019068 :: .dw (file_76DF80)
.org 0x8019094 :: .dw (file_76DF80)
.org 0x80190B0 :: .dw (file_76DF80)
.org 0x8017F1C :: .dw (file_76DFC0)
.org 0x8017F8C :: .dw (file_76DFC0)
.org 0x8017FCC :: .dw (file_76DFC0)
.org 0x8018020 :: .dw (file_76DFC0)
.org 0x801819C :: .dw (file_76DFC0)
.org 0x801836C :: .dw (file_76DFC0)
.org 0x80184C0 :: .dw (file_76DFC0)
.org 0x8018514 :: .dw (file_76DFC0)
.org 0x8018564 :: .dw (file_76DFC0)
.org 0x801860C :: .dw (file_76DFC0)
.org 0x8018664 :: .dw (file_76DFC0)
.org 0x8018804 :: .dw (file_76DFC0)
.org 0x8018954 :: .dw (file_76DFC0)
.org 0x80189AC :: .dw (file_76DFC0)
.org 0x80189F8 :: .dw (file_76DFC0)
.org 0x8018AA4 :: .dw (file_76DFC0)
.org 0x8018AFC :: .dw (file_76DFC0)
.org 0x8018728 :: .dw (file_76E000)
.org 0x8018774 :: .dw (file_76E000)
.org 0x8017FD4 :: .dw (file_76E040)
.org 0x8018078 :: .dw (file_76E040)
.org 0x80182E0 :: .dw (file_76E040)
.org 0x8018328 :: .dw (file_76E040)
.org 0x8018388 :: .dw (file_76E040)
.org 0x80183BC :: .dw (file_76E040)
.org 0x80183DC :: .dw (file_76E040)
.org 0x8018438 :: .dw (file_76E040)
.org 0x8018484 :: .dw (file_76E040)
.org 0x80184E4 :: .dw (file_76E040)
.org 0x8018524 :: .dw (file_76E040)
.org 0x8018588 :: .dw (file_76E040)
.org 0x80185D8 :: .dw (file_76E040)
.org 0x8018628 :: .dw (file_76E040)
.org 0x801867C :: .dw (file_76E040)
.org 0x80186B0 :: .dw (file_76E040)
.org 0x80186D0 :: .dw (file_76E040)
.org 0x8018734 :: .dw (file_76E040)
.org 0x8018780 :: .dw (file_76E040)
.org 0x8018854 :: .dw (file_76E040)
.org 0x8018B48 :: .dw (file_76E040)
.org 0x8018BBC :: .dw (file_76E040)
.org 0x8018C04 :: .dw (file_76E040)
.org 0x8018C18 :: .dw (file_76E040)
.org 0x8018C6C :: .dw (file_76E040)
.org 0x8018CC0 :: .dw (file_76E040)
.org 0x8018D08 :: .dw (file_76E040)
.org 0x8018D60 :: .dw (file_76E040)
.org 0x8018DB8 :: .dw (file_76E040)
.org 0x8018E00 :: .dw (file_76E040)
.org 0x8018EA0 :: .dw (file_76E040)
.org 0x8017E80 :: .dw (file_76E0C0)
.org 0x8017FC4 :: .dw (file_76E0C0)
.org 0x8018018 :: .dw (file_76E0C0)
.org 0x8017E18 :: .dw (file_76E140)
.org 0x8017E34 :: .dw (file_76E140)
.org 0x8017E50 :: .dw (file_76E140)
.org 0x8017E6C :: .dw (file_76E140)
.org 0x8017E84 :: .dw (file_76E140)
.org 0x8017EA4 :: .dw (file_76E140)
.org 0x8017EC0 :: .dw (file_76E140)
.org 0x8017EE0 :: .dw (file_76E140)
.org 0x8017F00 :: .dw (file_76E140)
.org 0x8017F14 :: .dw (file_76E140)
.org 0x8017F28 :: .dw (file_76E140)
.org 0x8017F2C :: .dw (file_76E140)
.org 0x8017F30 :: .dw (file_76E140)
.org 0x8017F34 :: .dw (file_76E140)
.org 0x8017F50 :: .dw (file_76E140)
.org 0x8017F6C :: .dw (file_76E140)
.org 0x8017F84 :: .dw (file_76E140)
.org 0x8017F9C :: .dw (file_76E140)
.org 0x8017FC0 :: .dw (file_76E140)
.org 0x8017FD0 :: .dw (file_76E140)
.org 0x8017FE4 :: .dw (file_76E140)
.org 0x8018014 :: .dw (file_76E140)
.org 0x8018024 :: .dw (file_76E140)
.org 0x8018038 :: .dw (file_76E140)
.org 0x8018068 :: .dw (file_76E140)
.org 0x8018080 :: .dw (file_76E140)
.org 0x80180BC :: .dw (file_76E140)
.org 0x80180D8 :: .dw (file_76E140)
.org 0x80180DC :: .dw (file_76E140)
.org 0x80180E0 :: .dw (file_76E140)
.org 0x80180E4 :: .dw (file_76E140)
.org 0x8018168 :: .dw (file_76E140)
.org 0x8018178 :: .dw (file_76E140)
.org 0x8018194 :: .dw (file_76E140)
.org 0x80181AC :: .dw (file_76E140)
.org 0x80181BC :: .dw (file_76E140)
.org 0x80181D0 :: .dw (file_76E140)
.org 0x80181F0 :: .dw (file_76E140)
.org 0x8018210 :: .dw (file_76E140)
.org 0x801822C :: .dw (file_76E140)
.org 0x8018230 :: .dw (file_76E140)
.org 0x8018234 :: .dw (file_76E140)
.org 0x8018238 :: .dw (file_76E140)
.org 0x8018254 :: .dw (file_76E140)
.org 0x80182BC :: .dw (file_76E140)
.org 0x80182DC :: .dw (file_76E140)
.org 0x80182F0 :: .dw (file_76E140)
.org 0x8018310 :: .dw (file_76E140)
.org 0x8018324 :: .dw (file_76E140)
.org 0x8018338 :: .dw (file_76E140)
.org 0x8018364 :: .dw (file_76E140)
.org 0x8018384 :: .dw (file_76E140)
.org 0x8018398 :: .dw (file_76E140)
.org 0x80183B8 :: .dw (file_76E140)
.org 0x80183D8 :: .dw (file_76E140)
.org 0x80183EC :: .dw (file_76E140)
.org 0x801840C :: .dw (file_76E140)
.org 0x8018434 :: .dw (file_76E140)
.org 0x8018448 :: .dw (file_76E140)
.org 0x8018460 :: .dw (file_76E140)
.org 0x8018480 :: .dw (file_76E140)
.org 0x8018494 :: .dw (file_76E140)
.org 0x80184B4 :: .dw (file_76E140)
.org 0x80184E0 :: .dw (file_76E140)
.org 0x80184F4 :: .dw (file_76E140)
.org 0x8018508 :: .dw (file_76E140)
.org 0x8018520 :: .dw (file_76E140)
.org 0x8018534 :: .dw (file_76E140)
.org 0x801855C :: .dw (file_76E140)
.org 0x8018584 :: .dw (file_76E140)
.org 0x8018598 :: .dw (file_76E140)
.org 0x80185B0 :: .dw (file_76E140)
.org 0x80185D4 :: .dw (file_76E140)
.org 0x80185E8 :: .dw (file_76E140)
.org 0x8018604 :: .dw (file_76E140)
.org 0x8018624 :: .dw (file_76E140)
.org 0x8018638 :: .dw (file_76E140)
.org 0x8018658 :: .dw (file_76E140)
.org 0x8018678 :: .dw (file_76E140)
.org 0x801868C :: .dw (file_76E140)
.org 0x80186AC :: .dw (file_76E140)
.org 0x80186CC :: .dw (file_76E140)
.org 0x80186E0 :: .dw (file_76E140)
.org 0x8018700 :: .dw (file_76E140)
.org 0x801871C :: .dw (file_76E140)
.org 0x8018730 :: .dw (file_76E140)
.org 0x8018744 :: .dw (file_76E140)
.org 0x8018754 :: .dw (file_76E140)
.org 0x8018768 :: .dw (file_76E140)
.org 0x801877C :: .dw (file_76E140)
.org 0x8018790 :: .dw (file_76E140)
.org 0x80187A8 :: .dw (file_76E140)
.org 0x80187BC :: .dw (file_76E140)
.org 0x80187DC :: .dw (file_76E140)
.org 0x80187FC :: .dw (file_76E140)
.org 0x801881C :: .dw (file_76E140)
.org 0x801883C :: .dw (file_76E140)
.org 0x8018850 :: .dw (file_76E140)
.org 0x8018870 :: .dw (file_76E140)
.org 0x8018890 :: .dw (file_76E140)
.org 0x80188C8 :: .dw (file_76E140)
.org 0x80188F8 :: .dw (file_76E140)
.org 0x8018918 :: .dw (file_76E140)
.org 0x8018938 :: .dw (file_76E140)
.org 0x8018974 :: .dw (file_76E140)
.org 0x80189A0 :: .dw (file_76E140)
.org 0x80189B8 :: .dw (file_76E140)
.org 0x80189D8 :: .dw (file_76E140)
.org 0x8018A18 :: .dw (file_76E140)
.org 0x8018A48 :: .dw (file_76E140)
.org 0x8018A6C :: .dw (file_76E140)
.org 0x8018A8C :: .dw (file_76E140)
.org 0x8018A9C :: .dw (file_76E140)
.org 0x8018ABC :: .dw (file_76E140)
.org 0x8018ADC :: .dw (file_76E140)
.org 0x8018AF0 :: .dw (file_76E140)
.org 0x8018B10 :: .dw (file_76E140)
.org 0x8018B30 :: .dw (file_76E140)
.org 0x8018B44 :: .dw (file_76E140)
.org 0x8018B64 :: .dw (file_76E140)
.org 0x8018B84 :: .dw (file_76E140)
.org 0x8018B98 :: .dw (file_76E140)
.org 0x8018BB8 :: .dw (file_76E140)
.org 0x8018BCC :: .dw (file_76E140)
.org 0x8018BEC :: .dw (file_76E140)
.org 0x8018C14 :: .dw (file_76E140)
.org 0x8018C28 :: .dw (file_76E140)
.org 0x8018C40 :: .dw (file_76E140)
.org 0x8018C68 :: .dw (file_76E140)
.org 0x8018C7C :: .dw (file_76E140)
.org 0x8018C94 :: .dw (file_76E140)
.org 0x8018CBC :: .dw (file_76E140)
.org 0x8018CD0 :: .dw (file_76E140)
.org 0x8018CE8 :: .dw (file_76E140)
.org 0x8018D04 :: .dw (file_76E140)
.org 0x8018D18 :: .dw (file_76E140)
.org 0x8018D3C :: .dw (file_76E140)
.org 0x8018D5C :: .dw (file_76E140)
.org 0x8018D70 :: .dw (file_76E140)
.org 0x8018D90 :: .dw (file_76E140)
.org 0x8018DB4 :: .dw (file_76E140)
.org 0x8018DC8 :: .dw (file_76E140)
.org 0x8018DE4 :: .dw (file_76E140)
.org 0x8018DFC :: .dw (file_76E140)
.org 0x8018E10 :: .dw (file_76E140)
.org 0x8018E38 :: .dw (file_76E140)
.org 0x8018E58 :: .dw (file_76E140)
.org 0x8018E78 :: .dw (file_76E140)
.org 0x8018EB0 :: .dw (file_76E140)
.org 0x8018F04 :: .dw (file_76E140)
.org 0x8018F58 :: .dw (file_76E140)
.org 0x8018F88 :: .dw (file_76E140)
.org 0x8018FA4 :: .dw (file_76E140)
.org 0x8018FC4 :: .dw (file_76E140)
.org 0x8018FDC :: .dw (file_76E140)
.org 0x8018FFC :: .dw (file_76E140)
.org 0x801901C :: .dw (file_76E140)
.org 0x8019030 :: .dw (file_76E140)
.org 0x8019054 :: .dw (file_76E140)
.org 0x8019074 :: .dw (file_76E140)
.org 0x8019084 :: .dw (file_76E140)
.org 0x801909C :: .dw (file_76E140)
.org 0x80190BC :: .dw (file_76E140)
.org 0x8017E4C :: .dw (file_76E180)
.org 0x8017F4C :: .dw (file_76E180)
.org 0x8017F98 :: .dw (file_76E180)
.org 0x8017FE0 :: .dw (file_76E180)
.org 0x801807C :: .dw (file_76E180)
.org 0x8018250 :: .dw (file_76E180)
.org 0x80182EC :: .dw (file_76E180)
.org 0x8018334 :: .dw (file_76E180)
.org 0x8018394 :: .dw (file_76E180)
.org 0x80183E8 :: .dw (file_76E180)
.org 0x8018444 :: .dw (file_76E180)
.org 0x8018490 :: .dw (file_76E180)
.org 0x80184F0 :: .dw (file_76E180)
.org 0x8018530 :: .dw (file_76E180)
.org 0x8018594 :: .dw (file_76E180)
.org 0x80185E4 :: .dw (file_76E180)
.org 0x8018634 :: .dw (file_76E180)
.org 0x8018688 :: .dw (file_76E180)
.org 0x80186DC :: .dw (file_76E180)
.org 0x8018740 :: .dw (file_76E180)
.org 0x801878C :: .dw (file_76E180)
.org 0x8018BC8 :: .dw (file_76E180)
.org 0x8018C24 :: .dw (file_76E180)
.org 0x8018C78 :: .dw (file_76E180)
.org 0x8018CCC :: .dw (file_76E180)
.org 0x8018D14 :: .dw (file_76E180)
.org 0x8018D6C :: .dw (file_76E180)
.org 0x8018DC4 :: .dw (file_76E180)
.org 0x8018E0C :: .dw (file_76E180)
.org 0x8017E14 :: .dw (file_76E1C0)
.org 0x8017E68 :: .dw (file_76E1C0)
.org 0x8017EBC :: .dw (file_76E1C0)
.org 0x8017F10 :: .dw (file_76E1C0)
.org 0x8017F68 :: .dw (file_76E1C0)
.org 0x8017FBC :: .dw (file_76E1C0)
.org 0x8018010 :: .dw (file_76E1C0)
.org 0x8018064 :: .dw (file_76E1C0)
.org 0x80180B8 :: .dw (file_76E1C0)
.org 0x8018164 :: .dw (file_76E1C0)
.org 0x80181B8 :: .dw (file_76E1C0)
.org 0x801820C :: .dw (file_76E1C0)
.org 0x80182B8 :: .dw (file_76E1C0)
.org 0x801830C :: .dw (file_76E1C0)
.org 0x8018360 :: .dw (file_76E1C0)
.org 0x80183B4 :: .dw (file_76E1C0)
.org 0x8018408 :: .dw (file_76E1C0)
.org 0x801845C :: .dw (file_76E1C0)
.org 0x80184B0 :: .dw (file_76E1C0)
.org 0x8018504 :: .dw (file_76E1C0)
.org 0x8018558 :: .dw (file_76E1C0)
.org 0x80185AC :: .dw (file_76E1C0)
.org 0x8018600 :: .dw (file_76E1C0)
.org 0x8018654 :: .dw (file_76E1C0)
.org 0x80186A8 :: .dw (file_76E1C0)
.org 0x80186FC :: .dw (file_76E1C0)
.org 0x8018750 :: .dw (file_76E1C0)
.org 0x80187A4 :: .dw (file_76E1C0)
.org 0x80187F8 :: .dw (file_76E1C0)
.org 0x801884C :: .dw (file_76E1C0)
.org 0x80188A0 :: .dw (file_76E1C0)
.org 0x80188F4 :: .dw (file_76E1C0)
.org 0x8018948 :: .dw (file_76E1C0)
.org 0x801899C :: .dw (file_76E1C0)
.org 0x80189F0 :: .dw (file_76E1C0)
.org 0x8018A44 :: .dw (file_76E1C0)
.org 0x8018A98 :: .dw (file_76E1C0)
.org 0x8018AEC :: .dw (file_76E1C0)
.org 0x8018B40 :: .dw (file_76E1C0)
.org 0x8018B94 :: .dw (file_76E1C0)
.org 0x8018BE8 :: .dw (file_76E1C0)
.org 0x8018C3C :: .dw (file_76E1C0)
.org 0x8018C90 :: .dw (file_76E1C0)
.org 0x8018CE4 :: .dw (file_76E1C0)
.org 0x8018D38 :: .dw (file_76E1C0)
.org 0x8018D8C :: .dw (file_76E1C0)
.org 0x8018DE0 :: .dw (file_76E1C0)
.org 0x8018E34 :: .dw (file_76E1C0)
.org 0x8018E88 :: .dw (file_76E1C0)
.org 0x8018EDC :: .dw (file_76E1C0)
.org 0x8018F30 :: .dw (file_76E1C0)
.org 0x8018F84 :: .dw (file_76E1C0)
.org 0x8018FD8 :: .dw (file_76E1C0)
.org 0x801902C :: .dw (file_76E1C0)
.org 0x8019080 :: .dw (file_76E1C0)
.org 0x8017E54 :: .dw (file_76E200)
.org 0x8017EA8 :: .dw (file_76E200)
.org 0x8017F04 :: .dw (file_76E200)
.org 0x8017F54 :: .dw (file_76E200)
.org 0x8017FA0 :: .dw (file_76E200)
.org 0x8017FE8 :: .dw (file_76E200)
.org 0x801803C :: .dw (file_76E200)
.org 0x8018084 :: .dw (file_76E200)
.org 0x80180E8 :: .dw (file_76E200)
.org 0x80181B0 :: .dw (file_76E200)
.org 0x80181F4 :: .dw (file_76E200)
.org 0x8018258 :: .dw (file_76E200)
.org 0x80182F4 :: .dw (file_76E200)
.org 0x801833C :: .dw (file_76E200)
.org 0x801839C :: .dw (file_76E200)
.org 0x80183F0 :: .dw (file_76E200)
.org 0x801844C :: .dw (file_76E200)
.org 0x8018498 :: .dw (file_76E200)
.org 0x80184F8 :: .dw (file_76E200)
.org 0x8018538 :: .dw (file_76E200)
.org 0x801859C :: .dw (file_76E200)
.org 0x80185EC :: .dw (file_76E200)
.org 0x801863C :: .dw (file_76E200)
.org 0x8018690 :: .dw (file_76E200)
.org 0x80186E4 :: .dw (file_76E200)
.org 0x8018748 :: .dw (file_76E200)
.org 0x8018794 :: .dw (file_76E200)
.org 0x80187E0 :: .dw (file_76E200)
.org 0x8018840 :: .dw (file_76E200)
.org 0x8018894 :: .dw (file_76E200)
.org 0x80188E8 :: .dw (file_76E200)
.org 0x801893C :: .dw (file_76E200)
.org 0x8018994 :: .dw (file_76E200)
.org 0x80189DC :: .dw (file_76E200)
.org 0x8018A38 :: .dw (file_76E200)
.org 0x8018A90 :: .dw (file_76E200)
.org 0x8018AE0 :: .dw (file_76E200)
.org 0x8018B34 :: .dw (file_76E200)
.org 0x8018B88 :: .dw (file_76E200)
.org 0x8018BD0 :: .dw (file_76E200)
.org 0x8018C2C :: .dw (file_76E200)
.org 0x8018C80 :: .dw (file_76E200)
.org 0x8018CD4 :: .dw (file_76E200)
.org 0x8018D1C :: .dw (file_76E200)
.org 0x8018D74 :: .dw (file_76E200)
.org 0x8018DCC :: .dw (file_76E200)
.org 0x8018E14 :: .dw (file_76E200)
.org 0x8018E7C :: .dw (file_76E200)
.org 0x8018ED0 :: .dw (file_76E200)
.org 0x8018F24 :: .dw (file_76E200)
.org 0x8018F78 :: .dw (file_76E200)
.org 0x8018FC8 :: .dw (file_76E200)
.org 0x8019020 :: .dw (file_76E200)
.org 0x8019078 :: .dw (file_76E200)
.org 0x80190C0 :: .dw (file_76E200)
.org 0x8018110 :: .dw (file_76E240)
.org 0x8018114 :: .dw (file_76E240+0x40)
.org 0x8018118 :: .dw (file_76E240+0x80)
.org 0x801811C :: .dw (file_76E240+0xC0)
.org 0x8018120 :: .dw (file_76E240+0x100)
.org 0x8018124 :: .dw (file_76E240+0x140)
.org 0x8018128 :: .dw (file_76E240+0x180)
.org 0x801812C :: .dw (file_76E240+0x1C0)
.org 0x8018130 :: .dw (file_76E240+0x200)
.org 0x8018134 :: .dw (file_76E240+0x240)
.org 0x8018138 :: .dw (file_76E240+0x280)
.org 0x8018264 :: .dw (file_76E240)
.org 0x8018268 :: .dw (file_76E240+0x40)
.org 0x801826C :: .dw (file_76E240+0x80)
.org 0x8018270 :: .dw (file_76E240+0xC0)
.org 0x8018274 :: .dw (file_76E240+0x100)
.org 0x8018278 :: .dw (file_76E240+0x140)
.org 0x801827C :: .dw (file_76E240+0x180)
.org 0x8018280 :: .dw (file_76E240+0x1C0)
.org 0x8018284 :: .dw (file_76E240+0x200)
.org 0x8018288 :: .dw (file_76E240+0x240)
.org 0x801828C :: .dw (file_76E240+0x280)
.org 0x80190D0 :: .dw (file_76E500)
.org 0x80190D4 :: .dw (file_76E540)
.org 0x80190D8 :: .dw (file_76E580)
.org 0x80190DC :: .dw (file_76E5C0)
.org 0x80190E0 :: .dw (file_76E600)
.org 0x80190E4 :: .dw (file_76E640)
.org 0x80190E8 :: .dw (file_76E680)
.org 0x80190EC :: .dw (file_76E6C0)
.org 0x80190F0 :: .dw (file_76E700)
.org 0x80190F4 :: .dw (file_76E740)
.org 0x80176D4 :: .dw (file_76E780)
.org 0x80176DC :: .dw filesize(TEMP+"/76E780.img.bin")
.org 0x8017B18 :: .dw (file_76E940)
.org 0x8017B20 :: .dw filesize(TEMP+"/76E940.img.bin")
.org 0x8017208 :: .dw (file_76ED80)
.org 0x80176A0 :: .dw (file_76ED80)
.org 0x80176E0 :: .dw (file_76ED80)
.org 0x8017B24 :: .dw (file_76ED80)
.org 0x80E3954 :: .dw (file_76ED80)
.org 0x8017624 :: .dw (file_76EDC0)
.org 0x80166CC :: .dw (file_76EDE0)
.org 0x80166D0 :: .dw (file_76F2E0)
.org 0x80166D4 :: .dw (file_76F7E0)
.org 0x8017B5C :: .dw (file_76FCE0)
.org 0x8016558 :: .dw (file_76FD00)
.org 0x8016564 :: .dw (file_770000)
.org 0x8015888 :: .dw (file_770080)
.org 0x801588C :: .dw (file_7700E0)
.org 0x8015890 :: .dw (file_770140)
.org 0x8022700 :: .dw (file_7704A0)
.org 0x8022708 :: .dw filesize(TEMP+"/7704A0.img.bin")
.org 0x802270C :: .dw (file_7711A0)
.org 0x8022714 :: .dw filesize(TEMP+"/7711A0.img.bin")
.org 0x8022718 :: .dw (file_771EA0)
.org 0x8022720 :: .dw filesize(TEMP+"/771EA0.img.bin")
.org 0x8022738 :: .dw (file_772B20)
.org 0x802273C :: .dw (file_772E50)
.org 0x8022740 :: .dw (file_773180)
.org 0x8022728 :: .dw (file_7734B0)
.org 0x802274C :: .dw (file_773D50)
.org 0x80220F8 :: .dw (file_774350)
.org 0x80220FC :: .dw (file_774890)
.org 0x8022104 :: .dw (file_7748B0)
.org 0x8022108 :: .dw (file_774DF0)
.org 0x802210C :: .dw (file_774E10)
.org 0x8022110 :: .dw (file_775350)
.org 0x8022114 :: .dw (file_775370)
.org 0x8022118 :: .dw (file_7758B0)
.org 0x8022120 :: .dw (file_7758D0)
.org 0x802211C :: .dw (file_775E10)
.org 0x8007478 :: .dw (file_775E90)
.org 0x80229E8 :: .dw (file_775E90)
.org 0x8022F90 :: .dw (file_775E90)
.org 0x8022410 :: .dw (file_776198)
.org 0x80225A0 :: .dw (file_776198)
.org 0x8022608 :: .dw (file_776198)
.org 0x8022670 :: .dw (file_776198)
.org 0x80074C4 :: .dw (file_776650)
.org 0x8007DAC :: .dw (file_776650)
.org 0x804FC24 :: .dw (file_777F58)
.org 0x806A544 :: .dw (file_778338)
.org 0x805174C :: .dw (file_778A4C)
.org 0x80349C4 :: .dw (file_778B08)
.org 0x80419B8 :: .dw (file_778B08)
.org 0x804CA10 :: .dw (file_778B08)
.org 0x804CB0C :: .dw (file_778B08)
.org 0x8051660 :: .dw (file_778B08)
.org 0x80D2A98 :: .dw (file_778B08)
.org 0x8040458 :: .dw (file_778C6C)
.org 0x8051680 :: .dw (file_778C6C)
.org 0x806A94A :: .dw (file_778CC0)
.org 0x806EE48 :: .dw (file_778CC0)
.org 0x805406C :: .dw (file_786D38)
.org 0x8054070 :: .dw (file_7870A8)
.org 0x8054074 :: .dw (file_787418)
.org 0x8054078 :: .dw (file_78776C)
.org 0x805407C :: .dw (file_787ACC)
.org 0x8054080 :: .dw (file_787E18)
.org 0x8054084 :: .dw (file_788198)
.org 0x8054088 :: .dw (file_7884E8)
.org 0x805408C :: .dw (file_788858)
.org 0x8054090 :: .dw (file_788BD8)
.org 0x8054094 :: .dw (file_788F40)
.org 0x8054098 :: .dw (file_7892C8)
.org 0x805409C :: .dw (file_78963C)
.org 0x80540A8 :: .dw (file_789998)
.org 0x80540AC :: .dw (file_789D00)
.org 0x80540B0 :: .dw (file_78A088)
.org 0x80540B4 :: .dw (file_78A420)
.org 0x80540B8 :: .dw (file_78A7A8)
.org 0x80540BC :: .dw (file_78AAF0)
.org 0x80540C0 :: .dw (file_78AE58)
.org 0x80540C4 :: .dw (file_78B1C0)
.org 0x80540C8 :: .dw (file_786D38)
.org 0x80540CC :: .dw (file_7870A8)
.org 0x80540D0 :: .dw (file_787418)
.org 0x80540D4 :: .dw (file_78776C)
.org 0x80540D8 :: .dw (file_787ACC)
.org 0x80540DC :: .dw (file_787E18)
.org 0x80540E0 :: .dw (file_788198)
.org 0x80540E4 :: .dw (file_7884E8)
.org 0x80540E8 :: .dw (file_788858)
.org 0x80540EC :: .dw (file_788BD8)
.org 0x80540F0 :: .dw (file_788F40)
.org 0x80540F4 :: .dw (file_7892C8)
.org 0x80540F8 :: .dw (file_78963C)
.org 0x8054104 :: .dw (file_789998)
.org 0x8054108 :: .dw (file_789D00)
.org 0x805410C :: .dw (file_78A088)
.org 0x8054110 :: .dw (file_78A420)
.org 0x8054114 :: .dw (file_78A7A8)
.org 0x8054118 :: .dw (file_78AAF0)
.org 0x805411C :: .dw (file_78AE58)
.org 0x8054120 :: .dw (file_78B1C0)
.org 0x8054124 :: .dw (file_786D38)
.org 0x8054128 :: .dw (file_7870A8)
.org 0x805412C :: .dw (file_787418)
.org 0x8054130 :: .dw (file_78776C)
.org 0x8054134 :: .dw (file_787ACC)
.org 0x8054138 :: .dw (file_787E18)
.org 0x805413C :: .dw (file_788198)
.org 0x8054140 :: .dw (file_7884E8)
.org 0x8054144 :: .dw (file_788858)
.org 0x8054148 :: .dw (file_788BD8)
.org 0x805414C :: .dw (file_788F40)
.org 0x8054150 :: .dw (file_7892C8)
.org 0x8054154 :: .dw (file_78963C)
.org 0x8054160 :: .dw (file_789998)
.org 0x8054164 :: .dw (file_789D00)
.org 0x8054168 :: .dw (file_78A088)
.org 0x805416C :: .dw (file_78A420)
.org 0x8054170 :: .dw (file_78A7A8)
.org 0x8054174 :: .dw (file_78AAF0)
.org 0x8054178 :: .dw (file_78AE58)
.org 0x805417C :: .dw (file_78B1C0)
.org 0x8054180 :: .dw (file_786D38)
.org 0x8054184 :: .dw (file_7870A8)
.org 0x8054188 :: .dw (file_787418)
.org 0x805418C :: .dw (file_78776C)
.org 0x8054190 :: .dw (file_787ACC)
.org 0x8054194 :: .dw (file_787E18)
.org 0x8054198 :: .dw (file_788198)
.org 0x805419C :: .dw (file_7884E8)
.org 0x80541A0 :: .dw (file_788858)
.org 0x80541A4 :: .dw (file_788BD8)
.org 0x80541A8 :: .dw (file_788F40)
.org 0x80541AC :: .dw (file_7892C8)
.org 0x80541B0 :: .dw (file_78963C)
.org 0x80541BC :: .dw (file_789998)
.org 0x80541C0 :: .dw (file_789D00)
.org 0x80541C4 :: .dw (file_78A088)
.org 0x80541C8 :: .dw (file_78A420)
.org 0x80541CC :: .dw (file_78A7A8)
.org 0x80541D0 :: .dw (file_78AAF0)
.org 0x80541D4 :: .dw (file_78AE58)
.org 0x80541D8 :: .dw (file_78B1C0)
.org 0x80541DC :: .dw (file_78B50C)
.org 0x80541E0 :: .dw (file_78B588)
.org 0x80541E4 :: .dw (file_78B610)
.org 0x80541E8 :: .dw (file_78B688)
.org 0x80541EC :: .dw (file_78B6F4)
.org 0x80541F0 :: .dw (file_78B784)
.org 0x80541F4 :: .dw (file_78B804)
.org 0x80541F8 :: .dw (file_78B878)
.org 0x80541FC :: .dw (file_78B8F0)
.org 0x8054200 :: .dw (file_78B96C)
.org 0x8054204 :: .dw (file_78B9E8)
.org 0x8054208 :: .dw (file_78BA60)
.org 0x805420C :: .dw (file_78BAE4)
.org 0x8054218 :: .dw (file_78BB64)
.org 0x805421C :: .dw (file_78BBDC)
.org 0x8054220 :: .dw (file_78BC58)
.org 0x8054224 :: .dw (file_78BCD8)
.org 0x8054228 :: .dw (file_78BD54)
.org 0x805422C :: .dw (file_78BDC4)
.org 0x8054230 :: .dw (file_78BE3C)
.org 0x8054234 :: .dw (file_78BEB8)
.org 0x8054238 :: .dw (file_786D38)
.org 0x805423C :: .dw (file_7870A8)
.org 0x8054240 :: .dw (file_787418)
.org 0x8054244 :: .dw (file_78776C)
.org 0x8054248 :: .dw (file_787ACC)
.org 0x805424C :: .dw (file_787E18)
.org 0x8054250 :: .dw (file_788198)
.org 0x8054254 :: .dw (file_7884E8)
.org 0x8054258 :: .dw (file_788858)
.org 0x805425C :: .dw (file_788BD8)
.org 0x8054260 :: .dw (file_788F40)
.org 0x8054264 :: .dw (file_7892C8)
.org 0x8054268 :: .dw (file_78963C)
.org 0x8054274 :: .dw (file_789998)
.org 0x8054278 :: .dw (file_789D00)
.org 0x805427C :: .dw (file_78A088)
.org 0x8054280 :: .dw (file_78A420)
.org 0x8054284 :: .dw (file_78A7A8)
.org 0x8054288 :: .dw (file_78AAF0)
.org 0x805428C :: .dw (file_78AE58)
.org 0x8054290 :: .dw (file_78B1C0)
.org 0x8054294 :: .dw (file_786D38)
.org 0x8054298 :: .dw (file_7870A8)
.org 0x805429C :: .dw (file_787418)
.org 0x80542A0 :: .dw (file_78776C)
.org 0x80542A4 :: .dw (file_787ACC)
.org 0x80542A8 :: .dw (file_787E18)
.org 0x80542AC :: .dw (file_788198)
.org 0x80542B0 :: .dw (file_7884E8)
.org 0x80542B4 :: .dw (file_788858)
.org 0x80542B8 :: .dw (file_788BD8)
.org 0x80542BC :: .dw (file_788F40)
.org 0x80542C0 :: .dw (file_7892C8)
.org 0x80542C4 :: .dw (file_78963C)
.org 0x80542D0 :: .dw (file_789998)
.org 0x80542D4 :: .dw (file_789D00)
.org 0x80542D8 :: .dw (file_78A088)
.org 0x80542DC :: .dw (file_78A420)
.org 0x80542E0 :: .dw (file_78A7A8)
.org 0x80542E4 :: .dw (file_78AAF0)
.org 0x80542E8 :: .dw (file_78AE58)
.org 0x80542EC :: .dw (file_78B1C0)
.org 0x80542F0 :: .dw (file_786D38)
.org 0x80542F4 :: .dw (file_7870A8)
.org 0x80542F8 :: .dw (file_787418)
.org 0x80542FC :: .dw (file_78776C)
.org 0x8054300 :: .dw (file_787ACC)
.org 0x8054304 :: .dw (file_787E18)
.org 0x8054308 :: .dw (file_788198)
.org 0x805430C :: .dw (file_7884E8)
.org 0x8054310 :: .dw (file_788858)
.org 0x8054314 :: .dw (file_788BD8)
.org 0x8054318 :: .dw (file_788F40)
.org 0x805431C :: .dw (file_7892C8)
.org 0x8054320 :: .dw (file_78963C)
.org 0x805432C :: .dw (file_789998)
.org 0x8054330 :: .dw (file_789D00)
.org 0x8054334 :: .dw (file_78A088)
.org 0x8054338 :: .dw (file_78A420)
.org 0x805433C :: .dw (file_78A7A8)
.org 0x8054340 :: .dw (file_78AAF0)
.org 0x8054344 :: .dw (file_78AE58)
.org 0x8054348 :: .dw (file_78B1C0)
.org 0x8053928 :: .dw (file_799314)
.org 0x805392C :: .dw (file_7994EC)
.org 0x8053930 :: .dw (file_79975C)
.org 0x8053934 :: .dw (file_799A3C)
.org 0x80539C8 :: .dw (file_799CAC)
.org 0x80539CC :: .dw (file_799F58)
.org 0x80539D0 :: .dw (file_79A340)
.org 0x80539D4 :: .dw (file_79A5F8)
.org 0x8053A68 :: .dw (file_79A8E4)
.org 0x8053A6C :: .dw (file_79AB58)
.org 0x8053A70 :: .dw (file_79AF64)
.org 0x8053A74 :: .dw (file_79B45C)
.org 0x8053B08 :: .dw (file_79B750)
.org 0x8053B0C :: .dw (file_79BB10)
.org 0x8053B10 :: .dw (file_79BDE4)
.org 0x8053B14 :: .dw (file_79C084)
.org 0x8053B60 :: .dw (file_79C1D8)
.org 0x8053B64 :: .dw (file_79C240)
.org 0x8053B8C :: .dw (file_79C2B4)
.org 0x8053DD0 :: .dw (file_79C2C4)
.org 0x8053DD4 :: .dw (file_79C518)
.org 0x8053DD8 :: .dw (file_79C554)
.org 0x8053DDC :: .dw (file_79C590)
.org 0x8053DE0 :: .dw (file_79C5CC)
.org 0x8053DE4 :: .dw (file_79C608)
.org 0x8053DE8 :: .dw (file_79C858)
.org 0x8053DEC :: .dw (file_79C868)
.org 0x8053DF0 :: .dw (file_79C878)
.org 0x8053DF4 :: .dw (file_79C888)
.org 0x8053DF8 :: .dw (file_79C898)
.org 0x8053DFC :: .dw (file_79C8A8)
.org 0x8053E00 :: .dw (file_79C8B8)
.org 0x8053E04 :: .dw (file_79C8C8)
.org 0x8053E08 :: .dw (file_79C8D8)
.org 0x8053E0C :: .dw (file_79C8F8)
.org 0x8053F78 :: .dw (file_79CB64)
.org 0x8053F7C :: .dw (file_79CBCC)
.org 0x8053F80 :: .dw (file_79CC08)
.org 0x8053F84 :: .dw (file_79CC44)
.org 0x8053F88 :: .dw (file_79CC80)
.org 0x8053F8C :: .dw (file_79CC90)
.org 0x8053F90 :: .dw (file_79CCA0)
.org 0x8053F94 :: .dw (file_79CCB0)
.org 0x8053F98 :: .dw (file_79CEE4)
.org 0x8053F9C :: .dw (file_79CEF4)
.org 0x80538A8 :: .dw (file_79CF04)
.org 0x80538AC :: .dw (file_79D108)
.org 0x80538B0 :: .dw (file_79D650)
.org 0x80538B4 :: .dw (file_79DC10)
.org 0x80538B8 :: .dw (file_79E148)
.org 0x80538BC :: .dw (file_79E890)
.org 0x80538C0 :: .dw (file_79EE9C)
.org 0x80538C4 :: .dw (file_79F30C)
.org 0x80538C8 :: .dw (file_79FCC8)
.org 0x80538CC :: .dw (file_79FFF4)
.org 0x80538D0 :: .dw (file_7A0354)
.org 0x80538D4 :: .dw (file_7A0734)
.org 0x80538D8 :: .dw (file_7A0A44)
.org 0x80538DC :: .dw (file_7A0D18)
.org 0x80538E0 :: .dw (file_7A1170)
.org 0x80538E4 :: .dw (file_7A152C)
.org 0x80538E8 :: .dw (file_7A32A8)
.org 0x80538EC :: .dw (file_7A3C0C)
.org 0x80538F0 :: .dw (file_7A4010)
.org 0x80538F4 :: .dw (file_7A4348)
.org 0x80538F8 :: .dw (file_7A47A0)
.org 0x80538FC :: .dw (file_7A4A8C)
.org 0x8053900 :: .dw (file_7A4DD4)
.org 0x8053904 :: .dw (file_7A5604)
.org 0x8053908 :: .dw (file_7A6778)
.org 0x805390C :: .dw (file_7A685C)
.org 0x8053910 :: .dw (file_7A6990)
.org 0x8053914 :: .dw (file_7A6A68)
.org 0x8053918 :: .dw (file_7A6B84)
.org 0x805391C :: .dw (file_7A6BC8)
.org 0x8053920 :: .dw (file_7A6F0C)
.org 0x8053924 :: .dw (file_7A7000)
.org 0x8053948 :: .dw (file_7A7B74)
.org 0x805394C :: .dw (file_7A7C04)
.org 0x8053950 :: .dw (file_7A7CF8)
.org 0x8053954 :: .dw (file_7A7E1C)
.org 0x8053958 :: .dw (file_7A7EF8)
.org 0x805395C :: .dw (file_7A7FC4)
.org 0x8053960 :: .dw (file_7A8218)
.org 0x8053964 :: .dw (file_7A82D8)
.org 0x8053968 :: .dw (file_7A87FC)
.org 0x805396C :: .dw (file_7A8864)
.org 0x8053970 :: .dw (file_7A8928)
.org 0x8053974 :: .dw (file_7A89E4)
.org 0x8053978 :: .dw (file_7A8AE0)
.org 0x805397C :: .dw (file_7A8B9C)
.org 0x8053980 :: .dw (file_7A8E20)
.org 0x8053984 :: .dw (file_7A8EC0)
.org 0x8053988 :: .dw (file_7A9954)
.org 0x805398C :: .dw (file_7A99C0)
.org 0x8053990 :: .dw (file_7A9AC0)
.org 0x8053994 :: .dw (file_7A9BA0)
.org 0x8053998 :: .dw (file_7A9CAC)
.org 0x805399C :: .dw (file_7A9DA8)
.org 0x80539A0 :: .dw (file_7A9E44)
.org 0x80539A4 :: .dw (file_7A9EE4)
.org 0x80539A8 :: .dw (file_7AAB30)
.org 0x80539AC :: .dw (file_7AABB0)
.org 0x80539B0 :: .dw (file_7AACC0)
.org 0x80539B4 :: .dw (file_7AAD84)
.org 0x80539B8 :: .dw (file_7AAEF0)
.org 0x80539BC :: .dw (file_7AAF94)
.org 0x80539C0 :: .dw (file_7AB420)
.org 0x80539C4 :: .dw (file_7AB4B4)
.org 0x80539E8 :: .dw (file_7AD8D0)
.org 0x80539EC :: .dw (file_7AD978)
.org 0x80539F0 :: .dw (file_7ADA60)
.org 0x80539F4 :: .dw (file_7ADB90)
.org 0x80539F8 :: .dw (file_7ADCA4)
.org 0x80539FC :: .dw (file_7ADD74)
.org 0x8053A00 :: .dw (file_7AE01C)
.org 0x8053A04 :: .dw (file_7AE0A0)
.org 0x8053A08 :: .dw (file_7AEEC0)
.org 0x8053A0C :: .dw (file_7AEF4C)
.org 0x8053A10 :: .dw (file_7AF098)
.org 0x8053A14 :: .dw (file_7AF164)
.org 0x8053A18 :: .dw (file_7AF2F8)
.org 0x8053A1C :: .dw (file_7AF3E8)
.org 0x8053A20 :: .dw (file_7AF624)
.org 0x8053A24 :: .dw (file_7AF6D0)
.org 0x8053A28 :: .dw (file_7B02AC)
.org 0x8053A2C :: .dw (file_7B0328)
.org 0x8053A30 :: .dw (file_7B03C4)
.org 0x8053A34 :: .dw (file_7B0488)
.org 0x8053A38 :: .dw (file_7B0574)
.org 0x8053A3C :: .dw (file_7B0638)
.org 0x8053A40 :: .dw (file_7B0978)
.org 0x8053A44 :: .dw (file_7B09F4)
.org 0x8053A48 :: .dw (file_7B19A8)
.org 0x8053A4C :: .dw (file_7B1A54)
.org 0x8053A50 :: .dw (file_7B1AC4)
.org 0x8053A54 :: .dw (file_7B1BC0)
.org 0x8053A58 :: .dw (file_7B1C78)
.org 0x8053A5C :: .dw (file_7B1D40)
.org 0x8053A60 :: .dw (file_7B1F44)
.org 0x8053A64 :: .dw (file_7B1FF4)
.org 0x8053A88 :: .dw (file_7B3120)
.org 0x8053A8C :: .dw (file_7A6B84)
.org 0x8053A90 :: .dw (file_7A6B84)
.org 0x8053A94 :: .dw (file_7A6B84)
.org 0x8053A98 :: .dw (file_7A6B84)
.org 0x8053A9C :: .dw (file_7B32B0)
.org 0x8053AA0 :: .dw (file_7A6B84)
.org 0x8053AA4 :: .dw (file_7B3490)
.org 0x8053AA8 :: .dw (file_7A6B84)
.org 0x8053AAC :: .dw (file_7A6B84)
.org 0x8053AB0 :: .dw (file_7A6B84)
.org 0x8053AB4 :: .dw (file_7A6B84)
.org 0x8053AB8 :: .dw (file_7A6B84)
.org 0x8053ABC :: .dw (file_7B39D0)
.org 0x8053AC0 :: .dw (file_7A6B84)
.org 0x8053AC4 :: .dw (file_7B3C30)
.org 0x8053AC8 :: .dw (file_7B3E60)
.org 0x8053ACC :: .dw (file_7A6B84)
.org 0x8053AD0 :: .dw (file_7A6B84)
.org 0x8053AD4 :: .dw (file_7A6B84)
.org 0x8053AD8 :: .dw (file_7A6B84)
.org 0x8053ADC :: .dw (file_7B3FF0)
.org 0x8053AE0 :: .dw (file_7A6B84)
.org 0x8053AE4 :: .dw (file_7B4184)
.org 0x8053AE8 :: .dw (file_7B450C)
.org 0x8053AEC :: .dw (file_7A6B84)
.org 0x8053AF0 :: .dw (file_7A6B84)
.org 0x8053AF4 :: .dw (file_7A6B84)
.org 0x8053AF8 :: .dw (file_7A6B84)
.org 0x8053AFC :: .dw (file_7B469C)
.org 0x8053B00 :: .dw (file_7A6B84)
.org 0x8053B04 :: .dw (file_7B4A6C)
.org 0x8053B20 :: .dw (file_7B5110)
.org 0x8053B24 :: .dw (file_7A6B84)
.org 0x8053B28 :: .dw (file_7A6B84)
.org 0x8053B2C :: .dw (file_7A6B84)
.org 0x8053B30 :: .dw (file_7A6B84)
.org 0x8053B34 :: .dw (file_7A6B84)
.org 0x8053B38 :: .dw (file_7A6B84)
.org 0x8053B3C :: .dw (file_7B5328)
.org 0x8053B40 :: .dw (file_7B5AA8)
.org 0x8053B44 :: .dw (file_7A6B84)
.org 0x8053B48 :: .dw (file_7A6B84)
.org 0x8053B4C :: .dw (file_7A6B84)
.org 0x8053B50 :: .dw (file_7A6B84)
.org 0x8053B54 :: .dw (file_7A6B84)
.org 0x8053B58 :: .dw (file_7A6B84)
.org 0x8053B5C :: .dw (file_7B5CC0)
.org 0x8053B6C :: .dw (file_7A6B84)
.org 0x8053B70 :: .dw (file_7A6B84)
.org 0x8053B74 :: .dw (file_7A6B84)
.org 0x8053B78 :: .dw (file_7A6B84)
.org 0x8053B7C :: .dw (file_7A6B84)
.org 0x8053B80 :: .dw (file_7A6B84)
.org 0x8053B84 :: .dw (file_7A6B84)
.org 0x8053B88 :: .dw (file_7B67C8)
.org 0x8053BD0 :: .dw (file_7A6B84)
.org 0x8053BD4 :: .dw (file_7A6B84)
.org 0x8053BD8 :: .dw (file_7A6B84)
.org 0x8053BDC :: .dw (file_7A6B84)
.org 0x8053BE0 :: .dw (file_7A6B84)
.org 0x8053BE4 :: .dw (file_7B6E20)
.org 0x8053BE8 :: .dw (file_7A6B84)
.org 0x8053BEC :: .dw (file_7B6F9C)
.org 0x8053BF0 :: .dw (file_7A6B84)
.org 0x8053BF4 :: .dw (file_7A6B84)
.org 0x8053BF8 :: .dw (file_7A6B84)
.org 0x8053BFC :: .dw (file_7A6B84)
.org 0x8053C00 :: .dw (file_7A6B84)
.org 0x8053C04 :: .dw (file_7A6B84)
.org 0x8053C08 :: .dw (file_7A6B84)
.org 0x8053C0C :: .dw (file_7B76D4)
.org 0x8053C10 :: .dw (file_7A6B84)
.org 0x8053C14 :: .dw (file_7A6B84)
.org 0x8053C18 :: .dw (file_7A6B84)
.org 0x8053C1C :: .dw (file_7A6B84)
.org 0x8053C20 :: .dw (file_7A6B84)
.org 0x8053C24 :: .dw (file_7A6B84)
.org 0x8053C28 :: .dw (file_7A6B84)
.org 0x8053C2C :: .dw (file_7B7AF0)
.org 0x8053C30 :: .dw (file_7A6B84)
.org 0x8053C34 :: .dw (file_7A6B84)
.org 0x8053C38 :: .dw (file_7A6B84)
.org 0x8053C3C :: .dw (file_7A6B84)
.org 0x8053C40 :: .dw (file_7A6B84)
.org 0x8053C44 :: .dw (file_7A6B84)
.org 0x8053C48 :: .dw (file_7A6B84)
.org 0x8053C4C :: .dw (file_7B7EF8)
.org 0x8053C50 :: .dw (file_7A6B84)
.org 0x8053C54 :: .dw (file_7A6B84)
.org 0x8053C58 :: .dw (file_7A6B84)
.org 0x8053C5C :: .dw (file_7A6B84)
.org 0x8053C60 :: .dw (file_7A6B84)
.org 0x8053C64 :: .dw (file_7B827C)
.org 0x8053C68 :: .dw (file_7A6B84)
.org 0x8053C6C :: .dw (file_7B84C8)
.org 0x8053C70 :: .dw (file_7A6B84)
.org 0x8053C74 :: .dw (file_7A6B84)
.org 0x8053C78 :: .dw (file_7A6B84)
.org 0x8053C7C :: .dw (file_7A6B84)
.org 0x8053C80 :: .dw (file_7A6B84)
.org 0x8053C84 :: .dw (file_7A6B84)
.org 0x8053C88 :: .dw (file_7A6B84)
.org 0x8053C8C :: .dw (file_7B8AB4)
.org 0x8053C90 :: .dw (file_7A6B84)
.org 0x8053C94 :: .dw (file_7A6B84)
.org 0x8053C98 :: .dw (file_7A6B84)
.org 0x8053C9C :: .dw (file_7A6B84)
.org 0x8053CA0 :: .dw (file_7A6B84)
.org 0x8053CA4 :: .dw (file_7A6B84)
.org 0x8053CA8 :: .dw (file_7A6B84)
.org 0x8053CAC :: .dw (file_7B9104)
.org 0x8053CB0 :: .dw (file_7A6B84)
.org 0x8053CB4 :: .dw (file_7A6B84)
.org 0x8053CB8 :: .dw (file_7A6B84)
.org 0x8053CBC :: .dw (file_7A6B84)
.org 0x8053CC0 :: .dw (file_7A6B84)
.org 0x8053CC4 :: .dw (file_7B94AC)
.org 0x8053CC8 :: .dw (file_7A6B84)
.org 0x8053CCC :: .dw (file_7B9748)
.org 0x8053CD0 :: .dw (file_7A6B84)
.org 0x8053CD4 :: .dw (file_7A6B84)
.org 0x8053CD8 :: .dw (file_7A6B84)
.org 0x8053CDC :: .dw (file_7A6B84)
.org 0x8053CE0 :: .dw (file_7A6B84)
.org 0x8053CE4 :: .dw (file_7A6B84)
.org 0x8053CE8 :: .dw (file_7A6B84)
.org 0x8053CEC :: .dw (file_7B9C94)
.org 0x8053CF0 :: .dw (file_7A6B84)
.org 0x8053CF4 :: .dw (file_7A6B84)
.org 0x8053CF8 :: .dw (file_7A6B84)
.org 0x8053CFC :: .dw (file_7A6B84)
.org 0x8053D00 :: .dw (file_7A6B84)
.org 0x8053D04 :: .dw (file_7A6B84)
.org 0x8053D08 :: .dw (file_7A6B84)
.org 0x8053D0C :: .dw (file_7BA26C)
.org 0x8053D10 :: .dw (file_7A6B84)
.org 0x8053D14 :: .dw (file_7A6B84)
.org 0x8053D18 :: .dw (file_7A6B84)
.org 0x8053D1C :: .dw (file_7A6B84)
.org 0x8053D20 :: .dw (file_7A6B84)
.org 0x8053D24 :: .dw (file_7BA660)
.org 0x8053D28 :: .dw (file_7A6B84)
.org 0x8053D2C :: .dw (file_7BA7A0)
.org 0x8053D30 :: .dw (file_7A6B84)
.org 0x8053D34 :: .dw (file_7A6B84)
.org 0x8053D38 :: .dw (file_7A6B84)
.org 0x8053D3C :: .dw (file_7A6B84)
.org 0x8053D40 :: .dw (file_7A6B84)
.org 0x8053D44 :: .dw (file_7BACD8)
.org 0x8053D48 :: .dw (file_7A6B84)
.org 0x8053D4C :: .dw (file_7BAEF8)
.org 0x8053D50 :: .dw (file_7A6B84)
.org 0x8053D54 :: .dw (file_7A6B84)
.org 0x8053D58 :: .dw (file_7A6B84)
.org 0x8053D5C :: .dw (file_7A6B84)
.org 0x8053D60 :: .dw (file_7A6B84)
.org 0x8053D64 :: .dw (file_7A6B84)
.org 0x8053D68 :: .dw (file_7A6B84)
.org 0x8053D6C :: .dw (file_7BB31C)
.org 0x8053D70 :: .dw (file_7A6B84)
.org 0x8053D74 :: .dw (file_7A6B84)
.org 0x8053D78 :: .dw (file_7A6B84)
.org 0x8053D7C :: .dw (file_7A6B84)
.org 0x8053D80 :: .dw (file_7A6B84)
.org 0x8053D84 :: .dw (file_7BB6C8)
.org 0x8053D88 :: .dw (file_7A6B84)
.org 0x8053D8C :: .dw (file_7BB878)
.org 0x8053D90 :: .dw (file_7A6B84)
.org 0x8053D94 :: .dw (file_7A6B84)
.org 0x8053D98 :: .dw (file_7A6B84)
.org 0x8053D9C :: .dw (file_7A6B84)
.org 0x8053DA0 :: .dw (file_7A6B84)
.org 0x8053DA4 :: .dw (file_7A6B84)
.org 0x8053DA8 :: .dw (file_7A6B84)
.org 0x8053DAC :: .dw (file_7BBE54)
.org 0x8053DB0 :: .dw (file_7A6B84)
.org 0x8053DB4 :: .dw (file_7A6B84)
.org 0x8053DB8 :: .dw (file_7A6B84)
.org 0x8053DBC :: .dw (file_7A6B84)
.org 0x8053DC0 :: .dw (file_7A6B84)
.org 0x8053DC4 :: .dw (file_7A6B84)
.org 0x8053DC8 :: .dw (file_7A6B84)
.org 0x8053DCC :: .dw (file_7BC27C)
.org 0x8053E38 :: .dw (file_7A6B84)
.org 0x8053E3C :: .dw (file_7A6B84)
.org 0x8053E40 :: .dw (file_7A6B84)
.org 0x8053E44 :: .dw (file_7A6B84)
.org 0x8053E48 :: .dw (file_7A6B84)
.org 0x8053E4C :: .dw (file_7A6B84)
.org 0x8053E50 :: .dw (file_7A6B84)
.org 0x8053E54 :: .dw (file_7BC870)
.org 0x8053E58 :: .dw (file_7A6B84)
.org 0x8053E5C :: .dw (file_7A6B84)
.org 0x8053E60 :: .dw (file_7A6B84)
.org 0x8053E64 :: .dw (file_7A6B84)
.org 0x8053E68 :: .dw (file_7A6B84)
.org 0x8053E6C :: .dw (file_7BCC34)
.org 0x8053E70 :: .dw (file_7A6B84)
.org 0x8053E74 :: .dw (file_7BCEBC)
.org 0x8053E78 :: .dw (file_7A6B84)
.org 0x8053E7C :: .dw (file_7A6B84)
.org 0x8053E80 :: .dw (file_7A6B84)
.org 0x8053E84 :: .dw (file_7A6B84)
.org 0x8053E88 :: .dw (file_7A6B84)
.org 0x8053E8C :: .dw (file_7BD240)
.org 0x8053E90 :: .dw (file_7A6B84)
.org 0x8053E94 :: .dw (file_7BD4B0)
.org 0x8053E98 :: .dw (file_7A6B84)
.org 0x8053E9C :: .dw (file_7A6B84)
.org 0x8053EA0 :: .dw (file_7A6B84)
.org 0x8053EA4 :: .dw (file_7A6B84)
.org 0x8053EA8 :: .dw (file_7A6B84)
.org 0x8053EAC :: .dw (file_7A6B84)
.org 0x8053EB0 :: .dw (file_7A6B84)
.org 0x8053EB4 :: .dw (file_7BDC90)
.org 0x8053EB8 :: .dw (file_7A6B84)
.org 0x8053EBC :: .dw (file_7A6B84)
.org 0x8053EC0 :: .dw (file_7A6B84)
.org 0x8053EC4 :: .dw (file_7A6B84)
.org 0x8053EC8 :: .dw (file_7A6B84)
.org 0x8053ECC :: .dw (file_7A6B84)
.org 0x8053ED0 :: .dw (file_7A6B84)
.org 0x8053ED4 :: .dw (file_7BE0CC)
.org 0x8053ED8 :: .dw (file_7A6B84)
.org 0x8053EDC :: .dw (file_7A6B84)
.org 0x8053EE0 :: .dw (file_7A6B84)
.org 0x8053EE4 :: .dw (file_7A6B84)
.org 0x8053EE8 :: .dw (file_7A6B84)
.org 0x8053EEC :: .dw (file_7A6B84)
.org 0x8053EF0 :: .dw (file_7A6B84)
.org 0x8053EF4 :: .dw (file_7BE518)
.org 0x8053EF8 :: .dw (file_7A6B84)
.org 0x8053EFC :: .dw (file_7A6B84)
.org 0x8053F00 :: .dw (file_7A6B84)
.org 0x8053F04 :: .dw (file_7A6B84)
.org 0x8053F08 :: .dw (file_7A6B84)
.org 0x8053F0C :: .dw (file_7A6B84)
.org 0x8053F10 :: .dw (file_7A6B84)
.org 0x8053F14 :: .dw (file_7BEB18)
.org 0x8053F18 :: .dw (file_7A6B84)
.org 0x8053F1C :: .dw (file_7A6B84)
.org 0x8053F20 :: .dw (file_7A6B84)
.org 0x8053F24 :: .dw (file_7A6B84)
.org 0x8053F28 :: .dw (file_7A6B84)
.org 0x8053F2C :: .dw (file_7BF018)
.org 0x8053F30 :: .dw (file_7A6B84)
.org 0x8053F34 :: .dw (file_7BF258)
.org 0x8053F38 :: .dw (file_7A6B84)
.org 0x8053F3C :: .dw (file_7A6B84)
.org 0x8053F40 :: .dw (file_7A6B84)
.org 0x8053F44 :: .dw (file_7A6B84)
.org 0x8053F48 :: .dw (file_7A6B84)
.org 0x8053F4C :: .dw (file_7A6B84)
.org 0x8053F50 :: .dw (file_7A6B84)
.org 0x8053F54 :: .dw (file_7BF8C0)
.org 0x8053F58 :: .dw (file_7A6B84)
.org 0x8053F5C :: .dw (file_7A6B84)
.org 0x8053F60 :: .dw (file_7A6B84)
.org 0x8053F64 :: .dw (file_7A6B84)
.org 0x8053F68 :: .dw (file_7A6B84)
.org 0x8053F6C :: .dw (file_7BFC50)
.org 0x8053F70 :: .dw (file_7A6B84)
.org 0x8053F74 :: .dw (file_7BFE4C)
.org 0x805434C :: .dw (file_7C0068)
.org 0x8054350 :: .dw (file_7C0068)
.org 0x8054354 :: .dw (file_7C0068)
.org 0x8054358 :: .dw (file_7C0668)
.org 0x805435C :: .dw (file_7C0970)
.org 0x8054360 :: .dw (file_7C0068)
.org 0x8054364 :: .dw (file_7C0068)
.org 0x8054368 :: .dw (file_7C0F8C)
.org 0x8068089 :: .dw (file_7C0F8C)
.org 0x805436C :: .dw (file_7C0068)
.org 0x8054370 :: .dw (file_7C0068)
.org 0x8054374 :: .dw (file_7C0068)
.org 0x8054378 :: .dw (file_7C0068)
.org 0x805437C :: .dw (file_7C0068)
.org 0x8054388 :: .dw (file_7C0068)
.org 0x805438C :: .dw (file_7C2954)
.org 0x8069801 :: .dw (file_7C2954)
.org 0x8054390 :: .dw (file_7C416C)
.org 0x8069C97 :: .dw (file_7C416C)
.org 0x8054394 :: .dw (file_7C0068)
.org 0x8054398 :: .dw (file_7C0068)
.org 0x805439C :: .dw (file_7C0068)
.org 0x80543A0 :: .dw (file_7C0068)
.org 0x80543A4 :: .dw (file_7C5CE0)
.org 0x806A472 :: .dw (file_7C5CE0)
.org 0x806EE4C :: .dw (file_7C6BC0)
.org 0x8067654 :: .dw (file_7C6D7C)
.org 0x80680FA :: .dw (file_7C6E50)
.org 0x80686F4 :: .dw (file_7C6E94)
.org 0x806EE50 :: .dw (file_7C6F90)
.org 0x8069872 :: .dw (file_7C714C)
.org 0x8065673 :: .dw (file_7C7188)
.org 0x80656A2 :: .dw (file_7C7188)
.org 0x80656D8 :: .dw (file_7C802C)
.org 0x8065ACE :: .dw (file_7C8570)
.org 0x8065BFC :: .dw (file_7C90E0)
.org 0x8065DF6 :: .dw (file_7C9C44)
.org 0x8065F14 :: .dw (file_7CA474)
.org 0x80660F6 :: .dw (file_7CAF40)
.org 0x8066274 :: .dw (file_7CB850)
.org 0x806B490 :: .dw (file_7CC6A0)
.org 0x806B57C :: .dw (file_7CC6A0)
.org 0x806B450 :: .dw (file_7CD0B0)
.org 0x806B480 :: .dw (file_7CD590)
.org 0x806B898 :: .dw (file_7CD5D0)
.org 0x806B45C :: .dw (file_7CD650)
.org 0x806B468 :: .dw (file_7CD650)
.org 0x806AFA0 :: .dw (file_7CD6D0)
.org 0x806AFD0 :: .dw (file_7CD6D0)
.org 0x806AFE0 :: .dw (file_7CD6D0)
.org 0x806AFE8 :: .dw (file_7CD6D0)
.org 0x806AFF0 :: .dw (file_7CD6D0)
.org 0x806AFF8 :: .dw (file_7CD6D0)
.org 0x806B008 :: .dw (file_7CD6D0)
.org 0x806B010 :: .dw (file_7CD6D0)
.org 0x806AFD8 :: .dw (file_7CD7A8)
.org 0x806B000 :: .dw (file_7CD7A8)
.org 0x806B018 :: .dw (file_7CD7A8)
.org 0x806AFC8 :: .dw (file_7CD910)
.org 0x806AFA8 :: .dw (file_7CDA9C)
.org 0x806AFB0 :: .dw (file_7CDA9C)
.org 0x806AFB8 :: .dw (file_7CDA9C)
.org 0x806AFC0 :: .dw (file_7CDA9C)
.org 0x80D96CC :: .dw (file_7CDC28)
.org 0x80D96D8 :: .dw (file_7CE2A8)
.org 0x80D9B14 :: .dw (file_7CE2C8)
.org 0x80D96F0 :: .dw (file_7CE358)
.org 0x80D96FC :: .dw (file_7CE4B8)
.org 0x80D9738 :: .dw (file_7CE4D8)
.org 0x80D9A68 :: .dw (file_7CE5C8)
.org 0x8029110 :: .dw (file_7CEA60)
.org 0x802910C :: .dw (file_7CEA94)
.org 0x8029114 :: .dw (file_7CED28)
.org 0x8029118 :: .dw (file_7CEF8C)
.org 0x802911C :: .dw (file_7CEFA4)
.org 0x8029120 :: .dw (file_7D36A4)
.org 0x8029124 :: .dw (file_7D3BE4)
.org 0x8028C48 :: .dw (file_7D3DA4)
.org 0x8028C50 :: .dw (file_7D3DC4)
.org 0x8028C60 :: .dw (file_7D3DC4)
.org 0x8028C58 :: .dw (file_7D3DE4) | 37.302472 | 55 | 0.677688 |
a0a7f296161f91441bb8fa8b399dc8183c9aa1f4 | 455 | asm | Assembly | lang/german/fdtab.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | lang/german/fdtab.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | lang/german/fdtab.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; Format date characters 1988 Tony Tebby QJUMP
section language
xdef cv_fditb
xdef cv_fdstb
include 'dev8_keys_dat'
cv_fditb dc.b 'H',dat_cent
dc.b 'J',dat_year
dc.b 'T',dat_iday
dc.b 'U',dat_hour
dc.b 'M',dat_mint
dc.b 'S',dat_sec
dc.w -1
cv_fdstb dc.b 'T',dat_sday
dc.b 'M',dat_mnth
dc.w -1
end
| 21.666667 | 61 | 0.481319 |
7135e536844a772c7653859483ed290248872129 | 902 | asm | Assembly | programs/oeis/319/A319087.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/319/A319087.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/319/A319087.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A319087: a(n) = Sum_{k=1..n} k^2*phi(k), where phi is the Euler totient function A000010.
; 1,5,23,55,155,227,521,777,1263,1663,2873,3449,5477,6653,8453,10501,15125,17069,23567,26767,32059,36899,48537,53145,65645,73757,86879,96287,119835,127035,155865,172249,194029,212525,241925,257477,306761,332753,369257,394857,462097,483265,560923,599643,648243,694795,796409,833273,934115,984115,1067347,1132243,1278311,1330799,1451799,1527063,1644027,1738219,1940117,1997717,2220977,2336297,2479181,2610253,2813053,2900173,3196447,3344415,3553899,3671499,4024369,4148785,4532473,4729609,4954609,5162545,5518285,5664301,6151099,6355899,6710193,6979153,7544051,7713395,8175795,8486427,8910291,9220051,9917099,10111499,10707731,11080147,11599087,12005543,12655343,12950255,13853519,14256887,14844947,15244947
mov $1,1
lpb $0
mov $2,$0
sub $0,1
seq $2,53191 ; a(n) = n^2 * phi(n).
add $1,$2
lpe
mov $0,$1
| 75.166667 | 705 | 0.792683 |
5a8de28d9f5c3381ce53e29e395dcb5f61478876 | 112 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dsub_s.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dsub_s.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dsub_s.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_clib
SECTION code_fp_math48
PUBLIC asm_dsub_s
EXTERN am48_dsub_s
defc asm_dsub_s = am48_dsub_s
| 11.2 | 29 | 0.848214 |
5184b7b87bba300cf2899ae55b7c4457f04e84d3 | 7,877 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2418.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2418.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2418.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13d2, %r8
nop
nop
nop
sub %rsi, %rsi
movb $0x61, (%r8)
nop
nop
nop
nop
nop
and $34869, %rbp
lea addresses_A_ht+0x44a, %r9
sub $18926, %r14
mov $0x6162636465666768, %r13
movq %r13, %xmm5
movups %xmm5, (%r9)
add %r13, %r13
lea addresses_A_ht+0x324a, %rsi
lea addresses_UC_ht+0x20ee, %rdi
nop
nop
nop
nop
nop
cmp $61267, %r14
mov $12, %rcx
rep movsw
nop
and $4942, %rbx
lea addresses_normal_ht+0x380a, %rdi
nop
nop
nop
nop
xor $16879, %rsi
mov $0x6162636465666768, %r9
movq %r9, (%rdi)
nop
nop
nop
nop
sub %rsi, %rsi
lea addresses_WC_ht+0x18b6a, %r8
nop
nop
nop
nop
inc %rcx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm0
movups %xmm0, (%r8)
inc %r14
lea addresses_WT_ht+0xc58a, %rdi
nop
nop
xor $50491, %rcx
vmovups (%rdi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %r13
nop
nop
nop
and %r8, %r8
lea addresses_D_ht+0x1578a, %r8
nop
nop
add $35034, %rbp
vmovups (%r8), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $1, %xmm5, %rcx
nop
inc %rcx
lea addresses_normal_ht+0xe78a, %rbx
add $12103, %r14
mov $0x6162636465666768, %rdi
movq %rdi, %xmm1
vmovups %ymm1, (%rbx)
nop
xor $59384, %r9
lea addresses_D_ht+0xff8a, %r8
clflush (%r8)
nop
cmp $32380, %rdi
movups (%r8), %xmm5
vpextrq $0, %xmm5, %r13
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_UC_ht+0x878a, %rsi
lea addresses_WC_ht+0xe5d2, %rdi
nop
nop
sub %r8, %r8
mov $112, %rcx
rep movsl
nop
nop
nop
nop
dec %rbx
lea addresses_A_ht+0xa78a, %rsi
lea addresses_D_ht+0x14752, %rdi
sub %r13, %r13
mov $126, %rcx
rep movsl
nop
nop
nop
nop
xor $3023, %rcx
lea addresses_normal_ht+0xf08a, %rsi
nop
nop
and %r14, %r14
mov $0x6162636465666768, %r8
movq %r8, %xmm7
vmovups %ymm7, (%rsi)
nop
inc %r13
lea addresses_WT_ht+0x1e952, %rbp
nop
nop
inc %r13
mov (%rbp), %si
nop
nop
xor $46517, %r8
lea addresses_A_ht+0xb5ba, %rbx
clflush (%rbx)
nop
nop
nop
and %rdi, %rdi
movups (%rbx), %xmm1
vpextrq $1, %xmm1, %r14
nop
nop
nop
cmp %r13, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r8
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r9
push %rbp
push %rbx
push %rdx
push %rsi
// Store
lea addresses_PSE+0x1b38a, %r12
nop
nop
nop
nop
and $36303, %rbp
movl $0x51525354, (%r12)
nop
nop
sub $31755, %rbp
// Faulty Load
lea addresses_PSE+0xa38a, %r9
sub $47725, %rsi
mov (%r9), %r12d
lea oracles, %rbp
and $0xff, %r12
shlq $12, %r12
mov (%rbp,%r12,1), %r12
pop %rsi
pop %rdx
pop %rbx
pop %rbp
pop %r9
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_PSE', 'same': False, 'size': 4, 'congruent': 9, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 16, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_normal_ht', 'same': True, 'size': 32, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 2, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 34.247826 | 2,999 | 0.656976 |
171b72227b2ce26385f22c3d5065095c2274bbe4 | 668 | asm | Assembly | oeis/344/A344814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/344/A344814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/344/A344814.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A344814: a(n) = Sum_{k=1..n} floor(n/k) * 3^(k-1).
; 1,5,15,46,128,384,1114,3332,9903,29671,88721,266151,797593,2392649,7175709,21526834,64573556,193720536,581141026,1743422288,5230207428,15690619684,47071679294,141215037738,423644574301,1270933715189,3812799550089,11438398630159,34315191085121,102945573252993,308836705347643,926510115982715,2779530304893615,8338590914495863,25015772614163243,75047317842487104,225141953139486226,675425859417904082,2026277577091427622,6078832731272687338,18236498190329616140,54709494570988782252
lpb $0
mov $2,$0
sub $0,1
seq $2,34730 ; Dirichlet convolution of b_n=1 with c_n=3^(n-1).
add $1,$2
lpe
add $1,1
mov $0,$1
| 55.666667 | 482 | 0.811377 |
97ab38acaf07cb565ca92b721bd28de10bbdb6f3 | 528 | asm | Assembly | data/baseStats/poliwag.asm | etdv-thevoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | 1 | 2022-01-09T05:28:52.000Z | 2022-01-09T05:28:52.000Z | data/baseStats/poliwag.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | data/baseStats/poliwag.asm | ETDV-TheVoid/pokemon-rgb-enhanced | 5b244c1cf46aab98b9c820d1b7888814eb7fa53f | [
"MIT"
] | null | null | null | db POLIWAG ; pokedex id
db 40 ; base hp
db 50 ; base attack
db 40 ; base defense
db 90 ; base speed
db 40 ; base special
db WATER ; species type 1
db WATER ; species type 2
db 255 ; catch rate
db 77 ; base exp yield
INCBIN "pic/gsmon/poliwag.pic",0,1 ; 55, sprite dimensions
dw PoliwagPicFront
dw PoliwagPicBack
; attacks known at lvl 0
db BUBBLE
db 0
db 0
db 0
db 3 ; growth rate
; learnset
tmlearn 6,8
tmlearn 9,10,11,13,14
tmlearn 20
tmlearn 28,29,31,32
tmlearn 34
tmlearn 44,46
tmlearn 50,53
db BANK(PoliwagPicFront)
| 18.206897 | 58 | 0.732955 |
8453fe3e6588f09c32ba4044d045eedd162259f1 | 3,979 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_411.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_411.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_411.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %rcx
push %rdi
push %rdx
lea addresses_normal_ht+0x1e44e, %r14
dec %rdi
mov (%r14), %ecx
nop
and $62963, %rdx
pop %rdx
pop %rdi
pop %rcx
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %rbx
push %rdi
// Faulty Load
lea addresses_A+0xb0e, %r15
nop
nop
nop
sub $5098, %r8
movb (%r15), %bl
lea oracles, %r15
and $0xff, %rbx
shlq $12, %rbx
mov (%r15,%rbx,1), %rbx
pop %rdi
pop %rbx
pop %r8
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
| 69.807018 | 2,999 | 0.662227 |
944c3d12a44659a0bc6e9438288f530b4c69d9a9 | 335 | asm | Assembly | programs/oeis/145/A145923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/145/A145923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/145/A145923.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A145923: Second bisection of A061041: a(n) = A061041(2n+1) = (2n+1)*(2n+9).
; 9,33,65,105,153,209,273,345,425,513,609,713,825,945,1073,1209,1353,1505,1665,1833,2009,2193,2385,2585,2793,3009,3233,3465,3705,3953,4209,4473,4745,5025,5313,5609,5913,6225,6545,6873,7209,7553,7905,8265,8633,9009,9393
mul $0,2
add $0,5
pow $0,2
sub $0,16
| 41.875 | 218 | 0.716418 |
b6cdc0ad14c10d005180186bc477908eed6f0f29 | 1,963 | asm | Assembly | programs/oeis/176/A176496.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/176/A176496.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/176/A176496.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A176496: a(n) = Sum_{k=1..n} 2^nonprime(k).
; 2,18,82,338,850,1874,5970,22354,55122,120658,382802,1431378,3528530,7722834,24500050,58054482,125163346,259381074,527816530,1601558354,5896525650,14486460242,31666329426,66026067794,134745544530,409623451474,959379265362,2058890893138,6456937404242,24049123448658,59233495537490,129602239715154,411077216425810,974027169847122,2099927076689746,4351726890374994,8855326517745490,26869725027227474,62898522046191442,134956116084119378,279071304159975250,567301680311686994,1720223184918533970,6331909203345921874,15555281240200697682,34002025313910249298,70895513461329352530,144682489756167558994,439830394935520384850,1030126205294226036562,2210717826011637339986,6933084308881282553682,25822550240359863408466,63601482103317025118034,139159345829231348537170,290275073281059995375442,592506528184717289051986,1801432347799346463758162,4219283987028604813170514,9054987265487121511995218,28397800379321188307294034,67083426606989321897891666,144454679062325589079086930,299197183972998123441477458,608682193794343192166258514,1846622233079723467065382738,4322502311650484016863631186,9274262468792005116460128082,19177782783075047315653121874,38984823411641131714039109458,78598904668773300510811084626,157827067183037638104355034962,474739717240094988478530836306,1108565017354209689226882438994,2376215617582439090723585644370,7446818018495356696710398465874,27729227622147027120657649751890,68294046829450367968552152323922,149423685244057049664341157467986,473942238902483776447497178044242,1772016453536190683580121260349266,4368164882803604497845369424959314,9560461741338432126375865754179410,30329649175477742640497851071059794,71868024043756363668741821704820562,154944773780313605725229762972342098,321098273253428089838205645507385170,653405272199657058064157410577471314
lpb $0
sub $0,1
mov $2,$0
max $2,0
seq $2,73718 ; Powers of 2 with composite exponents.
add $1,$2
lpe
add $1,2
mov $0,$1
| 151 | 1,784 | 0.915945 |
859585ca824da178ec7449d1af30cbd3d760bc79 | 425 | asm | Assembly | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_saddrpup.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_saddrpup.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_saddrpup.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; ===============================================================
; May 2017
; ===============================================================
;
; void *tshc_saddrpup(void *saddr)
;
; Modify screen address to move up one pixel.
;
; ===============================================================
SECTION code_clib
SECTION code_arch
PUBLIC asm_tshc_saddrpup
EXTERN asm_zx_saddrpup
defc asm_tshc_saddrpup = asm_zx_saddrpup
| 22.368421 | 65 | 0.423529 |
b1eb52b8eb22b678597c5d2fe6f90f12af3e9d47 | 3,919 | asm | Assembly | FeaturePatches/MoreSram/MoreSram.asm | xragey/smw | ec772bfe781fc485fe80f96a311a6d5b621b094c | [
"MIT"
] | 4 | 2020-03-18T21:34:31.000Z | 2021-11-06T17:29:03.000Z | FeaturePatches/MoreSram/MoreSram.asm | xragey/smw | ec772bfe781fc485fe80f96a311a6d5b621b094c | [
"MIT"
] | null | null | null | FeaturePatches/MoreSram/MoreSram.asm | xragey/smw | ec772bfe781fc485fe80f96a311a6d5b621b094c | [
"MIT"
] | 1 | 2020-07-12T22:57:35.000Z | 2020-07-12T22:57:35.000Z | ;-------------------------------------------------------------------------------
;
; More SRAM
;
; by Ragey <i@ragey.net>
; https://github.com/xragey/smw
;
; Increases the SRAM capacity of Super Mario World to 339 bytes (up from 140) by
; extending the length of the RAM array that is transferred to and from SRAM.
;
; This patch differs from similar patches in that it retains the original game's
; logic in handling saving and loading, which means it should be compatible with
; all emulators and most other patches.
;
; Installing this patch frees $7E1F49 (141 bytes).
;
; See README.md for more (technical) information.
;
;-------------------------------------------------------------------------------
@asar 1.71
if read1($00FFD5) == $23
if read1($00FFD7) > $0C
fullsa1rom
else
sa1rom
endif
!sa1 = 1
!fast = 0
elseif read1($00FFD5)&$10 == $10
!sa1 = 0
!fast = 1
endif
!bank = select(!fast, $80, $00)
!long = select(!fast, $800000, $000000)
!addr = select(!sa1, $6000, $0000)
;-------------------------------------------------------------------------------
; Transfer range, excluding 2 checksum bytes.
!cSramSize = 339
; !cSramSize bytes
; Ram area that is transferred to SRAM. Does not need to be equal to
; !OverworldState.
!TransferableRam = $1EA2|!addr
; 141 bytes
; Holds the state of the overworld.
!OverworldState = $1EA2|!addr
; 6*(!cSramSize+2) bytes
; SRAM array, divided in six blocks of !cSramSize bytes per block.
!Sram = select(!sa1, $41C000, $700000)
;-------------------------------------------------------------------------------
; Initial save data hijack. Save any change on the overworld editor to install.
assert read1($009F19) == $22, "Missing required Lunar Magic hijack"
; Sprite 0x19 fix. This fix differs between Lunar Magic versions. Supports both
; the old and new methods. Save any change on the overworld editor to install.
if read1($01E762) == $22
!cLMSprite19Fix = $01E763
elseif read1($01E763) == $22
!cLMSprite19Fix = $01E764
else
assert 0, "Missing required Lunar Magic hijack"
endif
; ------------------------------------------------------------------------------
; Bypass $1F49 buffer.
org $009BDF : dw !TransferableRam
org $009D19 : dw !TransferableRam
org $009F17 : dw !OverworldState
org $009F23 : dw !OverworldState+111 ; $1F11-$1F26
org $00A195 : rts
org $048F94 : nop #11
org $048FA9 : nop #24
org $048FC8 : nop #6
org $048FD6 : nop #6
org $049041 : nop #11
org read3($009F1A) : skip 11 : dw !OverworldState
; Lunar Magic sprite 19 fix.
if !cLMSprite19Fix == $01E763
org read3($01E763) : skip 7 : nop #3
elseif !cLMSprite19Fix == $01E764
org read3($01E764) : skip 12 : nop #3
endif
; File offsets (assuming length 339+2).
org $009CCB : db $00, (!cSramSize+2)>>8, ((!cSramSize+2)*2)>>8
org $009CCE : db $00, (!cSramSize+2), (!cSramSize+2)*2
; File length.
org $009BF1 : dw !cSramSize
org $009D1E : dw !cSramSize
; File erasing routine.
org $009B54 : dw !cSramSize+2
org $009B5C : sta.l !Sram+((!cSramSize+2)*3),x
; File checksum routine.
org $009DC1 : dw (!cSramSize+2)*3
org $009DC6 : lda.l !Sram+!cSramSize,x ; 70 01 53
org $009DCF : dw !cSramSize
org $009DEE : dw ((!cSramSize+2)*3)-1
; Restore backup copy.
org $009C02 : dw (!cSramSize+2)*3
org $009C08 : dw (!cSramSize+2)*2
org $009CF7 : autoclean jml EmplaceBackup
freecode
EmplaceBackup:
phx
stz $0109|!addr
rep #$20
lda #!cSramSize+2
sta $00
- lda.l !Sram,x
phx
tyx
sta.l !Sram,x
plx
inx
iny
dec $00
bne -
sep #$20
plx
jml $009D11|!long
; File clearing routine (called when switching files on the menu).
org $009F06 : autoclean jml ClearFile
freecode
ClearFile:
rep #$10
ldx #(!cSramSize-2)
- stz !TransferableRam,x
dex
bpl -
sep #$10
jml $009F0E|!long
; Exit counter on file select.
org $009D66
if !TransferableRam < !OverworldState
lda.l !Sram+140+(!OverworldState-!TransferableRam),x
else
lda.l !Sram+140-(!TransferableRam-!OverworldState),x
endif
| 24.803797 | 80 | 0.629242 |
625f76b97404f49221a82a455e8dc990899f5ea8 | 18,265 | asm | Assembly | audiolib/source/mv_mix16.asm | dos-games/vanilla-shadow_warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | 18 | 2015-07-21T03:53:29.000Z | 2021-12-20T18:42:56.000Z | audiolib/source/mv_mix16.asm | Azarien/shadow-warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | null | null | null | audiolib/source/mv_mix16.asm | Azarien/shadow-warrior | bf781c586c7e9cda0cfb0b3bc56983f535cb75c4 | [
"Unlicense"
] | 6 | 2016-10-17T09:06:22.000Z | 2022-02-11T10:02:17.000Z | IDEAL
p386
MODEL flat
dataseg
CODESEG
MASM
ALIGN 4
EXTRN _MV_HarshClipTable:DWORD
EXTRN _MV_MixDestination:DWORD
EXTRN _MV_MixPosition:DWORD
EXTRN _MV_LeftVolume:DWORD
EXTRN _MV_RightVolume:DWORD
EXTRN _MV_SampleSize:DWORD
EXTRN _MV_RightChannelOffset:DWORD
;================
;
; MV_Mix8BitMono16
;
;================
; eax - position
; edx - rate
; ebx - start
; ecx - number of samples to mix
PROC MV_Mix8BitMono16_
PUBLIC MV_Mix8BitMono16_
; Two at once
pushad
mov ebp, eax
mov esi, ebx ; Source pointer
inc esi
; Sample size
mov ebx, _MV_SampleSize
mov eax,OFFSET apatch7+2 ; convice tasm to modify code...
mov [eax],bl
mov eax,OFFSET apatch8+2 ; convice tasm to modify code...
mov [eax],bl
mov eax,OFFSET apatch9+3 ; convice tasm to modify code...
mov [eax],bl
; Volume table ptr
mov ebx, _MV_LeftVolume ; Since we're mono, use left volume
mov eax,OFFSET apatch1+4 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET apatch2+4 ; convice tasm to modify code...
mov [eax],ebx
; Harsh Clip table ptr
mov ebx, _MV_HarshClipTable
add ebx, 128
mov eax,OFFSET apatch3+2 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET apatch4+2 ; convice tasm to modify code...
mov [eax],ebx
; Rate scale ptr
mov eax,OFFSET apatch5+2 ; convice tasm to modify code...
mov [eax],edx
mov eax,OFFSET apatch6+2 ; convice tasm to modify code...
mov [eax],edx
mov edi, _MV_MixDestination ; Get the position to write to
; Number of samples to mix
shr ecx, 1 ; double sample count
cmp ecx, 0
je exit8m
; eax - scratch
; ebx - scratch
; edx - scratch
; ecx - count
; edi - destination
; esi - source
; ebp - frac pointer
; apatch1 - volume table
; apatch2 - volume table
; apatch3 - harsh clip table
; apatch4 - harsh clip table
; apatch5 - sample rate
; apatch6 - sample rate
mov eax,ebp ; begin calculating first sample
add ebp,edx ; advance frac pointer
shr eax,16 ; finish calculation for first sample
mov ebx,ebp ; begin calculating second sample
add ebp,edx ; advance frac pointer
shr ebx,16 ; finish calculation for second sample
movsx eax, byte ptr [esi+2*eax] ; get first sample
movsx ebx, byte ptr [esi+2*ebx] ; get second sample
add eax, 80h
add ebx, 80h
ALIGN 4
mix8Mloop:
movzx edx, byte ptr [edi] ; get current sample from destination
apatch1:
movsx eax, byte ptr [2*eax+12345678h] ; volume translate first sample
apatch2:
movsx ebx, byte ptr [2*ebx+12345678h] ; volume translate second sample
add eax, edx ; mix first sample
apatch9:
movzx edx, byte ptr [edi + 1] ; get current sample from destination
apatch3:
mov eax, [eax + 12345678h] ; harsh clip new sample
add ebx, edx ; mix second sample
mov [edi], al ; write new sample to destination
mov edx, ebp ; begin calculating third sample
apatch4:
mov ebx, [ebx + 12345678h] ; harsh clip new sample
apatch5:
add ebp,12345678h ; advance frac pointer
shr edx, 16 ; finish calculation for third sample
mov eax, ebp ; begin calculating fourth sample
apatch7:
add edi, 2 ; move destination to second sample
shr eax, 16 ; finish calculation for fourth sample
mov [edi], bl ; write new sample to destination
apatch6:
add ebp,12345678h ; advance frac pointer
movsx ebx, byte ptr [esi+2*eax] ; get fourth sample
movsx eax, byte ptr [esi+2*edx] ; get third sample
add ebx, 80h
add eax, 80h
apatch8:
add edi, 2 ; move destination to third sample
dec ecx ; decrement count
jnz mix8Mloop ; loop
mov _MV_MixDestination, edi ; Store the current write position
mov _MV_MixPosition, ebp ; return position
exit8m:
popad
ret
ENDP MV_Mix8BitMono16_
;================
;
; MV_Mix8BitStereo16
;
;================
; eax - position
; edx - rate
; ebx - start
; ecx - number of samples to mix
PROC MV_Mix8BitStereo16_
PUBLIC MV_Mix8BitStereo16_
pushad
mov ebp, eax
mov esi, ebx ; Source pointer
inc esi
; Sample size
mov ebx, _MV_SampleSize
mov eax,OFFSET bpatch8+2 ; convice tasm to modify code...
mov [eax],bl
; mov eax,OFFSET bpatch9+2 ; convice tasm to modify code...
; mov [eax],bl
; Right channel offset
mov ebx, _MV_RightChannelOffset
mov eax,OFFSET bpatch6+3 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET bpatch7+2 ; convice tasm to modify code...
mov [eax],ebx
; Volume table ptr
mov ebx, _MV_LeftVolume
mov eax,OFFSET bpatch1+4 ; convice tasm to modify code...
mov [eax],ebx
mov ebx, _MV_RightVolume
mov eax,OFFSET bpatch2+4 ; convice tasm to modify code...
mov [eax],ebx
; Rate scale ptr
mov eax,OFFSET bpatch3+2 ; convice tasm to modify code...
mov [eax],edx
; Harsh Clip table ptr
mov ebx, _MV_HarshClipTable
add ebx,128
mov eax,OFFSET bpatch4+2 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET bpatch5+2 ; convice tasm to modify code...
mov [eax],ebx
mov edi, _MV_MixDestination ; Get the position to write to
; Number of samples to mix
cmp ecx, 0
je short exit8S
; eax - scratch
; ebx - scratch
; edx - scratch
; ecx - count
; edi - destination
; esi - source
; ebp - frac pointer
; bpatch1 - left volume table
; bpatch2 - right volume table
; bpatch3 - sample rate
; bpatch4 - harsh clip table
; bpatch5 - harsh clip table
mov eax,ebp ; begin calculating first sample
shr eax,16 ; finish calculation for first sample
movsx ebx, byte ptr [esi+2*eax] ; get first sample
add ebx, 80h
ALIGN 4
mix8Sloop:
bpatch1:
movsx eax, byte ptr [2*ebx+12345678h] ; volume translate left sample
movzx edx, byte ptr [edi] ; get current sample from destination
bpatch2:
movsx ebx, byte ptr [2*ebx+12345678h] ; volume translate right sample
add eax, edx ; mix left sample
bpatch3:
add ebp,12345678h ; advance frac pointer
bpatch6:
movzx edx, byte ptr [edi+12345678h] ; get current sample from destination
bpatch4:
mov eax, [eax + 12345678h] ; harsh clip left sample
add ebx, edx ; mix right sample
mov [edi], al ; write left sample to destination
bpatch5:
mov ebx, [ebx + 12345678h] ; harsh clip right sample
mov edx, ebp ; begin calculating second sample
bpatch7:
mov [edi+12345678h], bl ; write right sample to destination
shr edx, 16 ; finish calculation for second sample
bpatch8:
add edi, 1 ; move destination to second sample
movsx ebx, byte ptr [esi+2*edx] ; get second sample
add ebx, 80h
dec ecx ; decrement count
jnz mix8Sloop ; loop
mov _MV_MixDestination, edi ; Store the current write position
mov _MV_MixPosition, ebp ; return position
EXIT8S:
popad
ret
ENDP MV_Mix8BitStereo16_
;================
;
; MV_Mix16BitMono16
;
;================
; eax - position
; edx - rate
; ebx - start
; ecx - number of samples to mix
PROC MV_Mix16BitMono16_
PUBLIC MV_Mix16BitMono16_
pushad
mov ebp, eax
mov esi, ebx ; Source pointer
; Sample size
mov ebx, _MV_SampleSize
mov eax,OFFSET cpatch4+2 ; convice tasm to modify code...
mov [eax],bl
mov eax,OFFSET cpatch5+3 ; convice tasm to modify code...
mov [eax],bl
; Volume table ptr
mov ebx, _MV_LeftVolume
mov eax,OFFSET cpatch2+4 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET cpatch1+4 ; convice tasm to modify code...
inc ebx
mov [eax],ebx
; Rate scale ptr
mov eax,OFFSET cpatch3+2 ; convice tasm to modify code...
mov [eax],edx
mov edi, _MV_MixDestination ; Get the position to write to
; Number of samples to mix
cmp ecx, 0
je exit16M
; eax - scratch
; ebx - scratch
; edx - scratch
; ecx - count
; edi - destination
; esi - source
; ebp - frac pointer
; cpatch1 - volume table
; cpatch2 - volume table
; cpatch3 - sample rate
; cpatch4 - sample rate
mov ebx,ebp ; begin calculating first sample
add ebp,edx ; advance frac pointer
shr ebx,16 ; finish calculation for first sample
movzx eax, word ptr [esi+2*ebx] ; get low byte of sample
xor eax, 8000h
movzx ebx, ah
sub ah, ah
movsx edx, word ptr [edi] ; get current sample from destination
ALIGN 4
mix16Mloop:
cpatch1:
movsx eax, byte ptr [2*eax+12345678h] ; volume translate low byte of sample
cpatch2:
movsx ebx, word ptr [2*ebx+12345678h] ; volume translate high byte of sample
lea eax, [ eax + ebx + 80h ] ; mix high byte of sample
add eax, edx ; mix low byte of sample
cpatch5:
movsx edx, word ptr [edi + 2] ; get current sample from destination
cmp eax, -32768 ; Harsh clip sample
jge short m16skip1
mov eax, -32768
jmp short m16skip2
m16skip1:
cmp eax, 32767
jle short m16skip2
mov eax, 32767
m16skip2:
mov ebx, ebp ; begin calculating second sample
mov [edi], ax ; write new sample to destination
shr ebx, 16 ; finish calculation for second sample
cpatch3:
add ebp, 12345678h ; advance frac pointer
movzx eax, word ptr [esi+2*ebx] ; get second sample
cpatch4:
add edi, 2 ; move destination to second sample
xor eax, 8000h
movzx ebx, ah
sub ah, ah
dec ecx ; decrement count
jnz mix16Mloop ; loop
mov _MV_MixDestination, edi ; Store the current write position
mov _MV_MixPosition, ebp ; return position
EXIT16M:
popad
ret
ENDP MV_Mix16BitMono16_
;================
;
; MV_Mix16BitStereo16
;
;================
; eax - position
; edx - rate
; ebx - start
; ecx - number of samples to mix
PROC MV_Mix16BitStereo16_
PUBLIC MV_Mix16BitStereo16_
pushad
mov ebp, eax
mov esi, ebx ; Source pointer
; Sample size
mov ebx, _MV_SampleSize
mov eax,OFFSET dpatch9+2 ; convice tasm to modify code...
mov [eax],bl
; Right channel offset
mov ebx, _MV_RightChannelOffset
mov eax,OFFSET dpatch7+3 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET dpatch8+3 ; convice tasm to modify code...
mov [eax],ebx
; Volume table ptr
mov ebx, _MV_LeftVolume
mov eax,OFFSET dpatch1+4 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET dpatch2+4 ; convice tasm to modify code...
inc ebx
mov [eax],ebx
mov ebx, _MV_RightVolume
mov eax,OFFSET dpatch3+4 ; convice tasm to modify code...
mov [eax],ebx
mov eax,OFFSET dpatch4+4 ; convice tasm to modify code...
inc ebx
mov [eax],ebx
; Rate scale ptr
mov eax,OFFSET dpatch5+2 ; convice tasm to modify code...
mov [eax],edx
; Source ptr
mov eax,OFFSET dpatch6+4 ; convice tasm to modify code...
mov [eax],esi
mov edi, _MV_MixDestination ; Get the position to write to
; Number of samples to mix
cmp ecx, 0
je exit16S
; eax - scratch
; ebx - scratch
; edx - scratch
; esi - scratch
; ecx - count
; edi - destination
; ebp - frac pointer
; dpatch1 - left volume table
; dpatch2 - right volume table
; dpatch3 - sample rate
mov ebx,ebp ; begin calculating first sample
shr ebx,16 ; finish calculation for first sample
movzx edx, word ptr [esi+2*ebx] ; get first sample
xor edx, 8000h ; Change from signed to unsigned
movzx esi, dh ; put high byte in esi
sub dh, dh ; lo byte in edx
ALIGN 4
mix16Sloop:
; Left channel
dpatch1:
movsx eax, word ptr [2*esi+12345678h] ; volume translate high byte of sample
dpatch2:
movsx ebx, byte ptr [2*edx+12345678h] ; volume translate low byte of sample
lea eax, [ eax + ebx + 80h ] ; mix high byte of sample
; Right channel
dpatch3:
movsx esi, word ptr [2*esi+12345678h] ; volume translate high byte of sample
dpatch4:
movsx ebx, byte ptr [2*edx+12345678h] ; volume translate low byte of sample
lea ebx, [ esi + ebx + 80h ] ; mix high byte of sample
dpatch7:
movsx edx, word ptr [edi+12345678h] ; get current sample from destination
dpatch5:
add ebp,12345678h ; advance frac pointer
add eax, edx ; mix left sample
cmp eax, -32768 ; Harsh clip sample
jge short s16skip1
mov eax, -32768
jmp short s16skip2
s16skip1:
cmp eax, 32767
jle short s16skip2
mov eax, 32767
s16skip2:
movsx edx, word ptr [edi+2] ; get current sample from destination
mov [edi], ax ; write left sample to destination
add ebx, edx ; mix right sample
cmp ebx, -32768 ; Harsh clip sample
jge short s16skip3
mov ebx, -32768
jmp short s16skip4
s16skip3:
cmp ebx, 32767
jle short s16skip4
mov ebx, 32767
s16skip4:
mov edx, ebp ; begin calculating second sample
dpatch8:
mov [edi+12345678h], bx ; write right sample to destination
shr edx, 16 ; finish calculation for second sample
dpatch9:
add edi, 4 ; move destination to second sample
dpatch6:
movzx edx, word ptr [2*edx+12345678h] ; get second sample
xor edx, 8000h ; Change from signed to unsigned
movzx esi, dh ; put high byte in esi
sub dh, dh ; lo byte in edx
dec ecx ; decrement count
jnz mix16Sloop ; loop
mov _MV_MixDestination, edi ; Store the current write position
mov _MV_MixPosition, ebp ; return position
exit16S:
popad
ret
ENDP MV_Mix16BitStereo16_
ENDS
END
| 34.790476 | 87 | 0.488366 |
57a3109d46f0ab6071d255ac7cd31414f8eed28f | 1,850 | asm | Assembly | smsq/cr/idec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | smsq/cr/idec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | smsq/cr/idec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | * Integer to decimal string conversion V2.00 1986 Tony Tebby QJUMP
*
section cv
*
xdef cr_iwdec Integer word to decimal
xdef cr_ildec long
xdef ca_iwdec ditto, but a1 and a0 are absolute
xdef ca_ildec
xdef ca_idec
*
* d0 r 0 no error possible
* d1 r number of digits
* a0 c u pointer to buffer to put characters
* a1 c u pointer to stack to get value from (cr_i.dec)
* a6 base address
*
* all other registers preserved
*
cr_iwdec
move.w (a6,a1.l),d1
ext.l d1 ; signed!!!
addq.l #2,a1
bra.s cr_idec
*
cr_ildec
move.l (a6,a1.l),d1 ; set value to convert
addq.l #4,a1
*
cr_idec
add.l a6,a0
bsr.s ca_idec
sub.l a6,a0
rts
ca_ildec
move.l (a1)+,d1 ; long off stack
bra.s ca_idec
ca_iwdec
move.w (a1)+,d1 ; int off stack
ext.l d1
ca_idec
movem.l d2/d3,-(sp) ; save d2,d3
moveq #0,d2
moveq #1,d3 ; count of digits
tst.l d1 ; zero result?
bgt.s cid_start ; ... no
beq.s cid_dummy ; ... yes
neg.l d1 ; negative
move.b #'-',(a0)+ ; add sign
bset #16,d3 ; and a character
bra.s cid_start
cid_dummy
clr.b -(sp) ... yes, put on dummy
bra.s cid_copy
*
cid_loop
addq.w #1,d3 one more digit
cid_start
move.l d1,d0 divide top end
clr.w d0
swap d0
beq.s cid_lsw none, do least sig word
divu #10,d0
move.w d0,d2 save result
cid_lsw
move.w d1,d0 now divide top remainder + bottom
divu #10,d0
swap d0 remainder is our digit
move.b d0,-(sp) save it
*
move.w d2,d0 new top end (new bottom in msw)
move.l d0,d1 back to d1
swap d1 the right way round
bne.s cid_loop some more
*
cid_copy
moveq #'0',d0 copy ascii character
add.b (sp)+,d0
move.b d0,(a0)+
addq.w #1,d1 increment count
cmp.w d1,d3 ... done?
bne.s cid_copy ... no
*
swap d3
add.w d3,d1 ... add extra digit for sign
moveq #0,d0 no error
movem.l (sp)+,d2/d3 restore regs
rts
end
| 20.108696 | 73 | 0.657838 |
b313390abd477d1690d328406e434554e5c17f3f | 556 | asm | Assembly | oeis/158/A158549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/158/A158549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/158/A158549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A158549: a(n) = 26*n^2 + 1.
; 1,27,105,235,417,651,937,1275,1665,2107,2601,3147,3745,4395,5097,5851,6657,7515,8425,9387,10401,11467,12585,13755,14977,16251,17577,18955,20385,21867,23401,24987,26625,28315,30057,31851,33697,35595,37545,39547,41601,43707,45865,48075,50337,52651,55017,57435,59905,62427,65001,67627,70305,73035,75817,78651,81537,84475,87465,90507,93601,96747,99945,103195,106497,109851,113257,116715,120225,123787,127401,131067,134785,138555,142377,146251,150177,154155,158185,162267,166401,170587,174825,179115
pow $0,2
mul $0,26
add $0,1
| 79.428571 | 496 | 0.793165 |
b21220a5492b74bd4a5d5c8ab1e693da7d730af9 | 731 | asm | Assembly | programs/oeis/269/A269641.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/269/A269641.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/269/A269641.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A269641: Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by other than plus two or minus 1.
; 9,63,221,567,1209,2279,3933,6351,9737,14319,20349,28103,37881,50007,64829,82719,104073,129311,158877,193239,232889,278343,330141,388847,455049,529359,612413,704871,807417,920759,1045629,1182783,1333001
mov $1,9
mov $2,24
mov $5,$0
mov $6,$0
lpb $2
add $1,$5
sub $2,1
lpe
mov $3,$6
lpb $3
sub $3,1
add $4,$5
lpe
mov $2,21
mov $5,$4
lpb $2
add $1,$5
sub $2,1
lpe
mov $3,$6
mov $4,0
lpb $3
sub $3,1
add $4,$5
lpe
mov $2,8
mov $5,$4
lpb $2
add $1,$5
sub $2,1
lpe
mov $3,$6
mov $4,0
lpb $3
sub $3,1
add $4,$5
lpe
mov $2,1
mov $5,$4
lpb $2
add $1,$5
sub $2,1
lpe
| 15.553191 | 203 | 0.652531 |
8d495fdff58349a4aeb3bced05ce81ebab662f15 | 132 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/___fsdiv_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/___fsdiv_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/___fsdiv_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
SECTION code_fp_math48
PUBLIC ___fsdiv_callee
EXTERN cm48_sdccixp_dsdiv_callee
defc ___fsdiv_callee = cm48_sdccixp_dsdiv_callee
| 14.666667 | 48 | 0.886364 |
8441c9992821c0d69e9be118177ca668bf06aeb3 | 549 | asm | Assembly | oeis/115/A115205.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/115/A115205.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/115/A115205.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A115205: a(n) = binomial(n, 9) + 1.
; 1,1,1,1,1,1,1,1,1,2,11,56,221,716,2003,5006,11441,24311,48621,92379,167961,293931,497421,817191,1307505,2042976,3124551,4686826,6906901,10015006,14307151,20160076,28048801,38567101,52451257,70607461,94143281,124403621,163011641,211915133,273438881,350343566,445891811,563921996,708930509,886163136,1101716331,1362649146,1677106641,2054455635,2505433701,3042312351,3679075401,4431613551,5317936261,6358402051,7575968401,8996462476,10648873951,12565671262,14783142661,17341763506,20286591271
bin $0,9
add $0,1
| 91.5 | 491 | 0.832423 |
ce0426528da7ed2b2ba105b2f485886f3cd27dba | 537 | asm | Assembly | oeis/082/A082233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/082/A082233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/082/A082233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A082233: Square array T(n,k) = 2*n + k, read by antidiagonals in a zigzag fashion, n >= 0 and k >= 1.
; Submitted by Jamie Morken(s3.)
; 1,2,3,5,4,3,4,5,6,7,9,8,7,6,5,6,7,8,9,10,11,13,12,11,10,9,8,7,8,9,10,11,12,13,14,15,17,16,15,14,13,12,11,10,9,10,11,12,13,14,15,16,17,18,19,21,20,19,18,17,16,15,14,13,12,11,12,13,14,15,16,17,18,19,20,21,22,23,25,24,23,22,21,20,19,18,17,16,15,14,13,14,15,16,17,18,19,20,21,22
lpb $0
sub $0,1
add $1,2
sub $0,$1
mov $2,$1
trn $2,$0
trn $0,$1
add $0,$2
lpe
add $1,$0
add $1,1
mov $0,$1
| 31.588235 | 276 | 0.599628 |
26595ad24144c234eae04c989afb73d279748a34 | 3,126 | asm | Assembly | GameEngine/reset.asm | ped7g/EliteNext | 6e930f9b9924b295d7281ee6acb879600d7e597f | [
"Unlicense"
] | 9 | 2021-09-29T22:08:15.000Z | 2022-03-23T05:35:43.000Z | GameEngine/reset.asm | ped7g/EliteNext | 6e930f9b9924b295d7281ee6acb879600d7e597f | [
"Unlicense"
] | 1 | 2022-01-21T12:35:42.000Z | 2022-01-21T17:47:24.000Z | GameEngine/reset.asm | ped7g/EliteNext | 6e930f9b9924b295d7281ee6acb879600d7e597f | [
"Unlicense"
] | 1 | 2022-01-15T10:13:49.000Z | 2022-01-15T10:13:49.000Z | reset: ; New player ship, reset controls
;20 96 42 JSR &4296 \ ZERO \ zero-out &311-&34B
;A2 08 LDX #8
; .SAL3 \ counter X
;95 2A STA &2A,X \ BETA,X
;CA DEX
;10 FB BPL SAL3 \ loop X
; .RES4
;8A TXA \ Acc = #&FF
;A2 02 LDX #2 \ Restore forward, aft shields, and energy
; .REL5 \ counter X
;9D A5 03 STA &03A5,X \ FSH,X \ forward shield
;CA DEX
;10 FA BPL REL5 \ loop X
reset2:
res2: ; Reset2, done after launch or hyper, new dust.
;A9 12 LDA #18 \ #NOST
;8D C3 03 STA &03C3 \ NOSTM \ number of stars, dust.
;A2 FF LDX #&FF \ bline buffers cleared, 78 bytes.
;8E C0 0E STX &0EC0 \ LSX2
;8E 0E 0F STX &0F0E \ LSY2
;86 45 STX &45 \ MSTG \ missile has no target
;A9 80 LDA #&80 \ center joysticks
;8D 4C 03 STA &034C \ JSTX \ joystick X
;8D 4D 03 STA &034D \ JSTY \ joystick Y
;0A ASL A \ = 0
;85 8A STA &8A \ MCNT \ move count
;85 2F STA &2F \ QQ22+1 \ outer hyperspace countdown
;A9 03 LDA #3 \ speed, but not alpha gentle roll
;85 7D STA &7D \ DELTA
;AD 20 03 LDA &0320 \ SSPR \ space station present, 0 is SUN.
;F0 03 BEQ P%+5 \ if none, leave bulb off
;20 21 38 JSR &3821 \ SPBLB \ space station bulb
;A5 30 LDA &30 \ ECMA \ any ECM on?
;F0 03 BEQ yu \ hop over as ECM not on
;20 A3 43 JSR &43A3 \ ECMOF \ silence E.C.M. sound
;.yu \ hopped over
;20 D8 35 JSR &35D8 \ WPSHPS \ wipe ships on scanner
;20 96 42 JSR &4296 \ ZERO \ zero-out &311-&34B
;A9 FF LDA #&FF \ #(LS% MOD 256)
;8D B0 03 STA &03B0 \ SLSP \ ship lines pointer reset to top LS% = &0CFF
;A9 0C LDA #&0C \ #(LS% DIV 256)
;8D B1 03 STA &03B1 \ SLSP+1 \ hi
;20 62 1F JSR &1F62 \ DIALS \ update flight console
;20 A4 44 JSR &44A4 \ Uperc \ clear keyboard logger
; .ZINF \ -> &3F26 \ Zero information, ends with Acc = #&E0
;A0 24 LDY #36 \ #(NI%-1) \ NI%=37 is size of inner working space
;A9 00 LDA #0
; .ZI1 \ counter Y
;99 46 00 STA &0046,Y \ INWK,Y
;88 DEY
;10 FA BPL ZI1 \ loop Y
;A9 60 LDA #&60 \ unity in rotation matrix
;85 58 STA &58 \ INWK+18 \ rotmat1y hi
;85 5C STA &5C \ INWK+22 \ rotmat2x hi
;09 80 ORA #&80 \ -ve unity = #&E0
;85 54 STA &54 \ INWK+14 \ rotmat0z hi = -1
ret
| 52.1 | 91 | 0.422585 |
2f78c268fbf1f96f46a5bd9b46813056442c7e3a | 353 | asm | Assembly | oeis/139/A139160.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/139/A139160.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/139/A139160.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A139160: a(n)=(prime(n)!+2)/2.
; Submitted by Jamie Morken(s1)
; 2,4,61,2521,19958401,3113510401,177843714048001,60822550204416001,12926008369442488320001,4420880996869850977271808000001,4111419327088961408862781440000001
seq $0,6005 ; The odd prime numbers together with 1.
mov $2,$0
lpb $0
sub $0,2
add $1,$0
mul $2,$1
lpe
mov $0,$2
add $0,1
| 25.214286 | 158 | 0.745042 |
267628dc887182f32ea5ba2f80ce14cf48426814 | 27,766 | asm | Assembly | engine/system.asm | richard42/dynosprite | 0b83f640a63656087653266baa2ec2499a39538d | [
"BSD-2-Clause"
] | 10 | 2015-04-16T20:48:06.000Z | 2021-09-07T02:08:30.000Z | engine/system.asm | jamieleecho/space-bandits | b0f45c4d6e8a2bbf8d1653b7b3c10059fa9ff13d | [
"BSD-2-Clause"
] | 1 | 2016-12-04T23:18:42.000Z | 2016-12-05T01:17:49.000Z | engine/system.asm | jamieleecho/space-bandits | b0f45c4d6e8a2bbf8d1653b7b3c10059fa9ff13d | [
"BSD-2-Clause"
] | 8 | 2015-01-04T17:05:42.000Z | 2021-01-31T01:46:13.000Z | *********************************************************************************
* DynoSprite - system.asm
* Copyright (c) 2013-2014, Richard Goedeken
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*********************************************************************************
* PIA default register value definitions
* CA1/CB1 are always interrupts, CA2/CB2 are always outputs
PIA0A_Ctrl equ %00110100 * CA2 = DAC SELA (low), Data Register, CA1 = HSync interrupt active low disabled
PIA0B_Ctrl equ %00110100 * CB2 = DAC SELB (low), Data Register, CB1 = VSync interrupt active low disabled
PIA0A_DDR equ %00000000 * PA0-PA6: keyboard row inputs, PA7: comparator input from DAC chip SC77526
PIA0B_DDR equ %11111111 * PB0-PB7: keyboard column outputs
PIA1A_Ctrl equ %00110100 * CA2 = Cass relay (low), Data Register, CA1 = Serial pin 1 DCD active low disabled
PIA1B_Ctrl equ %00111100 * CB2 = Audio enable (hi), Data Register, CB1 = Cartridge active low disabled
PIA1A_DDR equ %11111110 * PA0: cassette 0-cross input, PA1: RS232 data output, PA2-PA7: outputs to DAC
PIA1B_DDR equ %11110000 * PB0: from Serial pin 2, PB1: from DAC audio out, PB2: from PIA0 PB6
* PB3: RGB connected input, PB4-PB7: unconnected (output)
***********************************************************
* System_InitHardware:
* - IN:
* - OUT:
* - Trashed: A
***********************************************************
System_InitHardware
clr $FFD9 * turbo cpu frequency
IFEQ CPU-6309
* put 6309 into enhanced mode
ldmd #1
* Sorry Color BASIC, but we gotta trash ENDFLG, CHARAC, and ENDCUR
* in order to install the Divide-by-0/Illegal Opcode interrupt for the 6309
lda #$7E * JMP extended
sta >$0000
ldd #System_InterruptDIV0
std >$0001
ENDIF
orcc #$50 * disabled interrupts
lda #$FC * coco2 gfx, MMU enabled, coco3 IRQ and FIRQ handling enabled
* fix $FE** page to high ram, standard SCS, rom: 16k internal / 16k cartridge
sta $FF90 * set GIME init register 0
* initialize PIA0 state
lda #(PIA0A_Ctrl&$FB) * select data direction A
sta $FF01
lda #(PIA0A_DDR) * set DDRA for PIA0
sta $FF00
lda #(PIA0A_Ctrl) * set CA1/CA2 pin modes, data register
sta $FF01
lda #(PIA0B_Ctrl&$FB) * select data direction B
sta $FF03
lda #(PIA0B_DDR) * set DDRB for PIA0
sta $FF02
lda #(PIA0B_Ctrl) * set CB1/CB2 pin modes, data register
sta $FF03
* initialize PIA1 state
lda #(PIA1A_Ctrl&$FB) * select data direction A
sta $FF21
lda #(PIA1A_DDR) * set DDRA for PIA1
sta $FF20
lda #(PIA1A_Ctrl) * set CA1/CA2 pin modes, data register
sta $FF21
lda #(PIA1B_Ctrl&$FB) * select data direction B
sta $FF23
lda #(PIA1B_DDR) * set DDRB for PIA1
sta $FF22
IFEQ SOUND_METHOD-1
lda #(PIA1B_Ctrl|$08) * set CB1/CB2 pin modes, data register
sta $FF23
lda #$82
sta $FF20 * set DAC to mid-range, serial bit to 1
ENDC
IFEQ SOUND_METHOD-2
lda #(PIA1B_Ctrl&$F7) * clear CB2 output (disable audio on SC77526 chip)
sta $FF23
ENDC
* set Orchestra-90 DACs to mid-range, just in case they will be used
lda #$80
sta $FF7A
sta $FF7B
* read both PIA data registers to clear any fired interrupts
lda $FF00
lda $FF02
lda $FF20
lda $FF22
* Note that $FF92/93 are only writeable
* Reading them will return the state of the hardware signals
* It will not tell you which IRQs are enabled
clr $FF92 * disable all IRQs
clr $FF93 * disable all FIRQs
ldd #(System_InterruptSWI+$103)
std $FEFB * replace SWI vector with "lbra System_InterruptSWI"
andcc #$AF * re-enable interrupts
clr $FF40 * turn off drive motor
clr $986 * clear DGRAM also, so Disk BASIC knows that drive motor was shut off
rts
***********************************************************
* System_UnInit:
* - IN:
* - OUT:
* - Trashed: A
***********************************************************
*System_UnInit
* orcc #$50 * disabled interrupts
* * load GIME init register 0. MMU should already be enabled
* lda #$CC * coco2 gfx, MMU enabled, disable coco3 IRQ/FIRQ
* * fix $FE** page to high ram, SCS enabled, rom: 16k internal/16k cart
* sta $FF90
* ldd #$0212
* std $FEF8 * restore "lbra $010c" IRQ vector
* lda #$35
* sta $FF03 * restore PIA1 VSYNC IRQ
* clra
* tfr a,dp * set DP to 0 page
* andcc #$AF * re-enable interrupts
* rts
***********************************************************
* System_EnterDiskMode:
* - IN:
* - OUT:
* - Trashed: A
***********************************************************
System_EnterDiskMode
lda <MemMgr_VirtualTable+VH_BASIC0
sta $FFA0 * map BASIC page 0 to $0000 (variables needed for disk basic rom)
lda <MemMgr_VirtualTable+VH_BASICROM
sta $FFA5 * map the 8k Color BASIC ROM block into 6809 address space at $A000
lda <MemMgr_VirtualTable+VH_DSKROM
sta $FFA6 * map the 8k Disk BASIC ROM block into 6809 address space at $C000
rts
***********************************************************
* System_LeaveDiskMode:
* - IN:
* - OUT:
* - Trashed: A
***********************************************************
System_LeaveDiskMode
rts
***********************************************************
* System_CallDSKCON:
* - IN:
* - OUT: X = Pointer to DSKCON parameter block
* - Trashed: A,B,Y,U
***********************************************************
System_CallDSKCON
lda <MemMgr_VirtualTable+VH_HIGHROM
sta $FFA7 * map the high ROM page back to $E000 for the disk call (needed for CoCoNET MicroSD Pak)
pshs dp * save original DP register
clra
tfr a,dp * set DP to 0 for disk basic rom
IFEQ CPU-6309
ldmd #0 * for 6309, go back to 'emulation' mode
ENDC
clr $FFD8 * slow cpu back to 0.9MHz for disk read
jsr [$C004] * read sector
puls dp * restore DP so we can access direct variables
lda <MemMgr_VirtualTable+VH_CODE2
sta $FFA7 * re-map secondary code page to $E000 in case we throw SWI below
ldx $C006 * get pointer to DSKCON parameter block
tst DC.STA,x
beq > * branch if no error
lda DC.STA,x
clr $FF40 * turn off drive motor
swi
! clr $FFD9 * back to turbo cpu frequency
IFEQ CPU-6309
ldmd #1 * for 6309, go to 'native' mode (enhanced)
ENDC
rts
***********************************************************
* System_EnableGraphics:
* - IN:
* - OUT:
* - Trashed: A, B
***********************************************************
System_EnableGraphics
orcc #$50 * disable interrupts
lda #$7C * Coco3 gfx, MMU enabled, coco3 IRQ/FIRQ enabled
* fix $FE** page to high ram, standard SCS, rom: 16k internal/16k cartridge
sta $FF90
lda #$20 * 64k memory chips, 279nsec timer input, MMU register bank 0
sta $FF91
lda #$80 * graphics mode, color output, 60 hz, max vertical res
sta $FF98
IFDEF VISUALTIME
lda #$3A * 256 x 200 x 16 color
ELSE
lda #$3E * 320 x 200 x 16 color
ENDC
sta $FF99
clr $FF9C * clear vertical scroll (only used for text modes)
lda #$08 * enable Vertical Border interrupt
sta $FF93 * write GIME FIRQ register
ldd #(System_InterruptFIRQ_NoSound+$109)
std $FEF5 * replace FIRQ vector with "lbra System_InterruptFIRQ_NoSound"
andcc #$AF * re-enable interrupts
rts
***********************************************************
* System_SetPaletteConst:
* - IN: A=value to store
* - OUT:
* - Trashed: B,X
***********************************************************
System_SetPaletteConst
ldx #$FFB0 * set palette to constant value
ldb #16
! sta ,x+
decb
bne <
rts
***********************************************************
* System_SetPaletteAuto:
* This function loads either the RGB or Composite palette from the
* Gfx_Palette_CMP_RGB table, based upon the value of the Gfx_MonitorIsRGB flag
*
* - IN: None
* - OUT:
* - Trashed: A,B,X,Y
***********************************************************
System_SetPaletteAuto
ldx #Gfx_Palette_CMP_RGB
tst <Gfx_MonitorIsRGB
beq >
leax 16,x
! ldy #$FFB0
ldb #16 * set 16 palette entries
! lda ,x+
sta ,y+
decb
bne <
rts
***********************************************************
* System_EnableAudioInterrupt:
* This function enables the Timer FIRQ signal, which is used for audio
* output. Graphics mode must already be enabled before calling this.
* The timer input clock is 3.579545 MHz.
*
* - IN: D = Timer countdown value (0 - 4095), DP may be invalid
* - OUT:
* - Trashed: A
***********************************************************
System_EnableAudioInterrupt
orcc #$50 * disable interrupts
stb $FF95
sta $FF94 * start timer
lda #$28 * enable Timer and Vertical Border interrupts
sta $FF93 * write GIME FIRQ register
ldd #(System_InterruptFIRQ_DAC6+$109)
tst Sound_OutputMode
beq >
ldd #(System_InterruptFIRQ_Orc90+$109)
! std $FEF5 * replace FIRQ vector with "lbra System_InterruptFIRQ_*"
andcc #$AF * re-enable interrupts
rts
***********************************************************
* System_DisableAudioInterrupt:
*
* - IN: Interrupts should already be disabled (orcc #$50)
* - OUT:
* - Trashed: A
***********************************************************
System_DisableAudioInterrupt
clr $FF95
clr $FF94 * stop timer
lda #$08 * enable Vertical Border interrupt only
sta $FF93 * write GIME FIRQ register
ldd #(System_InterruptFIRQ_NoSound+$109)
std $FEF5 * replace FIRQ vector with "lbra System_InterruptFIRQ_NoSound"
rts
***********************************************************
* System_InterruptFIRQ:
***********************************************************
*
System_SndBufferPtr zmd 1
*
System_InterruptFIRQ_DAC6
pshs a
lda $FF93 * reset GIME FIRQ and read which signal caused this FIRQ
bita #$08
bne CC3VSync@ * jump if this is a VSYNC interrupt
* audio code goes here
lda [<System_SndBufferPtr,PCR]
sta $FF20
inc <System_SndBufferPtr+1,PCR
beq AudioBufferRefill@
puls a
rti
AudioBufferRefill@
pshs b,x,y,u
jsr Sound_RefillBuffer
puls b,x,y,u
puls a
rti
System_InterruptFIRQ_Orc90
pshs a
lda $FF93 * reset GIME FIRQ and read which signal caused this FIRQ
bita #$08
bne CC3VSync@ * jump if this is a VSYNC interrupt
* audio code goes here
lda [<System_SndBufferPtr,PCR]
sta $FF7A
sta $FF7B
inc <System_SndBufferPtr+1,PCR
beq AudioBufferRefill@
puls a
rti
System_InterruptFIRQ_NoSound
pshs a
lda $FF93 * reset GIME FIRQ and read which signal caused this FIRQ
bita #$08
bne CC3VSync@ * jump if this is a VSYNC interrupt
* theoretically we shouldn't get here because only the VSync FIRQ should be active. but
* there might be some corner cases during audio startup/shutdown which would lead us here
puls a
rti
CC3VSync@
pshs b,x,y
ldb Gfx_LastRenderedFrame
cmpb Gfx_DisplayedFrame
bne NewFrame@
* if there is no new frame to draw, we are too slow and skipped a frame
inc Gfx_CurrentFieldCount
IFDEF VISUALTIME
lda Gfx_CurrentFieldCount
cmpa #1
beq BorderGreen@
cmpa #2
beq BorderRed@
BorderWhite@
lda #63 * set a white video screen border to indicate 4+ field duration
sta $FF9A
bra EndCC3VSync@
BorderGreen@
lda #18 * set a green video screen border to indicate 2 field duration
sta $FF9A
bra EndCC3VSync@
BorderRed@
lda #22 * set a red video screen border to indicate 3 field duration
sta $FF9A
ENDC
EndCC3VSync@
puls b,x,y
puls a
rti
NewFrame@
clr Gfx_CurrentFieldCount * reset the field counter
IFDEF VISUALTIME
lda #27 * set a dark blue border color to indicate computation in progress
sta $FF9A
ENDC
* we have a new frame to display, so update the GIME video start address
stb Gfx_DisplayedFrame
andb #1 * double buffered, so low bit in frame number gives the buffer pair to use
bsr System_SetVideoStart
bra EndCC3VSync@
***********************************************************
* System_SetVideoStart:
* This function sets the GIME Vertical Start Offset value to the correct
* value for the frame in the buffer pair given by input register B
*
* - IN: B=Buffer Pair (0 or 1)
* - OUT: A=Horizontal Offset Register value ($80-$83)
* Y=Vertical Start Offset value (512k physical address divided by 8)
* X=pointer to X,Y values (16 bits) for this Buffer Pair in Gfx_BkgrndStartXYList table
* - Trashed: B
***********************************************************
System_SetVideoStart
ldy #0 * guess that we will use buffer pair 0
tstb
beq >
ldy #$3800 * buffer pair 1 is 14 8k pages later
! ldx #Gfx_BkgrndStartXYList
lslb
lslb
abx * X is pointer to X,Y playmap coordinates for this buffer pair
ldd 2,x * Buffer 0 Y
* Rows are 256 bytes, so Y coordinates must be << 8 to calculate physical byte address
* However, I want to calculate the address in units of 8 bytes, so I only << 5
aslb
rola
aslb
rola
aslb
rola
aslb
rola
aslb
rola
ADD_D_TO_Y
ldd ,x * Buffer 0 X
* divide X value by 8 (shift right by 3)
lsra
rorb
lsra
rorb
lsra
rorb * Now D is X >> 3
ADD_D_TO_Y
lda 1,x * get low byte of X coordinate
bita #1 * should we use the odd buffer?
beq EvenBuffer@
OddBuffer@
leay 7168,y * advance vertical start to 'odd' buffer, which is 7 8k pages after even
EvenBuffer@
leay 6,y * add 6 * 8 = 48 bytes to get to center of row stride (256-160)/2
sty $FF9D * set GIME vertical offset register
lsra
anda #3
ora #$80 * set Horizontal virtual screen enable (256-byte rows)
sta $FF9F * set GIME horizontal offset register
rts
* offsets to registers in stack after exception
STACKOFF_A EQU 1
STACKOFF_B EQU 2
IFEQ CPU-6309
STACKOFF_E EQU 3
STACKOFF_F EQU 4
STACKOFF_DP EQU 5
STACKOFF_X EQU 6
STACKOFF_Y EQU 7
STACKOFF_U EQU 10
STACKOFF_PC EQU 12
ELSE
STACKOFF_DP EQU 3
STACKOFF_X EQU 4
STACKOFF_Y EQU 6
STACKOFF_U EQU 8
STACKOFF_PC EQU 10
ENDC
***********************************************************
* System_PrintError
***********************************************************
* Locals:
*
Msg_Line1@ fcn '**** Error (PC=0000 DP=00)'
IFEQ CPU-6309
Msg_Line2@ fcn 'A=00 B=00 E=00 F=00'
ELSE
Msg_Line2@ fcn 'A=00 B=00'
ENDC
Msg_Line3@ fcn 'X=0000 Y=0000 U=0000 S=0000'
*
System_PrintError
ldd ,x * write error type (4 characters) into Msg_Line1
std Msg_Line1@
ldd 2,x
std Msg_Line1@+2
lda #$20 * just in case DP got messed up
tfr a,dp
ldd STACKOFF_PC,s * load address of next instruction after one which threw exception into X
ldx #Msg_Line1@+15
jsr Util_WordToAsciiHex * write PC location into message string
lda STACKOFF_DP,s
leax 8,x
jsr Util_ByteToAsciiHex * write DP register value
lda STACKOFF_A,s
ldx #Msg_Line2@+2
jsr Util_ByteToAsciiHex * write A register value
lda STACKOFF_B,s
leax 5,x
jsr Util_ByteToAsciiHex * write B register value
IFEQ CPU-6309
lda STACKOFF_E,s
leax 5,x
jsr Util_ByteToAsciiHex * write E register value
lda STACKOFF_F,s
leax 5,x
jsr Util_ByteToAsciiHex * write F register value
ENDC
ldd STACKOFF_X,s
ldx #Msg_Line3@+2
jsr Util_WordToAsciiHex * write X register value
ldd STACKOFF_Y,s
leax 7,x
jsr Util_WordToAsciiHex * write Y register value
ldd STACKOFF_U,s
leax 7,x
jsr Util_WordToAsciiHex * write U register value
tfr s,d
addd #STACKOFF_PC+2 * adjust stack pointer to value before exception
leax 7,x
jsr Util_WordToAsciiHex * write S register value
orcc #$50 * permanently disable interrupts
* in case we crash before the GIME start registers were set up, set them now
ldb Gfx_DisplayedFrame
andb #1
lslb
lslb
ldx #Gfx_BkgrndStartXYList
abx
jsr Gfx_UpdatePhyAddress
ldb Gfx_DisplayedFrame
andb #1
jsr System_SetVideoStart
* set color 0 to black, and 15 to white
clr $FFB0
lda #63
sta $FFBF
* draw Line 1
lda #2 * Y=2
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line1@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #1 * Y=1
ldb #7 * X=14 (4 bytes)
ldx #Msg_Line1@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #1 * Y=1
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line1@
ldu #15
jsr Gfx_DrawTextLine * print error message at top left of screen
* draw Line 2
lda #17 * Y=17
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line2@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #16 * Y=16
ldb #7 * X=14 (7 bytes)
ldx #Msg_Line2@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #16 * Y=16
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line2@
ldu #15
jsr Gfx_DrawTextLine * print error message at top left of screen
* draw Line 3
lda #32 * Y=32
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line3@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #31 * Y=31
ldb #7 * X=14 (7 bytes)
ldx #Msg_Line3@
ldu #0
jsr Gfx_DrawTextLine * print error message at top left of screen
lda #31 * Y=31
ldb #8 * X=16 (8 bytes)
ldx #Msg_Line3@
ldu #15
jsr Gfx_DrawTextLine * print error message at top left of screen
SWILoop@
bra SWILoop@
***********************************************************
* System_InterruptSWI:
***********************************************************
*
ErrorTag@ fcc 'SWI '
*
System_InterruptSWI
ldx #ErrorTag@
jmp System_PrintError
***********************************************************
* System_InterruptDIV0:
***********************************************************
*
Div0Tag@ fcc 'DIV0'
IlOpTag@ fcc 'IlOp'
*
System_InterruptDIV0
bitmd #$80
bne DivBy0@
ldx #IlOpTag@
jmp System_PrintError
DivBy0@
ldx #Div0Tag@
jmp System_PrintError
| 45.221498 | 136 | 0.432579 |
941cdc267f407ea1bc0afb0b7318a7b7f3afe45e | 893 | asm | Assembly | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_init.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_init.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_init.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
defc __NONEED = 1
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_init
EXTERN asm_SMSlib_resetPauseRequest, asm_SMSlib_detect_VDP_type, asm_SMSlib_setSpritePaletteColor
EXTERN asm_SMSlib_initSprites, asm_SMSlib_finalizeSprites, asm_SMSlib_copySpritestoSAT
asm_SMSlib_init:
xor a
ld l,a
call asm_SMSlib_setSpritePaletteColor
; vdp register initialization moved to crt
call asm_SMSlib_initSprites
call asm_SMSlib_finalizeSprites
call asm_SMSlib_copySpritestoSAT
call asm_SMSlib_resetPauseRequest
jp asm_SMSlib_detect_VDP_type
; add library initialization to crt
SECTION code_crt_init
call asm_SMSlib_init
| 23.5 | 97 | 0.725644 |
fc21802ecc6f3593c77b8fad864343f7260c6804 | 3,873 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_7_1228.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_7_1228.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_7_1228.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x33ac, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r11
movq %r11, (%rdx)
nop
dec %r9
lea addresses_WC_ht+0x127fc, %rbx
clflush (%rbx)
nop
nop
add %r14, %r14
mov (%rbx), %r15w
nop
nop
nop
nop
nop
add %r14, %r14
lea addresses_normal_ht+0x7ffc, %rsi
lea addresses_normal_ht+0x1ca1c, %rdi
nop
dec %r14
mov $101, %rcx
rep movsq
nop
add %rcx, %rcx
lea addresses_A_ht+0x9d68, %rdi
nop
nop
nop
sub %rdx, %rdx
movups (%rdi), %xmm5
vpextrq $1, %xmm5, %rsi
and %r15, %r15
lea addresses_WC_ht+0xae7c, %rsi
lea addresses_A_ht+0x186fc, %rdi
nop
and $42218, %r14
mov $85, %rcx
rep movsw
nop
and %rbx, %rbx
lea addresses_WC_ht+0x27fc, %rsi
lea addresses_A_ht+0xb13c, %rdi
nop
nop
nop
nop
and %rdx, %rdx
mov $17, %rcx
rep movsl
nop
inc %r14
lea addresses_WT_ht+0x9acc, %rcx
nop
nop
nop
nop
cmp %rdx, %rdx
movw $0x6162, (%rcx)
nop
nop
nop
nop
and $30656, %r11
lea addresses_WT_ht+0x187fc, %rdi
nop
nop
nop
and %r9, %r9
mov (%rdi), %r15d
nop
nop
nop
nop
nop
add $60199, %rsi
lea addresses_A_ht+0x15ffc, %rsi
lea addresses_WC_ht+0x10b0c, %rdi
nop
nop
nop
add %r9, %r9
mov $62, %rcx
rep movsw
nop
nop
nop
nop
and %r15, %r15
lea addresses_normal_ht+0x3c7c, %rsi
lea addresses_UC_ht+0x8433, %rdi
clflush (%rdi)
nop
nop
and $55948, %rbx
mov $74, %rcx
rep movsl
nop
nop
nop
nop
and $31538, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r15
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
// REPMOV
mov $0x4b8f340000000a6e, %rsi
mov $0xb6c, %rdi
clflush (%rdi)
add %r8, %r8
mov $49, %rcx
rep movsb
nop
nop
sub $43785, %r14
// Faulty Load
lea addresses_WT+0x127fc, %rsi
sub $16424, %r14
movb (%rsi), %r15b
lea oracles, %rcx
and $0xff, %r15
shlq $12, %r15
mov (%rcx,%r15,1), %r15
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r15
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_NC', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_P', 'congruent': 3, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}}
{'39': 7}
39 39 39 39 39 39 39
*/
| 20.277487 | 157 | 0.653499 |
20e19ada7fc00e5c4c046056c46178e6339be441 | 614 | asm | Assembly | src/Question 10/Question C/Main.asm | xTVaser/x86-assembly-sample-code | f90456d860136bd88d1ea046c77d5671118f99e4 | [
"MIT"
] | null | null | null | src/Question 10/Question C/Main.asm | xTVaser/x86-assembly-sample-code | f90456d860136bd88d1ea046c77d5671118f99e4 | [
"MIT"
] | null | null | null | src/Question 10/Question C/Main.asm | xTVaser/x86-assembly-sample-code | f90456d860136bd88d1ea046c77d5671118f99e4 | [
"MIT"
] | null | null | null | ;Tyler Wilding
;DESKTOP-EVD5HKS
;8/8/2016 11:02:59 AM
;Question_C
;Implement the following C++ expression in assembly language, using 32-bit signed
;operands:
; val1 = (val2 / val3) * (val1 + val2)
INCLUDE Irvine32.inc
.data
val1 SDWORD 1
val2 SDWORD 6
val3 SDWORD 3
.code
main PROC
cmp val3, 0
JE divideByZero
mov EAX, val2
cdq
idiv val3
mov EBX, val1
add EBX, val2
imul EBX
call WriteInt
mov val1, EAX
divideByZero:
exit
main ENDP
END main | 15.35 | 81 | 0.543974 |
197d03c74c3689171b01a2d772e4b63bb5f33422 | 416 | asm | Assembly | libsrc/sprites/software/sp1/spectrum/tiles/sp1_PrintString_callee.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/sprites/software/sp1/spectrum/tiles/sp1_PrintString_callee.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/sprites/software/sp1/spectrum/tiles/sp1_PrintString_callee.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; void __CALLEE__ sp1_PrintString_callee(struct sp1_pss *ps, uchar *s)
; 02.2008 aralbrec, Sprite Pack v3.0
; zxz81 hi-res version
SECTION code_sprite_sp1
PUBLIC sp1_PrintString_callee
EXTERN SP1PrintString, SP1PSPOP, SP1PSPUSH
.sp1_PrintString_callee
pop hl
pop de
ex (sp),hl
push hl ; save & struct sp1_pss
call SP1PSPOP
call SP1PrintString
pop hl
jp SP1PSPUSH
| 19.809524 | 70 | 0.709135 |
0bfb6f611fedf435d4e6fcf4ee5c070dc9d1dde5 | 364 | asm | Assembly | oeis/021/A021767.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021767.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021767.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021767: Decimal expansion of 1/763.
; Submitted by Jamie Morken(m2)
; 0,0,1,3,1,0,6,1,5,9,8,9,5,1,5,0,7,2,0,8,3,8,7,9,4,2,3,3,2,8,9,6,4,6,1,3,3,6,8,2,8,3,0,9,3,0,5,3,7,3,5,2,5,5,5,7,0,1,1,7,9,5,5,4,3,9,0,5,6,3,5,6,4,8,7,5,4,9,1,4,8,0,9,9,6,0,6,8,1,5,2,0,3,1,4,5,4,7,8
seq $0,83811 ; Numbers n such that 2n+1 is the digit reversal of n+1.
div $0,3052
mod $0,10
| 45.5 | 199 | 0.593407 |
503e572c0f54cb349e61f9f567c8521a582a668b | 5,142 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1273.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1273.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1273.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x15ee5, %r14
sub $34238, %r10
mov $0x6162636465666768, %r13
movq %r13, (%r14)
nop
nop
nop
nop
add %r8, %r8
lea addresses_D_ht+0x69a1, %rsi
lea addresses_normal_ht+0xc715, %rdi
cmp %r11, %r11
mov $3, %rcx
rep movsb
nop
nop
nop
and $9731, %r13
lea addresses_D_ht+0x7425, %rsi
nop
nop
cmp $59919, %rdi
mov (%rsi), %r8
nop
nop
nop
nop
nop
and $25702, %r8
lea addresses_WT_ht+0x150d, %rdi
nop
nop
nop
nop
nop
cmp %rcx, %rcx
mov (%rdi), %r13
nop
mfence
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r14
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
// Store
lea addresses_WT+0x2ce5, %r11
nop
nop
nop
sub %rcx, %rcx
movb $0x51, (%r11)
nop
nop
xor $12847, %rdi
// Faulty Load
lea addresses_WT+0x2ce5, %r11
nop
nop
and %rbx, %rbx
vmovups (%r11), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $1, %xmm7, %rcx
lea oracles, %rdx
and $0xff, %rcx
shlq $12, %rcx
mov (%rdx,%rcx,1), %rcx
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT', 'congruent': 0}}
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WT', 'congruent': 0}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_WT', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A_ht', 'congruent': 6}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 6}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT_ht', 'congruent': 0}}
{'39': 21829}
39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39
*/
| 43.948718 | 2,999 | 0.658888 |
ace1fac50a9a94d59309095505af687288301a61 | 460 | asm | Assembly | ml/add.asm | larsrotgers/computing-system | 398cd119be9ab7bd816862e7d4e5a601ee2de4db | [
"MIT"
] | null | null | null | ml/add.asm | larsrotgers/computing-system | 398cd119be9ab7bd816862e7d4e5a601ee2de4db | [
"MIT"
] | null | null | null | ml/add.asm | larsrotgers/computing-system | 398cd119be9ab7bd816862e7d4e5a601ee2de4db | [
"MIT"
] | null | null | null | // Adds 1+..+100
@i // i refers to mem. loc
M=1 // i=1
@sum // sum refers to mem. loc
M=0 // sum=0
(LOOP)
@i
D=M // D=i
@100
D=D-A // D=i-100
@END
D;JGT // If (i - 100) > 0 goto END
@i
D=M // D=i
@sum
M=D+M // sum=sum+i
@i
M=M+1 // i=i+1
@LOOP
0;JMP // Goto LOOP
(END)
@END
0;JMP // Infinite loop | 20 | 44 | 0.343478 |
f47a350d3d6e789c407208960cc68d323e9e4bdf | 2,009 | asm | Assembly | Engine/Ram/exo/RAMLoaderT2.asm | wide-dot/thomson-to8-game-engine | f305368ff28fba6e6bd03d0138a36ff5ea67e925 | [
"Apache-2.0"
] | 11 | 2021-09-07T18:45:06.000Z | 2022-02-15T06:36:19.000Z | Engine/Ram/RAMLoaderT2.asm | wide-dot/thomson-to8-game-engine | f305368ff28fba6e6bd03d0138a36ff5ea67e925 | [
"Apache-2.0"
] | null | null | null | Engine/Ram/RAMLoaderT2.asm | wide-dot/thomson-to8-game-engine | f305368ff28fba6e6bd03d0138a36ff5ea67e925 | [
"Apache-2.0"
] | 1 | 2021-11-22T08:43:52.000Z | 2021-11-22T08:43:52.000Z | ********************************************************************************
* Chargement de donnees en RAM (TO8 Thomson) - Benoit Rousseau 26/04/2021
* ------------------------------------------------------------------------------
*
* Charge les donnees d'un mode de jeu depuis la Megarom T.2
* decompresse les donnees avec exomizer et copie ces donnees en RAM
*
* Les index de donnees sont stockees par groupe de 6 octets:
* ----------------------------------------------------------
* b: page T.2
* b: page RAM
* w: adresse T.2
* w: adresse RAM
*
* la derniere ligne contient comme premier octet une valeur negative (exemple $FF)
* en lieu et place de la page T.2
********************************************************************************
INCLUDE "./Engine/Constants.asm"
org $4000
opt c,ct
setdp $40 ; dp for exomizer
start
INCLUDE "./Engine/Compression/Exomizer.asm"
RAMLoader
ldx #RL_RAM_index
RL_While
ldd ,x++ ; A: T2 src page, B: Dest RAM page
bpl RL_LoadData ; valeur negative de secteur signifie fin du tableau de donnee
jmp $6100 ; on lance le mode de jeu en page 1
RL_LoadData
stb $E7E5 ; selection de la page en RAM Donnees (A000-DFFF)
ldb #$AA ; sequence pour commutation de page T.2
stb $0555
ldb #$55
stb $02AA
ldb #$C0
stb $0555
sta $0555 ; selection de la page T.2
ldu ,x++ ; source ROM (fin des donnees)
ldy ,x++ ; destination RAM (fin des donnees)
jsr >exo2 ; decompresse les donnees
bra RL_While
fill
fill 0,7-((fill-start)%7) ; le code est un multilpe de 7 octets (pour la copie)
RL_RAM_index | 37.90566 | 101 | 0.445993 |
efc7ca1957e3c97932696f69581b3e92d69c7900 | 324 | asm | Assembly | oeis/324/A324245.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/324/A324245.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/324/A324245.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A324245: The modified Collatz map considered by Vaillant and Delarue.
; 0,2,0,5,3,8,1,11,6,14,2,17,9,20,3,23,12,26,4,29,15,32,5,35,18,38,6,41,21,44,7,47,24,50,8,53,27,56,9,59,30,62,10,65,33,68,11,71,36,74,12
mul $0,3
mov $3,$0
dif $0,2
add $0,2
mov $2,-2
gcd $3,2
sub $0,$3
add $0,1
bin $2,$0
div $2,2
sub $0,$2
div $0,3
| 20.25 | 137 | 0.626543 |
ab2f7c2e9f9033e50377ca24e5eaa03f59fa259a | 339 | asm | Assembly | oeis/283/A283149.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/283/A283149.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/283/A283149.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A283149: Largest k such that (p-1)! == -1 (mod p^k), where p = prime(n).
; 1,1,2,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
mov $2,42
mov $5,2
add $$0,$$5
add $2,$5
mov $0,$2
div $0,43
| 33.9 | 201 | 0.516224 |
6aba412c22b65022ffc47440a7f4af7b5023c913 | 1,174 | asm | Assembly | ejemplo.asm | emilio1625/mips_vhdl | 462699ee738c2977b445c0a05ff349317eca82f6 | [
"MIT"
] | 3 | 2018-04-15T04:06:56.000Z | 2019-08-31T06:21:35.000Z | ejemplo.asm | emilio1625/mips_vhdl | 462699ee738c2977b445c0a05ff349317eca82f6 | [
"MIT"
] | null | null | null | ejemplo.asm | emilio1625/mips_vhdl | 462699ee738c2977b445c0a05ff349317eca82f6 | [
"MIT"
] | null | null | null | ; Programa de prueba para el mips, ensamblado a mano con <3
; rutina de multiplicacion tomada de
; https://stackoverflow.com/questions/18812319/multiplication-using-logical-shifts-in-mips-assembly
localidad opcode(bin) opcode(hex) code
0x00000000 00000000000000000100000000100000 0x00004020 add $t0, $zero, $zero # result
0x00000004 mult_loop:
0x00000004 00110010010010100000000000000001 0x324A0001 andi $t2, $s2, 1
0x00000008 00010001010000000000000000000001 0x11400001 beq $t2, $zero, bit_clear
# if (multiplicand & 1) result += multiplier << shift
0x0000000C 00000001000100010100000000100001 0x01114021 addu $t0, $t0, $s1
0x00000010 bit_clear:
0x00000010 00000000000100011000100001000000 0x00118840 sll $s1, $s1, 1 # multiplier <<= 1
0x00000014 00000000000100101001000001000010 0x00129042 srl $s2, $s2, 1 # multiplicand >>= 1
0x00000018 00010110010000001111111111111010 0x1640FFFA bne $s2, $zero, mult_loop
| 78.266667 | 114 | 0.632027 |
10e9fae294e615862da7622a9049ba2928b87e26 | 491 | asm | Assembly | oeis/243/A243054.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/243/A243054.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/243/A243054.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A243054: a(0)=1, and for n >= 1, a(n) = p_n * A002110(n) / 2, where p_n is the n-th prime.
; Submitted by Jon Maiga
; 1,2,9,75,735,12705,195195,4339335,92147055,2565568005,93810551835,3108687597015,137283655493985,6237130402307805,281279368630905645,14449909890829548135,863612699645536185345,56721430329549272852565,3577295631461912614989735,263253771961188946371949515
seq $0,286630 ; a(0) = 1; for n >= 1, a(n) = A000040(n) * A002110(n).
sub $0,4
add $1,$0
div $1,2
mov $0,$1
add $0,2
| 44.636364 | 254 | 0.745418 |
8815dc6e25fb41ff91ae9af6f9704382097bcb4b | 636 | asm | Assembly | oeis/315/A315737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/315/A315737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/315/A315737.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A315737: Coordination sequence Gal.5.90.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Christian Krause
; 1,6,12,18,23,27,31,36,42,48,54,60,66,72,77,81,85,90,96,102,108,114,120,126,131,135,139,144,150,156,162,168,174,180,185,189,193,198,204,210,216,222,228,234,239,243,247,252,258,264
mov $1,$0
add $0,1
add $0,$1
add $0,1
mov $2,$1
mov $3,$1
mul $1,2
add $1,7
trn $3,1
add $0,$3
add $0,4
lpb $1
add $0,$1
sub $0,1
sub $1,6
trn $1,8
sub $0,$1
add $0,1
trn $1,6
lpe
sub $0,3
lpb $2
add $0,1
sub $2,1
lpe
sub $0,9
| 20.516129 | 180 | 0.657233 |
0924440bcaba2056c4d4bc0b405805cd8cefd8b6 | 5,219 | asm | Assembly | Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_27_2634.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_27_2634.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/P/_zr_/i3-7100_9_0x84_notsx.log_27_2634.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xe844, %rbp
nop
nop
nop
nop
xor %rax, %rax
movups (%rbp), %xmm5
vpextrq $0, %xmm5, %r8
xor %r8, %r8
lea addresses_UC_ht+0x7d74, %rax
nop
nop
nop
nop
nop
cmp %r13, %r13
movb $0x61, (%rax)
nop
nop
nop
and $41994, %r13
lea addresses_normal_ht+0x8aec, %rsi
lea addresses_D_ht+0x1e630, %rdi
nop
nop
nop
cmp %rax, %rax
mov $115, %rcx
rep movsq
cmp $54572, %rdi
lea addresses_A_ht+0x1bba4, %rsi
lea addresses_WT_ht+0x1c414, %rdi
xor %r8, %r8
mov $115, %rcx
rep movsw
nop
nop
nop
dec %r13
lea addresses_WT_ht+0x5fb4, %r8
nop
nop
inc %rbp
mov $0x6162636465666768, %rax
movq %rax, %xmm1
movups %xmm1, (%r8)
nop
nop
dec %rbp
lea addresses_A_ht+0x1211c, %r8
nop
nop
nop
and %r13, %r13
movw $0x6162, (%r8)
nop
cmp %r13, %r13
lea addresses_WC_ht+0xd34, %r15
clflush (%r15)
nop
and $41037, %rbp
mov $0x6162636465666768, %r13
movq %r13, %xmm2
vmovups %ymm2, (%r15)
nop
nop
nop
nop
nop
cmp $48411, %rbp
lea addresses_WT_ht+0x9b14, %rsi
lea addresses_WT_ht+0x1d874, %rdi
nop
add %r13, %r13
mov $42, %rcx
rep movsl
nop
nop
nop
nop
nop
add $51435, %rax
lea addresses_WT_ht+0x3144, %r15
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r8
movq %r8, %xmm7
movups %xmm7, (%r15)
xor $23377, %r15
lea addresses_WC_ht+0x1a1ec, %r15
and $10643, %rdi
and $0xffffffffffffffc0, %r15
movntdqa (%r15), %xmm7
vpextrq $0, %xmm7, %r13
nop
nop
nop
nop
nop
inc %rdi
lea addresses_normal_ht+0x7934, %r13
nop
nop
nop
sub %r8, %r8
mov (%r13), %cx
nop
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_UC_ht+0x14e64, %r15
and %rbp, %rbp
mov (%r15), %si
nop
cmp $57644, %rcx
lea addresses_WT_ht+0x579c, %rsi
lea addresses_UC_ht+0x14c74, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
and $58188, %r8
mov $29, %rcx
rep movsw
nop
nop
nop
nop
xor $55169, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r15
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_D+0x5274, %rbp
nop
nop
nop
nop
nop
add $57475, %rdx
mov $0x5152535455565758, %r9
movq %r9, %xmm4
movups %xmm4, (%rbp)
nop
nop
nop
add $34043, %rbx
// REPMOV
lea addresses_A+0x4340, %rsi
lea addresses_WT+0x1face, %rdi
nop
nop
nop
add $62444, %r10
mov $70, %rcx
rep movsw
nop
inc %rdi
// Store
lea addresses_normal+0x16c74, %rdx
and $24543, %r9
movb $0x51, (%rdx)
and %r10, %r10
// Faulty Load
mov $0x474, %rcx
nop
nop
nop
add $32024, %r9
mov (%rcx), %edx
lea oracles, %rbp
and $0xff, %rdx
shlq $12, %rdx
mov (%rbp,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_P', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_A', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_WT', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_normal', 'same': False, 'size': 1, 'congruent': 11, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_P', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_normal_ht', 'same': True, 'size': 16, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 1, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 16, 'congruent': 2, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'same': True, 'size': 2, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'}
{'00': 27}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 20.792829 | 151 | 0.650508 |
dcb7aed0f87541316e4ded0db4a62d372192a547 | 622 | asm | Assembly | oeis/296/A296965.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/296/A296965.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/296/A296965.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A296965: Expansion of x*(1 - x + 2*x^2) / ((1 - x)*(1 - 2*x)).
; 0,1,2,6,14,30,62,126,254,510,1022,2046,4094,8190,16382,32766,65534,131070,262142,524286,1048574,2097150,4194302,8388606,16777214,33554430,67108862,134217726,268435454,536870910,1073741822,2147483646,4294967294,8589934590,17179869182,34359738366,68719476734,137438953470,274877906942,549755813886,1099511627774,2199023255550,4398046511102,8796093022206,17592186044414,35184372088830,70368744177662,140737488355326,281474976710654,562949953421310,1125899906842622,2251799813685246,4503599627370494
mov $1,2
pow $1,$0
mov $2,2
dif $2,$1
trn $1,$2
mov $0,$1
| 62.2 | 497 | 0.807074 |
51c9de720e90c4f97b3016bb9de9154428689d72 | 348 | asm | Assembly | pwnlib/shellcraft/templates/amd64/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 8,966 | 2015-01-02T11:58:14.000Z | 2022-03-31T21:19:56.000Z | pwnlib/shellcraft/templates/amd64/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,401 | 2015-01-01T00:56:22.000Z | 2022-03-31T16:19:53.000Z | pwnlib/shellcraft/templates/amd64/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,844 | 2015-01-07T04:38:06.000Z | 2022-03-30T03:54:46.000Z | <% from pwnlib.shellcraft import amd64, pretty %>
<%docstring>Copies memory.
Args:
dest: Destination address
src: Source address
n: Number of bytes
</%docstring>
<%page args="dest, src, n"/>
/* memcpy(${pretty(dest)}, ${pretty(src)}, ${pretty(n)}) */
cld
${amd64.setregs({'rdi': dest, 'rsi': src, 'rcx': n})}
rep movsb
| 24.857143 | 63 | 0.606322 |
f91e36edffa28e2939894645a1dc657d43deba31 | 29,176 | asm | Assembly | Driver/Socket/IRLAP/irlapEvent.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Socket/IRLAP/irlapEvent.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Socket/IRLAP/irlapEvent.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: irlapEvent.asm
AUTHOR: Cody Kwok, May 12, 1994
REVISION HISTORY:
Name Date Description
---- ---- -----------
CK 5/12/94 Initial revision
DESCRIPTION:
Event handling of IRLAP:
Event handling loop,
event handlers for states.
$Id: irlapEvent.asm,v 1.1 97/04/18 11:56:54 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapResidentCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IrlapAttach
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The event handler of the new thread, never
returns.
CALLED BY: MSG_META_ATTACH
PASS: ds, es = dgroup
ax = MSG_META_ATTACH
RETURN: nothing
DESTROYED: ax
REVISION HISTORY:
Name Date Description
---- ---- -----------
CK 5/ 9/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapAttach method dynamic IrlapProcessClass, MSG_META_ATTACH
.enter
;
; Get the event queue of current thread
;
mov ax, TGIT_QUEUE_HANDLE
clr bx ; get info about current thread
call ThreadGetInfo ; ax = queue handle
mov dx, ax ; dx = queue handle
mov ax, TGIT_THREAD_HANDLE ; get the current thread handle
call ThreadGetInfo
mov bp, ax ; bp = thread handle
;
; Get the station segment.
; Should be the second message ever sent to this thread.
;
mov_tr bx, dx ;
call QueueGetMessage ; ax = event handle
mov bx, ax ; bx = event handle
call ObjGetMessageInfo ; ax = station segment
mov ds, ax
call ObjFreeMessage ; free this dummy
if 0
;
; We absolutely need irlap event thread to have priority over other
; threads; if other threads interrupt this thread, especially if
; irlap server thread does, protocol integrity is threatened
; - SJ
;
;
; Setup a continual timer that periodically cranks up the
; irlap event thread's priority, so that it will run with
; a certain regularity. The thread priority is reduced after
; a packet is transmitted.
;
push dx ;save queue handle
mov al, TIMER_ROUTINE_CONTINUAL
mov bx, segment IrlapTimerCrankUpPriority
mov si, offset IrlapTimerCrankUpPriority
mov di, 12 ;12 ticks = 200 ms
mov cx, 12 ;start soon
mov dx, bp ;timer data passed in ax
; is the thread handle.
call TimerStart ;ax = timerID
;bx = timer handle
mov ds:[IS_priorityTimerID], ax
mov ds:[IS_priorityTimerHandle], bx
pop dx ;dx = queue handle
endif ; 0
;
; At this point:
; bp = thread handle
; dx = queue handle
; ds = station segment
;
call IrlapEventLoop ; infinite loop
.leave ; not reached
ret
IrlapAttach endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IrlapEventLoop(V)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The main event loop of IRLAP event threads.
CALLED BY: IrlapAttach
PASS: ds = station segment
dx = event queue handle
bp = thread handle
RETURN: nothing, never
DESTROYED: everything: we can do this since we're last call in a
message, and btw we never returns, duh.
PSEUDO CODE/STRATEGY:
Pull a event from the event queue
eventLoop:
if (event applys to our state)
call state event handler
dispose of the event
do cx times:
pop an event off the stack
post it at the front of the event queue
else
push it on stack
inc cx
loop eventLoop
REVISION HISTORY:
Name Date Description
---- ---- -----------
CK 5/12/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapEventLoop proc near
TATQ_loop:
;
; loop invariant: ds = station
; dx = queue handle
;
;
; Destroy the thread if IDC_DETACH message has been posted
;
test ds:IS_extStatus, mask IES_DETACHED
jnz killThread
;
; Get message to process
;
mov bx, dx ; restore queue handle
call QueueGetMessage ; ax = event handle
mov bx, ax ; bx = event handle
if 0
;
; Now I think we want to be interrupted by Irlap server thread
;
; boost priority by resetting current cpu usage count
; we cannot afford to be interrupted here, especially by
; irlap server thread
;
push ax, bx
clr bx
mov ax, mask TMF_ZERO_USAGE shl 8
call ThreadModify
pop ax, bx
endif
;
; V/P suspend semaphore, this will block irlap event thread if
; the user requested to suspend IrLAP
;
PSem ds, IS_suspendSem
VSem ds, IS_suspendSem
;
; handle messages now
;
call ObjGetMessageInfo ; ax = event code(message)
applyEvent::
;
; Handle the dispatched event
;
call IrlapCheckStateEvent ; event freed if successful
jnc recoverQueue ; event successfully handled
;
; Event not recognized
;
mov_tr ax, bx ; ax = event handle
mov bx, ds:IS_pendingEventQueue
clr si, di ; post in order
call QueuePostMessage
jmp TATQ_loop
recoverQueue:
;
; pop the stack until it's empty, and repost the events at the
; front of the queue.
;
mov di, mask MF_INSERT_AT_FRONT or mask MF_FORCE_QUEUE
mov si, dx ; si = queue handle
mov bx, ds:IS_pendingEventQueue
mov cx, si ; same handler
call GeodeFlushQueue
mov bx, dx ; bx = queue
;
; Get expedited events( there can be up to MAX_NUM_URGENT_EVENT )
;
urgentEventLoop:
call IrlapGetUrgentEvent ;-> ax = event
jc TATQ_loop
EC < cmp di, mask MF_INSERT_AT_FRONT or mask MF_FORCE_QUEUE>
EC < ERROR_NE -1 >
clr si
call QueuePostMessage ; insert event at front
jmp urgentEventLoop
killThread:
;
; Free pending event queue
;
mov bx, ds:IS_pendingEventQueue
EC < call GeodeInfoQueue ; ax = # events >
EC < tst ax >
EC < WARNING_NZ IRLAP_PENDING_EVENTS_ON_DETACH >
call GeodeFreeQueue
;
; deallocate irlap station segment
;
mov bx, ds:IS_stationHandle
call MemFree
;
; jump to ThreadDestroy
;
clr cx, dx, bp
jmp ThreadDestroy
.warn -unreach
ret ; not reached
.warn @unreach
IrlapEventLoop endp
IrlapResidentCode ends
IrlapCommonCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IrlapCheckStateEvent(V)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check event for the state, set carry if event not
applicable to state, and dispatch it if applicable.
CALLED BY: IrlapEventLoop
PASS: bx = event handle
ax = event code
ds = station
RETURN: carry set if event is not applicable
in that case, bx = event handle passed
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
if (localEvent(event code))
get eventcode.high -- IrlapLocalEvent
if eventcode.low is in stateLocalEvent[state][eventcode.high]
find handler function
call function
clc
else stc
else find handler function
if (found)
call handler function
clc
else if (found stateDefaultHandler[state])
call stateDefaultHandler[state]
clc
else stc
REVISION HISTORY:
Name Date Description
---- ---- -----------
CK 5/13/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapCheckStateEvent proc far
uses ax, cx, dx, es, di, si, bp
.enter
EC < IrlapCheckStation ds >
;
; Check for external event
;
cld ; just to be sure
mov bp, ds:IS_state ; bp = current state
segmov es, cs, dx
test ah, mask IEI_LOCAL
jz externalEvent
;
; LOCAL EVENT
; Check for driver control messages: these messages are the one that
; I added outside IrLAP protocol
;
cmp ah, ILE_CONTROL
jne processLocalEvents
;
; Lookup the appropriate handler and call it
;
clr ah ; ax= offset to handler
add ax, offset DriverControlTable ; in DriverControlTable
mov_tr di, ax
mov dx, cs:[di]
mov cx, cs
push cx, dx
mov di, ds ; di = station segment
clr si ; kill the event
call MessageProcess ;-> cx, dx popped
clc
jmp exit
processLocalEvents:
;
; Local events: we check if it's applicable
;
; bp = state
; es = code segment
;
shl bp, 1 ; state # x 4 bytes
shl bp, 1 ;
mov dx, ax ; dx = event code
BitClr dh, IEI_LOCAL ; get rid of the IEI_LOCAL bit.
clr dl ;
xchg dl, dh ; dx, di = 0 - 3, depending on which
mov di, dx ; IrlapLocalEvent the event was
test al, cs:IrlapStateLocalEventTable[bp][di]
LONG jz notApplicable
;
; Data requests (ILE_REQUEST + IRV_DATA) are not legal
; if ISS_REMOTE_BUSY is set in ds:IS_status.
;
cmp ax, ILE_REQUEST shl 8 or mask IRV_DATA
jne applicable
;
; If NDM and ISS_GOING_AWAY, override ISS_REMOTE_BUSY check as we
; want DataRequestNDM to free the data.
;
cmp ds:IS_state, IMS_NDM
jne notNDM
test ds:IS_status, mask ISS_GOING_AWAY
jnz applicable
notNDM:
;
; the event is a data request. Check for ISS_REMOTE_BUSY
;
test ds:IS_status, mask ISS_REMOTE_BUSY
jz applicable
jmp notApplicable
applicable:
;
; Applicable, so get the events: one of the events in the table
; MUST be it.
;
shr bp ; state # x 2 bytes
mov dx, {word} cs:IrlapHandlerTable[bp]
; dl = offset, dh = # of locals
clr cx
mov cl, dh ; cx = # of locals
clr dh ;
shl dx, 1 ; dx = state offset x size word
add dx, offset IrlapStateLookupTable
mov di, dx ; es:di = start of state
EC < cmp dx, di >
EC < ERROR_NE IRLAP_LOCAL_EVENT_NOT_RECOGNIZED >
EC < tst cx >
EC < ERROR_Z IRLAP_LOCAL_EVENT_NOT_RECOGNIZED >
repnz scasw
EC < ERROR_NZ IRLAP_LOCAL_EVENT_NOT_RECOGNIZED >
jmp processMessage
externalEvent:
;
; Clr IES_MIN_TURNAROUND so that we wait minimum turnaroud time
; before sending another packet
;
BitClr ds:IS_extStatus, IES_MIN_TURNAROUND
;
; The idea is lookup abs this state offset (a)
; abs next state offset (b) and num of local events this state (c).
; dx = table offset of a. di = table offset of c. cx = b-a-c
;
shl bp, 1 ; state # x 2
mov dx, {word} cs:IrlapHandlerTable[bp]
; dl = offset, dh = # of local
mov cx, {word} cs:IrlapHandlerTable[bp].2; cl = next offset
add dl, dh ; real offset
clr dh
mov di, dx ; offset of external events
sub cl, dl ; cx = # of externals
clr ch
shl di, 1 ; es:di = start of external event
; of state
add di, offset IrlapStateLookupTable
jcxz defaultHandling ; cx = 0 nothing to search
;
; Arrgh... I need to clr Nr field of S frames in order for them to be
; recognized in the table
;
mov dx, ax ; save original frame header
test al, 00000001b
jz iFrame
test al, 00000010b
jz sFrame
jmp searchTable ; in case of U frame there is nothing
; to mask out
iFrame:
and al, not mask IICF_NS
sFrame:
and al, not mask IICF_NR
searchTable:
;
; now scan for handler
;
repnz scasw
jnz defaultHandling
mov ax, dx ; restore frame header(Ns,Nr restored)
;
; Convert ax to an error event if it contains invalid control field
;
call DetectInvalidControlField
mov bp, ds:IS_state
jc externalEvent
processMessage:
;
; Find the event handler
;
sub di, offset IrlapStateLookupTable + size word
; compensate for 1 word overrun of scasw
shl di, 1 ; offset into dword table of vfptr
; of action functions: state # x 4 bytes
;
; For XIP, this table is kept in Fixed memory.
; So it no longer resides in the same segment as the other
; tables.
;
push ax ; save the control field
add di, offset IrlapStateActionTable
movfptr cxdx, IrlapMessageProcessCallback
push cx, dx ; callback routine as argument
EC < call ECCheckEventHandle >
mov ds:IS_callVector, di ; store the function to call
mov di, ds ; pass station segment as arg
clr si ; destroy the event
call MessageProcess ; already popped cx, dx
pop ax
;
; if we have just handled a frame that turns the link around,
; clear the recvCount so that we can now receive frames
;
test al, mask ISCF_PFBIT
jz skipPf
clr ds:IS_recvCount
skipPf:
clc
jmp exit
notApplicable:
stc
exit:
cld
.leave
ret
defaultHandling:
;
; Invalid frame?
;
call CheckForInvalidFrame ; carry set if invalid frame
mov ax, dx
jc invalidFrame
;
; Restore es to be dgroup
;
GetDgroup es, cx
;
; not in table, but the state may handle it with wildcards.
; if the state can't handle it, we need to discard it; we cannot
; preserve and pass it along later and expect the protocol to
; operate correctly on delayed responses.
;
mov cx, ax ; cx = original control field
mov di, bp ; di = state x 2
shl di, 1 ; state # x size vfptr bytes
EC < IrlapCheckStation ds >
push bx, ds ; don't trash event handle
pushdw cs:IrlapDefaultHandlerTable[di]
;
; all default handlers are passed cx as the event code
;
call PROCCALLFIXEDORMOVABLE_PASCAL ; CF=1 if not handled
pop bx, ds ; don't trash station
;
; discard the frame no matter what
;
discardFrame:
movfptr cxdx, IrlapMessageProcessNullCallback
push cx, dx
EC < call ECCheckEventHandle >
clr si ; destroy the event
call MessageProcess ; already popped cx, dx
;
; whenever an external event is discarded by default, we consider this
; a link turnaround, and reset receive count so that other frames may
; be received
;
clr ds:IS_recvCount
clc
jmp exit
invalidFrame:
;
; reject the frame with Frmr if we are in secondary mode
; ds = station
; es = dgroup
; dx = original frame
;
cmp ds:IS_connAddr, mask ICA_CR
jnz doneHandling ; we are primary
handleInvalidFrame::
push ax, cx
mov cx, dx
clr al
call PrepareFrmrFrame
call SendFrmrFrame
pop ax, cx
doneHandling:
jmp discardFrame
IrlapCheckStateEvent endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DetectInvalidControlField
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: In case of external events, control field of the packet might be
invalid due to operational errors. For instance, it may contain
invalid Vs/Vr values. The following procedure will find the type
of the packet, and perform appropriate checks on control field.
If control field is invalid, event code(stored in ax) will change
to an appropriate error event.
CALLED BY: IrlapCheckStateEvent
PASS: ax = external event code
ds = station
RETURN: carry set if error seq number was detected
ax = error event code in this case
( IEI_SEQINVALID bit set in event code )
DESTROYED: nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 8/18/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DetectInvalidControlField proc near
uses bx,cx,dx,si,di,bp
.enter
;
; If this event is already error event, just return carry clear
; this means that we went through this routine already.
; Read IrlapCheckStateEvent to see what is going on. Sorry to make
; this hacky but well IrLAP is already unintelligible code anyways.
; -SJ
;
test ah, mask IEI_SEQINVALID
jnz done ; carry is clear
;
; Determine the type of packet
;
test al, mask IICF_CONTROL_HDR ; check lsb
jz iFrameCheckRr
test al, mask IICF_CONTROL_HDR shl 1
jz sFrameCheckRr
;
; we have received something other than supervisory thing
;
clr ds:IS_rr
done:
.leave
ret
iFrameCheckRr:
;
; clear consecutive supervisory frame count
;
clr ds:IS_rr
jmp iFrame
sFrameCheckRr:
;
; keep a count of consecutive supervisory count
;
cmp ds:IS_rr, 0xff ; max value for a byte variable
je sFrame ; carry clear
inc ds:IS_rr
jmp sFrame
iFrame:
;
; Check Ns:
;
; If Ns = Vr, Ns is valid
; If IrlapWindow[Ns] has IWF_NS_RANGE set, Ns is valid
;
mov bl, al
and bl, mask IICF_NS ; bl = Ns shl 1
mov bh, ds:IS_vr ; bh = Vr shl 5
shr bx, 1 ; bl = Ns; bh = Vr shl 4
mov cl, 4
shr bh, cl
cmp bh, bl
je sFrame
;
; Compare against valid Ns range recored in IrlapWindow array
;
shl bl, cl ; bh = Ns * size IrlapWindow
clr bh
test ds:[IS_store][bx].IW_flags, mask IWF_NS_RANGE
jz invalidCField
sFrame:
;
; See if Nr = Vs
;
mov bl, al
and bl, mask ISCF_NR
shr bl, 1
mov bh, ds:IS_vs
shl bh, 1
shl bh, 1
shl bh, 1
cmp bl, bh
je done ; carry clear
;
; Check Nr against unacknowledged frame array
;
clr bh
test ds:[IS_store][bx].IW_flags, mask IWF_VALID
jnz done ; carry is clear
invalidCField:
;
; AL = Control field of packet received
; Set ISS_XMIT_FLAG if secondary is allowed to send snrm frame
;
BitClr ds:IS_status, ISS_XMIT_FLAG
test al, mask ISCF_PFBIT
jz notFinal ; this is not final frame
BitSet ds:IS_status, ISS_XMIT_FLAG
notFinal:
;
; convert ax into error code
;
clr al
or ah, mask IEI_SEQINVALID
stc
jmp done
DetectInvalidControlField endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
CheckForInvalidFrame
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Check for invalid/unrecognized frame
CALLED BY: IrlapCheckStateEvent
PASS: ax = control field with Ns, Nr, P/F bit stripped off
RETURN: nothing
DESTROYED: nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 2/20/96 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
knownFrameTable byte \
IUC_SNRM_CMD, IUC_DISC_CMD, IUC_UI_CMD, IUC_XID_CMD, IUC_TEST_CMD, IUC_XCHG,
IUC_DXCHG, IUR_RNRM_RSP, IUR_UA_RSP, IUR_FRMR_RSP, IUR_DM_RSP, IUR_RD_RSP,
IUR_UI_RSP, IUR_XID_RSP, IUR_TEST_RSP, IUR_RXCHG, ISC_RR_CMD, ISC_RNR_CMD,
ISC_REJ_CMD, ISC_SREJ_CMD, ISR_RR_RSP, ISR_RNR_RSP, ISR_REJ_RSP, ISR_SREJ_RSP,
0 ; for I frame
CheckForInvalidFrame proc near
uses ax,cx,di
.enter
;
; scan for this thing
;
and al, not mask ISCF_PFBIT ; clear P/F bit
push es
segmov es, cs, cx
mov di, offset knownFrameTable
mov cx, size knownFrameTable
repne scasb
pop es
clc
je done ; carry clear, frame recognized
stc
done:
.leave
ret
CheckForInvalidFrame endp
; **************************************************************************
; **************************************************************************
; ******************** Internal Control Messages ***********************
; **************************************************************************
; **************************************************************************
;
; Internal Control Messages control implementation specific operations of
; IRLAP driver. It has nothing to do with original IRLAP protocol.
; Parameters passed in are limited to ds(station segment) right now.
; (see IrlapCheckStateEvent)
;
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IDCDetach(V)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Exit the event thread.
CALLED BY: ILE_CONTROL shl 8 or IDC_DETACH
PASS: ds = station
RETURN: never
DESTROYED: nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 8/ 8/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IDCDetach proc far
if 0
;
; I set event thread priority to TIME_CRITICAL permanently
; -SJ
;
;
; the continuous timer that cranks up the irlap event thread's
; priority periodically.
;
mov bx, ds:IS_priorityTimerHandle
mov ax, ds:IS_priorityTimerID
call TimerStop
endif
;
; Stop all timers
;
call StopAllTimers
;
; Free any unacked data
;
call ReleaseBufferedData
;
; Kill the thread
;
BitSet ds:IS_extStatus, IES_DETACHED
ret
IDCDetach endp
if _SOCKET_INTERFACE
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IDCAddressSelected
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Address is selected; V the block semaphore so that
RunAddressDialog may continue
CALLED BY: IrlapAddressDialog object
PASS: di = IrlapStation segment
ds:IS_selectedAddr = selected address
RETURN: nothing
DESTROYED: nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 9/22/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IDCAddressSelected proc far
.enter
EC < WARNING _ADDRESS_SELECTED >
;
; if user selected CANCEL_CONNECTION, abort connection request,
; otherwise convert address index into real 32 bit device address
;
;
; Unblock RunAddressDialog
;
mov ds, di
GetDgroup es, ax
mov bx, ds:IS_clientHandle
mov bx, es:[bx].IC_addrDialogBlockSem
call ThreadVSem ; ax destroyed
.leave
ret
IDCAddressSelected endp
endif ;_SOCKET_INTERFACE
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IDCAbortSniff
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Aborts any sniff procedure, and restores the station to NDM
CALLED BY: IrlapCheckStateEvent
PASS: di = station segment
RETURN: nothing
DESTROYED: everything
ALGORITHM:
if (we are sniffing)
restore port configuration
restore server thread
apply default connection params
state := NDM
else
do nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 9/30/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IDCAbortSniff proc far
.enter
;
; Check if we are in sniff mode
;
mov ds, di
cmp ds:IS_state, IMS_NDM
je done
test ds:IS_status, mask ISS_IRLAP_CONNECT_PROGRESS
jnz done
cmp ds:IS_state, IMS_QUERY
je done
cmp ds:IS_state, IMS_REPLY
je done
;
; We must be in Sniff mode
; Stop-Timer
; If (we are in SLEEP)
; enable-receiver
; state := NDM
;
movdw axbx, ds:IS_pTimer
call TimerStop
call IrlapEnableReceiver
ChangeState NDM, ds
done:
.leave
ret
IDCAbortSniff endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IDCStartFlushDataRequests
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Flush data requests
CALLED BY: IDC_START_FLUSH_DATA_REQUESTS
PASS: di = station segment
RETURN: nothing
DESTROYED: nothing
REVISION HISTORY:
Name Date Description
---- ---- -----------
SJ 10/11/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IDCStartFlushDataRequests proc far
uses ax, bx, ds
.enter
EC < WARNING FLUSH_DATA_REQUEST_START >
;
; Save the state and change to FLUSH_DATA state
;
mov ds, di
movm ds:IS_savedState, ds:IS_state, ax
;
; Change state to FLUSH_DATA state
;
ChangeState FLUSH_DATA, ds
.leave
ret
IDCStartFlushDataRequests endp
IrlapCommonCode ends
IrlapConnectionCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
EmptyHandler
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: A default handler that does nothing, and no change in state
IMPL NOTES:
CALLED BY: IrlapMessageProcessCallback (event dispatcher)
PASS: ds:si = station
es = dgroup
ax = event code
cx =
dx:bp =
RETURN: nothing
DESTROYED: everything (handled by the calling function, just like msg)
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cody K. 5/24/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
EmptyHandler proc far
.enter
;
; Empty, no change in state
;
clc
.leave
ret
EmptyHandler endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NullHandler
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: This is not a handler, it just says this state has no
default handler.
IMPL NOTES:
CALLED BY: IrlapMessageProcessCallback (event dispatcher)
PASS: ds:si = station
es = dgroup
ax = event code
cx = control field
dx:bp = packet
RETURN: nothing
DESTROYED: everything (handled by the calling function, just like msg)
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cody K. 5/24/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
NullHandler proc far
.enter
stc
.leave
ret
NullHandler endp
IrlapConnectionCode ends
IrlapResidentCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IrlapMessageProcessCallback(V)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The callback proc for MessageProcess. We dispatch the
event from the offset in di into IrlapStateActionTable
Notice the last entries in IrlapStateActionTable are
default callbacks for states.
CALLED BY: MessageProcess
Pass: di = station segment
station:IS_callVector =
offset of function to call in IrlapStateActionTable
Carry - set if event has stack data
ss:[sp+4] (right above return address) - calling thread
Return:
none
Destroy:
ax, cx, dx, si, di, bp, ds, es
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
[notes: all u and s frames will be freed. No I frames are freed]
REVISION HISTORY:
Name Date Description
---- ---- -----------
CK 5/15/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapMessageProcessCallback proc far
uses ds, es, si
.enter
if 0
;
; boost priority by resetting current cpu usage count
; we cannot afford to be interrupted here, especially by
; irlap server thread - I don't think so...
;
push ax, bx
clr bx
mov ax, mask TMF_ZERO_USAGE shl 8
call ThreadModify
pop ax, bx
endif
;
; why MessageProcess doesn't save ds si??!
; It certainly saves dx,di,bp,bx
;
; The table IS_callVector now references a table in fixed for
; XIP in this same code segment.
;
NOFXIP < GetResourceSegmentNS IrlapCommonCode, es, TRASH_BX >
FXIP < segmov es, cs >
mov ds, di
mov di, ds:IS_callVector
EC < IrlapCheckStation ds >
push ax ; event code
push es:[di+2] ; segment
push es:[di] ; offset
GetDgroup es, di
call PROCCALLFIXEDORMOVABLE_PASCAL ; call event handler
pop bx ; bx = event code
test bh, mask IEI_LOCAL ; exit if local event
jnz exit
;
; The routines that need to hold on to the buffer or already
; deallocated the buffer should clear dx so that it is not freed again
;
tst dx ; exit if there is no buffer
jz exit
;
; This is place where most incoming valid data packets are freed.
; Exception: UI(freed by the user), and I frames.
;
movdw axcx, dxbp
call HugeLMemFree
exit:
.leave
ret
IrlapMessageProcessCallback endp
;
; this empty call back is used in default handling
;
IrlapMessageProcessNullCallback proc far
push ax, cx, dx, bp
tst dx
jz skipFree
movdw axcx, dxbp
call HugeLMemFree
skipFree:
pop ax, cx, dx, bp
ret
IrlapMessageProcessNullCallback endp
if 0
;
; Irlap event thread's priority was permanently set to be TIME_CRITICAL
; by Steve Jang
;
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
IrlapTimerCrankUpPriority
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Crank up the priority of the irlap event thread.
CALLED BY: TimerStart
PASS: ax = thread handle
cx:dx = tick count
RETURN: nothing
DESTROYED: ax, bx, cx, dx, si, di, bp, ds, es
SIDE EFFECTS:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
CL 11/28/95 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
IrlapTimerCrankUpPriority proc far
.enter
mov bx, ax ;bx = thread handle
mov ah, mask TMF_BASE_PRIO
mov al, PRIORITY_HIGH
call ThreadModify ;bx = thread handle
.leave
ret
IrlapTimerCrankUpPriority endp
endif
IrlapResidentCode ends
| 25.348393 | 79 | 0.595695 |
0198f9070f373cc62bfe55d0ff6c91a050016a86 | 770 | asm | Assembly | oeis/133/A133272.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/133/A133272.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/133/A133272.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A133272: Indices of centered heptagonal numbers (A069099) which are also heptagonal numbers (A000566).
; Submitted by Jamie Morken(s2)
; 1,7,78,924,11005,131131,1562562,18619608,221872729,2643853135,31504364886,375408525492,4473397941013,53305366766659,635191003258890,7568986672340016,90192649064821297,1074742802105515543,12806720976201365214,152605908912310867020,1818464185971529039021,21668964322746037601227,258209107686980922175698,3076840327921025028507144,36663874827365319419910025,436889657600462808010413151,5206012016378188376705047782,62035254538937797712450160228,739217042450875384172696874949
mov $1,20
lpb $0
mov $2,$0
sub $0,1
seq $2,87800 ; a(n) = 12*a(n-1) - a(n-2), with a(0) = 2 and a(1) = 12.
add $1,$2
lpe
mov $0,$1
div $0,2
sub $0,9
| 51.333333 | 474 | 0.815584 |
207f8abfc93ff3f67cbec4eaa440bbc6d5131fb8 | 893 | asm | Assembly | programs/oeis/225/A225566.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/225/A225566.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/225/A225566.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A225566: The set of magic numbers for an idealized harmonic oscillator atomic nucleus with a biaxially deformed prolate ellipsoid shape and an oscillator ratio of 3:1
; 2,4,6,12,18,24,36,48,60,80,100,120,150,180,210,252,294,336,392,448,504,576,648,720,810,900,990,1100,1210,1320,1452,1584,1716,1872,2028,2184,2366,2548,2730,2940,3150,3360,3600,3840,4080,4352,4624,4896,5202,5508,5814,6156,6498,6840,7220,7600,7980,8400,8820,9240,9702,10164,10626,11132,11638,12144,12696,13248,13800,14400,15000,15600,16250,16900,17550,18252,18954,19656,20412,21168,21924,22736,23548,24360,25230,26100,26970,27900,28830,29760,30752,31744,32736,33792,34848,35904,37026,38148,39270,40460
add $0,3
lpb $0
mov $2,$0
sub $0,3
seq $2,62781 ; Number of arithmetic progressions of four terms and any mean which can be extracted from the set of the first n positive integers.
add $1,$2
lpe
mul $1,2
mov $0,$1
| 68.692308 | 500 | 0.773796 |
c8c6010b933db56eeb2dedd27c23cbf4cfaf9ff0 | 791 | asm | Assembly | programs/oeis/198/A198970.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/198/A198970.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/198/A198970.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A198970: a(n) = 4*10^n-1.
; 3,39,399,3999,39999,399999,3999999,39999999,399999999,3999999999,39999999999,399999999999,3999999999999,39999999999999,399999999999999,3999999999999999,39999999999999999,399999999999999999,3999999999999999999,39999999999999999999,399999999999999999999,3999999999999999999999,39999999999999999999999,399999999999999999999999,3999999999999999999999999,39999999999999999999999999,399999999999999999999999999,3999999999999999999999999999,39999999999999999999999999999,399999999999999999999999999999,3999999999999999999999999999999,39999999999999999999999999999999,399999999999999999999999999999999,3999999999999999999999999999999999,39999999999999999999999999999999999,399999999999999999999999999999999999
add $0,2
mov $1,10
pow $1,$0
div $1,75
mul $1,3
mov $0,$1
| 79.1 | 703 | 0.900126 |
dd3f7c18c5a3c430d33872ae0923092916d47bef | 234 | asm | Assembly | dd/rd/use.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dd/rd/use.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | dd/rd/use.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; RAM Disk USE use name V2.01 1989 Tony Tebby QJUMP
section exten
xdef ram_use
xref iou_use
;+++
; RAM_USE xxx
;---
ram_use
move.l #'RAM0',d7
jmp iou_use
end
| 15.6 | 60 | 0.487179 |
3ef800783d40e626d7aa0d77b9d176fe9e79cb91 | 152,116 | asm | Assembly | tests/Square/OS.asm | mikysett/nand2tetris-faster-cpuemulator | 71b2f1e59197ddf85a47ea0dbc9adb552352c090 | [
"MIT"
] | null | null | null | tests/Square/OS.asm | mikysett/nand2tetris-faster-cpuemulator | 71b2f1e59197ddf85a47ea0dbc9adb552352c090 | [
"MIT"
] | null | null | null | tests/Square/OS.asm | mikysett/nand2tetris-faster-cpuemulator | 71b2f1e59197ddf85a47ea0dbc9adb552352c090 | [
"MIT"
] | null | null | null | @256
D=A
@SP
M=D
@RET_ADDRESS_SYS_INIT
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_SYS_INIT
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_SYS_INIT)
@LCL
M=D
@5
D=D-A
@ARG
M=D
@Sys.init
0;JMP
(RET_ADDRESS_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5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@Memory.deAlloc$IF_END1
0;JMP
(Memory.deAlloc$IF_FALSE1)
@SP
M=M+1
A=M-1
M=1
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
M=M+1
A=M-1
M=1
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
A=M
M=D
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
(Memory.deAlloc$IF_END1)
(Memory.deAlloc$IF_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.init)
@16384
D=A
@SP
A=M
M=D
@Output.4
M=D
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.2
M=D
@32
D=A
@SP
A=M
M=D
@Output.1
M=D
@SP
A=M
M=0
@Output.0
M=D
@6
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_2
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_2
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_2)
@6
D=D-A
@ARG
M=D
@String.new
0;JMP
(RET_ADDRESS_2)
@SP
AM=M-1
D=M
@Output.3
M=D
@RET_ADDRESS_3
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_3
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_3)
@5
D=D-A
@ARG
M=D
@Output.initMap
0;JMP
(RET_ADDRESS_3)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_4
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_4
D=A
@R14
M=D
@$CALL$RE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
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL14
D;JLT
@SP
A=M-1
M=0
(LABEL14)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.createShiftedMap$WHILE_END1
D;JNE
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@256
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_105
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_105
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_105)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_105)
@SP
AM=M-1
D=M
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@Output.createShiftedMap$WHILE_EXP1
0;JMP
(Output.createShiftedMap$WHILE_END1)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL15
D;JEQ
@SP
A=M-1
M=0
(LABEL15)
@SP
AM=M-1
D=M
@Output.createShiftedMap$IF_TRUE0
D;JNE
@Output.createShiftedMap$IF_FALSE0
0;JMP
(Output.createShiftedMap$IF_TRUE0)
@32
D=A
@SP
A=M
M=D
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
A=M
D=M
@R14
A=M
M=D
@LCL
@Output.createShiftedMap$IF_END0
0;JMP
(Output.createShiftedMap$IF_FALSE0)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
(Output.createShiftedMap$IF_END0)
@Output.createShiftedMap$WHILE_EXP0
0;JMP
(Output.createShiftedMap$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.getMap)
@SP
M=M+1
A=M-1
M=0
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL16
D;JLT
@SP
A=M-1
M=0
(LABEL16)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@126
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL17
D;JGT
@SP
A=M-1
M=0
(LABEL17)
@SP
AM=M-1
D=M
@SP
A=M-1
M=D|M
@SP
AM=M-1
D=M
@Output.getMap$IF_TRUE0
D;JNE
@Output.getMap$IF_FALSE0
0;JMP
(Output.getMap$IF_TRUE0)
@SP
A=M
M=0
@ARG
A=M
M=D
(Output.getMap$IF_FALSE0)
@Output.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@Output.getMap$IF_TRUE1
D;JNE
@Output.getMap$IF_FALSE1
0;JMP
(Output.getMap$IF_TRUE1)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@Output.5
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
A=M
M=D
@LCL
A=M
M=D
@Output.getMap$IF_END1
0;JMP
(Output.getMap$IF_FALSE1)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@Output.6
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
A=M
M=D
@LCL
A=M
M=D
(Output.getMap$IF_END1)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(Output.drawChar)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_106
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_106
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_106)
@6
D=D-A
@ARG
M=D
@Output.getMap
0;JMP
(RET_ADDRESS_106)
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@Output.1
D=M
@SP
A=M
M=D
@LCL
A=M
M=D
(Output.drawChar$WHILE_EXP0)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@11
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL18
D;JLT
@SP
A=M-1
M=0
(LABEL18)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.drawChar$WHILE_END0
D;JNE
@Output.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@Output.drawChar$IF_TRUE0
D;JNE
@Output.drawChar$IF_FALSE0
0;JMP
(Output.drawChar$IF_TRUE0)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@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K_107
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_107)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_107)
@SP
AM=M-1
D=M
@5
M=D
(Output.moveCursor$IF_FALSE0)
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@2
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_108
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_108
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_108)
@7
D=D-A
@ARG
M=D
@Math.divide
0;JMP
(RET_ADDRESS_108)
@SP
AM=M-1
D=M
@Output.0
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@352
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_109
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_109
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_109)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_109)
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@Output.1
M=D
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@2
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_110
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_110
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_110)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_110)
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL23
D;JEQ
@SP
A=M-1
M=0
(LABEL23)
@SP
AM=M-1
D=M
@Output.2
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_111
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_111
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_111)
@6
D=D-A
@ARG
M=D
@Output.drawChar
0;JMP
(RET_ADDRESS_111)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.printChar)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_112
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_112
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_112)
@5
D=D-A
@ARG
M=D
@String.newLine
0;JMP
(RET_ADDRESS_112)
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL24
D;JEQ
@SP
A=M-1
M=0
(LABEL24)
@SP
AM=M-1
D=M
@Output.printChar$IF_TRUE0
D;JNE
@Output.printChar$IF_FALSE0
0;JMP
(Output.printChar$IF_TRUE0)
@RET_ADDRESS_113
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_113
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_113)
@5
D=D-A
@ARG
M=D
@Output.println
0;JMP
(RET_ADDRESS_113)
@SP
AM=M-1
D=M
@5
M=D
@Output.printChar$IF_END0
0;JMP
(Output.printChar$IF_FALSE0)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_114
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_114
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_114)
@5
D=D-A
@ARG
M=D
@String.backSpace
0;JMP
(RET_ADDRESS_114)
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL25
D;JEQ
@SP
A=M-1
M=0
(LABEL25)
@SP
AM=M-1
D=M
@Output.printChar$IF_TRUE1
D;JNE
@Output.printChar$IF_FALSE1
0;JMP
(Output.printChar$IF_TRUE1)
@RET_ADDRESS_115
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_115
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_115)
@5
D=D-A
@ARG
M=D
@Output.backSpace
0;JMP
(RET_ADDRESS_115)
@SP
AM=M-1
D=M
@5
M=D
@Output.printChar$IF_END1
0;JMP
(Output.printChar$IF_FALSE1)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_116
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_116
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_116)
@6
D=D-A
@ARG
M=D
@Output.drawChar
0;JMP
(RET_ADDRESS_116)
@SP
AM=M-1
D=M
@5
M=D
@Output.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.printChar$IF_TRUE2
D;JNE
@Output.printChar$IF_FALSE2
0;JMP
(Output.printChar$IF_TRUE2)
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@Output.0
M=D
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@Output.1
M=D
(Output.printChar$IF_FALSE2)
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL26
D;JEQ
@SP
A=M-1
M=0
(LABEL26)
@SP
AM=M-1
D=M
@Output.printChar$IF_TRUE3
D;JNE
@Output.printChar$IF_FALSE3
0;JMP
(Output.printChar$IF_TRUE3)
@RET_ADDRESS_117
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_117
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_117)
@5
D=D-A
@ARG
M=D
@Output.println
0;JMP
(RET_ADDRESS_117)
@SP
AM=M-1
D=M
@5
M=D
@Output.printChar$IF_END3
0;JMP
(Output.printChar$IF_FALSE3)
@Output.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.2
M=D
(Output.printChar$IF_END3)
(Output.printChar$IF_END1)
(Output.printChar$IF_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.printString)
@SP
M=M+1
A=M-1
M=0
@SP
M=M+1
A=M-1
M=0
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_118
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_118
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_118)
@6
D=D-A
@ARG
M=D
@String.length
0;JMP
(RET_ADDRESS_118)
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
(Output.printString$WHILE_EXP0)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL27
D;JLT
@SP
A=M-1
M=0
(LABEL27)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.printString$WHILE_END0
D;JNE
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_119
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_119
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_119)
@7
D=D-A
@ARG
M=D
@String.charAt
0;JMP
(RET_ADDRESS_119)
@RET_ADDRESS_120
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_120
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_120)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_120)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@Output.printString$WHILE_EXP0
0;JMP
(Output.printString$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.printInt)
@Output.3
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_121
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_121
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_121)
@7
D=D-A
@ARG
M=D
@String.setInt
0;JMP
(RET_ADDRESS_121)
@SP
AM=M-1
D=M
@5
M=D
@Output.3
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_122
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_122
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_122)
@6
D=D-A
@ARG
M=D
@Output.printString
0;JMP
(RET_ADDRESS_122)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.println)
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@352
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@Output.1
M=D
@SP
A=M
M=0
@Output.0
M=D
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.2
M=D
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@8128
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL28
D;JEQ
@SP
A=M-1
M=0
(LABEL28)
@SP
AM=M-1
D=M
@Output.println$IF_TRUE0
D;JNE
@Output.println$IF_FALSE0
0;JMP
(Output.println$IF_TRUE0)
@32
D=A
@SP
A=M
M=D
@Output.1
M=D
(Output.println$IF_FALSE0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Output.backSpace)
@Output.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@Output.backSpace$IF_TRUE0
D;JNE
@Output.backSpace$IF_FALSE0
0;JMP
(Output.backSpace$IF_TRUE0)
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL29
D;JGT
@SP
A=M-1
M=0
(LABEL29)
@SP
AM=M-1
D=M
@Output.backSpace$IF_TRUE1
D;JNE
@Output.backSpace$IF_FALSE1
0;JMP
(Output.backSpace$IF_TRUE1)
@Output.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@Output.0
M=D
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@Output.1
M=D
@Output.backSpace$IF_END1
0;JMP
(Output.backSpace$IF_FALSE1)
@31
D=A
@SP
A=M
M=D
@Output.0
M=D
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL30
D;JEQ
@SP
A=M-1
M=0
(LABEL30)
@SP
AM=M-1
D=M
@Output.backSpace$IF_TRUE2
D;JNE
@Output.backSpace$IF_FALSE2
0;JMP
(Output.backSpace$IF_TRUE2)
@8128
D=A
@SP
A=M
M=D
@Output.1
M=D
(Output.backSpace$IF_FALSE2)
@Output.1
D=M
@SP
M=M+1
A=M-1
M=D
@321
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@Output.1
M=D
(Output.backSpace$IF_END1)
@SP
A=M
M=0
@Output.2
M=D
@Output.backSpace$IF_END0
0;JMP
(Output.backSpace$IF_FALSE0)
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Output.2
M=D
(Output.backSpace$IF_END0)
@32
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_123
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_123
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_123)
@6
D=D-A
@ARG
M=D
@Output.drawChar
0;JMP
(RET_ADDRESS_123)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Keyboard.init)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Keyboard.keyPressed)
@24576
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_124
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_124
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_124)
@6
D=D-A
@ARG
M=D
@Memory.peek
0;JMP
(RET_ADDRESS_124)
@$RETURN$REF
0;JMP
(Keyboard.readChar)
@SP
M=M+1
A=M-1
M=0
@SP
M=M+1
A=M-1
M=0
@SP
M=M+1
A=M-1
M=0
@RET_ADDRESS_125
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_125
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_125)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_125)
@SP
AM=M-1
D=M
@5
M=D
(Keyboard.readChar$WHILE_EXP0)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL31
D;JEQ
@SP
A=M-1
M=0
(LABEL31)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL32
D;JGT
@SP
A=M-1
M=0
(LABEL32)
@SP
AM=M-1
D=M
@SP
A=M-1
M=D|M
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Keyboard.readChar$WHILE_END0
D;JNE
@RET_ADDRESS_126
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_126
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_126)
@5
D=D-A
@ARG
M=D
@Keyboard.keyPressed
0;JMP
(RET_ADDRESS_126)
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL33
D;JGT
@SP
A=M-1
M=0
(LABEL33)
@SP
AM=M-1
D=M
@Keyboard.readChar$IF_TRUE0
D;JNE
@Keyboard.readChar$IF_FALSE0
0;JMP
(Keyboard.readChar$IF_TRUE0)
@LCL
A=M
D=M
@SP
A=M
M=D
@LCL
A=M+1
M=D
(Keyboard.readChar$IF_FALSE0)
@Keyboard.readChar$WHILE_EXP0
0;JMP
(Keyboard.readChar$WHILE_END0)
@RET_ADDRESS_127
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_127
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_127)
@5
D=D-A
@ARG
M=D
@String.backSpace
0;JMP
(RET_ADDRESS_127)
@RET_ADDRESS_128
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_128
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_128)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_128)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_129
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_129
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_129)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_129)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(Keyboard.readLine)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@80
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_130
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_130
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_130)
@6
D=D-A
@ARG
M=D
@String.new
0;JMP
(RET_ADDRESS_130)
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_131
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_131
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_131)
@6
D=D-A
@ARG
M=D
@Output.printString
0;JMP
(RET_ADDRESS_131)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_132
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_132
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_132)
@5
D=D-A
@ARG
M=D
@String.newLine
0;JMP
(RET_ADDRESS_132)
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@RET_ADDRESS_133
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_133
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_133)
@5
D=D-A
@ARG
M=D
@String.backSpace
0;JMP
(RET_ADDRESS_133)
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
(Keyboard.readLine$WHILE_EXP0)
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
A=M-1
M=!M
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Keyboard.readLine$WHILE_END0
D;JNE
@RET_ADDRESS_134
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_134
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_134)
@5
D=D-A
@ARG
M=D
@Keyboard.readChar
0;JMP
(RET_ADDRESS_134)
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL34
D;JEQ
@SP
A=M-1
M=0
(LABEL34)
@LCL
D=M
@4
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Keyboard.readLine$IF_TRUE0
D;JNE
@Keyboard.readLine$IF_FALSE0
0;JMP
(Keyboard.readLine$IF_TRUE0)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL35
D;JEQ
@SP
A=M-1
M=0
(LABEL35)
@SP
AM=M-1
D=M
@Keyboard.readLine$IF_TRUE1
D;JNE
@Keyboard.readLine$IF_FALSE1
0;JMP
(Keyboard.readLine$IF_TRUE1)
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_135
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_135
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_135)
@6
D=D-A
@ARG
M=D
@String.eraseLastChar
0;JMP
(RET_ADDRESS_135)
@SP
AM=M-1
D=M
@5
M=D
@Keyboard.readLine$IF_END1
0;JMP
(Keyboard.readLine$IF_FALSE1)
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_136
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_136
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_136)
@7
D=D-A
@ARG
M=D
@String.appendChar
0;JMP
(RET_ADDRESS_136)
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
(Keyboard.readLine$IF_END1)
(Keyboard.readLine$IF_FALSE0)
@Keyboard.readLine$WHILE_EXP0
0;JMP
(Keyboard.readLine$WHILE_END0)
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(Keyboard.readInt)
@SP
M=M+1
A=M-1
M=0
@SP
M=M+1
A=M-1
M=0
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_137
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_137
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_137)
@6
D=D-A
@ARG
M=D
@Keyboard.readLine
0;JMP
(RET_ADDRESS_137)
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_138
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_138
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_138)
@6
D=D-A
@ARG
M=D
@String.intValue
0;JMP
(RET_ADDRESS_138)
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_139
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_139
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_139)
@6
D=D-A
@ARG
M=D
@String.dispose
0;JMP
(RET_ADDRESS_139)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(Sys.init)
@RET_ADDRESS_140
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_140
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_140)
@5
D=D-A
@ARG
M=D
@Memory.init
0;JMP
(RET_ADDRESS_140)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_141
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_141
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_141)
@5
D=D-A
@ARG
M=D
@Math.init
0;JMP
(RET_ADDRESS_141)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_142
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_142
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_142)
@5
D=D-A
@ARG
M=D
@Screen.init
0;JMP
(RET_ADDRESS_142)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_143
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_143
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_143)
@5
D=D-A
@ARG
M=D
@Output.init
0;JMP
(RET_ADDRESS_143)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_144
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_144
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_144)
@5
D=D-A
@ARG
M=D
@Keyboard.init
0;JMP
(RET_ADDRESS_144)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_145
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_145
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_145)
@5
D=D-A
@ARG
M=D
@Main.main
0;JMP
(RET_ADDRESS_145)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_146
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_146
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_146)
@5
D=D-A
@ARG
M=D
@Sys.halt
0;JMP
(RET_ADDRESS_146)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Sys.halt)
(Sys.halt$WHILE_EXP0)
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Sys.halt$WHILE_END0
D;JNE
@Sys.halt$WHILE_EXP0
0;JMP
(Sys.halt$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Sys.wait)
@SP
M=M+1
A=M-1
M=0
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL36
D;JLT
@SP
A=M-1
M=0
(LABEL36)
@SP
AM=M-1
D=M
@Sys.wait$IF_TRUE0
D;JNE
@Sys.wait$IF_FALSE0
0;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
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_148
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_148)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_148)
@SP
AM=M-1
D=M
@5
M=D
@82
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_149
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_149
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_149)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_149)
@SP
AM=M-1
D=M
@5
M=D
@82
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_150
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_150
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_150)
@6
D=D-A
@ARG
M=D
@Output.printChar
0;JMP
(RET_ADDRESS_150)
@SP
AM=M-1
D=M
@5
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_151
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_151
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_151)
@6
D=D-A
@ARG
M=D
@Output.printInt
0;JMP
(RET_ADDRESS_151)
@SP
AM=M-1
D=M
@5
M=D
@RET_ADDRESS_152
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_152
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_152)
@5
D=D-A
@ARG
M=D
@Sys.halt
0;JMP
(RET_ADDRESS_152)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.init)
@SP
M=M+1
A=M-1
M=0
@16384
D=A
@SP
A=M
M=D
@Screen.1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@SP
AM=M-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AM=M-1
D=M
@SP
A=M-1
M=M-D
@Screen.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@Screen.init$WHILE_EXP0
0;JMP
(Screen.init$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.clearScreen)
@SP
M=M+1
A=M-1
M=0
(Screen.clearScreen$WHILE_EXP0)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@8192
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL40
D;JLT
@SP
A=M-1
M=0
(LABEL40)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Screen.clearScreen$WHILE_END0
D;JNE
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@Screen.1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
A=M
M=0
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@Screen.clearScreen$WHILE_EXP0
0;JMP
(Screen.clearScreen$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.updateLocation)
@Screen.2
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@Screen.updateLocation$IF_TRUE0
D;JNE
@Screen.updateLocation$IF_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
@$CALL_REF$BACK_155
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_155)
@7
D=D-A
@ARG
M=D
@Math.divide
0;JMP
(RET_ADDRESS_155)
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_156
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_156
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_156)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_156)
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_157
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_157
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_157)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_157)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@Screen.0
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_158
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_158
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_158)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_158)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.drawConditional)
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@Screen.drawConditional$IF_TRUE0
D;JNE
@Screen.drawConditional$IF_FALSE0
0;JMP
(Screen.drawConditional$IF_TRUE0)
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_159
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_159
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_159)
@7
D=D-A
@ARG
M=D
@Screen.drawPixel
0;JMP
(RET_ADDRESS_159)
@SP
AM=M-1
D=M
@5
M=D
@Screen.drawConditional$IF_END0
0;JMP
(Screen.drawConditional$IF_FALSE0)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_160
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_160
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_160)
@7
D=D-A
@ARG
M=D
@Screen.drawPixel
0;JMP
(RET_ADDRESS_160)
@SP
AM=M-1
D=M
@5
M=D
(Screen.drawConditional$IF_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.drawLine)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
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+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@LCL
D=M
@5
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@2
D=A
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_165
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_165
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_165)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_165)
@LCL
D=M
@9
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@2
D=A
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@RET_ADDRESS_166
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_166
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_166)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_166)
@LCL
D=M
@10
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@6
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_167
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_167
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_167)
@8
D=D-A
@ARG
M=D
@Screen.drawConditional
0;JMP
(RET_ADDRESS_167)
@SP
AM=M-1
D=M
@5
M=D
(Screen.drawLine$WHILE_EXP0)
@LCL
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L
A=M
M=D
@Screen.drawLine$IF_END4
0;JMP
(Screen.drawLine$IF_FALSE4)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
(Screen.drawLine$IF_END4)
(Screen.drawLine$IF_END3)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@6
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_168
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_168
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_168)
@8
D=D-A
@ARG
M=D
@Screen.drawConditional
0;JMP
(RET_ADDRESS_168)
@SP
AM=M-1
D=M
@5
M=D
@Screen.drawLine$WHILE_EXP0
0;JMP
(Screen.drawLine$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.drawRectangle)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL56
D;JGT
@SP
A=M-1
M=0
(LABEL56)
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D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
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_170
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_170
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_170)
@7
D=D-A
@ARG
M=D
@Math.divide
0;JMP
(RET_ADDRESS_170)
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_171
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_171
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_171)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_171)
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@LCL
D=M
@7
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_172
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_172
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_172)
@7
D=D-A
@ARG
M=D
@Math.divide
0;JMP
(RET_ADDRESS_172)
@LCL
D=M
@4
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_173
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_173
D=A
@R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@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_175)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_175)
@SP
AM=M-1
D=M
@5
M=D
@Screen.drawRectangle$IF_END1
0;JMP
(Screen.drawRectangle$IF_FALSE1)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@6
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_176
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_176
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_176)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_176)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
(Screen.drawRectangle$WHILE_EXP1)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL64
D;JLT
@SP
A=M-1
M=0
(LABEL64)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Screen.drawRectangle$WHILE_END1
D;JNE
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
A=M-1
M=-M
@RET_ADDRESS_177
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_177
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_177)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_177)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@Screen.drawRectangle$WHILE_EXP1
0;JMP
(Screen.drawRectangle$WHILE_END1)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@5
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_178
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_178
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_178)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_178)
@SP
AM=M-1
D=M
@5
M=D
(Screen.drawRectangle$IF_END1)
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@ARG
A=M+1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@32
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@Screen.drawRectangle$WHILE_EXP0
0;JMP
(Screen.drawRectangle$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.drawHorizontal)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_179
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_179
D=A
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M-1
D=M
@SP
A=M-1
M=D&M
@SP
AM=M-1
D=M
@Screen.drawHorizontal$IF_TRUE0
D;JNE
@Screen.drawHorizontal$IF_FALSE0
0;JMP
(Screen.drawHorizontal$IF_TRUE0)
@LCL
D=M
@7
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@RET_ADDRESS_181
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_181
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_181)
@7
D=D-A
@ARG
M=D
@Math.max
0;JMP
(RET_ADDRESS_181)
@LCL
D=M
@7
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
D=M
@8
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@511
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_182
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_182
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_182)
@7
D=D-A
@ARG
M=D
@Math.min
0;JMP
(RET_ADDRESS_182)
@LCL
D=M
@8
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
D=M
@7
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_183
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_183
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_183)
@7
D=D-A
@ARG
M=D
@Math.divide
0;JMP
(RET_ADDRESS_183)
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@LCL
D=M
@7
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@16
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_184
D=A
@SP
M=M+1
A=M-1
M=D
@$CAL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M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL69
D;JEQ
@SP
A=M-1
M=0
(LABEL69)
@SP
AM=M-1
D=M
@Screen.drawHorizontal$IF_TRUE1
D;JNE
@Screen.drawHorizontal$IF_FALSE1
0;JMP
(Screen.drawHorizontal$IF_TRUE1)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@5
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=D&M
@RET_ADDRESS_188
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_188
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_188)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_188)
@SP
AM=M-1
D=M
@5
M=D
@Screen.drawHorizontal$IF_END1
0;JMP
(Screen.drawHorizontal$IF_FALSE1)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@5
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_189
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_189
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_189)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_189)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
(Screen.drawHorizontal$WHILE_EXP0)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL70
D;JLT
@SP
A=M-1
M=0
(LABEL70)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Screen.drawHorizontal$WHILE_END0
D;JNE
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
A=M-1
M=-M
@RET_ADDRESS_190
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_190
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_190)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_190)
@SP
AM=M-1
D=M
@5
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
@Screen.drawHorizontal$WHILE_EXP0
0;JMP
(Screen.drawHorizontal$WHILE_END0)
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_191
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_191
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_191)
@7
D=D-A
@ARG
M=D
@Screen.updateLocation
0;JMP
(RET_ADDRESS_191)
@SP
AM=M-1
D=M
@5
M=D
(Screen.drawHorizontal$IF_END1)
(Screen.drawHorizontal$IF_FALSE0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(Screen.drawSymetric)
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
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R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_198
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_198
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_198)
@9
D=D-A
@ARG
M=D
@Screen.drawSymetric
0;JMP
(RET_ADDRESS_198)
@SP
AM=M-1
D=M
@5
M=D
(Screen.drawCircle$WHILE_EXP0)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL79
D;JGT
@SP
A=M-1
M=0
(LABEL79)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Screen.drawCircle$WHILE_END0
D;JNE
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL80
D;JLT
@SP
A=M-1
M=0
(LABEL80)
@SP
AM=M-1
D=M
@Screen.drawCircle$IF_TRUE2
D;JNE
@Screen.drawCircle$IF_FALSE2
0;JMP
(Screen.drawCircle$IF_TRUE2)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@2
D=A
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_199
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_199
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_199)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_199)
@SP
AM=M-1
D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ESS_201
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_201
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_201)
@9
D=D-A
@ARG
M=D
@Screen.drawSymetric
0;JMP
(RET_ADDRESS_201)
@SP
AM=M-1
D=M
@5
M=D
@Screen.drawCircle$WHILE_EXP0
0;JMP
(Screen.drawCircle$WHILE_END0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(String.new)
@3
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_202
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_202
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_202)
@6
D=D-A
@ARG
M=D
@Memory.alloc
0;JMP
(RET_ADDRESS_202)
@SP
AM=M-1
D=M
@3
M=D
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL81
D;JLT
@SP
A=M-1
M=0
(LABEL81)
@SP
AM=M-1
D=M
@String.new$IF_TRUE0
D;JNE
@String.new$IF_FALSE0
0;JMP
(String.new$IF_TRUE0)
@14
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_203
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_203
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_203)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_203)
@SP
AM=M-1
D=M
@5
M=D
(String.new$IF_FALSE0)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL82
D;JGT
@SP
A=M-1
M=0
(LABEL82)
@SP
AM=M-1
D=M
@String.new$IF_TRUE1
D;JNE
@String.new$IF_FALSE1
0;JMP
(String.new$IF_TRUE1)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_204
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_204
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_204)
@6
D=D-A
@ARG
M=D
@Array.new
0;JMP
(RET_ADDRESS_204)
@SP
AM=M-1
D=M
@THIS
A=M+1
M=D
(String.new$IF_FALSE1)
@ARG
A=M
D=M
@SP
A=M
M=D
@THIS
A=M
M=D
@SP
A=M
M=0
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
A=M
D=M
@R14
A=M
M=D
@THIS
@3
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(String.dispose)
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@THIS
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL83
D;JGT
@SP
A=M-1
M=0
(LABEL83)
@SP
AM=M-1
D=M
@String.dispose$IF_TRUE0
D;JNE
@String.dispose$IF_FALSE0
0;JMP
(String.dispose$IF_TRUE0)
@THIS
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_205
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_205
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_205)
@6
D=D-A
@ARG
M=D
@Array.dispose
0;JMP
(RET_ADDRESS_205)
@SP
AM=M-1
D=M
@5
M=D
(String.dispose$IF_FALSE0)
@3
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_206
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_206
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_206)
@6
D=D-A
@ARG
M=D
@Memory.deAlloc
0;JMP
(RET_ADDRESS_206)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$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=M
@SP
A=M
M=D
@THAT
A=M
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(String.appendChar)
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@THIS
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL90
D;JEQ
@SP
A=M-1
M=0
(LABEL90)
@SP
AM=M-1
D=M
@String.appendChar$IF_TRUE0
D;JNE
@String.appendChar$IF_FALSE0
0;JMP
(String.appendChar$IF_TRUE0)
@17
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_209
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_209
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_209)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_209)
@SP
AM=M-1
D=M
@5
M=D
(String.appendChar$IF_FALSE0)
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@THIS
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@ARG
A=M+1
D=M
@SP
A=M
M=D
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@THIS
@3
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(String.eraseLastChar)
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL91
D;JEQ
@SP
A=M-1
M=0
(LABEL91)
@SP
AM=M-1
D=M
@String.eraseLastChar$IF_TRUE0
D;JNE
@String.eraseLastChar$IF_FALSE0
0;JMP
(String.eraseLastChar$IF_TRUE0)
@18
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_210
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_210
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_210)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_210)
@SP
AM=M-1
D=M
@5
M=D
(String.eraseLastChar$IF_FALSE0)
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@THIS
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(String.intValue)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL92
D;JEQ
@SP
A=M-1
M=0
(LABEL92)
@SP
AM=M-1
D=M
@String.intValue$IF_TRUE0
D;JNE
@String.intValue$IF_FALSE0
0;JMP
(String.intValue$IF_TRUE0)
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(String.intValue$IF_FALSE0)
@SP
M=M+1
A=M-1
M=0
@SP
A=M-1
M=!M
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@SP
M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M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL95
D;JLT
@SP
A=M-1
M=0
(LABEL95)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@9
D=A
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL96
D;JGT
@SP
A=M-1
M=0
(LABEL96)
@SP
AM=M-1
D=M
@SP
A=M-1
M=D|M
@SP
A=M-1
M=!M
@LCL
D=M
@3
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@LCL
D=M
@3
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@String.intValue$IF_TRUE2
D;JNE
@String.intValue$IF_FALSE2
0;JMP
(String.intValue$IF_TRUE2)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@10
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_211
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_211
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_211)
@7
D=D-A
@ARG
M=D
@Math.multiply
0;JMP
(RET_ADDRESS_211)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@LCL
A=M
M=D
(String.intValue$IF_FALSE2)
@String.intValue$WHILE_EXP0
0;JMP
(String.intValue$WHILE_END0)
@LCL
D=M
@4
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@String.intValue$IF_TRUE3
D;JNE
@String.intValue$IF_FALSE3
0;JMP
(String.intValue$IF_TRUE3)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
A=M-1
M=-M
@SP
AM=M-1
D=M
@LCL
A=M+1
M=D
(String.intValue$IF_FALSE3)
@LCL
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(String.setInt)
@SP
A=M
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
M=0
A=A+1
D=A
@SP
M=D
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@THIS
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL97
D;JEQ
@SP
A=M-1
M=0
(LABEL97)
@SP
AM=M-1
D=M
@String.setInt$IF_TRUE0
D;JNE
@String.setInt$IF_FALSE0
0;JMP
(String.setInt$IF_TRUE0)
@19
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_212
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_212
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_212)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_212)
@SP
AM=M-1
D=M
@5
M=D
(String.setInt$IF_FALSE0)
@6
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_213
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_213
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_213)
@6
D=D-A
@ARG
M=D
@Array.new
0;JMP
(RET_ADDRESS_213)
@LCL
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@LCL
@ARG
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL98
D;JLT
@SP
A=M-1
M=0
(LABEL98)
@SP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;JMP
(String.setInt$IF_TRUE3)
@19
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_216
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_216
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_216)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_216)
@SP
AM=M-1
D=M
@5
M=D
(String.setInt$IF_FALSE3)
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=0
@SP
AM=M-1
D=M
A=A-1
D=D-M
M=-1
@LABEL101
D;JEQ
@SP
A=M-1
M=0
(LABEL101)
@SP
AM=M-1
D=M
@String.setInt$IF_TRUE4
D;JNE
@String.setInt$IF_FALSE4
0;JMP
(String.setInt$IF_TRUE4)
@SP
M=M+1
A=M-1
M=0
@THIS
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@48
D=A
@SP
A=M
M=D
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@SP
A=M
M=1
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
A=M
D=M
@R14
A=M
M=D
@THIS
@String.setInt$IF_END4
0;JMP
(String.setInt$IF_FALSE4)
@SP
A=M
M=0
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
A=M
D=M
@R14
A=M
M=D
@THIS
(String.setInt$WHILE_EXP1)
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
A=A-1
D=M-D
M=-1
@LABEL102
D;JLT
@SP
A=M-1
M=0
(LABEL102)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@String.setInt$WHILE_END1
D;JNE
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@THIS
A=M+1
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@LCL
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M-D
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@SP
AM=M-1
D=M
@4
M=D
@THAT
A=M
D=M
@SP
A=M
M=D
@5
M=D
@SP
AM=M-1
D=M
@4
M=D
@5
D=M
@SP
A=M
M=D
@THAT
A=M
M=D
@THIS
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@SP
M=M+1
A=M-1
M=1
@SP
AM=M-1
D=M
@SP
A=M-1
M=M+D
@THIS
D=M
@2
D=D+A
@R14
M=D
@SP
AM=M-1
D=M
@R14
A=M
M=D
@THIS
@String.setInt$WHILE_EXP1
0;JMP
(String.setInt$WHILE_END1)
(String.setInt$IF_END4)
@LCL
D=M
@2
A=D+A
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_217
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_217
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_217)
@6
D=D-A
@ARG
M=D
@Array.dispose
0;JMP
(RET_ADDRESS_217)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
(String.newLine)
@128
D=A
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(String.backSpace)
@129
D=A
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(String.doubleQuote)
@34
D=A
@SP
M=M+1
A=M-1
M=D
@$RETURN$REF
0;JMP
(Math.init)
@SP
M=M+1
A=M-1
M=0
@16
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T
@SP
A=M-1
M=0
(LABEL128)
@SP
A=M-1
M=!M
@SP
AM=M-1
D=M
@Array.new$IF_TRUE0
D;JNE
@Array.new$IF_FALSE0
0;JMP
(Array.new$IF_TRUE0)
@2
D=A
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_227
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_227
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_227)
@6
D=D-A
@ARG
M=D
@Sys.error
0;JMP
(RET_ADDRESS_227)
@SP
AM=M-1
D=M
@5
M=D
(Array.new$IF_FALSE0)
@ARG
A=M
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_228
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_228
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_228)
@6
D=D-A
@ARG
M=D
@Memory.alloc
0;JMP
(RET_ADDRESS_228)
@$RETURN$REF
0;JMP
(Array.dispose)
@ARG
A=M
D=M
@SP
A=M
M=D
@3
M=D
@3
D=M
@SP
M=M+1
A=M-1
M=D
@RET_ADDRESS_229
D=A
@SP
M=M+1
A=M-1
M=D
@$CALL_REF$BACK_229
D=A
@R14
M=D
@$CALL$REF
0;JMP
($CALL_REF$BACK_229)
@6
D=D-A
@ARG
M=D
@Memory.deAlloc
0;JMP
(RET_ADDRESS_229)
@SP
AM=M-1
D=M
@5
M=D
@SP
M=M+1
A=M-1
M=0
@$RETURN$REF
0;JMP
| 5.909483 | 36 | 0.588124 |
5a88b6157b6b8c58e42ecc281028d7e46df78b83 | 58 | asm | Assembly | externals/skia/third_party/externals/yasm/source/patched-yasm/modules/parsers/tasm/tests/struc.asm | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | externals/skia/third_party/externals/yasm/source/patched-yasm/modules/parsers/tasm/tests/struc.asm | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | externals/skia/third_party/externals/yasm/source/patched-yasm/modules/parsers/tasm/tests/struc.asm | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | s struc
a db ?
b db ?
s ends
v s <1,?>
mov al,[v].b
| 6.444444 | 12 | 0.465517 |
b53e23eb36c7940a6982875285d654ea0a5dbae4 | 313 | asm | Assembly | programs/oeis/053/A053128.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/053/A053128.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/053/A053128.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A053128: Binomial coefficients C(2*n-5,6).
; 7,84,462,1716,5005,12376,27132,54264,100947,177100,296010,475020,736281,1107568,1623160,2324784,3262623,4496388,6096454,8145060,10737573,13983816,18009460,22957480,28989675,36288252,45057474,55525372,67945521,82598880,99795696
add $0,1
mul $0,-2
bin $0,6
mov $1,$0
| 39.125 | 228 | 0.792332 |
7d6a71e34a6ce1a9f1dbcb5acffc9bdc04c538ef | 373 | asm | Assembly | programs/oeis/166/A166445.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/166/A166445.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/166/A166445.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A166445: Hankel transform of A025276.
; 1,0,-1,1,3,0,-3,1,5,0,-5,1,7,0,-7,1,9,0,-9,1,11,0,-11,1,13,0,-13,1,15,0,-15,1,17,0,-17,1,19,0,-19,1,21,0,-21,1,23,0,-23,1,25,0,-25,1,27,0,-27,1,29,0,-29,1,31,0,-31,1,33,0,-33,1,35,0,-35,1
mov $1,$0
add $0,1
mov $2,2
lpb $0
sub $0,1
add $2,$1
sub $1,$2
sub $1,$2
lpe
mov $1,$3
add $2,1
div $2,2
mul $2,2
add $1,$2
div $1,2
| 19.631579 | 189 | 0.538874 |
3e0ef0e5c88033eea23e0b1eb55b8f4c49f9b291 | 1,196 | asm | Assembly | programs/oeis/055/A055271.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/055/A055271.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/055/A055271.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A055271: a(n) = 5*a(n-1) - a(n-2) with a(0)=1, a(1)=7.
; 1,7,34,163,781,3742,17929,85903,411586,1972027,9448549,45270718,216905041,1039254487,4979367394,23857582483,114308545021,547685142622,2624117168089,12572900697823,60240386321026,288629030907307,1382904768215509,6625894810170238,31746569282635681,152106951603008167,728788188732405154,3491833992059017603,16730381771562682861,80160074865754396702,384069992557209300649,1840189887920292106543,8816879447044251232066,42244207347300964053787,202404157289460569036869,969776579100001881130558,4646478738210548836615921,22262617111952742301949047,106666606821553162673129314,511070416995813071063697523,2448685478157512192645358301,11732356973791747892163093982,56213099390801227268170111609,269333139980214388448687464063,1290452600510270714975267208706,6182929862571139186427648579467,29624196712345425217162975688629,141938053699155986899387229863678,680066071783434509279773173629761,3258392305218016559499478638285127,15611895454306648288217620017795874,74801084966315224881588621450694243,358393529377269476119725487235675341
mov $3,1
lpb $0
sub $0,1
add $2,$3
add $3,$2
add $3,3
add $3,$2
add $3,$2
lpe
add $1,$3
mov $0,$1
| 79.733333 | 1,027 | 0.878763 |
3b0178d07d6c187247665429f320a1cb6dd13111 | 8,208 | asm | Assembly | Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xa0_notsx.log_2260_479.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xa0_notsx.log_2260_479.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xa0_notsx.log_2260_479.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r14
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1e0bd, %r12
nop
nop
add %r9, %r9
mov (%r12), %r8w
nop
inc %r12
lea addresses_A_ht+0x1eaad, %rdx
nop
nop
nop
nop
nop
add %rsi, %rsi
mov (%rdx), %r14d
xor %rdx, %rdx
lea addresses_UC_ht+0x6167, %r9
nop
nop
xor $41825, %r13
movw $0x6162, (%r9)
nop
and %r13, %r13
lea addresses_normal_ht+0x27dd, %rsi
lea addresses_normal_ht+0x65dd, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
cmp %r14, %r14
mov $70, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp $48613, %rcx
lea addresses_normal_ht+0x62dd, %r9
nop
add %r14, %r14
and $0xffffffffffffffc0, %r9
vmovntdqa (%r9), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $1, %xmm4, %r13
nop
nop
nop
nop
nop
and %r13, %r13
lea addresses_WC_ht+0xb395, %rsi
lea addresses_UC_ht+0x163dd, %rdi
nop
nop
nop
nop
nop
and $45704, %r13
mov $23, %rcx
rep movsq
nop
and $13844, %r12
lea addresses_normal_ht+0x13759, %rsi
lea addresses_D_ht+0xfddd, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
inc %rdx
mov $48, %rcx
rep movsw
nop
nop
xor %rdi, %rdi
lea addresses_WC_ht+0x335b, %rsi
lea addresses_UC_ht+0x115ed, %rdi
nop
nop
add %r12, %r12
mov $95, %rcx
rep movsq
nop
nop
nop
nop
inc %rdi
lea addresses_WC_ht+0x4bdd, %rsi
lea addresses_UC_ht+0x21dd, %rdi
nop
cmp $1108, %rdx
mov $96, %rcx
rep movsw
nop
nop
nop
nop
nop
sub %r12, %r12
lea addresses_D_ht+0x18fdd, %rdx
nop
nop
nop
nop
inc %r13
movw $0x6162, (%rdx)
nop
nop
nop
sub %r8, %r8
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r14
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r8
push %rbp
push %rdx
push %rsi
// Store
lea addresses_US+0x41dd, %r11
clflush (%r11)
nop
nop
and %rbp, %rbp
movl $0x51525354, (%r11)
nop
nop
nop
xor $21911, %r11
// Load
lea addresses_RW+0x7ddd, %rbp
nop
nop
and $2993, %r13
mov (%rbp), %r11d
inc %r13
// Load
lea addresses_WT+0x1078b, %rdx
nop
nop
nop
nop
nop
sub %rsi, %rsi
vmovups (%rdx), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %rbp
nop
add $39848, %r8
// Load
mov $0x7dd, %r11
clflush (%r11)
nop
nop
nop
nop
nop
add %r10, %r10
vmovaps (%r11), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpextrq $0, %xmm1, %r13
nop
nop
sub %r13, %r13
// Store
lea addresses_UC+0x1adf1, %r13
dec %r8
mov $0x5152535455565758, %rbp
movq %rbp, (%r13)
cmp %rsi, %rsi
// Store
lea addresses_RW+0xa641, %rsi
clflush (%rsi)
nop
inc %rbp
mov $0x5152535455565758, %r10
movq %r10, (%rsi)
nop
nop
nop
and %rbp, %rbp
// Faulty Load
lea addresses_US+0x41dd, %r10
nop
nop
nop
nop
and %r11, %r11
movups (%r10), %xmm2
vpextrq $0, %xmm2, %rsi
lea oracles, %rbp
and $0xff, %rsi
shlq $12, %rsi
mov (%rbp,%rsi,1), %rsi
pop %rsi
pop %rdx
pop %rbp
pop %r8
pop %r13
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 0}}
{'src': {'type': 'addresses_RW', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 10}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_P', 'AVXalign': True, 'size': 32, 'NT': False, 'same': False, 'congruent': 9}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 8, 'NT': True, 'same': False, 'congruent': 1}}
[Faulty Load]
{'src': {'type': 'addresses_US', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 1}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': True}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32, 'NT': True, 'same': False, 'congruent': 7}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': True}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': True, 'size': 2, 'NT': False, 'same': False, 'congruent': 9}}
{'54': 2260}
54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54
*/
| 31.090909 | 2,999 | 0.654483 |
59d7d458d85345adad2592c1ecc5f414ac8dc7e2 | 544 | asm | Assembly | oeis/126/A126431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/126/A126431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/126/A126431.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A126431: a(n) = n * 10^n.
; 0,10,200,3000,40000,500000,6000000,70000000,800000000,9000000000,100000000000,1100000000000,12000000000000,130000000000000,1400000000000000,15000000000000000,160000000000000000,1700000000000000000,18000000000000000000,190000000000000000000,2000000000000000000000,21000000000000000000000,220000000000000000000000,2300000000000000000000000,24000000000000000000000000,250000000000000000000000000,2600000000000000000000000000,27000000000000000000000000000,280000000000000000000000000000
mov $2,10
pow $2,$0
mul $0,$2
| 77.714286 | 484 | 0.887868 |
9c1a98332a45dc6a6cf2641a1017218a1e3c1955 | 283 | asm | Assembly | programs/oeis/165/A165207.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/165/A165207.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/165/A165207.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A165207: Period 4: repeat [2, 2, 4, 4].
; 2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4,2,2,4,4
mod $0,4
mov $1,$0
gcd $1,2
add $0,$1
| 35.375 | 201 | 0.508834 |
d32040f2c10030ed1f73a060ab462d95ccdac6cd | 594 | asm | Assembly | programs/oeis/090/A090369.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/090/A090369.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/090/A090369.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A090369: Smallest divisor of 2n that is > 2, or 0 if no such divisor exists.
; 0,4,3,4,5,3,7,4,3,4,11,3,13,4,3,4,17,3,19,4,3,4,23,3,5,4,3,4,29,3,31,4,3,4,5,3,37,4,3,4,41,3,43,4,3,4,47,3,7,4,3,4,53,3,5,4,3,4,59,3,61,4,3,4,5,3,67,4,3,4,71,3,73,4,3,4,7,3,79,4,3,4,83,3,5,4,3,4,89,3,7,4,3,4,5,3,97,4,3,4
add $0,1
mov $1,1
sub $1,$0
mov $2,2
mov $3,$0
mov $4,$0
lpb $3
lpb $5
add $6,1
mov $7,$0
mov $0,$6
mul $7,2
mod $7,$2
cmp $7,0
sub $5,$7
lpe
add $2,1
mov $1,$2
mov $5,$4
cmp $6,0
cmp $6,0
mov $7,$0
cmp $7,1
cmp $7,0
sub $3,$7
lpe
mov $0,$1
| 19.16129 | 222 | 0.516835 |
8550baf56383989e2680f345354cff037822679b | 171 | asm | Assembly | HW3/3/q2/shellcode.asm | tomersamara/InfoSec | 01f427f7747cbc4e6af9eac609969110dc80bdc7 | [
"MIT"
] | null | null | null | HW3/3/q2/shellcode.asm | tomersamara/InfoSec | 01f427f7747cbc4e6af9eac609969110dc80bdc7 | [
"MIT"
] | null | null | null | HW3/3/q2/shellcode.asm | tomersamara/InfoSec | 01f427f7747cbc4e6af9eac609969110dc80bdc7 | [
"MIT"
] | null | null | null | jmp want_bin_bash
got_bin_bash:
xor eax, eax
mov al, 0x0b
pop ebx
xor ecx, ecx
xor edx, edx
mov [ebx + 9], ah
int 0x80
want_bin_bash:
call got_bin_bash
.Ascii "/bin/bash@" | 14.25 | 19 | 0.74269 |
313c6d044cc8f238798ee29188a5497b5cbbc099 | 655 | asm | Assembly | programs/oeis/001/A001973.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/001/A001973.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/001/A001973.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A001973: Expansion of (1+x^3)/((1-x)*(1-x^2)^2*(1-x^3)).
; 1,1,3,5,8,12,18,24,33,43,55,69,86,104,126,150,177,207,241,277,318,362,410,462,519,579,645,715,790,870,956,1046,1143,1245,1353,1467,1588,1714,1848,1988,2135,2289,2451,2619,2796,2980,3172,3372,3581,3797,4023,4257,4500,4752,5014,5284,5565,5855,6155,6465,6786,7116,7458,7810,8173,8547,8933,9329,9738,10158,10590,11034,11491,11959,12441,12935,13442,13962,14496,15042,15603,16177,16765,17367,17984,18614,19260,19920,20595,21285,21991,22711,23448,24200,24968,25752,26553,27369,28203,29053
add $0,2
lpb $0
mov $2,$0
sub $0,2
seq $2,7997 ; a(n) = ceiling((n-3)(n-4)/6).
add $1,$2
lpe
mov $0,$1
| 54.583333 | 483 | 0.71145 |
223f92bd693aa3eec744713653b3f6a11b5084f1 | 630 | asm | Assembly | programs/oeis/325/A325103.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/325/A325103.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/325/A325103.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A325103: Number of increasing pairs of positive integers up to n with no binary carries.
; 0,0,1,1,4,5,6,6,13,16,19,20,23,24,25,25,40,47,54,57,64,67,70,71,78,81,84,85,88,89,90,90,121,136,151,158,173,180,187,190,205,212,219,222,229,232,235,236,251,258,265,268,275,278,281,282,289,292,295,296
mov $10,$0
mov $12,$0
lpb $12
mov $0,$10
sub $12,1
sub $0,$12
add $9,1
lpb $9
mov $1,3
mov $3,1
sub $9,1
lpb $0
mov $2,$1
mov $1,2
gcd $1,$0
lpb $1,7
div $2,$2
mul $3,2
lpe
div $0,2
lpe
lpe
mov $1,$3
sub $1,2
div $1,2
add $11,$1
lpe
mov $1,$11
| 19.6875 | 201 | 0.553968 |
b545094ff01d5bf4cc4f98c65996c51fa323f2fe | 754 | asm | Assembly | ASM_x86/LinuxAPI_07_uname.asm | XlogicX/Learn | 96e4b13bbc8c2589d6bf41e24e6d0857c172e3e6 | [
"MIT"
] | 43 | 2015-06-05T19:14:46.000Z | 2022-01-31T20:25:46.000Z | ASM_x86/LinuxAPI_07_uname.asm | tuxxy/Learn | 96e4b13bbc8c2589d6bf41e24e6d0857c172e3e6 | [
"MIT"
] | null | null | null | ASM_x86/LinuxAPI_07_uname.asm | tuxxy/Learn | 96e4b13bbc8c2589d6bf41e24e6d0857c172e3e6 | [
"MIT"
] | 9 | 2015-09-07T18:31:41.000Z | 2022-02-02T06:39:06.000Z | ;Example of using the uname API. API calls found in this example program:
; uname, exit
; High level description of what theis example program does:
; Simply calls uname and stores the result in memory pointer
section .text
global _start
_start:
; Get uname data
;------------------------------------------------------------------------------
mov eax, 109 ; uname
mov ebx, sysname ; Pointer to where you want the data
int 0x80
; Exit
;------------------------------------------------------------------------------
mov eax, 1
int 0x80
section .bss
sysname resb 65 ; Probably 'Linux'
nodename resb 65 ; Hostname in my case
release resb 65 ; Kernel version
version resb 65 ; Version details
machine resb 65 ; Architecture | 26.928571 | 79 | 0.570292 |
186c05c5b59d9d344cf4101a09584cc3c8ce60c3 | 674 | asm | Assembly | oeis/066/A066380.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/066/A066380.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/066/A066380.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A066380: a(n) = Sum_{k=0..n} binomial(3*n,k).
; Submitted by Jamie Morken(s2)
; 1,4,22,130,794,4944,31180,198440,1271626,8192524,53009102,344212906,2241812648,14637774688,95786202688,628002401520,4124304597834,27126202533252,178651732923346,1178005033926998,7776048412324714,51380672802765632,339807092377975156,2249181061884310208,14898658509375976024,98758718105819024144,655068678128248396840,4347717613598582830840,28872274220579374298192,191835814810101186659008,1275242689014875290400960,8481198625411012609973344,56430104043897594570640202,375614831975871075790926964
mov $2,3
mul $2,$0
add $0,1
lpb $0
sub $0,1
mov $3,$2
bin $3,$0
add $1,$3
lpe
mov $0,$1
| 44.933333 | 496 | 0.829377 |
f91a17d296ee03df594c861e553a587569a06a95 | 665 | asm | Assembly | programs/oeis/143/A143293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/143/A143293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/143/A143293.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A143293: Partial sums of A002110, the primorial numbers.
; 1,3,9,39,249,2559,32589,543099,10242789,233335659,6703028889,207263519019,7628001653829,311878265181039,13394639596851069,628284422185342479,33217442899375387209,1955977793053588026279,119244359152460559009549,7977565910232727614888639,565918396036931688582304029,41295598995285955839203627499,3258940366335958863738288181629,270323456055611810219362306174419,24039065352401162580869899907532729
mov $2,$0
add $2,1
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
seq $0,2110 ; Primorial numbers (first definition): product of first n primes. Sometimes written prime(n)#.
add $1,$0
lpe
mov $0,$1
| 44.333333 | 397 | 0.821053 |
a20cde5f5f05eef5eedf0964a7c669b4ba25d436 | 10,021 | asm | Assembly | Library/Styles/Manip/manipDefine.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Styles/Manip/manipDefine.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Styles/Manip/manipDefine.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @----------------------------------------------------------------------
Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Styles
FILE: Manip/manipDefine.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 12/91 Initial version
DESCRIPTION:
This file contains code for StyleSheetDefineStyle
$Id: manipDefine.asm,v 1.1 97/04/07 11:15:34 newdeal Exp $
------------------------------------------------------------------------------@
ManipCode segment resource
COMMENT @----------------------------------------------------------------------
FUNCTION: StyleSheetDefineStyle
DESCRIPTION: Define a new style
CALLED BY: GLOBAL
PASS:
*ds:si - styled object (this object will receive a
MSG_META_STYLED_OBJECT_APPLY_STYLE message)
ss:bp - StyleSheetParams
ss:cx - SSCDefineStyleParams
ax:di - callback routine for setting custom stuff
(must be vfptr for XIP'ed geodes)
Callback:
Pass:
cx:di - UI to update
ds:si - style structure
ds:dx - base style structure (dx = 0 if none)
Return:
none
Destroyed:
ax, bx, cx, dx, si, di, bp, ds, es
RETURN:
none
DESTROYED:
ax, bx, cx, dx, di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 12/91 Initial version
------------------------------------------------------------------------------@
NameOrElement union
SBCS <NOE_name char NAME_ARRAY_MAX_NAME_LENGTH+2 dup (?) ;even-sized null>
DBCS <NOE_name wchar NAME_ARRAY_MAX_NAME_LENGTH+1 dup (?) >
NOE_element byte STYLE_SHEET_MAX_ELEMENT_SIZE dup (?)
NameOrElement end
StyleSheetDefineStyle proc far
STYLE_LOCALS
newStyle local word
buffer local NameOrElement
; if no style array was passed then bail out
tst ss:[bp].SSP_styleArray.SCD_chunk
jnz 1$
ret
1$:
.enter
mov newStyle, CA_NULL_ELEMENT
call IgnoreUndoAndFlush
call EnterStyleSheet
; don't define if indeterminate
mov cx, attrTotal
push es
segmov es, ss
mov di, saved_cxdx.high ;es:di = attr tokens
add di, offset SSCDSP_attrTokens
mov ax, CA_NULL_ELEMENT
repne scasw
pop es
LONG je skipDefine
; calculate the size
push bp
mov di, saved_cxdx.high
movdw bxsi, ss:[di].SSCDSP_textObject
mov dx, ss
lea bp, buffer ;dx:bp = buffer
mov ax, MSG_VIS_TEXT_GET_ALL_PTR
mov di, mask MF_FIXUP_DS or mask MF_CALL
call ObjMessage ;cx = size (not counting null)
pop bp
tst cx
LONG jz skipDefine
;
; Clear out the text field now that we have the name
;
push ax, cx, dx, bp
mov ax, MSG_VIS_TEXT_DO_KEY_FUNCTION
mov cx, VTKF_DELETE_EVERYTHING
mov di, mask MF_FIXUP_DS
call ObjMessage
pop ax, cx, dx, bp
call Load_dssi_styleArray
segmov es, ss
lea di, buffer ;es:di = name
clr dx ;no data (we'll add it later)
clr bx ;no flags
call NameArrayAdd ;ax = token
call DerefStyleLocals
jc nameAdded
mov ax, offset NameAlreadyExistsString
call DisplayError
jmp skipDefine ;if already present then abort
nameAdded:
call StyleSheetIncNotifyCounter ;mark styles changed
; set the attributes
push ax, si, bp
mov di, saved_cxdx.high
movdw bxsi, ss:[di].SSCDSP_attrList
mov ax, MSG_GEN_BOOLEAN_GROUP_GET_SELECTED_BOOLEANS
mov di, mask MF_FIXUP_DS or mask MF_CALL
call ObjMessage ;ax = attrs
mov_tr cx, ax
pop ax, si, bp
push cx
mov newStyle, ax
call ChunkArrayElementToPtr ;ds:di = array
EC < cmp ds:[di].REH_refCount.WAAH_high, EA_FREE_ELEMENT >
EC < ERROR_Z STYLE_SHEET_ELEMENT_IS_FREE >
pop ds:[di].SEH_flags
clr ax
clrdw ds:[di].SEH_privateData, ax
mov bx, saved_cxdx.high
mov ax, ss:[bx].SSCDSP_baseStyle
mov ds:[di].SEH_baseStyle, ax
CheckHack <(size SEH_reserved) eq 6>
mov ax, {word} ss:[bx].SSCDSP_reserved
mov {word} ds:[di].SEH_reserved, ax
mov ax, {word} ss:[bx].SSCDSP_reserved+2
mov {word} ds:[di].SEH_reserved+2, ax
mov ax, {word} ss:[bx].SSCDSP_reserved+4
mov {word} ds:[di].SEH_reserved+4, ax
; loop through the attributes, making a new element for each attribute
; structure that points at our new style
attrLoop:
; lock appropriate attribute array
mov si, saved_cxdx.high
lea si, ss:[si].SSCDSP_attrTokens
add si, attrCounter2
mov ax, ss:[si]
call LockLoopAttrArray ;ds:si = attr array
;ds:di = element, cx = size
;ax = attr token
; get the element
mov cx, ss
lea dx, buffer
call ChunkArrayGetElement ;ax = size
mov bx, newStyle
mov ({StyleSheetElementHeader} buffer).SSEH_style, bx
clr bx
call ElementArrayAddElement ;ax = new element
call DerefStyleLocals
push ax
call Load_dssi_styleArray
mov ax, newStyle
call ChunkArrayElementToPtr ;ds:di = style
EC < cmp ds:[di].REH_refCount.WAAH_high, EA_FREE_ELEMENT >
EC < ERROR_Z STYLE_SHEET_ELEMENT_IS_FREE >
add di, attrCounter2
pop ds:[di].SEH_attrTokens
; unlock attribute array
call UnlockLoopAttrArray
jnz attrLoop
; set the custom stuff
call Load_dssi_styleArray
mov ax, newStyle
call ChunkArrayElementToPtr
EC < cmp ds:[di].REH_refCount.WAAH_high, EA_FREE_ELEMENT >
EC < ERROR_Z STYLE_SHEET_ELEMENT_IS_FREE >
push di
mov ax, ds:[di].SEH_baseStyle
call ElementToPtrCheckNull
mov dx, di
pop si
; ds:si = style, ds:dx = base style
; set stuff from extra UI by calling callback
mov bx, saved_ax
mov ax, saved_esdi.low ;bxax = callback
tst bx
jz noCallback
push bp
mov di, saved_cxdx.high
movdw cxdi, ss:[di].SSCDSP_extraUI
call ProcCallFixedOrMovable
pop bp
noCallback:
skipDefine:
call LeaveStyleSheet
cmp newStyle, CA_NULL_ELEMENT
jz 99$
push ax, cx, dx, bx, bp
mov bx, cx
mov cx, newStyle
sub sp, size SSCApplyDeleteStyleParams
mov bp, sp
mov ax, ss:[bx].SSCDSP_defineStyledClasss.segment
mov ss:[bp].SSCADSP_deleteStyledClass.segment, ax
mov ax, ss:[bx].SSCDSP_defineStyledClasss.offset
mov ss:[bp].SSCADSP_deleteStyledClass.offset, ax
clr ss:[bp].SSCADSP_flags
mov ss:[bp].SSCADSP_token, cx
mov ax, MSG_META_STYLED_OBJECT_APPLY_STYLE
call ObjCallInstanceNoLock
add sp, size SSCApplyDeleteStyleParams
pop ax, cx, dx, bx, bp
99$:
call AcceptUndo
.leave
ret
StyleSheetDefineStyle endp
COMMENT @----------------------------------------------------------------------
FUNCTION: StyleSheetRedefineStyle
DESCRIPTION: Redefine a style
CALLED BY: GLOBAL
PASS:
ss:bp - StyleSheetParams
ss:cx - SSCDefineStyleParams
ax:di - callback routine for setting custom stuff
(must be vfptr for XIP'ed geodes)
Callback:
Pass:
cx:di - UI to update
ds:si - style structure
ds:dx - base style structure (dx = 0 if none)
Return:
none
Destroyed:
ax, bx, cx, dx, si, di, bp, ds, es
RETURN:
ax - non-zero if recalculation needed
DESTROYED:
ax, bx, cx, dx, di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 12/91 Initial version
------------------------------------------------------------------------------@
StyleSheetRedefineStyle proc far
STYLE_MANIP_LOCALS
.enter
call IgnoreUndoAndFlush
ENTER_FULL_EC
call EnterStyleSheet
clr recalcFlag
mov substituteFlag, 1
mov di, saved_cxdx.high ;ss:di = SSCDefineStyleParams
mov ax, ss:[di].SSCDSP_baseStyle
cmp ax, CA_NULL_ELEMENT
jz done
mov styleToChange, ax
; copy the tokens to change (changeAttrs)
copyLoop:
mov bx, attrCounter2 ;get the element for this
mov di, saved_cxdx.high ;ss:di = SSCDefineStyleParams
mov ax, ss:[di][bx].SSCDSP_attrTokens ;attr array
call LockLoopAttrArray ;ds:si = attr array
;ds:di = element, cx = size
;ax = attr token
; if this attribute is not based on the style that we are redefining
; then use the attribute that this style is based on (this is important
; for character only text styles)
mov cx, styleToChange
cmp cx, ds:[di].SSEH_style
jz gotElementToUseForThisAttrArray
mov_tr ax, cx
call Load_dssi_styleArray
call ChunkArrayElementToPtr
EC < cmp ds:[di].REH_refCount.WAAH_high, EA_FREE_ELEMENT >
EC < ERROR_Z STYLE_SHEET_ELEMENT_IS_FREE >
mov ax, ds:[di].SEH_attrTokens[bx]
gotElementToUseForThisAttrArray:
push bp
add bp, bx
mov changeAttrs, ax ;actually index via add above
pop bp
call UnlockLoopAttrArray
jnz copyLoop
; add a reference to each of the change attrs
mov dx, 1
call ModifyChangeAttrRef
; change the style
call ChangeStyle
mov dx, -1
call ModifyChangeAttrRef
done:
call LeaveStyleSheet
mov ax, recalcFlag
LEAVE_FULL_EC
call AcceptUndo
.leave
ret
StyleSheetRedefineStyle endp
COMMENT @----------------------------------------------------------------------
FUNCTION: ModifyChangeAttrRef
DESCRIPTION: Change the reference count for changeAttrs
CALLED BY: INTERNAL
PASS:
ss:bp - inherited variables
dx - positive to increment ref count, negative to decrement it
RETURN:
DESTROYED:
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 1/21/92 Initial version
------------------------------------------------------------------------------@
ModifyChangeAttrRef proc near
STYLE_MANIP_LOCALS
.enter inherit far
attrLoop:
mov ax, CA_NULL_ELEMENT
call LockLoopAttrArray ;ds:si = attr array
;ds:di = element, cx = size
;ax = attr token
lea di, changeAttrs
add di, attrCounter2
mov ax, ss:[di]
tst dx
js 10$
call ElementArrayAddReference
jmp 20$
10$:
clr bx
call ElementArrayRemoveReference
20$:
call UnlockLoopAttrArray
jnz attrLoop
.leave
ret
ModifyChangeAttrRef endp
ManipCode ends
| 22.219512 | 80 | 0.664205 |
488248e42483c925a67d472b9999d5e0db4c5815 | 832 | asm | Assembly | src/esp-timeout.asm | remy/next-http | 61c4d3139178f375e61d703671c1a7533725b8c2 | [
"MIT"
] | 14 | 2021-04-09T18:45:38.000Z | 2022-02-27T15:58:52.000Z | src/esp-timeout.asm | remy/next-http | 61c4d3139178f375e61d703671c1a7533725b8c2 | [
"MIT"
] | 2 | 2021-05-19T18:44:15.000Z | 2022-02-27T16:37:09.000Z | src/esp-timeout.asm | remy/next-httpbank | 61c4d3139178f375e61d703671c1a7533725b8c2 | [
"MIT"
] | 3 | 2021-04-11T23:56:32.000Z | 2022-02-27T15:49:17.000Z | InitESPTimeout:
MODULE InitESPTimeout
push hl
ld hl, ESPTimeout mod 65536 ; Timeout is a 32-bit value, so save the two LSBs first,
ld (CheckESPTimeout.Value), hl
ld hl, ESPTimeout / 65536 ; then the two MSBs.
ld (CheckESPTimeout.Value2), hl
pop hl
ret
ENDMODULE
; Modifies: nothing
CheckESPTimeout:
MODULE CheckESPTimeout
push hl
push af
Value EQU $+1
ld hl, SMC
dec hl
ld (Value), hl
ld a, h
or l
jr z, Rollover
Success: pop af
pop hl
ret
Failure: ld hl, (Wifi.timeout)
HandleError:
call Error ; Ignore current stack depth, and just jump
Rollover:
Value2 EQU $+1
ld hl, SMC ; Check the two upper values
ld a, h
or l
jr z, Failure ; If we hit here, 32 bit value is $00000000
dec hl
ld (Value2), hl
ld hl, ESPTimeout mod 65536
ld (Value), hl
jr Success
ENDMODULE
| 19.348837 | 87 | 0.682692 |
b34a6e1a284b0cfbbb2fe23b2cf4544e40a4e882 | 49,006 | asm | Assembly | stressfs.asm | rooneyshuman/XV6-OS | c0daa7b2585bf0aa85f8b6e503077b0ef6205819 | [
"MIT-0"
] | null | null | null | stressfs.asm | rooneyshuman/XV6-OS | c0daa7b2585bf0aa85f8b6e503077b0ef6205819 | [
"MIT-0"
] | null | null | null | stressfs.asm | rooneyshuman/XV6-OS | c0daa7b2585bf0aa85f8b6e503077b0ef6205819 | [
"MIT-0"
] | 1 | 2020-12-08T21:26:04.000Z | 2020-12-08T21:26:04.000Z |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: 89 e5 mov %esp,%ebp
d: 51 push %ecx
e: 81 ec 24 02 00 00 sub $0x224,%esp
int fd, i;
char path[] = "stressfs0";
14: c7 45 e6 73 74 72 65 movl $0x65727473,-0x1a(%ebp)
1b: c7 45 ea 73 73 66 73 movl $0x73667373,-0x16(%ebp)
22: 66 c7 45 ee 30 00 movw $0x30,-0x12(%ebp)
char data[512];
printf(1, "stressfs starting\n");
28: 83 ec 08 sub $0x8,%esp
2b: 68 b9 09 00 00 push $0x9b9
30: 6a 01 push $0x1
32: e8 cc 05 00 00 call 603 <printf>
37: 83 c4 10 add $0x10,%esp
memset(data, 'a', sizeof(data));
3a: 83 ec 04 sub $0x4,%esp
3d: 68 00 02 00 00 push $0x200
42: 6a 61 push $0x61
44: 8d 85 e6 fd ff ff lea -0x21a(%ebp),%eax
4a: 50 push %eax
4b: e8 be 01 00 00 call 20e <memset>
50: 83 c4 10 add $0x10,%esp
for(i = 0; i < 4; i++)
53: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
5a: eb 0d jmp 69 <main+0x69>
if(fork() > 0)
5c: e8 13 04 00 00 call 474 <fork>
61: 85 c0 test %eax,%eax
63: 7f 0c jg 71 <main+0x71>
char data[512];
printf(1, "stressfs starting\n");
memset(data, 'a', sizeof(data));
for(i = 0; i < 4; i++)
65: 83 45 f4 01 addl $0x1,-0xc(%ebp)
69: 83 7d f4 03 cmpl $0x3,-0xc(%ebp)
6d: 7e ed jle 5c <main+0x5c>
6f: eb 01 jmp 72 <main+0x72>
if(fork() > 0)
break;
71: 90 nop
printf(1, "write %d\n", i);
72: 83 ec 04 sub $0x4,%esp
75: ff 75 f4 pushl -0xc(%ebp)
78: 68 cc 09 00 00 push $0x9cc
7d: 6a 01 push $0x1
7f: e8 7f 05 00 00 call 603 <printf>
84: 83 c4 10 add $0x10,%esp
path[8] += i;
87: 0f b6 45 ee movzbl -0x12(%ebp),%eax
8b: 89 c2 mov %eax,%edx
8d: 8b 45 f4 mov -0xc(%ebp),%eax
90: 01 d0 add %edx,%eax
92: 88 45 ee mov %al,-0x12(%ebp)
fd = open(path, O_CREATE | O_RDWR);
95: 83 ec 08 sub $0x8,%esp
98: 68 02 02 00 00 push $0x202
9d: 8d 45 e6 lea -0x1a(%ebp),%eax
a0: 50 push %eax
a1: e8 16 04 00 00 call 4bc <open>
a6: 83 c4 10 add $0x10,%esp
a9: 89 45 f0 mov %eax,-0x10(%ebp)
for(i = 0; i < 20; i++)
ac: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
b3: eb 1e jmp d3 <main+0xd3>
// printf(fd, "%d\n", i);
write(fd, data, sizeof(data));
b5: 83 ec 04 sub $0x4,%esp
b8: 68 00 02 00 00 push $0x200
bd: 8d 85 e6 fd ff ff lea -0x21a(%ebp),%eax
c3: 50 push %eax
c4: ff 75 f0 pushl -0x10(%ebp)
c7: e8 d0 03 00 00 call 49c <write>
cc: 83 c4 10 add $0x10,%esp
printf(1, "write %d\n", i);
path[8] += i;
fd = open(path, O_CREATE | O_RDWR);
for(i = 0; i < 20; i++)
cf: 83 45 f4 01 addl $0x1,-0xc(%ebp)
d3: 83 7d f4 13 cmpl $0x13,-0xc(%ebp)
d7: 7e dc jle b5 <main+0xb5>
// printf(fd, "%d\n", i);
write(fd, data, sizeof(data));
close(fd);
d9: 83 ec 0c sub $0xc,%esp
dc: ff 75 f0 pushl -0x10(%ebp)
df: e8 c0 03 00 00 call 4a4 <close>
e4: 83 c4 10 add $0x10,%esp
printf(1, "read\n");
e7: 83 ec 08 sub $0x8,%esp
ea: 68 d6 09 00 00 push $0x9d6
ef: 6a 01 push $0x1
f1: e8 0d 05 00 00 call 603 <printf>
f6: 83 c4 10 add $0x10,%esp
fd = open(path, O_RDONLY);
f9: 83 ec 08 sub $0x8,%esp
fc: 6a 00 push $0x0
fe: 8d 45 e6 lea -0x1a(%ebp),%eax
101: 50 push %eax
102: e8 b5 03 00 00 call 4bc <open>
107: 83 c4 10 add $0x10,%esp
10a: 89 45 f0 mov %eax,-0x10(%ebp)
for (i = 0; i < 20; i++)
10d: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
114: eb 1e jmp 134 <main+0x134>
read(fd, data, sizeof(data));
116: 83 ec 04 sub $0x4,%esp
119: 68 00 02 00 00 push $0x200
11e: 8d 85 e6 fd ff ff lea -0x21a(%ebp),%eax
124: 50 push %eax
125: ff 75 f0 pushl -0x10(%ebp)
128: e8 67 03 00 00 call 494 <read>
12d: 83 c4 10 add $0x10,%esp
close(fd);
printf(1, "read\n");
fd = open(path, O_RDONLY);
for (i = 0; i < 20; i++)
130: 83 45 f4 01 addl $0x1,-0xc(%ebp)
134: 83 7d f4 13 cmpl $0x13,-0xc(%ebp)
138: 7e dc jle 116 <main+0x116>
read(fd, data, sizeof(data));
close(fd);
13a: 83 ec 0c sub $0xc,%esp
13d: ff 75 f0 pushl -0x10(%ebp)
140: e8 5f 03 00 00 call 4a4 <close>
145: 83 c4 10 add $0x10,%esp
wait();
148: e8 37 03 00 00 call 484 <wait>
exit();
14d: e8 2a 03 00 00 call 47c <exit>
00000152 <stosb>:
"cc");
}
static inline void
stosb(void *addr, int data, int cnt)
{
152: 55 push %ebp
153: 89 e5 mov %esp,%ebp
155: 57 push %edi
156: 53 push %ebx
asm volatile("cld; rep stosb" :
157: 8b 4d 08 mov 0x8(%ebp),%ecx
15a: 8b 55 10 mov 0x10(%ebp),%edx
15d: 8b 45 0c mov 0xc(%ebp),%eax
160: 89 cb mov %ecx,%ebx
162: 89 df mov %ebx,%edi
164: 89 d1 mov %edx,%ecx
166: fc cld
167: f3 aa rep stos %al,%es:(%edi)
169: 89 ca mov %ecx,%edx
16b: 89 fb mov %edi,%ebx
16d: 89 5d 08 mov %ebx,0x8(%ebp)
170: 89 55 10 mov %edx,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"0" (addr), "1" (cnt), "a" (data) :
"memory", "cc");
}
173: 90 nop
174: 5b pop %ebx
175: 5f pop %edi
176: 5d pop %ebp
177: c3 ret
00000178 <strcpy>:
#include "user.h"
#include "x86.h"
char*
strcpy(char *s, char *t)
{
178: 55 push %ebp
179: 89 e5 mov %esp,%ebp
17b: 83 ec 10 sub $0x10,%esp
char *os;
os = s;
17e: 8b 45 08 mov 0x8(%ebp),%eax
181: 89 45 fc mov %eax,-0x4(%ebp)
while((*s++ = *t++) != 0)
184: 90 nop
185: 8b 45 08 mov 0x8(%ebp),%eax
188: 8d 50 01 lea 0x1(%eax),%edx
18b: 89 55 08 mov %edx,0x8(%ebp)
18e: 8b 55 0c mov 0xc(%ebp),%edx
191: 8d 4a 01 lea 0x1(%edx),%ecx
194: 89 4d 0c mov %ecx,0xc(%ebp)
197: 0f b6 12 movzbl (%edx),%edx
19a: 88 10 mov %dl,(%eax)
19c: 0f b6 00 movzbl (%eax),%eax
19f: 84 c0 test %al,%al
1a1: 75 e2 jne 185 <strcpy+0xd>
;
return os;
1a3: 8b 45 fc mov -0x4(%ebp),%eax
}
1a6: c9 leave
1a7: c3 ret
000001a8 <strcmp>:
int
strcmp(const char *p, const char *q)
{
1a8: 55 push %ebp
1a9: 89 e5 mov %esp,%ebp
while(*p && *p == *q)
1ab: eb 08 jmp 1b5 <strcmp+0xd>
p++, q++;
1ad: 83 45 08 01 addl $0x1,0x8(%ebp)
1b1: 83 45 0c 01 addl $0x1,0xc(%ebp)
}
int
strcmp(const char *p, const char *q)
{
while(*p && *p == *q)
1b5: 8b 45 08 mov 0x8(%ebp),%eax
1b8: 0f b6 00 movzbl (%eax),%eax
1bb: 84 c0 test %al,%al
1bd: 74 10 je 1cf <strcmp+0x27>
1bf: 8b 45 08 mov 0x8(%ebp),%eax
1c2: 0f b6 10 movzbl (%eax),%edx
1c5: 8b 45 0c mov 0xc(%ebp),%eax
1c8: 0f b6 00 movzbl (%eax),%eax
1cb: 38 c2 cmp %al,%dl
1cd: 74 de je 1ad <strcmp+0x5>
p++, q++;
return (uchar)*p - (uchar)*q;
1cf: 8b 45 08 mov 0x8(%ebp),%eax
1d2: 0f b6 00 movzbl (%eax),%eax
1d5: 0f b6 d0 movzbl %al,%edx
1d8: 8b 45 0c mov 0xc(%ebp),%eax
1db: 0f b6 00 movzbl (%eax),%eax
1de: 0f b6 c0 movzbl %al,%eax
1e1: 29 c2 sub %eax,%edx
1e3: 89 d0 mov %edx,%eax
}
1e5: 5d pop %ebp
1e6: c3 ret
000001e7 <strlen>:
uint
strlen(char *s)
{
1e7: 55 push %ebp
1e8: 89 e5 mov %esp,%ebp
1ea: 83 ec 10 sub $0x10,%esp
int n;
for(n = 0; s[n]; n++)
1ed: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
1f4: eb 04 jmp 1fa <strlen+0x13>
1f6: 83 45 fc 01 addl $0x1,-0x4(%ebp)
1fa: 8b 55 fc mov -0x4(%ebp),%edx
1fd: 8b 45 08 mov 0x8(%ebp),%eax
200: 01 d0 add %edx,%eax
202: 0f b6 00 movzbl (%eax),%eax
205: 84 c0 test %al,%al
207: 75 ed jne 1f6 <strlen+0xf>
;
return n;
209: 8b 45 fc mov -0x4(%ebp),%eax
}
20c: c9 leave
20d: c3 ret
0000020e <memset>:
void*
memset(void *dst, int c, uint n)
{
20e: 55 push %ebp
20f: 89 e5 mov %esp,%ebp
stosb(dst, c, n);
211: 8b 45 10 mov 0x10(%ebp),%eax
214: 50 push %eax
215: ff 75 0c pushl 0xc(%ebp)
218: ff 75 08 pushl 0x8(%ebp)
21b: e8 32 ff ff ff call 152 <stosb>
220: 83 c4 0c add $0xc,%esp
return dst;
223: 8b 45 08 mov 0x8(%ebp),%eax
}
226: c9 leave
227: c3 ret
00000228 <strchr>:
char*
strchr(const char *s, char c)
{
228: 55 push %ebp
229: 89 e5 mov %esp,%ebp
22b: 83 ec 04 sub $0x4,%esp
22e: 8b 45 0c mov 0xc(%ebp),%eax
231: 88 45 fc mov %al,-0x4(%ebp)
for(; *s; s++)
234: eb 14 jmp 24a <strchr+0x22>
if(*s == c)
236: 8b 45 08 mov 0x8(%ebp),%eax
239: 0f b6 00 movzbl (%eax),%eax
23c: 3a 45 fc cmp -0x4(%ebp),%al
23f: 75 05 jne 246 <strchr+0x1e>
return (char*)s;
241: 8b 45 08 mov 0x8(%ebp),%eax
244: eb 13 jmp 259 <strchr+0x31>
}
char*
strchr(const char *s, char c)
{
for(; *s; s++)
246: 83 45 08 01 addl $0x1,0x8(%ebp)
24a: 8b 45 08 mov 0x8(%ebp),%eax
24d: 0f b6 00 movzbl (%eax),%eax
250: 84 c0 test %al,%al
252: 75 e2 jne 236 <strchr+0xe>
if(*s == c)
return (char*)s;
return 0;
254: b8 00 00 00 00 mov $0x0,%eax
}
259: c9 leave
25a: c3 ret
0000025b <gets>:
char*
gets(char *buf, int max)
{
25b: 55 push %ebp
25c: 89 e5 mov %esp,%ebp
25e: 83 ec 18 sub $0x18,%esp
int i, cc;
char c;
for(i=0; i+1 < max; ){
261: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
268: eb 42 jmp 2ac <gets+0x51>
cc = read(0, &c, 1);
26a: 83 ec 04 sub $0x4,%esp
26d: 6a 01 push $0x1
26f: 8d 45 ef lea -0x11(%ebp),%eax
272: 50 push %eax
273: 6a 00 push $0x0
275: e8 1a 02 00 00 call 494 <read>
27a: 83 c4 10 add $0x10,%esp
27d: 89 45 f0 mov %eax,-0x10(%ebp)
if(cc < 1)
280: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
284: 7e 33 jle 2b9 <gets+0x5e>
break;
buf[i++] = c;
286: 8b 45 f4 mov -0xc(%ebp),%eax
289: 8d 50 01 lea 0x1(%eax),%edx
28c: 89 55 f4 mov %edx,-0xc(%ebp)
28f: 89 c2 mov %eax,%edx
291: 8b 45 08 mov 0x8(%ebp),%eax
294: 01 c2 add %eax,%edx
296: 0f b6 45 ef movzbl -0x11(%ebp),%eax
29a: 88 02 mov %al,(%edx)
if(c == '\n' || c == '\r')
29c: 0f b6 45 ef movzbl -0x11(%ebp),%eax
2a0: 3c 0a cmp $0xa,%al
2a2: 74 16 je 2ba <gets+0x5f>
2a4: 0f b6 45 ef movzbl -0x11(%ebp),%eax
2a8: 3c 0d cmp $0xd,%al
2aa: 74 0e je 2ba <gets+0x5f>
gets(char *buf, int max)
{
int i, cc;
char c;
for(i=0; i+1 < max; ){
2ac: 8b 45 f4 mov -0xc(%ebp),%eax
2af: 83 c0 01 add $0x1,%eax
2b2: 3b 45 0c cmp 0xc(%ebp),%eax
2b5: 7c b3 jl 26a <gets+0xf>
2b7: eb 01 jmp 2ba <gets+0x5f>
cc = read(0, &c, 1);
if(cc < 1)
break;
2b9: 90 nop
buf[i++] = c;
if(c == '\n' || c == '\r')
break;
}
buf[i] = '\0';
2ba: 8b 55 f4 mov -0xc(%ebp),%edx
2bd: 8b 45 08 mov 0x8(%ebp),%eax
2c0: 01 d0 add %edx,%eax
2c2: c6 00 00 movb $0x0,(%eax)
return buf;
2c5: 8b 45 08 mov 0x8(%ebp),%eax
}
2c8: c9 leave
2c9: c3 ret
000002ca <stat>:
int
stat(char *n, struct stat *st)
{
2ca: 55 push %ebp
2cb: 89 e5 mov %esp,%ebp
2cd: 83 ec 18 sub $0x18,%esp
int fd;
int r;
fd = open(n, O_RDONLY);
2d0: 83 ec 08 sub $0x8,%esp
2d3: 6a 00 push $0x0
2d5: ff 75 08 pushl 0x8(%ebp)
2d8: e8 df 01 00 00 call 4bc <open>
2dd: 83 c4 10 add $0x10,%esp
2e0: 89 45 f4 mov %eax,-0xc(%ebp)
if(fd < 0)
2e3: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
2e7: 79 07 jns 2f0 <stat+0x26>
return -1;
2e9: b8 ff ff ff ff mov $0xffffffff,%eax
2ee: eb 25 jmp 315 <stat+0x4b>
r = fstat(fd, st);
2f0: 83 ec 08 sub $0x8,%esp
2f3: ff 75 0c pushl 0xc(%ebp)
2f6: ff 75 f4 pushl -0xc(%ebp)
2f9: e8 d6 01 00 00 call 4d4 <fstat>
2fe: 83 c4 10 add $0x10,%esp
301: 89 45 f0 mov %eax,-0x10(%ebp)
close(fd);
304: 83 ec 0c sub $0xc,%esp
307: ff 75 f4 pushl -0xc(%ebp)
30a: e8 95 01 00 00 call 4a4 <close>
30f: 83 c4 10 add $0x10,%esp
return r;
312: 8b 45 f0 mov -0x10(%ebp),%eax
}
315: c9 leave
316: c3 ret
00000317 <atoi>:
int
atoi(const char *s)
{
317: 55 push %ebp
318: 89 e5 mov %esp,%ebp
31a: 83 ec 10 sub $0x10,%esp
int n, sign;
n = 0;
31d: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
while (*s == ' ') s++;
324: eb 04 jmp 32a <atoi+0x13>
326: 83 45 08 01 addl $0x1,0x8(%ebp)
32a: 8b 45 08 mov 0x8(%ebp),%eax
32d: 0f b6 00 movzbl (%eax),%eax
330: 3c 20 cmp $0x20,%al
332: 74 f2 je 326 <atoi+0xf>
sign = (*s == '-') ? -1 : 1;
334: 8b 45 08 mov 0x8(%ebp),%eax
337: 0f b6 00 movzbl (%eax),%eax
33a: 3c 2d cmp $0x2d,%al
33c: 75 07 jne 345 <atoi+0x2e>
33e: b8 ff ff ff ff mov $0xffffffff,%eax
343: eb 05 jmp 34a <atoi+0x33>
345: b8 01 00 00 00 mov $0x1,%eax
34a: 89 45 f8 mov %eax,-0x8(%ebp)
if (*s == '+' || *s == '-')
34d: 8b 45 08 mov 0x8(%ebp),%eax
350: 0f b6 00 movzbl (%eax),%eax
353: 3c 2b cmp $0x2b,%al
355: 74 0a je 361 <atoi+0x4a>
357: 8b 45 08 mov 0x8(%ebp),%eax
35a: 0f b6 00 movzbl (%eax),%eax
35d: 3c 2d cmp $0x2d,%al
35f: 75 2b jne 38c <atoi+0x75>
s++;
361: 83 45 08 01 addl $0x1,0x8(%ebp)
while('0' <= *s && *s <= '9')
365: eb 25 jmp 38c <atoi+0x75>
n = n*10 + *s++ - '0';
367: 8b 55 fc mov -0x4(%ebp),%edx
36a: 89 d0 mov %edx,%eax
36c: c1 e0 02 shl $0x2,%eax
36f: 01 d0 add %edx,%eax
371: 01 c0 add %eax,%eax
373: 89 c1 mov %eax,%ecx
375: 8b 45 08 mov 0x8(%ebp),%eax
378: 8d 50 01 lea 0x1(%eax),%edx
37b: 89 55 08 mov %edx,0x8(%ebp)
37e: 0f b6 00 movzbl (%eax),%eax
381: 0f be c0 movsbl %al,%eax
384: 01 c8 add %ecx,%eax
386: 83 e8 30 sub $0x30,%eax
389: 89 45 fc mov %eax,-0x4(%ebp)
n = 0;
while (*s == ' ') s++;
sign = (*s == '-') ? -1 : 1;
if (*s == '+' || *s == '-')
s++;
while('0' <= *s && *s <= '9')
38c: 8b 45 08 mov 0x8(%ebp),%eax
38f: 0f b6 00 movzbl (%eax),%eax
392: 3c 2f cmp $0x2f,%al
394: 7e 0a jle 3a0 <atoi+0x89>
396: 8b 45 08 mov 0x8(%ebp),%eax
399: 0f b6 00 movzbl (%eax),%eax
39c: 3c 39 cmp $0x39,%al
39e: 7e c7 jle 367 <atoi+0x50>
n = n*10 + *s++ - '0';
return sign*n;
3a0: 8b 45 f8 mov -0x8(%ebp),%eax
3a3: 0f af 45 fc imul -0x4(%ebp),%eax
}
3a7: c9 leave
3a8: c3 ret
000003a9 <atoo>:
int
atoo(const char *s)
{
3a9: 55 push %ebp
3aa: 89 e5 mov %esp,%ebp
3ac: 83 ec 10 sub $0x10,%esp
int n, sign;
n = 0;
3af: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
while (*s == ' ') s++;
3b6: eb 04 jmp 3bc <atoo+0x13>
3b8: 83 45 08 01 addl $0x1,0x8(%ebp)
3bc: 8b 45 08 mov 0x8(%ebp),%eax
3bf: 0f b6 00 movzbl (%eax),%eax
3c2: 3c 20 cmp $0x20,%al
3c4: 74 f2 je 3b8 <atoo+0xf>
sign = (*s == '-') ? -1 : 1;
3c6: 8b 45 08 mov 0x8(%ebp),%eax
3c9: 0f b6 00 movzbl (%eax),%eax
3cc: 3c 2d cmp $0x2d,%al
3ce: 75 07 jne 3d7 <atoo+0x2e>
3d0: b8 ff ff ff ff mov $0xffffffff,%eax
3d5: eb 05 jmp 3dc <atoo+0x33>
3d7: b8 01 00 00 00 mov $0x1,%eax
3dc: 89 45 f8 mov %eax,-0x8(%ebp)
if (*s == '+' || *s == '-')
3df: 8b 45 08 mov 0x8(%ebp),%eax
3e2: 0f b6 00 movzbl (%eax),%eax
3e5: 3c 2b cmp $0x2b,%al
3e7: 74 0a je 3f3 <atoo+0x4a>
3e9: 8b 45 08 mov 0x8(%ebp),%eax
3ec: 0f b6 00 movzbl (%eax),%eax
3ef: 3c 2d cmp $0x2d,%al
3f1: 75 27 jne 41a <atoo+0x71>
s++;
3f3: 83 45 08 01 addl $0x1,0x8(%ebp)
while('0' <= *s && *s <= '7')
3f7: eb 21 jmp 41a <atoo+0x71>
n = n*8 + *s++ - '0';
3f9: 8b 45 fc mov -0x4(%ebp),%eax
3fc: 8d 0c c5 00 00 00 00 lea 0x0(,%eax,8),%ecx
403: 8b 45 08 mov 0x8(%ebp),%eax
406: 8d 50 01 lea 0x1(%eax),%edx
409: 89 55 08 mov %edx,0x8(%ebp)
40c: 0f b6 00 movzbl (%eax),%eax
40f: 0f be c0 movsbl %al,%eax
412: 01 c8 add %ecx,%eax
414: 83 e8 30 sub $0x30,%eax
417: 89 45 fc mov %eax,-0x4(%ebp)
n = 0;
while (*s == ' ') s++;
sign = (*s == '-') ? -1 : 1;
if (*s == '+' || *s == '-')
s++;
while('0' <= *s && *s <= '7')
41a: 8b 45 08 mov 0x8(%ebp),%eax
41d: 0f b6 00 movzbl (%eax),%eax
420: 3c 2f cmp $0x2f,%al
422: 7e 0a jle 42e <atoo+0x85>
424: 8b 45 08 mov 0x8(%ebp),%eax
427: 0f b6 00 movzbl (%eax),%eax
42a: 3c 37 cmp $0x37,%al
42c: 7e cb jle 3f9 <atoo+0x50>
n = n*8 + *s++ - '0';
return sign*n;
42e: 8b 45 f8 mov -0x8(%ebp),%eax
431: 0f af 45 fc imul -0x4(%ebp),%eax
}
435: c9 leave
436: c3 ret
00000437 <memmove>:
void*
memmove(void *vdst, void *vsrc, int n)
{
437: 55 push %ebp
438: 89 e5 mov %esp,%ebp
43a: 83 ec 10 sub $0x10,%esp
char *dst, *src;
dst = vdst;
43d: 8b 45 08 mov 0x8(%ebp),%eax
440: 89 45 fc mov %eax,-0x4(%ebp)
src = vsrc;
443: 8b 45 0c mov 0xc(%ebp),%eax
446: 89 45 f8 mov %eax,-0x8(%ebp)
while(n-- > 0)
449: eb 17 jmp 462 <memmove+0x2b>
*dst++ = *src++;
44b: 8b 45 fc mov -0x4(%ebp),%eax
44e: 8d 50 01 lea 0x1(%eax),%edx
451: 89 55 fc mov %edx,-0x4(%ebp)
454: 8b 55 f8 mov -0x8(%ebp),%edx
457: 8d 4a 01 lea 0x1(%edx),%ecx
45a: 89 4d f8 mov %ecx,-0x8(%ebp)
45d: 0f b6 12 movzbl (%edx),%edx
460: 88 10 mov %dl,(%eax)
{
char *dst, *src;
dst = vdst;
src = vsrc;
while(n-- > 0)
462: 8b 45 10 mov 0x10(%ebp),%eax
465: 8d 50 ff lea -0x1(%eax),%edx
468: 89 55 10 mov %edx,0x10(%ebp)
46b: 85 c0 test %eax,%eax
46d: 7f dc jg 44b <memmove+0x14>
*dst++ = *src++;
return vdst;
46f: 8b 45 08 mov 0x8(%ebp),%eax
}
472: c9 leave
473: c3 ret
00000474 <fork>:
name: \
movl $SYS_ ## name, %eax; \
int $T_SYSCALL; \
ret
SYSCALL(fork)
474: b8 01 00 00 00 mov $0x1,%eax
479: cd 40 int $0x40
47b: c3 ret
0000047c <exit>:
SYSCALL(exit)
47c: b8 02 00 00 00 mov $0x2,%eax
481: cd 40 int $0x40
483: c3 ret
00000484 <wait>:
SYSCALL(wait)
484: b8 03 00 00 00 mov $0x3,%eax
489: cd 40 int $0x40
48b: c3 ret
0000048c <pipe>:
SYSCALL(pipe)
48c: b8 04 00 00 00 mov $0x4,%eax
491: cd 40 int $0x40
493: c3 ret
00000494 <read>:
SYSCALL(read)
494: b8 05 00 00 00 mov $0x5,%eax
499: cd 40 int $0x40
49b: c3 ret
0000049c <write>:
SYSCALL(write)
49c: b8 10 00 00 00 mov $0x10,%eax
4a1: cd 40 int $0x40
4a3: c3 ret
000004a4 <close>:
SYSCALL(close)
4a4: b8 15 00 00 00 mov $0x15,%eax
4a9: cd 40 int $0x40
4ab: c3 ret
000004ac <kill>:
SYSCALL(kill)
4ac: b8 06 00 00 00 mov $0x6,%eax
4b1: cd 40 int $0x40
4b3: c3 ret
000004b4 <exec>:
SYSCALL(exec)
4b4: b8 07 00 00 00 mov $0x7,%eax
4b9: cd 40 int $0x40
4bb: c3 ret
000004bc <open>:
SYSCALL(open)
4bc: b8 0f 00 00 00 mov $0xf,%eax
4c1: cd 40 int $0x40
4c3: c3 ret
000004c4 <mknod>:
SYSCALL(mknod)
4c4: b8 11 00 00 00 mov $0x11,%eax
4c9: cd 40 int $0x40
4cb: c3 ret
000004cc <unlink>:
SYSCALL(unlink)
4cc: b8 12 00 00 00 mov $0x12,%eax
4d1: cd 40 int $0x40
4d3: c3 ret
000004d4 <fstat>:
SYSCALL(fstat)
4d4: b8 08 00 00 00 mov $0x8,%eax
4d9: cd 40 int $0x40
4db: c3 ret
000004dc <link>:
SYSCALL(link)
4dc: b8 13 00 00 00 mov $0x13,%eax
4e1: cd 40 int $0x40
4e3: c3 ret
000004e4 <mkdir>:
SYSCALL(mkdir)
4e4: b8 14 00 00 00 mov $0x14,%eax
4e9: cd 40 int $0x40
4eb: c3 ret
000004ec <chdir>:
SYSCALL(chdir)
4ec: b8 09 00 00 00 mov $0x9,%eax
4f1: cd 40 int $0x40
4f3: c3 ret
000004f4 <dup>:
SYSCALL(dup)
4f4: b8 0a 00 00 00 mov $0xa,%eax
4f9: cd 40 int $0x40
4fb: c3 ret
000004fc <getpid>:
SYSCALL(getpid)
4fc: b8 0b 00 00 00 mov $0xb,%eax
501: cd 40 int $0x40
503: c3 ret
00000504 <sbrk>:
SYSCALL(sbrk)
504: b8 0c 00 00 00 mov $0xc,%eax
509: cd 40 int $0x40
50b: c3 ret
0000050c <sleep>:
SYSCALL(sleep)
50c: b8 0d 00 00 00 mov $0xd,%eax
511: cd 40 int $0x40
513: c3 ret
00000514 <uptime>:
SYSCALL(uptime)
514: b8 0e 00 00 00 mov $0xe,%eax
519: cd 40 int $0x40
51b: c3 ret
0000051c <halt>:
SYSCALL(halt)
51c: b8 16 00 00 00 mov $0x16,%eax
521: cd 40 int $0x40
523: c3 ret
00000524 <date>:
SYSCALL(date)
524: b8 17 00 00 00 mov $0x17,%eax
529: cd 40 int $0x40
52b: c3 ret
0000052c <putc>:
#include "stat.h"
#include "user.h"
static void
putc(int fd, char c)
{
52c: 55 push %ebp
52d: 89 e5 mov %esp,%ebp
52f: 83 ec 18 sub $0x18,%esp
532: 8b 45 0c mov 0xc(%ebp),%eax
535: 88 45 f4 mov %al,-0xc(%ebp)
write(fd, &c, 1);
538: 83 ec 04 sub $0x4,%esp
53b: 6a 01 push $0x1
53d: 8d 45 f4 lea -0xc(%ebp),%eax
540: 50 push %eax
541: ff 75 08 pushl 0x8(%ebp)
544: e8 53 ff ff ff call 49c <write>
549: 83 c4 10 add $0x10,%esp
}
54c: 90 nop
54d: c9 leave
54e: c3 ret
0000054f <printint>:
static void
printint(int fd, int xx, int base, int sgn)
{
54f: 55 push %ebp
550: 89 e5 mov %esp,%ebp
552: 53 push %ebx
553: 83 ec 24 sub $0x24,%esp
static char digits[] = "0123456789ABCDEF";
char buf[16];
int i, neg;
uint x;
neg = 0;
556: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
if(sgn && xx < 0){
55d: 83 7d 14 00 cmpl $0x0,0x14(%ebp)
561: 74 17 je 57a <printint+0x2b>
563: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
567: 79 11 jns 57a <printint+0x2b>
neg = 1;
569: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp)
x = -xx;
570: 8b 45 0c mov 0xc(%ebp),%eax
573: f7 d8 neg %eax
575: 89 45 ec mov %eax,-0x14(%ebp)
578: eb 06 jmp 580 <printint+0x31>
} else {
x = xx;
57a: 8b 45 0c mov 0xc(%ebp),%eax
57d: 89 45 ec mov %eax,-0x14(%ebp)
}
i = 0;
580: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
do{
buf[i++] = digits[x % base];
587: 8b 4d f4 mov -0xc(%ebp),%ecx
58a: 8d 41 01 lea 0x1(%ecx),%eax
58d: 89 45 f4 mov %eax,-0xc(%ebp)
590: 8b 5d 10 mov 0x10(%ebp),%ebx
593: 8b 45 ec mov -0x14(%ebp),%eax
596: ba 00 00 00 00 mov $0x0,%edx
59b: f7 f3 div %ebx
59d: 89 d0 mov %edx,%eax
59f: 0f b6 80 4c 0c 00 00 movzbl 0xc4c(%eax),%eax
5a6: 88 44 0d dc mov %al,-0x24(%ebp,%ecx,1)
}while((x /= base) != 0);
5aa: 8b 5d 10 mov 0x10(%ebp),%ebx
5ad: 8b 45 ec mov -0x14(%ebp),%eax
5b0: ba 00 00 00 00 mov $0x0,%edx
5b5: f7 f3 div %ebx
5b7: 89 45 ec mov %eax,-0x14(%ebp)
5ba: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
5be: 75 c7 jne 587 <printint+0x38>
if(neg)
5c0: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
5c4: 74 2d je 5f3 <printint+0xa4>
buf[i++] = '-';
5c6: 8b 45 f4 mov -0xc(%ebp),%eax
5c9: 8d 50 01 lea 0x1(%eax),%edx
5cc: 89 55 f4 mov %edx,-0xc(%ebp)
5cf: c6 44 05 dc 2d movb $0x2d,-0x24(%ebp,%eax,1)
while(--i >= 0)
5d4: eb 1d jmp 5f3 <printint+0xa4>
putc(fd, buf[i]);
5d6: 8d 55 dc lea -0x24(%ebp),%edx
5d9: 8b 45 f4 mov -0xc(%ebp),%eax
5dc: 01 d0 add %edx,%eax
5de: 0f b6 00 movzbl (%eax),%eax
5e1: 0f be c0 movsbl %al,%eax
5e4: 83 ec 08 sub $0x8,%esp
5e7: 50 push %eax
5e8: ff 75 08 pushl 0x8(%ebp)
5eb: e8 3c ff ff ff call 52c <putc>
5f0: 83 c4 10 add $0x10,%esp
buf[i++] = digits[x % base];
}while((x /= base) != 0);
if(neg)
buf[i++] = '-';
while(--i >= 0)
5f3: 83 6d f4 01 subl $0x1,-0xc(%ebp)
5f7: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
5fb: 79 d9 jns 5d6 <printint+0x87>
putc(fd, buf[i]);
}
5fd: 90 nop
5fe: 8b 5d fc mov -0x4(%ebp),%ebx
601: c9 leave
602: c3 ret
00000603 <printf>:
// Print to the given fd. Only understands %d, %x, %p, %s.
void
printf(int fd, char *fmt, ...)
{
603: 55 push %ebp
604: 89 e5 mov %esp,%ebp
606: 83 ec 28 sub $0x28,%esp
char *s;
int c, i, state;
uint *ap;
state = 0;
609: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
ap = (uint*)(void*)&fmt + 1;
610: 8d 45 0c lea 0xc(%ebp),%eax
613: 83 c0 04 add $0x4,%eax
616: 89 45 e8 mov %eax,-0x18(%ebp)
for(i = 0; fmt[i]; i++){
619: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
620: e9 59 01 00 00 jmp 77e <printf+0x17b>
c = fmt[i] & 0xff;
625: 8b 55 0c mov 0xc(%ebp),%edx
628: 8b 45 f0 mov -0x10(%ebp),%eax
62b: 01 d0 add %edx,%eax
62d: 0f b6 00 movzbl (%eax),%eax
630: 0f be c0 movsbl %al,%eax
633: 25 ff 00 00 00 and $0xff,%eax
638: 89 45 e4 mov %eax,-0x1c(%ebp)
if(state == 0){
63b: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
63f: 75 2c jne 66d <printf+0x6a>
if(c == '%'){
641: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
645: 75 0c jne 653 <printf+0x50>
state = '%';
647: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp)
64e: e9 27 01 00 00 jmp 77a <printf+0x177>
} else {
putc(fd, c);
653: 8b 45 e4 mov -0x1c(%ebp),%eax
656: 0f be c0 movsbl %al,%eax
659: 83 ec 08 sub $0x8,%esp
65c: 50 push %eax
65d: ff 75 08 pushl 0x8(%ebp)
660: e8 c7 fe ff ff call 52c <putc>
665: 83 c4 10 add $0x10,%esp
668: e9 0d 01 00 00 jmp 77a <printf+0x177>
}
} else if(state == '%'){
66d: 83 7d ec 25 cmpl $0x25,-0x14(%ebp)
671: 0f 85 03 01 00 00 jne 77a <printf+0x177>
if(c == 'd'){
677: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp)
67b: 75 1e jne 69b <printf+0x98>
printint(fd, *ap, 10, 1);
67d: 8b 45 e8 mov -0x18(%ebp),%eax
680: 8b 00 mov (%eax),%eax
682: 6a 01 push $0x1
684: 6a 0a push $0xa
686: 50 push %eax
687: ff 75 08 pushl 0x8(%ebp)
68a: e8 c0 fe ff ff call 54f <printint>
68f: 83 c4 10 add $0x10,%esp
ap++;
692: 83 45 e8 04 addl $0x4,-0x18(%ebp)
696: e9 d8 00 00 00 jmp 773 <printf+0x170>
} else if(c == 'x' || c == 'p'){
69b: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp)
69f: 74 06 je 6a7 <printf+0xa4>
6a1: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp)
6a5: 75 1e jne 6c5 <printf+0xc2>
printint(fd, *ap, 16, 0);
6a7: 8b 45 e8 mov -0x18(%ebp),%eax
6aa: 8b 00 mov (%eax),%eax
6ac: 6a 00 push $0x0
6ae: 6a 10 push $0x10
6b0: 50 push %eax
6b1: ff 75 08 pushl 0x8(%ebp)
6b4: e8 96 fe ff ff call 54f <printint>
6b9: 83 c4 10 add $0x10,%esp
ap++;
6bc: 83 45 e8 04 addl $0x4,-0x18(%ebp)
6c0: e9 ae 00 00 00 jmp 773 <printf+0x170>
} else if(c == 's'){
6c5: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp)
6c9: 75 43 jne 70e <printf+0x10b>
s = (char*)*ap;
6cb: 8b 45 e8 mov -0x18(%ebp),%eax
6ce: 8b 00 mov (%eax),%eax
6d0: 89 45 f4 mov %eax,-0xc(%ebp)
ap++;
6d3: 83 45 e8 04 addl $0x4,-0x18(%ebp)
if(s == 0)
6d7: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
6db: 75 25 jne 702 <printf+0xff>
s = "(null)";
6dd: c7 45 f4 dc 09 00 00 movl $0x9dc,-0xc(%ebp)
while(*s != 0){
6e4: eb 1c jmp 702 <printf+0xff>
putc(fd, *s);
6e6: 8b 45 f4 mov -0xc(%ebp),%eax
6e9: 0f b6 00 movzbl (%eax),%eax
6ec: 0f be c0 movsbl %al,%eax
6ef: 83 ec 08 sub $0x8,%esp
6f2: 50 push %eax
6f3: ff 75 08 pushl 0x8(%ebp)
6f6: e8 31 fe ff ff call 52c <putc>
6fb: 83 c4 10 add $0x10,%esp
s++;
6fe: 83 45 f4 01 addl $0x1,-0xc(%ebp)
} else if(c == 's'){
s = (char*)*ap;
ap++;
if(s == 0)
s = "(null)";
while(*s != 0){
702: 8b 45 f4 mov -0xc(%ebp),%eax
705: 0f b6 00 movzbl (%eax),%eax
708: 84 c0 test %al,%al
70a: 75 da jne 6e6 <printf+0xe3>
70c: eb 65 jmp 773 <printf+0x170>
putc(fd, *s);
s++;
}
} else if(c == 'c'){
70e: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp)
712: 75 1d jne 731 <printf+0x12e>
putc(fd, *ap);
714: 8b 45 e8 mov -0x18(%ebp),%eax
717: 8b 00 mov (%eax),%eax
719: 0f be c0 movsbl %al,%eax
71c: 83 ec 08 sub $0x8,%esp
71f: 50 push %eax
720: ff 75 08 pushl 0x8(%ebp)
723: e8 04 fe ff ff call 52c <putc>
728: 83 c4 10 add $0x10,%esp
ap++;
72b: 83 45 e8 04 addl $0x4,-0x18(%ebp)
72f: eb 42 jmp 773 <printf+0x170>
} else if(c == '%'){
731: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
735: 75 17 jne 74e <printf+0x14b>
putc(fd, c);
737: 8b 45 e4 mov -0x1c(%ebp),%eax
73a: 0f be c0 movsbl %al,%eax
73d: 83 ec 08 sub $0x8,%esp
740: 50 push %eax
741: ff 75 08 pushl 0x8(%ebp)
744: e8 e3 fd ff ff call 52c <putc>
749: 83 c4 10 add $0x10,%esp
74c: eb 25 jmp 773 <printf+0x170>
} else {
// Unknown % sequence. Print it to draw attention.
putc(fd, '%');
74e: 83 ec 08 sub $0x8,%esp
751: 6a 25 push $0x25
753: ff 75 08 pushl 0x8(%ebp)
756: e8 d1 fd ff ff call 52c <putc>
75b: 83 c4 10 add $0x10,%esp
putc(fd, c);
75e: 8b 45 e4 mov -0x1c(%ebp),%eax
761: 0f be c0 movsbl %al,%eax
764: 83 ec 08 sub $0x8,%esp
767: 50 push %eax
768: ff 75 08 pushl 0x8(%ebp)
76b: e8 bc fd ff ff call 52c <putc>
770: 83 c4 10 add $0x10,%esp
}
state = 0;
773: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
int c, i, state;
uint *ap;
state = 0;
ap = (uint*)(void*)&fmt + 1;
for(i = 0; fmt[i]; i++){
77a: 83 45 f0 01 addl $0x1,-0x10(%ebp)
77e: 8b 55 0c mov 0xc(%ebp),%edx
781: 8b 45 f0 mov -0x10(%ebp),%eax
784: 01 d0 add %edx,%eax
786: 0f b6 00 movzbl (%eax),%eax
789: 84 c0 test %al,%al
78b: 0f 85 94 fe ff ff jne 625 <printf+0x22>
putc(fd, c);
}
state = 0;
}
}
}
791: 90 nop
792: c9 leave
793: c3 ret
00000794 <free>:
static Header base;
static Header *freep;
void
free(void *ap)
{
794: 55 push %ebp
795: 89 e5 mov %esp,%ebp
797: 83 ec 10 sub $0x10,%esp
Header *bp, *p;
bp = (Header*)ap - 1;
79a: 8b 45 08 mov 0x8(%ebp),%eax
79d: 83 e8 08 sub $0x8,%eax
7a0: 89 45 f8 mov %eax,-0x8(%ebp)
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
7a3: a1 68 0c 00 00 mov 0xc68,%eax
7a8: 89 45 fc mov %eax,-0x4(%ebp)
7ab: eb 24 jmp 7d1 <free+0x3d>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
7ad: 8b 45 fc mov -0x4(%ebp),%eax
7b0: 8b 00 mov (%eax),%eax
7b2: 3b 45 fc cmp -0x4(%ebp),%eax
7b5: 77 12 ja 7c9 <free+0x35>
7b7: 8b 45 f8 mov -0x8(%ebp),%eax
7ba: 3b 45 fc cmp -0x4(%ebp),%eax
7bd: 77 24 ja 7e3 <free+0x4f>
7bf: 8b 45 fc mov -0x4(%ebp),%eax
7c2: 8b 00 mov (%eax),%eax
7c4: 3b 45 f8 cmp -0x8(%ebp),%eax
7c7: 77 1a ja 7e3 <free+0x4f>
free(void *ap)
{
Header *bp, *p;
bp = (Header*)ap - 1;
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
7c9: 8b 45 fc mov -0x4(%ebp),%eax
7cc: 8b 00 mov (%eax),%eax
7ce: 89 45 fc mov %eax,-0x4(%ebp)
7d1: 8b 45 f8 mov -0x8(%ebp),%eax
7d4: 3b 45 fc cmp -0x4(%ebp),%eax
7d7: 76 d4 jbe 7ad <free+0x19>
7d9: 8b 45 fc mov -0x4(%ebp),%eax
7dc: 8b 00 mov (%eax),%eax
7de: 3b 45 f8 cmp -0x8(%ebp),%eax
7e1: 76 ca jbe 7ad <free+0x19>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
break;
if(bp + bp->s.size == p->s.ptr){
7e3: 8b 45 f8 mov -0x8(%ebp),%eax
7e6: 8b 40 04 mov 0x4(%eax),%eax
7e9: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx
7f0: 8b 45 f8 mov -0x8(%ebp),%eax
7f3: 01 c2 add %eax,%edx
7f5: 8b 45 fc mov -0x4(%ebp),%eax
7f8: 8b 00 mov (%eax),%eax
7fa: 39 c2 cmp %eax,%edx
7fc: 75 24 jne 822 <free+0x8e>
bp->s.size += p->s.ptr->s.size;
7fe: 8b 45 f8 mov -0x8(%ebp),%eax
801: 8b 50 04 mov 0x4(%eax),%edx
804: 8b 45 fc mov -0x4(%ebp),%eax
807: 8b 00 mov (%eax),%eax
809: 8b 40 04 mov 0x4(%eax),%eax
80c: 01 c2 add %eax,%edx
80e: 8b 45 f8 mov -0x8(%ebp),%eax
811: 89 50 04 mov %edx,0x4(%eax)
bp->s.ptr = p->s.ptr->s.ptr;
814: 8b 45 fc mov -0x4(%ebp),%eax
817: 8b 00 mov (%eax),%eax
819: 8b 10 mov (%eax),%edx
81b: 8b 45 f8 mov -0x8(%ebp),%eax
81e: 89 10 mov %edx,(%eax)
820: eb 0a jmp 82c <free+0x98>
} else
bp->s.ptr = p->s.ptr;
822: 8b 45 fc mov -0x4(%ebp),%eax
825: 8b 10 mov (%eax),%edx
827: 8b 45 f8 mov -0x8(%ebp),%eax
82a: 89 10 mov %edx,(%eax)
if(p + p->s.size == bp){
82c: 8b 45 fc mov -0x4(%ebp),%eax
82f: 8b 40 04 mov 0x4(%eax),%eax
832: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx
839: 8b 45 fc mov -0x4(%ebp),%eax
83c: 01 d0 add %edx,%eax
83e: 3b 45 f8 cmp -0x8(%ebp),%eax
841: 75 20 jne 863 <free+0xcf>
p->s.size += bp->s.size;
843: 8b 45 fc mov -0x4(%ebp),%eax
846: 8b 50 04 mov 0x4(%eax),%edx
849: 8b 45 f8 mov -0x8(%ebp),%eax
84c: 8b 40 04 mov 0x4(%eax),%eax
84f: 01 c2 add %eax,%edx
851: 8b 45 fc mov -0x4(%ebp),%eax
854: 89 50 04 mov %edx,0x4(%eax)
p->s.ptr = bp->s.ptr;
857: 8b 45 f8 mov -0x8(%ebp),%eax
85a: 8b 10 mov (%eax),%edx
85c: 8b 45 fc mov -0x4(%ebp),%eax
85f: 89 10 mov %edx,(%eax)
861: eb 08 jmp 86b <free+0xd7>
} else
p->s.ptr = bp;
863: 8b 45 fc mov -0x4(%ebp),%eax
866: 8b 55 f8 mov -0x8(%ebp),%edx
869: 89 10 mov %edx,(%eax)
freep = p;
86b: 8b 45 fc mov -0x4(%ebp),%eax
86e: a3 68 0c 00 00 mov %eax,0xc68
}
873: 90 nop
874: c9 leave
875: c3 ret
00000876 <morecore>:
static Header*
morecore(uint nu)
{
876: 55 push %ebp
877: 89 e5 mov %esp,%ebp
879: 83 ec 18 sub $0x18,%esp
char *p;
Header *hp;
if(nu < 4096)
87c: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp)
883: 77 07 ja 88c <morecore+0x16>
nu = 4096;
885: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp)
p = sbrk(nu * sizeof(Header));
88c: 8b 45 08 mov 0x8(%ebp),%eax
88f: c1 e0 03 shl $0x3,%eax
892: 83 ec 0c sub $0xc,%esp
895: 50 push %eax
896: e8 69 fc ff ff call 504 <sbrk>
89b: 83 c4 10 add $0x10,%esp
89e: 89 45 f4 mov %eax,-0xc(%ebp)
if(p == (char*)-1)
8a1: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp)
8a5: 75 07 jne 8ae <morecore+0x38>
return 0;
8a7: b8 00 00 00 00 mov $0x0,%eax
8ac: eb 26 jmp 8d4 <morecore+0x5e>
hp = (Header*)p;
8ae: 8b 45 f4 mov -0xc(%ebp),%eax
8b1: 89 45 f0 mov %eax,-0x10(%ebp)
hp->s.size = nu;
8b4: 8b 45 f0 mov -0x10(%ebp),%eax
8b7: 8b 55 08 mov 0x8(%ebp),%edx
8ba: 89 50 04 mov %edx,0x4(%eax)
free((void*)(hp + 1));
8bd: 8b 45 f0 mov -0x10(%ebp),%eax
8c0: 83 c0 08 add $0x8,%eax
8c3: 83 ec 0c sub $0xc,%esp
8c6: 50 push %eax
8c7: e8 c8 fe ff ff call 794 <free>
8cc: 83 c4 10 add $0x10,%esp
return freep;
8cf: a1 68 0c 00 00 mov 0xc68,%eax
}
8d4: c9 leave
8d5: c3 ret
000008d6 <malloc>:
void*
malloc(uint nbytes)
{
8d6: 55 push %ebp
8d7: 89 e5 mov %esp,%ebp
8d9: 83 ec 18 sub $0x18,%esp
Header *p, *prevp;
uint nunits;
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
8dc: 8b 45 08 mov 0x8(%ebp),%eax
8df: 83 c0 07 add $0x7,%eax
8e2: c1 e8 03 shr $0x3,%eax
8e5: 83 c0 01 add $0x1,%eax
8e8: 89 45 ec mov %eax,-0x14(%ebp)
if((prevp = freep) == 0){
8eb: a1 68 0c 00 00 mov 0xc68,%eax
8f0: 89 45 f0 mov %eax,-0x10(%ebp)
8f3: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
8f7: 75 23 jne 91c <malloc+0x46>
base.s.ptr = freep = prevp = &base;
8f9: c7 45 f0 60 0c 00 00 movl $0xc60,-0x10(%ebp)
900: 8b 45 f0 mov -0x10(%ebp),%eax
903: a3 68 0c 00 00 mov %eax,0xc68
908: a1 68 0c 00 00 mov 0xc68,%eax
90d: a3 60 0c 00 00 mov %eax,0xc60
base.s.size = 0;
912: c7 05 64 0c 00 00 00 movl $0x0,0xc64
919: 00 00 00
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
91c: 8b 45 f0 mov -0x10(%ebp),%eax
91f: 8b 00 mov (%eax),%eax
921: 89 45 f4 mov %eax,-0xc(%ebp)
if(p->s.size >= nunits){
924: 8b 45 f4 mov -0xc(%ebp),%eax
927: 8b 40 04 mov 0x4(%eax),%eax
92a: 3b 45 ec cmp -0x14(%ebp),%eax
92d: 72 4d jb 97c <malloc+0xa6>
if(p->s.size == nunits)
92f: 8b 45 f4 mov -0xc(%ebp),%eax
932: 8b 40 04 mov 0x4(%eax),%eax
935: 3b 45 ec cmp -0x14(%ebp),%eax
938: 75 0c jne 946 <malloc+0x70>
prevp->s.ptr = p->s.ptr;
93a: 8b 45 f4 mov -0xc(%ebp),%eax
93d: 8b 10 mov (%eax),%edx
93f: 8b 45 f0 mov -0x10(%ebp),%eax
942: 89 10 mov %edx,(%eax)
944: eb 26 jmp 96c <malloc+0x96>
else {
p->s.size -= nunits;
946: 8b 45 f4 mov -0xc(%ebp),%eax
949: 8b 40 04 mov 0x4(%eax),%eax
94c: 2b 45 ec sub -0x14(%ebp),%eax
94f: 89 c2 mov %eax,%edx
951: 8b 45 f4 mov -0xc(%ebp),%eax
954: 89 50 04 mov %edx,0x4(%eax)
p += p->s.size;
957: 8b 45 f4 mov -0xc(%ebp),%eax
95a: 8b 40 04 mov 0x4(%eax),%eax
95d: c1 e0 03 shl $0x3,%eax
960: 01 45 f4 add %eax,-0xc(%ebp)
p->s.size = nunits;
963: 8b 45 f4 mov -0xc(%ebp),%eax
966: 8b 55 ec mov -0x14(%ebp),%edx
969: 89 50 04 mov %edx,0x4(%eax)
}
freep = prevp;
96c: 8b 45 f0 mov -0x10(%ebp),%eax
96f: a3 68 0c 00 00 mov %eax,0xc68
return (void*)(p + 1);
974: 8b 45 f4 mov -0xc(%ebp),%eax
977: 83 c0 08 add $0x8,%eax
97a: eb 3b jmp 9b7 <malloc+0xe1>
}
if(p == freep)
97c: a1 68 0c 00 00 mov 0xc68,%eax
981: 39 45 f4 cmp %eax,-0xc(%ebp)
984: 75 1e jne 9a4 <malloc+0xce>
if((p = morecore(nunits)) == 0)
986: 83 ec 0c sub $0xc,%esp
989: ff 75 ec pushl -0x14(%ebp)
98c: e8 e5 fe ff ff call 876 <morecore>
991: 83 c4 10 add $0x10,%esp
994: 89 45 f4 mov %eax,-0xc(%ebp)
997: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
99b: 75 07 jne 9a4 <malloc+0xce>
return 0;
99d: b8 00 00 00 00 mov $0x0,%eax
9a2: eb 13 jmp 9b7 <malloc+0xe1>
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
if((prevp = freep) == 0){
base.s.ptr = freep = prevp = &base;
base.s.size = 0;
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
9a4: 8b 45 f4 mov -0xc(%ebp),%eax
9a7: 89 45 f0 mov %eax,-0x10(%ebp)
9aa: 8b 45 f4 mov -0xc(%ebp),%eax
9ad: 8b 00 mov (%eax),%eax
9af: 89 45 f4 mov %eax,-0xc(%ebp)
return (void*)(p + 1);
}
if(p == freep)
if((p = morecore(nunits)) == 0)
return 0;
}
9b2: e9 6d ff ff ff jmp 924 <malloc+0x4e>
}
9b7: c9 leave
9b8: c3 ret
| 34.731396 | 60 | 0.423071 |
3544652bab713ee22e111bff47a80723dc946134 | 866 | asm | Assembly | programs/oeis/220/A220848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/220/A220848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/220/A220848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A220848: a(n) = sum_(d|n) product_(d_x|n, d_x<=d) d_x.
; 1,3,4,11,6,45,8,75,31,113,12,1905,14,213,244,1099,18,6201,20,8451,466,509,24,346929,131,705,760,22803,30,839019,32,33867,1126,1193,1266,10374657,38,1485,1564,2627571,42,3189609,44,87219,93304,2165,48,260348721,351,127613,2656,143427,54,8666721,3086,10016899,3310,3425,60,47460910473,62,3909,254230,2131019,4296,19271385,68,319203,4834,24363583,72,141305110449,74,5553,427744,444915,6014,37502289,80,3318838771,59809,6809,84,355583464161,7316,7485,7660,60667275,90,537481755039,8380,787347,8746,8933,9126,791086930737,98,951009,980428,1010208451
add $0,1
mov $2,$0
lpb $0
mov $3,$2
lpb $2,2
mov $26,$0
cmp $26,0
add $0,$26
dif $3,$0
cmp $3,$2
cmp $3,0
lpb $3
div $3,33
add $5,10
mul $5,$0
lpe
lpe
sub $0,1
lpe
mov $1,$5
div $1,10
add $1,1
mov $0,$1
| 32.074074 | 546 | 0.683603 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.