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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2f32d4df35e8a913b757cdb5264bc3767366e12a | 1,308 | asm | Assembly | Appl/FileMgrs2/CommonDesktop/CShObj/cshobjManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/FileMgrs2/CommonDesktop/CShObj/cshobjManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/FileMgrs2/CommonDesktop/CShObj/cshobjManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: CommonDesktop/CDeskVis
FILE: cshobjManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
chrisb 11/92 Initial version
DESCRIPTION:
$Id: cshobjManager.asm,v 1.1 97/04/04 15:03:19 newdeal Exp $
------------------------------------------------------------------------------@
;-----------------------------------------------------------------------------
; Include common definitions
;-----------------------------------------------------------------------------
include cdesktopGeode.def
;-----------------------------------------------------------------------------
; Include definitions for this module
;-----------------------------------------------------------------------------
include cshobjConstant.def
include cshobjVariable.def
;-----------------------------------------------------------------------------
; Include code
;-----------------------------------------------------------------------------
ShellObjectCode segment resource
include cshobjMoveCopy.asm
include cshobjDelete.asm
include cshobjUtils.asm
include cshobjReceive.asm
ShellObjectCode ends
| 29.066667 | 80 | 0.377676 |
18ad26f8b552cc33319a96dfdce6b801276bc182 | 257 | asm | Assembly | List 03/ex01 d.asm | LeonardoSanBenitez/Assembly-exercises | 0f8e7f316d7e0171e28aae1b1dc0b056b123cd92 | [
"MIT"
] | null | null | null | List 03/ex01 d.asm | LeonardoSanBenitez/Assembly-exercises | 0f8e7f316d7e0171e28aae1b1dc0b056b123cd92 | [
"MIT"
] | null | null | null | List 03/ex01 d.asm | LeonardoSanBenitez/Assembly-exercises | 0f8e7f316d7e0171e28aae1b1dc0b056b123cd92 | [
"MIT"
] | null | null | null | q = 10;
while ( q ) {
a += a * q ;
q - -;
}
// # Mapeamento de registradores
// # a -> $t0 e q -> $t1
li $t1, 10
while: ble $t1, DONE
mul $t2, $t0, $t1
add $t0, $t0, $t2
addi $t1, $t1, -1
j while
DONE:
| 15.117647 | 32 | 0.396887 |
650e6575e0350afbcf22fa3a4a327a58c0927808 | 626 | asm | Assembly | oeis/089/A089034.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/089/A089034.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/089/A089034.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A089034: a(n) = (prime(n)^4 - 1) / 240.
; Submitted by Jon Maiga
; 10,61,119,348,543,1166,2947,3848,7809,11774,14245,20332,32877,50489,57691,83963,105882,118326,162292,197743,261426,368872,433585,468962,546165,588159,679364,1083936,1227083,1467814,1555421,2053685,2166190,2531555,2941299,3240818,3732271,4277607,4472013,5545264,5781200,6275577,6534330,8258831,10304056,11063491,11458577,12280398,13595036,14055844,16538025,18176960,19934794,21817143,22473252,24530581,25978498,26726033,30708545,37011975,38978966,39991354,42075163,50015053,53741324,60409697,61814515
add $0,2
seq $0,65091 ; Odd primes.
pow $0,4
div $0,240
| 69.555556 | 501 | 0.809904 |
d3fdc308123db16350a2ac609488222cf2559e2f | 18,979 | asm | Assembly | base/boot/lib/i386/wakea.asm | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | base/boot/lib/i386/wakea.asm | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | base/boot/lib/i386/wakea.asm | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | ;++
;
;Copyright (c) 1997 Microsoft Corporation
;
;Module Name:
;
; wakea.asm
;
;Abstract:
;
;
;Author:
;
; Ken Reneris (kenr) 05-May-1997
;
;Revision History:
;
; Steve Deng (sdeng) 20-Aug-2002
;
; Support hibernation in PAE mode. It is assumed that all the
; physical pages are below 4GB. Otherwise hibernation feature
; should be disabled.
;--
.586p
.xlist
include ks386.inc
include callconv.inc ; calling convention macros
.list
extrn _HiberPtes:DWORD
extrn _HiberVa:DWORD
extrn _HiberFirstRemap:DWORD
extrn _HiberLastRemap:DWORD
extrn _HiberPageFrames:DWORD
extrn _HiberTransVa:DWORD
extrn _HiberIdentityVa:DWORD
extrn _HiberImageFeatureFlags:DWORD
extrn _HiberBreakOnWake:BYTE
extrn _HiberImagePageSelf:DWORD
extrn _BlUsePae:DWORD
extrn _HiberNoExecute:DWORD
EXTRNP _BlpEnablePAE,1
DBGOUT macro Value
; push edx
; push eax
; mov edx, 80h
; mov al, Value
; out dx, al
; pop eax
; pop edx
endm
; These equates must match the defines in po.h
XPRESS_MAX_PAGES equ 16
;
; These equates must match the defines in bldr.h
;
PTE_SOURCE equ 0
PTE_DEST equ 1
PTE_MAP_PAGE equ 2
PTE_REMAP_PAGE equ 3
PTE_HIBER_CONTEXT equ 4
PTE_TRANSFER_PDE equ 5
PTE_WAKE_PTE equ 6
PTE_DISPATCHER_START equ 7
PTE_XPRESS_DEST_FIRST equ 9
PTE_XPRESS_DEST_LAST equ (PTE_XPRESS_DEST_FIRST + XPRESS_MAX_PAGES)
HIBER_PTES equ (16 + XPRESS_MAX_PAGES)
;
; Processor paging defines
;
PAGE_SIZE equ 4096
PAGE_SHIFT equ 12
PAGE_MASK equ (PAGE_SIZE - 1)
PTE_VALID equ 23h
PDPT_SHIFT_PAE equ 30
PDE_SHIFT_PAE equ 21
PTE_SHIFT_PAE equ 12
PDE_INDEX_MASK_PAE equ 1ffh
PTE_INDEX_MASK_PAE equ 1ffh
PDE_SHIFT equ 22
PTE_SHIFT equ 12
PTE_INDEX_MASK equ 3ffh
;
; Internal defines and structures
;
STACK_SIZE equ 1024
HbGdt struc
Limit dw ?
Base dd ?
Pad dw ?
HbGdt ends
HbContextBlock struc
WakeContext db processorstatelength dup (?)
OldEsp dd ?
PteVa dd ?
TransCr3 dd ?
TransPteVa dd ?
WakeHiberVa dd ?
Buffer dd ?
MapIndex dd ?
LastMapIndex dd ?
FeatureFlags dd ?
BlUsePae dd ?
NoExecute dd ?
Gdt db size HbGdt dup (?)
Stack db STACK_SIZE dup (?)
BufferData db ? ; buffer starts here
HbContextBlock ends
;
; Addresses based from ebp
;
SourcePage equ [ebp + PAGE_SIZE * PTE_SOURCE]
DestPage equ [ebp + PAGE_SIZE * PTE_DEST]
Map equ [ebp + PAGE_SIZE * PTE_MAP_PAGE]
Remap equ [ebp + PAGE_SIZE * PTE_REMAP_PAGE]
Context equ [ebp + PAGE_SIZE * PTE_HIBER_CONTEXT].HbContextBlock
_TEXT SEGMENT PARA PUBLIC 'CODE' ; Start 32 bit code
ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING
;++
;
; VOID
; WakeDispatch (
; )
;
; Routine Description:
;
; Relocatable code which copies any remap page to it's final resting
; place and then restores the processors wake context.
;
; Arguments:
;
; Return
;
; Only returns if there's an internal failure
;
;--
cPublicProc _WakeDispatcher, 0
public _WakeDispatcherStart
_WakeDispatcherStart label dword
push ebp
push ebx
push esi
push edi
;
; Load EBP with base of hiber va. Everything will be relative from EBP
;
mov ebp, _HiberVa
;
; Initialize HbContextBlock
;
mov eax, _HiberFirstRemap
mov ecx, _HiberLastRemap
lea edx, Context.BufferData
mov esi, _HiberPtes
mov Context.MapIndex, eax
mov Context.LastMapIndex, ecx
mov Context.OldEsp, esp
mov Context.Buffer, edx
mov Context.PteVa, esi
mov eax, _HiberPageFrames [PTE_TRANSFER_PDE * 4]
mov ecx, _HiberTransVa
mov edx, _HiberIdentityVa
mov esi, _BlUsePae
mov Context.TransCr3, eax
mov Context.TransPteVa, ecx
mov Context.WakeHiberVa, edx
mov Context.BlUsePae, esi
mov eax, _HiberImageFeatureFlags
mov ecx, _HiberNoExecute
mov Context.FeatureFlags, eax
mov Context.NoExecute, ecx
DBGOUT 1
;
; Copy gdt to shared buffer and switch to it
;
sgdt fword ptr Context.Gdt
movzx ecx, Context.Gdt.Limit
inc ecx
push ecx
call AllocateHeap
pop ecx
mov edi, eax
mov esi, Context.Gdt.Base
rep movsb
mov Context.Gdt.Base, eax
lgdt fword ptr Context.Gdt
sub eax, ebp
add eax, Context.WakeHiberVa
mov Context.Gdt.Base, eax
;
; Locate hiber ptes in hibernated image. First get the PDE, then find
; the PTE for the hiber ptes.
;
mov eax, dword ptr Context.WakeContext.PsSpecialRegisters.SrCr3
shr eax, PAGE_SHIFT
call LocatePage
push eax
push PTE_SOURCE
call SetPte
cmp Context.BlUsePae, 0 ; check if it is to restore to PAE mode
jnz short @f ;
mov ecx, Context.WakeHiberVa
shr ecx, PDE_SHIFT ; (ecx) = index into PDE
mov eax, [eax+ecx*4] ; (eax) = PDE for WakeHiberVa PTE
shr eax, PAGE_SHIFT
call LocatePage
push eax
push PTE_SOURCE
call SetPte
mov ecx, Context.WakeHiberVa
shr ecx, PTE_SHIFT
and ecx, PTE_INDEX_MASK ; (ecx) = index into PTE
lea edi, [eax+ecx*4] ; (edi) = address of WakeHiber PTEs
jmp short hd02
@@: mov ecx, dword ptr Context.WakeContext.PsSpecialRegisters.SrCr3
and ecx, 0fe0h ; (ecx) = offset to page boundary
; note in PAE mode Cr3 is aligned
; to 32-byte, not page, boundary
add eax, ecx ; (eax) = base address of PDPT
mov ecx, Context.WakeHiberVa
shr ecx, PDPT_SHIFT_PAE ; (ecx) = index into PDPT
mov eax, [eax+ecx*8] ; (eax) = PDPT entry for WakeHiberVa PDE
shr eax, PAGE_SHIFT ; (eax) = page frame number
call LocatePage ; locate the page described by (eax)
push eax ; (eax) = page number located
push PTE_SOURCE
call SetPte ; map this page
mov ecx, Context.WakeHiberVa
shr ecx, PDE_SHIFT_PAE
and ecx, PDE_INDEX_MASK_PAE ; (ecx) = index into PDE
mov eax, [eax+ecx*8] ; (eax) = PDE for WakeHiberVa PTE
shr eax, PAGE_SHIFT ; (eax) = page frame number
call LocatePage ; locate the page described by (eax)
push eax ; (eax) = page number located
push PTE_SOURCE
call SetPte ; map this page
mov ecx, Context.WakeHiberVa
shr ecx, PTE_SHIFT_PAE
and ecx, PTE_INDEX_MASK_PAE ; (ecx) = index into PTE
lea edi, [eax+ecx*8] ; (edi) = address of WakeHiber PTEs
;
; Copy the current HiberPtes to the wake image Ptes
;
hd02: mov esi, Context.PteVa
mov ecx, HIBER_PTES
xor eax, eax
cmp Context.BlUsePae, 0 ; check if OS was in PAE mode
jnz short @f
rep movsd
jmp short hd04
@@: movsd ; translate 32bit pte to PAE pte
stosd ; assuming memory size is <= 4GB
loopnz @b ; so that the high dword of PAE
; pte is set to 0
;
; If break on wake, set the image header signature in destionation
;
hd04: cmp _HiberBreakOnWake, 0
jz short hd05
mov eax, _HiberImagePageSelf
call LocatePage
push eax
push PTE_DEST
call SetPte
mov dword ptr [eax], 706B7262h ; 'brkp'
;
; Switch to transition CR3
;
hd05:
DBGOUT 2
mov ebx, Context.WakeHiberVa
mov eax, Context.TransCr3
shl eax, PAGE_SHIFT
cmp _BlUsePae, 1 ; check if OS was in PAE mode
jnz short @f
lea esp, Context.Stack + STACK_SIZE ; move stack to safe place
push eax ; (eax) = the physical address of PDPT
mov eax, _BlpEnablePAE@4
call dword ptr eax ; switch to PAE mode
cmp Context.NoExecute, 1 ; check if no-execute was enabled
jnz short hd08 ; if not do nothing
mov ecx, 0c0000080h ; (ecx) = address of EFER
rdmsr ; read EFER
or eax, 800h ; set NXE bit of EFER
wrmsr ; write EFER
jmp hd08
@@: mov cr3, eax ; switch to transition Cr3 in non PAE case
;
; Move to wake images hiber va
;
hd08: mov edi, ebx
add ebx, PTE_DISPATCHER_START * PAGE_SIZE
add ebx, offset hd10 - offset _WakeDispatcherStart
jmp ebx
hd10: mov ebp, edi
mov eax, Context.TransPteVa
mov Context.PteVa, eax
lea esp, Context.Stack + STACK_SIZE
lgdt fword ptr Context.Gdt
;
; Copy all pages to final locations
;
DBGOUT 3
lea ebx, [ebp + PTE_DISPATCHER_START * PAGE_SIZE]
cmp Context.BlUsePae, 0
jnz hd20
add ebx, offset SetPte - offset _WakeDispatcherStart
jmp hd25
hd20: add ebx, offset SetPtePAE - offset _WakeDispatcherStart
hd25: mov edx, Context.MapIndex
hd30: cmp edx, Context.LastMapIndex
jnc short hd40
push dword ptr Map.[edx*4]
push PTE_SOURCE
call ebx
mov esi, eax
push dword ptr Remap.[edx*4]
push PTE_DEST
call ebx
mov edi, eax
mov ecx, PAGE_SIZE / 4
rep movsd
inc edx
jmp short hd30
;
; Restore processors wake context
;
hd40: DBGOUT 5
lea esi, Context.WakeContext.PsSpecialRegisters
mov eax, cr3 ; issue a couple of flushes
mov cr3, eax ; before enabling global ptes
mov cr3, eax
mov eax, [esi].SrCr4
test Context.FeatureFlags, KF_CR4
jz short hd50
mov cr4, eax
hd50: mov eax, [esi].SrCr3
mov cr3, eax
mov ecx, [esi].SrCr0
mov cr0, ecx ; on kernel's cr0
DBGOUT 6
mov ecx, [esi].SrGdtr+2 ; base of GDT
lgdt fword ptr [esi].SrGdtr ; load gdtr (w/matching flat cs & ds selectors)
lidt fword ptr [esi].SrIdtr ; load idtr
lldt word ptr [esi].SrLdtr ; load ldtr
movzx eax, word ptr [esi].SrTr ; tss selector
and byte ptr [eax+ecx+5], 0fdh ; clear the busy bit in the TSS
ltr ax ; load tr
mov ds, word ptr Context.WakeContext.PsContextFrame.CsSegDs
mov es, word ptr Context.WakeContext.PsContextFrame.CsSegEs
mov fs, word ptr Context.WakeContext.PsContextFrame.CsSegFs
mov gs, word ptr Context.WakeContext.PsContextFrame.CsSegGs
mov ss, word ptr Context.WakeContext.PsContextFrame.CsSegSs
mov ebx, dword ptr Context.WakeContext.PsContextFrame.CsEbx
mov ecx, dword ptr Context.WakeContext.PsContextFrame.CsEcx
mov edx, dword ptr Context.WakeContext.PsContextFrame.CsEdx
mov edi, dword ptr Context.WakeContext.PsContextFrame.CsEdi
mov esp, dword ptr Context.WakeContext.PsContextFrame.CsEsp
push dword ptr Context.WakeContext.PsContextFrame.CsEFlags
movzx eax, word ptr Context.WakeContext.PsContextFrame.CsSegCs
push eax
push dword ptr Context.WakeContext.PsContextFrame.CsEip
push dword ptr Context.WakeContext.PsContextFrame.CsEbp
push dword ptr Context.WakeContext.PsContextFrame.CsEsi
push dword ptr Context.WakeContext.PsContextFrame.CsEax
lea esi, Context.WakeContext.PsSpecialRegisters.SrKernelDr0
lodsd
mov dr0, eax ; load dr0-dr7
lodsd
mov dr1, eax
lodsd
mov dr2, eax
lodsd
mov dr3, eax
lodsd
mov dr6, eax
lodsd
mov dr7, eax
DBGOUT 7
pop eax
pop esi
pop ebp
iretd
; this exit is only used in the shared buffer overflows
Abort:
mov esp, Context.OldEsp
pop edi
pop esi
pop ebx
pop ebp
stdRET _WakeDispatcher
;++
;
; PUCHAR
; AllocateHeap (
; IN ULONG Length passed in ECX
; )
;
; Routine Description:
;
; Allocates the specified bytes from the wake context page.
;
; N.B. This function is part of HiberDispacther.
;
; Arguments:
; ECX - Length to allocate
;
; Returns:
; EAX - Virtual address of bytes allocated
;
; Uses:
; EAX, ECX, EDX
;
;--
AllocateHeap label proc
mov eax, Context.Buffer
mov edx, eax
test eax, 01fh ; round to 32 byte boundry
jz short ah20
and eax, not 01fh
add eax, 20h
ah20: add ecx, eax
mov Context.Buffer, ecx
xor ecx, edx
and ecx, 0ffffffffh - PAGE_MASK
jnz short Abort
ret
;++
;
; PUCHAR
; SetPte (
; IN ULONG PteIndex
; IN ULONG PageFrameNumber
; )
;
; Routine Description:
;
;
; N.B. This function is part of HiberDispacther.
;
; Arguments:
;
;
; Returns:
; EAX va of mapped pte
;
; Uses:
; EAX, ECX
;
;--
SetPte label proc
push ecx
mov eax, [esp+8] ; (eax) = pte index
shl eax, 2 ; * 4
add eax, Context.PteVa ; + pte base
mov ecx, [esp+12] ; (ecx) = page frame number
shl ecx, PAGE_SHIFT
or ecx, PTE_VALID
mov [eax], ecx ; set the Pte
mov eax, [esp+8]
shl eax, PAGE_SHIFT
add eax, ebp ; (eax) = va mapped by pte
invlpg [eax]
pop ecx
ret 8
;++
;
; PUCHAR
; SetPtePAE (
; IN ULONG PteIndex
; IN ULONG PageFrameNumber
; )
;
; Routine Description:
;
; This function maps a physical page into PAE mapping structure. The
; mapping is done on a supplied pte entry.
;
; N.B. This function is part of HiberDispacther.
;
; Arguments:
;
; PteIndex - Specify a PTE in HiberPtes list
;
; PageFrameNumber - the page frame number of the page to be mapped
;
; Returns:
;
; EAX - va of mapped pte
;
; Uses:
;
; EAX, ECX
;
;--
SetPtePAE label proc
push ecx
mov eax, [esp+8] ; (eax) = pte index
shl eax, 3 ; * 8
add eax, Context.PteVa ; + pte base
mov ecx, [esp+12] ; (ecx) = page frame number
shl ecx, PAGE_SHIFT
or ecx, PTE_VALID
mov [eax], ecx ; set the low dword of PAE Pte
mov dword ptr [eax+4], 0 ; assuming the high dword is always 0
mov eax, [esp+8] ; (eax) = pte index
shl eax, PAGE_SHIFT
add eax, ebp ; (eax) = va mapped by pte
invlpg [eax]
pop ecx
ret 8
;++
;
; ULONG
; LocatePage (
; IN ULONG PageNumber passed in eax
; )
;
; Routine Description:
;
; Find the page specified by page number in the wake context.
; The pagenumber must be a valid page.
;
; N.B. This function is part of HiberDispacther.
;
; Arguments:
;
; EAX - Page frame number of the page we try to locate.
;
; Returns:
;
; EAX - Page frame number of the page which is holding the content
; of the page of interest. This number could be different from
; the incomming page number if the requested page is in the
; remap list.
;
; Uses:
;
; EAX, EDX
;
;--
LocatePage label proc
;
; Scan the remap entries for this page. If it's found, get the
; source address. If it's not found, then it's already at it's
; proper address
;
mov edx, Context.MapIndex
dec edx
lp10: inc edx
cmp edx, Context.LastMapIndex
jnc short lp20
cmp eax, Remap.[edx*4]
jnz short lp10
mov eax, Map.[edx*4]
lp20: ret
public _WakeDispatcherEnd
_WakeDispatcherEnd label dword
stdENDP _WakeDispatcher
_TEXT ends
end
| 27.992625 | 92 | 0.507139 |
50511e24f7869829b21a0cd6ee25cd3a2cd1f88a | 364 | asm | Assembly | programs/oeis/186/A186685.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/186/A186685.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/186/A186685.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A186685: Total number of n-digit numbers requiring 19 positive biquadrates in their representation as sum of biquadrates.
; 0,1,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $13,$0
mul $13,2
bin $13,2
mov $2,$13
clr $4,$2
mov $1,$13
| 36.4 | 175 | 0.615385 |
9800d33afe79d96aef27f6df1e8462b4c413d772 | 594 | asm | Assembly | software/profi/net-tools/src/pqdos/browser/gopher/engine/fetcher.asm | andykarpov/karabas-pro | 11d897e51a7a66fddcdfb97fc7b785ca535d48dd | [
"MIT"
] | 26 | 2020-07-25T15:00:32.000Z | 2022-03-22T19:30:04.000Z | software/profi/net-tools/src/pqdos/browser/gopher/engine/fetcher.asm | zxrepo/andykarpov.karabas-pro | ab84aa2c95c206b2384d99054eb23cbe6aeec56b | [
"MIT"
] | 42 | 2020-07-29T14:29:18.000Z | 2022-03-22T11:34:28.000Z | software/profi/net-tools/src/pqdos/browser/gopher/engine/fetcher.asm | zxrepo/andykarpov.karabas-pro | ab84aa2c95c206b2384d99054eb23cbe6aeec56b | [
"MIT"
] | 7 | 2020-09-07T14:21:31.000Z | 2022-01-24T17:18:56.000Z | MODULE Fetcher
fetchFromNet:
call Gopher.makeRequest : jr c, .error
call Gopher.loadBuffer
jp MediaProcessor.processResource
.error
ld hl, .err : call DialogBox.msgBox
jp History.back
.err db "Document fetch error! Check your connection or hostname!", 0
fetchFromFS:
call UrlEncoder.extractPath
loadFile
ld de, nameBuffer, a, FMODE_NO_WRITE
call Dos.fopen
ld a, b, (.fp), a
ld de, outputBuffer, hl, #c000 - outputBuffer
call Dos.fread
ld a, (.fp), b, a
call Dos.fclose
jp MediaProcessor.processResource
.fp db 0
ENDMODULE | 22.846154 | 69 | 0.681818 |
bca90cd7612f857b3969c1fa947e865c994ce685 | 359 | asm | Assembly | libsrc/_DEVELOPMENT/l/z80/long/l_long_add_mhl_bc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/l/z80/long/l_long_add_mhl_bc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/l/z80/long/l_long_add_mhl_bc.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
PUBLIC l_long_add_mhl_bc
EXTERN l0_long_inc_mhl
l_long_add_mhl_bc:
; add bc to long pointed at by hl
;
; enter : hl = unsigned long *
; bc = unsigned int
;
; exit : *hl += bc
;
; uses : af, hl
ld a,(hl)
add a,c
ld (hl),a
inc hl
ld a,(hl)
adc a,b
ld (hl),a
ret nc
jp l0_long_inc_mhl
| 12.821429 | 36 | 0.529248 |
ece098095687e748305335b44282867cd9032464 | 498 | asm | Assembly | programs/oeis/104/A104879.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/104/A104879.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/104/A104879.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A104879: Row sums of a sum-of-powers triangle.
; 1,2,4,8,17,40,106,316,1049,3830,15208,65072,297841,1449756,7468542,40555748,231335961,1381989882,8623700812,56078446616,379233142801,2662013133296,19362917622002,145719550012300,1133023004941273,9090156910550110,75161929739797520
mov $14,$0
mov $16,$0
add $16,1
lpb $16,1
clr $0,14
mov $0,$14
sub $16,1
sub $0,$16
lpb $0,1
sub $0,1
mov $2,$0
add $6,1
pow $2,$6
add $1,$2
lpe
add $1,1
add $15,$1
lpe
mov $1,$15
| 21.652174 | 231 | 0.682731 |
e2c0f6bcb2c0da8401616a2c0513d8e885f46ed3 | 474 | asm | Assembly | Documentation/Tut32/add_func.asm | geoffthorpe/ant-architecture | d85952e3050c352d5d715d9749171a335e6768f7 | [
"BSD-3-Clause"
] | null | null | null | Documentation/Tut32/add_func.asm | geoffthorpe/ant-architecture | d85952e3050c352d5d715d9749171a335e6768f7 | [
"BSD-3-Clause"
] | null | null | null | Documentation/Tut32/add_func.asm | geoffthorpe/ant-architecture | d85952e3050c352d5d715d9749171a335e6768f7 | [
"BSD-3-Clause"
] | 1 | 2020-07-15T04:09:05.000Z | 2020-07-15T04:09:05.000Z | # add_func.asm
# An Ant-32 function to compute the sum of two numbers.
main:
# Set up the stack and frame pointers. (This is usually done
# by the executive, but this is included here in order to make
# this example stand-alone.)
lc sp, 0x80002000
lc fp, 0x80002000
lc g1, 0x20
lc g2, 0x30
push g1
push g2
call $add
pop ze
pop ze
halt
#
add:
entry 0
ld4 g3, fp, 8 # g3 gets a copy of B
ld4 g4, fp, 12 # g4 gets a copy of A
add g0, g3, g4
return g0
| 15.290323 | 63 | 0.675105 |
f8978074255785cd0e3d638f95dc1681ddb7d806 | 4,234 | nasm | Assembly | repl/libmarkab/vm/math.nasm | samblenny/markab-lab | a18108bdf96e820f078c6e86d1068d21d66d6964 | [
"MIT"
] | null | null | null | repl/libmarkab/vm/math.nasm | samblenny/markab-lab | a18108bdf96e820f078c6e86d1068d21d66d6964 | [
"MIT"
] | null | null | null | repl/libmarkab/vm/math.nasm | samblenny/markab-lab | a18108bdf96e820f078c6e86d1068d21d66d6964 | [
"MIT"
] | null | null | null | ; Copyright (c) 2022 Sam Blenny
; SPDX-License-Identifier: MIT
;
; MarkabForth math words (meant to be included in ../libmarkab.nasm)
; This include path is relative to the working directory that will be in effect
; when running the Makefile in the parent directory of this file. So the
; include path is relative to ../Makefile, which is confusing.
%include "libmarkab/common_macros.nasm"
extern DSBase
extern mErr12DivideByZero
extern mErr1Underflow
extern mPopW
global mPlus
global mMinus
global mNegate
global mMul
global mDiv
global mMod
global mDivMod
global mMax
global mMin
global mAbs
global mOnePlus
global mTwoPlus
global mFourPlus
global mOneMinus
mPlus: ; + ( 2nd T -- 2nd+T )
fDo PopW, .end
add T, W
.end:
ret
mMinus: ; - ( 2nd T -- 2nd-T )
fDo PopW, .end
sub T, W
.end:
ret
; mNegate is gone. Use `0 swap -` if you need two's complement negation.
mMul: ; * ( 2nd T -- 2nd*T )
fDo PopW, .end
imul T, W ; imul is signed multiply (mul is unsigned)
.end:
ret
mDiv: ; / ( 2nd T -- <quotient 2nd/T> )
fDo PopW, .end
test W, W ; make sure divisor is not 0
jz mErr12DivideByZero
mov edi, W ; save old T in edi
mov W, T ; prepare dividend (old 2nd) in rax
cdq ; sign extend old 2nd into rax
idiv edi ; signed divide 2nd/T (rax:quot, rdx:remainder)
mov T, W ; new T is quotient from eax
.end:
ret
mMod: ; MOD ( 2nd T -- <remainder 2nd/T> )
fDo PopW, .end
test W, W ; make sure divisor is not 0
jz mErr12DivideByZero
mov edi, W ; save old T in rdi
mov W, T ; prepare dividend (old 2nd) in rax
cdq ; sign extend old 2nd into rax
idiv edi ; signed divide 2nd/T (rax:quot, rdx:rem)
mov T, edx ; new T is remainder from edx
.end:
ret
mDivMod: ; /MOD for 2nd/T: ( 2nd T -- rem quot )
movq rcx, DSDeep ; make sure there are 2 items on the stack
cmp cl, 2
jb mErr1Underflow
test T, T ; make sure divisor is not 0
jz mErr12DivideByZero
sub ecx, 2 ; fetch old 2nd as dividend to eax (W)
mov W, [DSBase+4*ecx]
cdq ; sign extend old 2nd in eax to rax
idiv T ; signed divide 2nd/T (rax:quot, rdx:remainder)
mov edi, eax ; save quotient before address calculation
mov esi, edx ; save remainder before address calculation
mov [DSBase+4*ecx], esi ; remainder goes in second item
mov T, edi ; quotient goes in top
ret
mMax: ; MAX ( 2nd T -- the_bigger_one )
fDo PopW, .end
cmp T, W ; check 2nd-T (W is old T, T is old 2nd)
cmovl T, W ; if old 2nd was less, then use old T for new T
.end:
ret
mMin: ; MIN ( 2nd T -- the_smaller_one )
fDo PopW, .end
cmp T, W ; check 2nd-T (W is old T, T is old 2nd)
cmovg T, W ; if old 2nd was more, then use old T for new T
.end:
ret
mAbs: ; ABS -- Replace T with absolute value of T
movq rdi, DSDeep ; need at least 1 item on stack
cmp dil, 1
jb mErr1Underflow
mov W, T
neg W ; check if negated value of old T is positive
test W, W
cmovns T, W ; if so, set new T to negated old T
ret
mOnePlus: ; 1+ -- Add 1 to T
movq rdi, DSDeep ; need at least 1 item on stack
cmp dil, 1
jb mErr1Underflow
inc T
ret
mTwoPlus: ; 2+ -- Add 2 to T
movq rdi, DSDeep ; need at least 1 item on stack
cmp dil, 1
jb mErr1Underflow
add T, 2
ret
mFourPlus: ; 4+ -- Add 2 to T
movq rdi, DSDeep ; need at least 1 item on stack
cmp dil, 1
jb mErr1Underflow
add T, 4
ret
mOneMinus: ; 1- -- Subtract 1 from T
movq rdi, DSDeep ; need at least 1 item on stack
cmp dil, 1
jb mErr1Underflow
dec T
ret
| 29.2 | 79 | 0.552197 |
db8433fb131cf6c6a3641532d242c556d226437f | 7,049 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_254.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_0xca.log_21829_254.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_0xca.log_21829_254.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 %r14
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xc612, %rsi
lea addresses_A_ht+0x1025a, %rdi
nop
nop
nop
nop
nop
cmp %r15, %r15
mov $113, %rcx
rep movsl
nop
nop
nop
mfence
lea addresses_normal_ht+0x6fba, %rsi
lea addresses_D_ht+0x7632, %rdi
nop
nop
nop
nop
nop
sub $59173, %r14
mov $44, %rcx
rep movsw
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_D_ht+0x11792, %rsi
lea addresses_D_ht+0x5392, %rdi
nop
nop
nop
add $41293, %r14
mov $60, %rcx
rep movsq
nop
nop
sub $5497, %rsi
lea addresses_D_ht+0x119ef, %r10
nop
nop
sub $25424, %r12
movw $0x6162, (%r10)
nop
nop
cmp $16751, %rsi
lea addresses_WT_ht+0x188e2, %rsi
lea addresses_A_ht+0x14456, %rdi
nop
nop
sub $52080, %r11
mov $21, %rcx
rep movsw
xor %r10, %r10
lea addresses_WC_ht+0x10e12, %rsi
lea addresses_WT_ht+0x3a12, %rdi
nop
nop
nop
nop
nop
and %r10, %r10
mov $50, %rcx
rep movsw
nop
nop
nop
nop
add $23797, %r10
lea addresses_A_ht+0x895a, %rsi
lea addresses_UC_ht+0x1a412, %rdi
nop
nop
nop
sub %r10, %r10
mov $76, %rcx
rep movsl
nop
nop
nop
nop
and $50670, %rsi
lea addresses_A_ht+0x11699, %rsi
lea addresses_UC_ht+0x11a12, %rdi
nop
cmp %r10, %r10
mov $9, %rcx
rep movsl
nop
nop
nop
nop
nop
add $14033, %r12
lea addresses_normal_ht+0xdc12, %rsi
lea addresses_UC_ht+0x13952, %rdi
nop
nop
cmp %r14, %r14
mov $64, %rcx
rep movsq
nop
nop
nop
and $25701, %r12
lea addresses_WC_ht+0x9d5a, %rsi
lea addresses_A_ht+0x11e5a, %rdi
nop
nop
nop
cmp %r10, %r10
mov $48, %rcx
rep movsb
nop
nop
nop
nop
nop
xor $30991, %r15
pop %rsi
pop %rdi
pop %rcx
pop %r15
pop %r14
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r8
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_normal+0x1f612, %rsi
mov $0xd92, %rdi
nop
add %r14, %r14
mov $78, %rcx
rep movsw
nop
sub %rcx, %rcx
// Faulty Load
lea addresses_WT+0x17212, %r10
nop
nop
nop
nop
nop
add %r8, %r8
movb (%r10), %cl
lea oracles, %r8
and $0xff, %rcx
shlq $12, %rcx
mov (%r8,%rcx,1), %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r14
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal'}, 'OP': 'REPM', 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_P'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 1, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 7, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}}
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}}
{'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
*/
| 34.385366 | 2,999 | 0.663357 |
35cd66162d29f14c003176735b4d7a3106e825c6 | 449 | asm | Assembly | oeis/188/A188941.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/188/A188941.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/188/A188941.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A188941: Decimal expansion of (9+sqrt(65))/4.
; Submitted by Jon Maiga
; 4,2,6,5,5,6,4,4,3,7,0,7,4,6,3,7,4,1,3,0,9,1,6,5,3,3,0,7,5,7,5,9,4,2,7,8,2,7,8,3,5,9,9,0,7,6,4,0,2,1,4,3,3,4,6,9,8,4,1,4,8,0,9,7,3,1,5,9,6,8,7,3,7,7,5,6,4,2,2,0,5,0,7,4,0,0,3,8,5,6,6,6,7,9,3,0,7,6,6,0
mov $1,2
mov $3,$0
mul $3,3
lpb $3
add $1,$2
add $2,$1
mul $2,4
sub $3,1
lpe
mul $1,2
mov $4,10
pow $4,$0
div $2,$4
cmp $5,0
add $2,$5
div $1,$2
mov $0,$1
mod $0,10
| 19.521739 | 201 | 0.536748 |
b1e469a477790c2f06b571c96c7dc18ac6878629 | 2,149 | asm | Assembly | common/pixel_addr_160_200_16color.asm | c64scene-ar/64k-ought-to-be-enough | d97997ecd5ddb598bd58fa61da76e4b0c10c5bc1 | [
"MIT"
] | 4 | 2018-09-27T06:44:33.000Z | 2019-03-16T13:37:01.000Z | common/pixel_addr_160_200_16color.asm | c64scene-ar/64k-ought-to-be-enough | d97997ecd5ddb598bd58fa61da76e4b0c10c5bc1 | [
"MIT"
] | null | null | null | common/pixel_addr_160_200_16color.asm | c64scene-ar/64k-ought-to-be-enough | d97997ecd5ddb598bd58fa61da76e4b0c10c5bc1 | [
"MIT"
] | 2 | 2018-10-16T01:49:09.000Z | 2020-08-11T12:35:55.000Z | ;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
;
; Name: PixelAddr16
;
; Function: Determine buffer address of pixel in 160x200 16-color mode
;
; Caller: AX = y-coordinate (0-199)
; BX = x-coordinate (0-159)
;
; Returns: AH = bit mask
; BX = byte offset in buffer
; CL = number of bits to shift left
; ES = video buffer segment
;
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
;
; From:
; Programmers's Guide To PC & PS/2: Video Systems
; by Richard Wilton
;
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
;
; Adapted to nasm and, PCjr's 160x200 16-color: riq
;
;=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-;
; 2 pixels per byte
; 160 / 2 = 80 bytes per horizontal line. (80 = 64 + 16)
; offset = y * 80 + x / 2
; cl = (x & 1) ? 0 : 1
OriginOffset equ 0 ; byte offset of (0,0)
VideoBufferSeg equ 0xb800
PixelAddr04:
int 3
mov cl,bl ; CL := low-order byte of x
xchg ah,al ; AX := 0x100 * y
shl bx,1 ; x = x * 2
shr ax,1 ; AL := 0x80 * (y&1)
add bh,al ; BX := x*2 + 0x8000*(y&1)
xor al,al ; AX := 0x100*(y/2)
add bx,ax ; BX := x*2 + 0x8000*(y&1) + 0x100*(y/2)
shr ax,1
shr ax,1 ; AX := 0x40*(y/2)
add bx,ax ; BX := x*2 + 0x8000*(y&1) + 0x140*(y/2)
shr bx,1 ; BX = x + 0x4000*(y&1) + 0xa0(y/2)
shr bx,1 ; BX := x/2 + 0x2000*(y&1) + 0x50*(y/2)
; add bx,OriginOffset ; BX := byte offset in video buffer
mov ax,VideoBufferSeg
mov es,ax ; ES:BX := byte address of pixel
mov ah,0b0000_1111 ;mask
and cl,1 ;x & 1
xor cl,1 ;invert bit
shl cl,1 ;
shl cl,1 ;cl = (x&1) * 4
; shl ah,cl ;mask = 0xf0 if x&1, else 0x0f
ret
| 34.111111 | 80 | 0.379711 |
a0493f03d5428a412514135e9a450caa2994b8e3 | 402,021 | asm | Assembly | asm/Visual Studio 2015_14_MSVC_x86_Debug/span_compile_only.asm | dbd64/GSL | 59f8a9f9599c239f0bceb932da93dd9034607b6c | [
"MIT"
] | null | null | null | asm/Visual Studio 2015_14_MSVC_x86_Debug/span_compile_only.asm | dbd64/GSL | 59f8a9f9599c239f0bceb932da93dd9034607b6c | [
"MIT"
] | null | null | null | asm/Visual Studio 2015_14_MSVC_x86_Debug/span_compile_only.asm | dbd64/GSL | 59f8a9f9599c239f0bceb932da93dd9034607b6c | [
"MIT"
] | 1 | 2019-04-08T21:36:56.000Z | 2019-04-08T21:36:56.000Z | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24241.7
TITLE C:\projects\gsl\tests\span_compile_only.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG61561 DB 'GSL: Postcondition failure at C:\projects\gsl\include\gs'
DB 'l/string_span: 114', 00H
ORG $+5
$SG61562 DB 'GSL: Postcondition failure at C:\projects\gsl\include\gs'
DB 'l/string_span: 118', 00H
ORG $+5
$SG61563 DB 'GSL: Postcondition failure at C:\projects\gsl\include\gs'
DB 'l/string_span: 122', 00H
ORG $+1
$SG47623 DB 'iVtrau lDC', 00H
ORG $+1
$SG57967 DB 'GSL: Precondition failure at C:\projects\gsl\include\gsl'
DB '/gsl_algorithm: 50', 00H
ORG $+5
$SG58123 DB 'GSL: Precondition failure at C:\projects\gsl\include\gsl'
DB '/gsl_algorithm: 50', 00H
ORG $+1
$SG47888 DB 'iVtrau lDC', 00H
CONST ENDS
PUBLIC ?__empty_global_delete@@YAXPAX@Z ; __empty_global_delete
PUBLIC ?__empty_global_delete@@YAXPAXI@Z ; __empty_global_delete
PUBLIC ??0exception@std@@QAE@XZ ; std::exception::exception
PUBLIC ??0exception@std@@QAE@QBD@Z ; std::exception::exception
PUBLIC ??0exception@std@@QAE@ABV01@@Z ; std::exception::exception
PUBLIC ??1exception@std@@UAE@XZ ; std::exception::~exception
PUBLIC ?what@exception@std@@UBEPBDXZ ; std::exception::what
PUBLIC ??_Gexception@std@@UAEPAXI@Z ; std::exception::`scalar deleting destructor'
PUBLIC ??0logic_error@std@@QAE@PBD@Z ; std::logic_error::logic_error
PUBLIC ??1logic_error@std@@UAE@XZ ; std::logic_error::~logic_error
PUBLIC ??0logic_error@std@@QAE@ABV01@@Z ; std::logic_error::logic_error
PUBLIC ??0logic_error@std@@QAE@$$QAV01@@Z ; std::logic_error::logic_error
PUBLIC ??_Glogic_error@std@@UAEPAXI@Z ; std::logic_error::`scalar deleting destructor'
PUBLIC ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
PUBLIC ??1fail_fast@gsl@@UAE@XZ ; gsl::fail_fast::~fail_fast
PUBLIC ??0fail_fast@gsl@@QAE@ABU01@@Z ; gsl::fail_fast::fail_fast
PUBLIC ??0fail_fast@gsl@@QAE@$$QAU01@@Z ; gsl::fail_fast::fail_fast
PUBLIC ??_Gfail_fast@gsl@@UAEPAXI@Z ; gsl::fail_fast::`scalar deleting destructor'
PUBLIC ??0narrowing_error@gsl@@QAE@XZ ; gsl::narrowing_error::narrowing_error
PUBLIC ??1narrowing_error@gsl@@UAE@XZ ; gsl::narrowing_error::~narrowing_error
PUBLIC ??0narrowing_error@gsl@@QAE@ABU01@@Z ; gsl::narrowing_error::narrowing_error
PUBLIC ??0narrowing_error@gsl@@QAE@$$QAU01@@Z ; gsl::narrowing_error::narrowing_error
PUBLIC ??_Gnarrowing_error@gsl@@UAEPAXI@Z ; gsl::narrowing_error::`scalar deleting destructor'
PUBLIC ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ; gsl::details::extent_type<-1>::extent_type<-1>
PUBLIC ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
PUBLIC ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
PUBLIC ?test_span_unoptimizable_rangecheck@@YAXV?$span@H$0?0@gsl@@H@Z ; test_span_unoptimizable_rangecheck
PUBLIC ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
PUBLIC ?last@?$span@H$0?0@gsl@@QBE?AV12@H@Z ; gsl::span<int,-1>::last
PUBLIC ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
PUBLIC ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
PUBLIC ??A?$span@H$0?0@gsl@@QBEAAHH@Z ; gsl::span<int,-1>::operator[]
PUBLIC ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
PUBLIC ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::begin
PUBLIC ?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::end
PUBLIC ?CheckRange@?$span@H$0?0@gsl@@CA_NHH@Z ; gsl::span<int,-1>::CheckRange
PUBLIC ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::data
PUBLIC ??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z ; gsl::span<int,-1>::span<int,-1>
PUBLIC ?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z ; gsl::span<int,-1>::make_subspan
PUBLIC ?test_span_for@@YAXV?$span@H$0?0@gsl@@@Z ; test_span_for
PUBLIC ?test_span_iter@@YAXV?$span@H$0?0@gsl@@@Z ; test_span_iter
PUBLIC ??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::span_iterator<gsl::span<int,-1>,0>
PUBLIC ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
PUBLIC ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
PUBLIC ??H?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+
PUBLIC ??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+=
PUBLIC ??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator-
PUBLIC ??8details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator==
PUBLIC ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
PUBLIC ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator<
PUBLIC ?test_span_rangeiter@@YAXV?$span@H$0?0@gsl@@@Z ; test_span_rangeiter
PUBLIC ?size@?$span@G$0?0@gsl@@QBEHXZ ; gsl::span<unsigned short,-1>::size
PUBLIC ?size_bytes@?$span@G$0?0@gsl@@QBEHXZ ; gsl::span<unsigned short,-1>::size_bytes
PUBLIC ?data@?$span@G$0?0@gsl@@QBEPAGXZ ; gsl::span<unsigned short,-1>::data
PUBLIC ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@G$0?0@gsl@@QBEPAGXZ ; gsl::span<unsigned short,-1>::storage_type<gsl::details::extent_type<-1> >::data
PUBLIC ?static_size_array_span@@YAXAAUIDE_DRIVE_STATE@@@Z ; static_size_array_span
PUBLIC ??0?$span@E$0?0@gsl@@QAE@PAEH@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1>
PUBLIC ?size@?$span@E$0?0@gsl@@QBEHXZ ; gsl::span<unsigned char,-1>::size
PUBLIC ??A?$span@E$0?0@gsl@@QBEAAEH@Z ; gsl::span<unsigned char,-1>::operator[]
PUBLIC ?data@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::data
PUBLIC ?begin@?$span@E$0?0@gsl@@QBE?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<unsigned char,-1>::begin
PUBLIC ?CheckRange@?$span@E$0?0@gsl@@CA_NHH@Z ; gsl::span<unsigned char,-1>::CheckRange
PUBLIC ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::data
PUBLIC ??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1><6>
PUBLIC ?test_convert_span_Joe@@YAEAAUIDE_DRIVE_STATE@@@Z ; test_convert_span_Joe
PUBLIC ??$convert_span@EV?$span@G$0?0@gsl@@@@YA?AV?$span@E$0?0@gsl@@V?$span@G$0?0@1@@Z ; convert_span<unsigned char,gsl::span<unsigned short,-1> >
PUBLIC ?mysubspan1@@YAHXZ ; mysubspan1
PUBLIC ?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z ; gsl::span<int,6>::last
PUBLIC ?subspan@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@HH@Z ; gsl::span<int,6>::subspan
PUBLIC ?size@?$span@H$05@gsl@@QBEHXZ ; gsl::span<int,6>::size
PUBLIC ?data@?$span@H$05@gsl@@QBEPAHXZ ; gsl::span<int,6>::data
PUBLIC ??0?$extent_type@$05@details@gsl@@QAE@XZ ; gsl::details::extent_type<6>::extent_type<6>
PUBLIC ??0?$extent_type@$05@details@gsl@@QAE@H@Z ; gsl::details::extent_type<6>::extent_type<6>
PUBLIC ?size@?$extent_type@$05@details@gsl@@QBEHXZ ; gsl::details::extent_type<6>::size
PUBLIC ?data@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QBEPAHXZ ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::data
PUBLIC ??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z ; gsl::span<int,6>::span<int,6><6>
PUBLIC ?mysubspan2@@YAHH@Z ; mysubspan2
PUBLIC ?mysubspan3@@YAHXZ ; mysubspan3
PUBLIC ?mysubspan4@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ; mysubspan4
PUBLIC ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
PUBLIC ?mysubspan5@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ; mysubspan5
PUBLIC ?mysubspan6@@YA?AV?$span@H$0?0@gsl@@PAHH@Z ; mysubspan6
PUBLIC ?mysubspan7@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ; mysubspan7
PUBLIC ?mysubspan8@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ; mysubspan8
PUBLIC ?mysubspan9@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ; mysubspan9
PUBLIC ?doterminate@@YAXXZ ; doterminate
PUBLIC ?copy_span@@YAXV?$span@H$0?0@gsl@@0@Z ; copy_span
PUBLIC ??$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ?gsl_copy_span@@YAXV?$span@H$0?0@gsl@@0@Z ; gsl_copy_span
PUBLIC ??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z ; gsl::copy<int,-1,int,-1>
PUBLIC ?test_string_std_copy@@YAXXZ ; test_string_std_copy
PUBLIC ??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1><10>
PUBLIC ??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ; gsl::span<char const ,-1>::span<char const ,-1>
PUBLIC ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
PUBLIC ?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::data
PUBLIC ?begin@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<char const ,-1>::begin
PUBLIC ?end@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<char const ,-1>::end
PUBLIC ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::data
PUBLIC ?data@?$basic_string_span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::basic_string_span<char const ,-1>::data
PUBLIC ?size@?$basic_string_span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::basic_string_span<char const ,-1>::size
PUBLIC ?begin@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::basic_string_span<char const ,-1>::begin
PUBLIC ?end@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::basic_string_span<char const ,-1>::end
PUBLIC ??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z ; gsl::ensure_z<char const ,11>
PUBLIC ??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z ; gsl::basic_string_span<char const ,-1>::basic_string_span<char const ,-1><gsl::span<char const ,-1>,void>
PUBLIC ??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::span_iterator<gsl::span<char const ,-1>,0>
PUBLIC ??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator*
PUBLIC ??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator++
PUBLIC ??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator-
PUBLIC ??8details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator==
PUBLIC ??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
PUBLIC ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator<
PUBLIC ??0?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@E$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::span_iterator<gsl::span<unsigned char,-1>,0>
PUBLIC ??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator*
PUBLIC ??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator++
PUBLIC ??H?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+
PUBLIC ??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+=
PUBLIC ??$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ?test_string_gsl_copy@@YAXXZ ; test_string_gsl_copy
PUBLIC ??$?0V?$basic_string_span@$$CBD$0?0@gsl@@X@?$span@$$CBD$0?0@gsl@@QAE@AAV?$basic_string_span@$$CBD$0?0@1@@Z ; gsl::span<char const ,-1>::span<char const ,-1><gsl::basic_string_span<char const ,-1>,void>
PUBLIC ??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z ; gsl::copy<char const ,-1,unsigned char,-1>
PUBLIC ??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z ; gsl::span<int,6>::make_subspan<6>
PUBLIC ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
PUBLIC ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
PUBLIC ??$narrow_cast@IAAH@gsl@@YAIAAH@Z ; gsl::narrow_cast<unsigned int,int &>
PUBLIC ??$forward@Ufail_fast@gsl@@@std@@YA$$QAUfail_fast@gsl@@AAU12@@Z ; std::forward<gsl::fail_fast>
PUBLIC ??$addressof@E@std@@YAPAEAAE@Z ; std::addressof<unsigned char>
PUBLIC ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
PUBLIC ??$addressof@H@std@@YAPAHAAH@Z ; std::addressof<int>
PUBLIC ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::storage_type<gsl::details::extent_type<6> ><gsl::details::extent_type<6> >
PUBLIC ??0?$extent_type@$0A@@details@gsl@@QAE@XZ ; gsl::details::extent_type<0>::extent_type<0>
PUBLIC ?size@?$extent_type@$0A@@details@gsl@@QBEHXZ ; gsl::details::extent_type<0>::size
PUBLIC ??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<0> >
PUBLIC ??$_Is_checked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@Z ; std::_Is_checked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Copy_no_deprecate@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z ; std::copy_n<int *,int,int *>
PUBLIC ??0?$extent_type@$09@details@gsl@@QAE@XZ ; gsl::details::extent_type<10>::extent_type<10>
PUBLIC ?size@?$extent_type@$09@details@gsl@@QBEHXZ ; gsl::details::extent_type<10>::size
PUBLIC ??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<10> >
PUBLIC ??$narrow_cast@HI@gsl@@YAH$$QAI@Z ; gsl::narrow_cast<int,unsigned int>
PUBLIC ??$ensure_z@$$CBD@gsl@@YA?AV?$span@$$CBD$0?0@0@ABQBDH@Z ; gsl::ensure_z<char const >
PUBLIC ??$_Is_checked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@Z ; std::_Is_checked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Copy_no_deprecate@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$narrow@HH@gsl@@YAHH@Z ; gsl::narrow<int,int>
PUBLIC ??$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z ; std::copy_n<char const *,int,unsigned char *>
PUBLIC ??$?0H$05X@?$span@H$0?0@gsl@@QAE@ABV?$span@H$05@1@@Z ; gsl::span<int,-1>::span<int,-1><int,6,void>
PUBLIC ??$forward@AAH@std@@YAAAHAAH@Z ; std::forward<int &>
PUBLIC ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
PUBLIC ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
PUBLIC ??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><6>
PUBLIC ??$?0$0A@@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$0A@@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><0>
PUBLIC ??$_Debug_range_ptr@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WI@Z ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00Urandom_access_iterator_tag@0@1@Z ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Is_checked@PAH@std@@YA?AU?$integral_constant@_N$0A@@0@PAH@Z ; std::_Is_checked<int *>
PUBLIC ??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z ; std::_Unchecked_n<int *,int>
PUBLIC ??$_Unchecked_n1@PAHH@std@@YAPAHPAHHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<int *,int>
PUBLIC ??$_Unchecked@PAH@std@@YAPAHPAH@Z ; std::_Unchecked<int *>
PUBLIC ??$_Copy_n_unchecked@PAHHPAH@std@@YAPAHPAHH0@Z ; std::_Copy_n_unchecked<int *,int,int *>
PUBLIC ??$_Rechecked@PAHPAH@std@@YAAAPAHAAPAHPAH@Z ; std::_Rechecked<int *,int *>
PUBLIC ??$?0$09@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$09@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><10>
PUBLIC ??$forward@I@std@@YA$$QAIAAI@Z ; std::forward<unsigned int>
PUBLIC ??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z ; gsl::ensure_sentinel<char const ,0>
PUBLIC ??$_Debug_range_ptr@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WI@Z ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
PUBLIC ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@Urandom_access_iterator_tag@0@2@Z ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$narrow_cast@HAAH@gsl@@YAHAAH@Z ; gsl::narrow_cast<int,int &>
PUBLIC ??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z ; gsl::details::throw_exception<gsl::narrowing_error>
PUBLIC ??$_Is_checked@PAE@std@@YA?AU?$integral_constant@_N$0A@@0@PAE@Z ; std::_Is_checked<unsigned char *>
PUBLIC ??$_Unchecked_n@PBDH@std@@YAPBDPBDH@Z ; std::_Unchecked_n<char const *,int>
PUBLIC ??$_Unchecked_n1@PBDH@std@@YAPBDPBDHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<char const *,int>
PUBLIC ??$_Unchecked@PBD@std@@YAPBDPBD@Z ; std::_Unchecked<char const *>
PUBLIC ??$_Unchecked_n@PAEH@std@@YAPAEPAEH@Z ; std::_Unchecked_n<unsigned char *,int>
PUBLIC ??$_Unchecked_n1@PAEH@std@@YAPAEPAEHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<unsigned char *,int>
PUBLIC ??$_Unchecked@PAE@std@@YAPAEPAE@Z ; std::_Unchecked<unsigned char *>
PUBLIC ??$_Copy_n_unchecked@PBDHPAE@std@@YAPAEPBDHPAE@Z ; std::_Copy_n_unchecked<char const *,int,unsigned char *>
PUBLIC ??$_Rechecked@PAEPAE@std@@YAAAPAEAAPAEPAE@Z ; std::_Rechecked<unsigned char *,unsigned char *>
PUBLIC ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
PUBLIC ??$_Debug_range_ptr2@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WIUrandom_access_iterator_tag@0@@Z ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Copy_unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Rechecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ; std::_Rechecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Ptr_copy_cat@HH@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQAH0@Z ; std::_Ptr_copy_cat<int,int>
PUBLIC ??$_Copy_n_unchecked1@PAHHPAH@std@@YAPAHPAHH0U_Trivially_copyable_ptr_iterator_tag@0@@Z ; std::_Copy_n_unchecked1<int *,int,int *>
PUBLIC ??$_Debug_range_ptr2@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WIUrandom_access_iterator_tag@0@@Z ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Unchecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Copy_unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Rechecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ; std::_Rechecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$forward@Unarrowing_error@gsl@@@std@@YA$$QAUnarrowing_error@gsl@@AAU12@@Z ; std::forward<gsl::narrowing_error>
PUBLIC ??$_Ptr_copy_cat@$$CBDE@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQBDABQAE@Z ; std::_Ptr_copy_cat<char const ,unsigned char>
PUBLIC ??$_Copy_n_unchecked1@PBDHPAE@std@@YAPAEPBDHPAEU_Trivially_copyable_ptr_iterator_tag@0@@Z ; std::_Copy_n_unchecked1<char const *,int,unsigned char *>
PUBLIC ??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Ptr_copy_cat@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0@Z ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Copy_unchecked1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00U_General_ptr_iterator_tag@0@@Z ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
PUBLIC ??$_Copy_memmove@PAHPAH@std@@YAPAHPAH00@Z ; std::_Copy_memmove<int *,int *>
PUBLIC ??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
PUBLIC ??$_Debug_pointer@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Ptr_copy_cat@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@ABV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@34@@Z ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Copy_unchecked1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@U_General_ptr_iterator_tag@0@@Z ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
PUBLIC ??$_Copy_memmove@PBDPAE@std@@YAPAEPBD0PAE@Z ; std::_Copy_memmove<char const *,unsigned char *>
PUBLIC ??_7exception@std@@6B@ ; std::exception::`vftable'
PUBLIC ??_C@_0BC@EOODALEL@Unknown?5exception?$AA@ ; `string'
PUBLIC ??_C@_1JA@IJKHNLMB@?$AAC?$AA?3?$AA?2?$AAP?$AAr?$AAo?$AAg?$AAr?$AAa?$AAm?$AA?5?$AAF?$AAi?$AAl?$AAe?$AAs?$AA?5?$AA?$CI?$AAx?$AA8?$AA6?$AA?$CJ?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt@ ; `string'
PUBLIC ??_7logic_error@std@@6B@ ; std::logic_error::`vftable'
PUBLIC ??_7fail_fast@gsl@@6B@ ; gsl::fail_fast::`vftable'
PUBLIC ??_R0?AVexception@std@@@8 ; std::exception `RTTI Type Descriptor'
PUBLIC __CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
PUBLIC ??_7narrowing_error@gsl@@6B@ ; gsl::narrowing_error::`vftable'
PUBLIC ??_C@_0ED@HKMFEAN@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@KHBJKJEH@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@HPDDDCPI@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@BLFPPHPM@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC __TI3?AUfail_fast@gsl@@
PUBLIC __CTA3?AUfail_fast@gsl@@
PUBLIC ??_R0?AUfail_fast@gsl@@@8 ; gsl::fail_fast `RTTI Type Descriptor'
PUBLIC __CT??_R0?AUfail_fast@gsl@@@8??0fail_fast@gsl@@QAE@ABU01@@Z12
PUBLIC ??_R0?AVlogic_error@std@@@8 ; std::logic_error `RTTI Type Descriptor'
PUBLIC __CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z12
PUBLIC ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_1CO@DGLIKNHI@?$AAi?$AAn?$AAv?$AAa?$AAl?$AAi?$AAd?$AA?5?$AAi?$AAt?$AAe?$AAr?$AAa?$AAt?$AAo?$AAr?$AA?5?$AAr?$AAa?$AAn?$AAg?$AAe?$AA?$AA@ ; `string'
PUBLIC ??_C@_0ED@EJCPKIPN@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC __TI2?AUnarrowing_error@gsl@@
PUBLIC __CTA2?AUnarrowing_error@gsl@@
PUBLIC ??_R0?AUnarrowing_error@gsl@@@8 ; gsl::narrowing_error `RTTI Type Descriptor'
PUBLIC __CT??_R0?AUnarrowing_error@gsl@@@8??0narrowing_error@gsl@@QAE@ABU01@@Z12
PUBLIC ??_C@_0ED@MDKFKNBK@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_C@_0ED@CDNFKALP@GSL?3?5Precondition?5failure?5at?5C?3?2@ ; `string'
PUBLIC ??_R4exception@std@@6B@ ; std::exception::`RTTI Complete Object Locator'
PUBLIC ??_R3exception@std@@8 ; std::exception::`RTTI Class Hierarchy Descriptor'
PUBLIC ??_R2exception@std@@8 ; std::exception::`RTTI Base Class Array'
PUBLIC ??_R1A@?0A@EA@exception@std@@8 ; std::exception::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC ??_R4logic_error@std@@6B@ ; std::logic_error::`RTTI Complete Object Locator'
PUBLIC ??_R3logic_error@std@@8 ; std::logic_error::`RTTI Class Hierarchy Descriptor'
PUBLIC ??_R2logic_error@std@@8 ; std::logic_error::`RTTI Base Class Array'
PUBLIC ??_R1A@?0A@EA@logic_error@std@@8 ; std::logic_error::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC ??_R4fail_fast@gsl@@6B@ ; gsl::fail_fast::`RTTI Complete Object Locator'
PUBLIC ??_R3fail_fast@gsl@@8 ; gsl::fail_fast::`RTTI Class Hierarchy Descriptor'
PUBLIC ??_R2fail_fast@gsl@@8 ; gsl::fail_fast::`RTTI Base Class Array'
PUBLIC ??_R1A@?0A@EA@fail_fast@gsl@@8 ; gsl::fail_fast::`RTTI Base Class Descriptor at (0,-1,0,64)'
PUBLIC ??_R4narrowing_error@gsl@@6B@ ; gsl::narrowing_error::`RTTI Complete Object Locator'
PUBLIC ??_R3narrowing_error@gsl@@8 ; gsl::narrowing_error::`RTTI Class Hierarchy Descriptor'
PUBLIC ??_R2narrowing_error@gsl@@8 ; gsl::narrowing_error::`RTTI Base Class Array'
PUBLIC ??_R1A@?0A@EA@narrowing_error@gsl@@8 ; gsl::narrowing_error::`RTTI Base Class Descriptor at (0,-1,0,64)'
EXTRN ??3@YAXPAXI@Z:PROC ; operator delete
EXTRN __imp__terminate:PROC
EXTRN __imp____std_exception_copy:PROC
EXTRN __imp____std_exception_destroy:PROC
EXTRN ??_Eexception@std@@UAEPAXI@Z:PROC ; std::exception::`vector deleting destructor'
EXTRN __imp__memmove:PROC
EXTRN __imp_?_Debug_message@std@@YAXPB_W0I@Z:PROC
EXTRN ??_Elogic_error@std@@UAEPAXI@Z:PROC ; std::logic_error::`vector deleting destructor'
EXTRN ??_Efail_fast@gsl@@UAEPAXI@Z:PROC ; gsl::fail_fast::`vector deleting destructor'
EXTRN ??_Enarrowing_error@gsl@@UAEPAXI@Z:PROC ; gsl::narrowing_error::`vector deleting destructor'
EXTRN ?bar@@YAXV?$span@E$0?0@gsl@@@Z:PROC ; bar
EXTRN @_RTC_CheckStackVars@8:PROC
EXTRN @__security_check_cookie@4:PROC
EXTRN __CxxThrowException@8:PROC
EXTRN __RTC_CheckEsp:PROC
EXTRN __RTC_InitBase:PROC
EXTRN __RTC_Shutdown:PROC
EXTRN ___CxxFrameHandler3:PROC
EXTRN ??_7type_info@@6B@:QWORD ; type_info::`vftable'
EXTRN ___security_cookie:DWORD
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
__RTC_Shutdown.rtc$TMZ DD FLAT:__RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
__RTC_InitBase.rtc$IMZ DD FLAT:__RTC_InitBase
rtc$IMZ ENDS
; COMDAT ??_R1A@?0A@EA@narrowing_error@gsl@@8
rdata$r SEGMENT
??_R1A@?0A@EA@narrowing_error@gsl@@8 DD FLAT:??_R0?AUnarrowing_error@gsl@@@8 ; gsl::narrowing_error::`RTTI Base Class Descriptor at (0,-1,0,64)'
DD 01H
DD 00H
DD 0ffffffffH
DD 00H
DD 040H
DD FLAT:??_R3narrowing_error@gsl@@8
rdata$r ENDS
; COMDAT ??_R2narrowing_error@gsl@@8
rdata$r SEGMENT
??_R2narrowing_error@gsl@@8 DD FLAT:??_R1A@?0A@EA@narrowing_error@gsl@@8 ; gsl::narrowing_error::`RTTI Base Class Array'
DD FLAT:??_R1A@?0A@EA@exception@std@@8
rdata$r ENDS
; COMDAT ??_R3narrowing_error@gsl@@8
rdata$r SEGMENT
??_R3narrowing_error@gsl@@8 DD 00H ; gsl::narrowing_error::`RTTI Class Hierarchy Descriptor'
DD 00H
DD 02H
DD FLAT:??_R2narrowing_error@gsl@@8
rdata$r ENDS
; COMDAT ??_R4narrowing_error@gsl@@6B@
rdata$r SEGMENT
??_R4narrowing_error@gsl@@6B@ DD 00H ; gsl::narrowing_error::`RTTI Complete Object Locator'
DD 00H
DD 00H
DD FLAT:??_R0?AUnarrowing_error@gsl@@@8
DD FLAT:??_R3narrowing_error@gsl@@8
rdata$r ENDS
; COMDAT ??_R1A@?0A@EA@fail_fast@gsl@@8
rdata$r SEGMENT
??_R1A@?0A@EA@fail_fast@gsl@@8 DD FLAT:??_R0?AUfail_fast@gsl@@@8 ; gsl::fail_fast::`RTTI Base Class Descriptor at (0,-1,0,64)'
DD 02H
DD 00H
DD 0ffffffffH
DD 00H
DD 040H
DD FLAT:??_R3fail_fast@gsl@@8
rdata$r ENDS
; COMDAT ??_R2fail_fast@gsl@@8
rdata$r SEGMENT
??_R2fail_fast@gsl@@8 DD FLAT:??_R1A@?0A@EA@fail_fast@gsl@@8 ; gsl::fail_fast::`RTTI Base Class Array'
DD FLAT:??_R1A@?0A@EA@logic_error@std@@8
DD FLAT:??_R1A@?0A@EA@exception@std@@8
rdata$r ENDS
; COMDAT ??_R3fail_fast@gsl@@8
rdata$r SEGMENT
??_R3fail_fast@gsl@@8 DD 00H ; gsl::fail_fast::`RTTI Class Hierarchy Descriptor'
DD 00H
DD 03H
DD FLAT:??_R2fail_fast@gsl@@8
rdata$r ENDS
; COMDAT ??_R4fail_fast@gsl@@6B@
rdata$r SEGMENT
??_R4fail_fast@gsl@@6B@ DD 00H ; gsl::fail_fast::`RTTI Complete Object Locator'
DD 00H
DD 00H
DD FLAT:??_R0?AUfail_fast@gsl@@@8
DD FLAT:??_R3fail_fast@gsl@@8
rdata$r ENDS
; COMDAT ??_R1A@?0A@EA@logic_error@std@@8
rdata$r SEGMENT
??_R1A@?0A@EA@logic_error@std@@8 DD FLAT:??_R0?AVlogic_error@std@@@8 ; std::logic_error::`RTTI Base Class Descriptor at (0,-1,0,64)'
DD 01H
DD 00H
DD 0ffffffffH
DD 00H
DD 040H
DD FLAT:??_R3logic_error@std@@8
rdata$r ENDS
; COMDAT ??_R2logic_error@std@@8
rdata$r SEGMENT
??_R2logic_error@std@@8 DD FLAT:??_R1A@?0A@EA@logic_error@std@@8 ; std::logic_error::`RTTI Base Class Array'
DD FLAT:??_R1A@?0A@EA@exception@std@@8
rdata$r ENDS
; COMDAT ??_R3logic_error@std@@8
rdata$r SEGMENT
??_R3logic_error@std@@8 DD 00H ; std::logic_error::`RTTI Class Hierarchy Descriptor'
DD 00H
DD 02H
DD FLAT:??_R2logic_error@std@@8
rdata$r ENDS
; COMDAT ??_R4logic_error@std@@6B@
rdata$r SEGMENT
??_R4logic_error@std@@6B@ DD 00H ; std::logic_error::`RTTI Complete Object Locator'
DD 00H
DD 00H
DD FLAT:??_R0?AVlogic_error@std@@@8
DD FLAT:??_R3logic_error@std@@8
rdata$r ENDS
; COMDAT ??_R1A@?0A@EA@exception@std@@8
rdata$r SEGMENT
??_R1A@?0A@EA@exception@std@@8 DD FLAT:??_R0?AVexception@std@@@8 ; std::exception::`RTTI Base Class Descriptor at (0,-1,0,64)'
DD 00H
DD 00H
DD 0ffffffffH
DD 00H
DD 040H
DD FLAT:??_R3exception@std@@8
rdata$r ENDS
; COMDAT ??_R2exception@std@@8
rdata$r SEGMENT
??_R2exception@std@@8 DD FLAT:??_R1A@?0A@EA@exception@std@@8 ; std::exception::`RTTI Base Class Array'
rdata$r ENDS
; COMDAT ??_R3exception@std@@8
rdata$r SEGMENT
??_R3exception@std@@8 DD 00H ; std::exception::`RTTI Class Hierarchy Descriptor'
DD 00H
DD 01H
DD FLAT:??_R2exception@std@@8
rdata$r ENDS
; COMDAT ??_R4exception@std@@6B@
rdata$r SEGMENT
??_R4exception@std@@6B@ DD 00H ; std::exception::`RTTI Complete Object Locator'
DD 00H
DD 00H
DD FLAT:??_R0?AVexception@std@@@8
DD FLAT:??_R3exception@std@@8
rdata$r ENDS
; COMDAT ??_C@_0ED@CDNFKALP@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@CDNFKALP@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 208', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@MDKFKNBK@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@MDKFKNBK@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 223', 00H ; `string'
CONST ENDS
; COMDAT __CT??_R0?AUnarrowing_error@gsl@@@8??0narrowing_error@gsl@@QAE@ABU01@@Z12
xdata$x SEGMENT
__CT??_R0?AUnarrowing_error@gsl@@@8??0narrowing_error@gsl@@QAE@ABU01@@Z12 DD 00H
DD FLAT:??_R0?AUnarrowing_error@gsl@@@8
DD 00H
DD 0ffffffffH
ORG $+4
DD 0cH
DD FLAT:??0narrowing_error@gsl@@QAE@ABU01@@Z
xdata$x ENDS
; COMDAT ??_R0?AUnarrowing_error@gsl@@@8
data$r SEGMENT
??_R0?AUnarrowing_error@gsl@@@8 DD FLAT:??_7type_info@@6B@ ; gsl::narrowing_error `RTTI Type Descriptor'
DD 00H
DB '.?AUnarrowing_error@gsl@@', 00H
data$r ENDS
; COMDAT __CTA2?AUnarrowing_error@gsl@@
xdata$x SEGMENT
__CTA2?AUnarrowing_error@gsl@@ DD 02H
DD FLAT:__CT??_R0?AUnarrowing_error@gsl@@@8??0narrowing_error@gsl@@QAE@ABU01@@Z12
DD FLAT:__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
xdata$x ENDS
; COMDAT __TI2?AUnarrowing_error@gsl@@
xdata$x SEGMENT
__TI2?AUnarrowing_error@gsl@@ DD 00H
DD FLAT:??1narrowing_error@gsl@@UAE@XZ
DD 00H
DD FLAT:__CTA2?AUnarrowing_error@gsl@@
xdata$x ENDS
; COMDAT ??_C@_0ED@EJCPKIPN@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@EJCPKIPN@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 321', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_1CO@DGLIKNHI@?$AAi?$AAn?$AAv?$AAa?$AAl?$AAi?$AAd?$AA?5?$AAi?$AAt?$AAe?$AAr?$AAa?$AAt?$AAo?$AAr?$AA?5?$AAr?$AAa?$AAn?$AAg?$AAe?$AA?$AA@
CONST SEGMENT
??_C@_1CO@DGLIKNHI@?$AAi?$AAn?$AAv?$AAa?$AAl?$AAi?$AAd?$AA?5?$AAi?$AAt?$AAe?$AAr?$AAa?$AAt?$AAo?$AAr?$AA?5?$AAr?$AAa?$AAn?$AAg?$AAe?$AA?$AA@ DB 'i'
DB 00H, 'n', 00H, 'v', 00H, 'a', 00H, 'l', 00H, 'i', 00H, 'd', 00H
DB ' ', 00H, 'i', 00H, 't', 00H, 'e', 00H, 'r', 00H, 'a', 00H, 't'
DB 00H, 'o', 00H, 'r', 00H, ' ', 00H, 'r', 00H, 'a', 00H, 'n', 00H
DB 'g', 00H, 'e', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 592', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 599', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 598', 00H ; `string'
CONST ENDS
; COMDAT __CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z12
xdata$x SEGMENT
__CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z12 DD 00H
DD FLAT:??_R0?AVlogic_error@std@@@8
DD 00H
DD 0ffffffffH
ORG $+4
DD 0cH
DD FLAT:??0logic_error@std@@QAE@ABV01@@Z
xdata$x ENDS
; COMDAT ??_R0?AVlogic_error@std@@@8
data$r SEGMENT
??_R0?AVlogic_error@std@@@8 DD FLAT:??_7type_info@@6B@ ; std::logic_error `RTTI Type Descriptor'
DD 00H
DB '.?AVlogic_error@std@@', 00H
data$r ENDS
; COMDAT __CT??_R0?AUfail_fast@gsl@@@8??0fail_fast@gsl@@QAE@ABU01@@Z12
xdata$x SEGMENT
__CT??_R0?AUfail_fast@gsl@@@8??0fail_fast@gsl@@QAE@ABU01@@Z12 DD 00H
DD FLAT:??_R0?AUfail_fast@gsl@@@8
DD 00H
DD 0ffffffffH
ORG $+4
DD 0cH
DD FLAT:??0fail_fast@gsl@@QAE@ABU01@@Z
xdata$x ENDS
; COMDAT ??_R0?AUfail_fast@gsl@@@8
data$r SEGMENT
??_R0?AUfail_fast@gsl@@@8 DD FLAT:??_7type_info@@6B@ ; gsl::fail_fast `RTTI Type Descriptor'
DD 00H
DB '.?AUfail_fast@gsl@@', 00H
data$r ENDS
; COMDAT __CTA3?AUfail_fast@gsl@@
xdata$x SEGMENT
__CTA3?AUfail_fast@gsl@@ DD 03H
DD FLAT:__CT??_R0?AUfail_fast@gsl@@@8??0fail_fast@gsl@@QAE@ABU01@@Z12
DD FLAT:__CT??_R0?AVlogic_error@std@@@8??0logic_error@std@@QAE@ABV01@@Z12
DD FLAT:__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
xdata$x ENDS
; COMDAT __TI3?AUfail_fast@gsl@@
xdata$x SEGMENT
__TI3?AUfail_fast@gsl@@ DD 00H
DD FLAT:??1fail_fast@gsl@@UAE@XZ
DD 00H
DD FLAT:__CTA3?AUfail_fast@gsl@@
xdata$x ENDS
; COMDAT ??_C@_0ED@BLFPPHPM@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@BLFPPHPM@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 635', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@HPDDDCPI@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@HPDDDCPI@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 631', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 157', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 169', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@KHBJKJEH@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@KHBJKJEH@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Prec'
DB 'ondition failure at C:\projects\gsl\include\gsl/span: 509', 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0ED@HKMFEAN@GSL?3?5Precondition?5failure?5at?5C?3?2@
CONST SEGMENT
??_C@_0ED@HKMFEAN@GSL?3?5Precondition?5failure?5at?5C?3?2@ DB 'GSL: Preco'
DB 'ndition failure at C:\projects\gsl\include\gsl/span: 336', 00H ; `string'
CONST ENDS
; COMDAT ??_7narrowing_error@gsl@@6B@
CONST SEGMENT
??_7narrowing_error@gsl@@6B@ DD FLAT:??_R4narrowing_error@gsl@@6B@ ; gsl::narrowing_error::`vftable'
DD FLAT:??_Enarrowing_error@gsl@@UAEPAXI@Z
DD FLAT:?what@exception@std@@UBEPBDXZ
CONST ENDS
; COMDAT __CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12
xdata$x SEGMENT
__CT??_R0?AVexception@std@@@8??0exception@std@@QAE@ABV01@@Z12 DD 00H
DD FLAT:??_R0?AVexception@std@@@8
DD 00H
DD 0ffffffffH
ORG $+4
DD 0cH
DD FLAT:??0exception@std@@QAE@ABV01@@Z
xdata$x ENDS
; COMDAT ??_R0?AVexception@std@@@8
data$r SEGMENT
??_R0?AVexception@std@@@8 DD FLAT:??_7type_info@@6B@ ; std::exception `RTTI Type Descriptor'
DD 00H
DB '.?AVexception@std@@', 00H
data$r ENDS
; COMDAT ??_7fail_fast@gsl@@6B@
CONST SEGMENT
??_7fail_fast@gsl@@6B@ DD FLAT:??_R4fail_fast@gsl@@6B@ ; gsl::fail_fast::`vftable'
DD FLAT:??_Efail_fast@gsl@@UAEPAXI@Z
DD FLAT:?what@exception@std@@UBEPBDXZ
CONST ENDS
; COMDAT ??_7logic_error@std@@6B@
CONST SEGMENT
??_7logic_error@std@@6B@ DD FLAT:??_R4logic_error@std@@6B@ ; std::logic_error::`vftable'
DD FLAT:??_Elogic_error@std@@UAEPAXI@Z
DD FLAT:?what@exception@std@@UBEPBDXZ
CONST ENDS
; COMDAT ??_C@_1JA@IJKHNLMB@?$AAC?$AA?3?$AA?2?$AAP?$AAr?$AAo?$AAg?$AAr?$AAa?$AAm?$AA?5?$AAF?$AAi?$AAl?$AAe?$AAs?$AA?5?$AA?$CI?$AAx?$AA8?$AA6?$AA?$CJ?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt@
CONST SEGMENT
??_C@_1JA@IJKHNLMB@?$AAC?$AA?3?$AA?2?$AAP?$AAr?$AAo?$AAg?$AAr?$AAa?$AAm?$AA?5?$AAF?$AAi?$AAl?$AAe?$AAs?$AA?5?$AA?$CI?$AAx?$AA8?$AA6?$AA?$CJ?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt@ DB 'C'
DB 00H, ':', 00H, '\', 00H, 'P', 00H, 'r', 00H, 'o', 00H, 'g', 00H
DB 'r', 00H, 'a', 00H, 'm', 00H, ' ', 00H, 'F', 00H, 'i', 00H, 'l'
DB 00H, 'e', 00H, 's', 00H, ' ', 00H, '(', 00H, 'x', 00H, '8', 00H
DB '6', 00H, ')', 00H, '\', 00H, 'M', 00H, 'i', 00H, 'c', 00H, 'r'
DB 00H, 'o', 00H, 's', 00H, 'o', 00H, 'f', 00H, 't', 00H, ' ', 00H
DB 'V', 00H, 'i', 00H, 's', 00H, 'u', 00H, 'a', 00H, 'l', 00H, ' '
DB 00H, 'S', 00H, 't', 00H, 'u', 00H, 'd', 00H, 'i', 00H, 'o', 00H
DB ' ', 00H, '1', 00H, '4', 00H, '.', 00H, '0', 00H, '\', 00H, 'V'
DB 00H, 'C', 00H, '\', 00H, 'i', 00H, 'n', 00H, 'c', 00H, 'l', 00H
DB 'u', 00H, 'd', 00H, 'e', 00H, '\', 00H, 'x', 00H, 'u', 00H, 't'
DB 00H, 'i', 00H, 'l', 00H, 'i', 00H, 't', 00H, 'y', 00H, 00H, 00H ; `string'
CONST ENDS
; COMDAT ??_C@_0BC@EOODALEL@Unknown?5exception?$AA@
CONST SEGMENT
??_C@_0BC@EOODALEL@Unknown?5exception?$AA@ DB 'Unknown exception', 00H ; `string'
CONST ENDS
; COMDAT ??_7exception@std@@6B@
CONST SEGMENT
??_7exception@std@@6B@ DD FLAT:??_R4exception@std@@6B@ ; std::exception::`vftable'
DD FLAT:??_Eexception@std@@UAEPAXI@Z
DD FLAT:?what@exception@std@@UBEPBDXZ
CONST ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z$1
__ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$1
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$2
__ehfuncinfo$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z DD 019930522H
DD 03H
DD FLAT:__unwindtable$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z$1
__ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z$1
__ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$narrow@HH@gsl@@YAHH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$narrow@HH@gsl@@YAHH@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$narrow@HH@gsl@@YAHH@Z$1
__ehfuncinfo$??$narrow@HH@gsl@@YAHH@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$narrow@HH@gsl@@YAHH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z$0
__ehfuncinfo$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z$1
__ehfuncinfo$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z$0
__ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z$0
__ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z$0
__ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z$1
__ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z$0
__ehfuncinfo$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z$0
__ehfuncinfo$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0
__ehfuncinfo$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ$0
__ehfuncinfo$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z$0
__ehfuncinfo$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0
__ehfuncinfo$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ$0
__ehfuncinfo$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__ehfuncinfo$??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z DD 019930522H
DD 00H
DD 00H
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 05H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z$0
__ehfuncinfo$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__ehfuncinfo$??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ DD 019930522H
DD 00H
DD 00H
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 05H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__ehfuncinfo$??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z DD 019930522H
DD 00H
DD 00H
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 05H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??0?$extent_type@$05@details@gsl@@QAE@H@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??0?$extent_type@$05@details@gsl@@QAE@H@Z$0
__ehfuncinfo$??0?$extent_type@$05@details@gsl@@QAE@H@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??0?$extent_type@$05@details@gsl@@QAE@H@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__ehfuncinfo$??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z DD 019930522H
DD 00H
DD 00H
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 05H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??A?$span@E$0?0@gsl@@QBEAAEH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??A?$span@E$0?0@gsl@@QBEAAEH@Z$0
__ehfuncinfo$??A?$span@E$0?0@gsl@@QBEAAEH@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??A?$span@E$0?0@gsl@@QBEAAEH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z$0
__ehfuncinfo$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z$0
__ehfuncinfo$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0
__ehfuncinfo$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ DD 0ffffffffH
DD FLAT:__unwindfunclet$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ$0
__ehfuncinfo$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ DD 019930522H
DD 01H
DD FLAT:__unwindtable$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z$0
DD 0ffffffffH
DD FLAT:__unwindfunclet$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z$1
__ehfuncinfo$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z DD 019930522H
DD 02H
DD FLAT:__unwindtable$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??A?$span@H$0?0@gsl@@QBEAAHH@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??A?$span@H$0?0@gsl@@QBEAAHH@Z$0
__ehfuncinfo$??A?$span@H$0?0@gsl@@QBEAAHH@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??A?$span@H$0?0@gsl@@QBEAAHH@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; COMDAT xdata$x
xdata$x SEGMENT
__unwindtable$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z DD 0ffffffffH
DD FLAT:__unwindfunclet$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z$0
__ehfuncinfo$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z DD 019930522H
DD 01H
DD FLAT:__unwindtable$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z
DD 2 DUP(00H)
DD 2 DUP(00H)
DD 00H
DD 01H
xdata$x ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_memmove@PBDPAE@std@@YAPAEPBD0PAE@Z
_TEXT SEGMENT
__Count$ = -16 ; size = 4
__Dest_ch$ = -12 ; size = 4
__Last_ch$ = -8 ; size = 4
__First_ch$ = -4 ; size = 4
__First$ = 8 ; size = 4
__Last$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$_Copy_memmove@PBDPAE@std@@YAPAEPBD0PAE@Z PROC ; std::_Copy_memmove<char const *,unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2301
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2302
mov eax, DWORD PTR __First$[ebp]
mov DWORD PTR __First_ch$[ebp], eax
; Line 2303
mov ecx, DWORD PTR __Last$[ebp]
mov DWORD PTR __Last_ch$[ebp], ecx
; Line 2304
mov edx, DWORD PTR __Dest$[ebp]
mov DWORD PTR __Dest_ch$[ebp], edx
; Line 2305
mov eax, DWORD PTR __Last_ch$[ebp]
sub eax, DWORD PTR __First_ch$[ebp]
mov DWORD PTR __Count$[ebp], eax
; Line 2306
mov esi, esp
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __First_ch$[ebp]
push edx
mov eax, DWORD PTR __Dest_ch$[ebp]
push eax
call DWORD PTR __imp__memmove
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
; Line 2307
mov eax, DWORD PTR __Dest_ch$[ebp]
add eax, DWORD PTR __Count$[ebp]
; Line 2308
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_memmove@PBDPAE@std@@YAPAEPBD0PAE@Z ENDP ; std::_Copy_memmove<char const *,unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_unchecked1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@U_General_ptr_iterator_tag@0@@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
___formal$ = 36 ; size = 1
??$_Copy_unchecked1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@U_General_ptr_iterator_tag@0@@Z PROC ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2314
push ebp
mov ebp, esp
push esi
; Line 2315
jmp SHORT $LN4@Copy_unche
$LN2@Copy_unche:
lea ecx, DWORD PTR __Dest$[ebp]
call ??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator++
lea ecx, DWORD PTR __First$[ebp]
call ??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator++
$LN4@Copy_unche:
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
je SHORT $LN3@Copy_unche
; Line 2316
lea ecx, DWORD PTR __First$[ebp]
call ??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator*
mov esi, eax
lea ecx, DWORD PTR __Dest$[ebp]
call ??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator*
mov dl, BYTE PTR [esi]
mov BYTE PTR [eax], dl
jmp SHORT $LN2@Copy_unche
$LN3@Copy_unche:
; Line 2317
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov ecx, DWORD PTR __Dest$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Dest$[ebp+4]
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2318
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Copy_unchecked1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@U_General_ptr_iterator_tag@0@@Z ENDP ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Ptr_copy_cat@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@ABV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@34@@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
??$_Ptr_copy_cat@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@ABV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@34@@Z PROC ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 782
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 783
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 784
mov esp, ebp
pop ebp
ret 0
??$_Ptr_copy_cat@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@ABV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@34@@Z ENDP ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_pointer@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
___formal$ = 16 ; size = 4
??$_Debug_pointer@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z PROC ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 918
push ebp
mov ebp, esp
; Line 919
pop ebp
ret 0
??$_Debug_pointer@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ENDP ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
___formal$ = 16 ; size = 4
??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z PROC ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 918
push ebp
mov ebp, esp
; Line 919
pop ebp
ret 0
??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ENDP ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_memmove@PAHPAH@std@@YAPAHPAH00@Z
_TEXT SEGMENT
__Count$ = -16 ; size = 4
__Dest_ch$ = -12 ; size = 4
__Last_ch$ = -8 ; size = 4
__First_ch$ = -4 ; size = 4
__First$ = 8 ; size = 4
__Last$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$_Copy_memmove@PAHPAH@std@@YAPAHPAH00@Z PROC ; std::_Copy_memmove<int *,int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2301
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2302
mov eax, DWORD PTR __First$[ebp]
mov DWORD PTR __First_ch$[ebp], eax
; Line 2303
mov ecx, DWORD PTR __Last$[ebp]
mov DWORD PTR __Last_ch$[ebp], ecx
; Line 2304
mov edx, DWORD PTR __Dest$[ebp]
mov DWORD PTR __Dest_ch$[ebp], edx
; Line 2305
mov eax, DWORD PTR __Last_ch$[ebp]
sub eax, DWORD PTR __First_ch$[ebp]
mov DWORD PTR __Count$[ebp], eax
; Line 2306
mov esi, esp
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __First_ch$[ebp]
push edx
mov eax, DWORD PTR __Dest_ch$[ebp]
push eax
call DWORD PTR __imp__memmove
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
; Line 2307
mov eax, DWORD PTR __Dest_ch$[ebp]
add eax, DWORD PTR __Count$[ebp]
; Line 2308
pop esi
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_memmove@PAHPAH@std@@YAPAHPAH00@Z ENDP ; std::_Copy_memmove<int *,int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_unchecked1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00U_General_ptr_iterator_tag@0@@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
___formal$ = 36 ; size = 1
??$_Copy_unchecked1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00U_General_ptr_iterator_tag@0@@Z PROC ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2314
push ebp
mov ebp, esp
push esi
; Line 2315
jmp SHORT $LN4@Copy_unche
$LN2@Copy_unche:
lea ecx, DWORD PTR __Dest$[ebp]
call ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
lea ecx, DWORD PTR __First$[ebp]
call ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
$LN4@Copy_unche:
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
je SHORT $LN3@Copy_unche
; Line 2316
lea ecx, DWORD PTR __First$[ebp]
call ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
mov esi, eax
lea ecx, DWORD PTR __Dest$[ebp]
call ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
mov edx, DWORD PTR [esi]
mov DWORD PTR [eax], edx
jmp SHORT $LN2@Copy_unche
$LN3@Copy_unche:
; Line 2317
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov ecx, DWORD PTR __Dest$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Dest$[ebp+4]
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2318
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Copy_unchecked1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00U_General_ptr_iterator_tag@0@@Z ENDP ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Ptr_copy_cat@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
??$_Ptr_copy_cat@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0@Z PROC ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 782
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 783
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 784
mov esp, ebp
pop ebp
ret 0
??$_Ptr_copy_cat@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0@Z ENDP ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
___formal$ = 16 ; size = 4
??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z PROC ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 918
push ebp
mov ebp, esp
; Line 919
pop ebp
ret 0
??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ENDP ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_n_unchecked1@PBDHPAE@std@@YAPAEPBDHPAEU_Trivially_copyable_ptr_iterator_tag@0@@Z
_TEXT SEGMENT
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
___formal$ = 20 ; size = 1
??$_Copy_n_unchecked1@PBDHPAE@std@@YAPAEPBDHPAEU_Trivially_copyable_ptr_iterator_tag@0@@Z PROC ; std::_Copy_n_unchecked1<char const *,int,unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2435
push ebp
mov ebp, esp
; Line 2436
cmp DWORD PTR __Count$[ebp], 0
jle SHORT $LN2@Copy_n_unc
; Line 2437
mov eax, DWORD PTR __Dest$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp]
add ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
call ??$_Copy_memmove@PBDPAE@std@@YAPAEPBD0PAE@Z ; std::_Copy_memmove<char const *,unsigned char *>
add esp, 12 ; 0000000cH
jmp SHORT $LN1@Copy_n_unc
$LN2@Copy_n_unc:
; Line 2438
mov eax, DWORD PTR __Dest$[ebp]
$LN1@Copy_n_unc:
; Line 2439
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Copy_n_unchecked1@PBDHPAE@std@@YAPAEPBDHPAEU_Trivially_copyable_ptr_iterator_tag@0@@Z ENDP ; std::_Copy_n_unchecked1<char const *,int,unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Ptr_copy_cat@$$CBDE@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQBDABQAE@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
___formal$ = 12 ; size = 4
___formal$ = 16 ; size = 4
??$_Ptr_copy_cat@$$CBDE@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQBDABQAE@Z PROC ; std::_Ptr_copy_cat<char const ,unsigned char>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 792
push ebp
mov ebp, esp
; Line 793
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 794
pop ebp
ret 0
??$_Ptr_copy_cat@$$CBDE@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQBDABQAE@Z ENDP ; std::_Ptr_copy_cat<char const ,unsigned char>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$forward@Unarrowing_error@gsl@@@std@@YA$$QAUnarrowing_error@gsl@@AAU12@@Z
_TEXT SEGMENT
__Arg$ = 8 ; size = 4
??$forward@Unarrowing_error@gsl@@@std@@YA$$QAUnarrowing_error@gsl@@AAU12@@Z PROC ; std::forward<gsl::narrowing_error>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits
; Line 1275
push ebp
mov ebp, esp
; Line 1276
mov eax, DWORD PTR __Arg$[ebp]
; Line 1277
pop ebp
ret 0
??$forward@Unarrowing_error@gsl@@@std@@YA$$QAUnarrowing_error@gsl@@AAU12@@Z ENDP ; std::forward<gsl::narrowing_error>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Rechecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z
_TEXT SEGMENT
__Dest$ = 8 ; size = 4
__Src$ = 12 ; size = 8
??$_Rechecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z PROC ; std::_Rechecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 457
push ebp
mov ebp, esp
; Line 458
mov eax, DWORD PTR __Dest$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Src$[ebp+4]
mov DWORD PTR [eax+4], edx
; Line 459
mov eax, DWORD PTR __Dest$[ebp]
; Line 460
pop ebp
ret 0
??$_Rechecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ENDP ; std::_Rechecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$_Copy_unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z PROC ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2332
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2334
lea eax, DWORD PTR __Dest$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Ptr_copy_cat@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@ABV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@34@@Z ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 8
mov BYTE PTR $T1[ebp], al
movzx edx, BYTE PTR $T1[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_unchecked1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@U_General_ptr_iterator_tag@0@@Z ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 32 ; 00000020H
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2336
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ENDP ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
__Src$ = 12 ; size = 8
??$_Unchecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@Z PROC ; std::_Unchecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Src$[ebp+4]
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@Z ENDP ; std::_Unchecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_range_ptr2@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WIUrandom_access_iterator_tag@0@@Z
_TEXT SEGMENT
__First$ = 8 ; size = 8
__Last$ = 16 ; size = 8
__Ptr$ = 24 ; size = 4
__File$ = 28 ; size = 4
__Line$ = 32 ; size = 4
___formal$ = 36 ; size = 1
??$_Debug_range_ptr2@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WIUrandom_access_iterator_tag@0@@Z PROC ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 984
push ebp
mov ebp, esp
push esi
; Line 985
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
je SHORT $LN1@Debug_rang
; Line 987
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
add esp, 12 ; 0000000cH
; Line 988
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
lea ecx, DWORD PTR __Last$[ebp]
push ecx
call ??$_Debug_pointer@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
add esp, 12 ; 0000000cH
; Line 989
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
mov ecx, DWORD PTR __Last$[ebp+4]
push ecx
mov edx, DWORD PTR __Last$[ebp]
push edx
call ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator<
add esp, 16 ; 00000010H
movzx eax, al
test eax, eax
je SHORT $LN3@Debug_rang
; Line 990
mov esi, esp
mov ecx, DWORD PTR __Line$[ebp]
push ecx
mov edx, DWORD PTR __File$[ebp]
push edx
push OFFSET ??_C@_1CO@DGLIKNHI@?$AAi?$AAn?$AAv?$AAa?$AAl?$AAi?$AAd?$AA?5?$AAi?$AAt?$AAe?$AAr?$AAa?$AAt?$AAo?$AAr?$AA?5?$AAr?$AAa?$AAn?$AAg?$AAe?$AA?$AA@
call DWORD PTR __imp_?_Debug_message@std@@YAXPB_W0I@Z
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN3@Debug_rang:
; Line 991
mov eax, DWORD PTR __Line$[ebp]
push eax
mov ecx, DWORD PTR __File$[ebp]
push ecx
mov edx, DWORD PTR __Ptr$[ebp]
push edx
call ??$_Debug_pointer@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 12 ; 0000000cH
$LN1@Debug_rang:
; Line 993
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Debug_range_ptr2@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WIUrandom_access_iterator_tag@0@@Z ENDP ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_n_unchecked1@PAHHPAH@std@@YAPAHPAHH0U_Trivially_copyable_ptr_iterator_tag@0@@Z
_TEXT SEGMENT
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
___formal$ = 20 ; size = 1
??$_Copy_n_unchecked1@PAHHPAH@std@@YAPAHPAHH0U_Trivially_copyable_ptr_iterator_tag@0@@Z PROC ; std::_Copy_n_unchecked1<int *,int,int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2435
push ebp
mov ebp, esp
; Line 2436
cmp DWORD PTR __Count$[ebp], 0
jle SHORT $LN2@Copy_n_unc
; Line 2437
mov eax, DWORD PTR __Dest$[ebp]
push eax
mov ecx, DWORD PTR __Count$[ebp]
mov edx, DWORD PTR __First$[ebp]
lea eax, DWORD PTR [edx+ecx*4]
push eax
mov ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Copy_memmove@PAHPAH@std@@YAPAHPAH00@Z ; std::_Copy_memmove<int *,int *>
add esp, 12 ; 0000000cH
jmp SHORT $LN1@Copy_n_unc
$LN2@Copy_n_unc:
; Line 2438
mov eax, DWORD PTR __Dest$[ebp]
$LN1@Copy_n_unc:
; Line 2439
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Copy_n_unchecked1@PAHHPAH@std@@YAPAHPAHH0U_Trivially_copyable_ptr_iterator_tag@0@@Z ENDP ; std::_Copy_n_unchecked1<int *,int,int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Ptr_copy_cat@HH@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQAH0@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
___formal$ = 12 ; size = 4
___formal$ = 16 ; size = 4
??$_Ptr_copy_cat@HH@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQAH0@Z PROC ; std::_Ptr_copy_cat<int,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 792
push ebp
mov ebp, esp
; Line 793
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 794
pop ebp
ret 0
??$_Ptr_copy_cat@HH@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQAH0@Z ENDP ; std::_Ptr_copy_cat<int,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Rechecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z
_TEXT SEGMENT
__Dest$ = 8 ; size = 4
__Src$ = 12 ; size = 8
??$_Rechecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z PROC ; std::_Rechecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 457
push ebp
mov ebp, esp
; Line 458
mov eax, DWORD PTR __Dest$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Src$[ebp+4]
mov DWORD PTR [eax+4], edx
; Line 459
mov eax, DWORD PTR __Dest$[ebp]
; Line 460
pop ebp
ret 0
??$_Rechecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ENDP ; std::_Rechecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$_Copy_unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z PROC ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2332
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2334
lea eax, DWORD PTR __Dest$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Ptr_copy_cat@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AU_General_ptr_iterator_tag@0@ABV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0@Z ; std::_Ptr_copy_cat<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 8
mov BYTE PTR $T1[ebp], al
movzx edx, BYTE PTR $T1[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_unchecked1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00U_General_ptr_iterator_tag@0@@Z ; std::_Copy_unchecked1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 32 ; 00000020H
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2336
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ENDP ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_range_ptr2@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WIUrandom_access_iterator_tag@0@@Z
_TEXT SEGMENT
__First$ = 8 ; size = 8
__Last$ = 16 ; size = 8
__Ptr$ = 24 ; size = 4
__File$ = 28 ; size = 4
__Line$ = 32 ; size = 4
___formal$ = 36 ; size = 1
??$_Debug_range_ptr2@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WIUrandom_access_iterator_tag@0@@Z PROC ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 984
push ebp
mov ebp, esp
push esi
; Line 985
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
je SHORT $LN1@Debug_rang
; Line 987
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
; Line 988
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
lea ecx, DWORD PTR __Last$[ebp]
push ecx
call ??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
; Line 989
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
mov ecx, DWORD PTR __Last$[ebp+4]
push ecx
mov edx, DWORD PTR __Last$[ebp]
push edx
call ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator<
add esp, 16 ; 00000010H
movzx eax, al
test eax, eax
je SHORT $LN3@Debug_rang
; Line 990
mov esi, esp
mov ecx, DWORD PTR __Line$[ebp]
push ecx
mov edx, DWORD PTR __File$[ebp]
push edx
push OFFSET ??_C@_1CO@DGLIKNHI@?$AAi?$AAn?$AAv?$AAa?$AAl?$AAi?$AAd?$AA?5?$AAi?$AAt?$AAe?$AAr?$AAa?$AAt?$AAo?$AAr?$AA?5?$AAr?$AAa?$AAn?$AAg?$AAe?$AA?$AA@
call DWORD PTR __imp_?_Debug_message@std@@YAXPB_W0I@Z
add esp, 12 ; 0000000cH
cmp esi, esp
call __RTC_CheckEsp
$LN3@Debug_rang:
; Line 991
mov eax, DWORD PTR __Line$[ebp]
push eax
mov ecx, DWORD PTR __File$[ebp]
push ecx
mov edx, DWORD PTR __Ptr$[ebp]
push edx
call ??$_Debug_pointer@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YAXAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@PB_WI@Z ; std::_Debug_pointer<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
$LN1@Debug_rang:
; Line 993
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Debug_range_ptr2@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WIUrandom_access_iterator_tag@0@@Z ENDP ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z
_TEXT SEGMENT
tv141 = -60 ; size = 4
tv148 = -56 ; size = 4
tv134 = -52 ; size = 4
tv144 = -48 ; size = 4
$T2 = -44 ; size = 4
$T3 = -40 ; size = 12
$T4 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 1
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z PROC ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 597
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 48 ; 00000030H
push edi
push ecx
lea edi, DWORD PTR [ebp-60]
mov ecx, 12 ; 0000000cH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 596
movzx eax, BYTE PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><6>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 598
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv144[ebp], eax
mov eax, DWORD PTR tv144[ebp]
mov DWORD PTR tv134[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv134[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN9@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN9@extent_typ:
; Line 599
cmp DWORD PTR _data$[ebp], 0
jne SHORT $LN6@extent_typ
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
je SHORT $LN6@extent_typ
push OFFSET ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
mov DWORD PTR tv141[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR $T2[ebp]
or edx, 2
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv141[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 2
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 600
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 60 ; 0000003cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN8@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN8@extent_typ:
ret 0
__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN11@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN11@extent_typ:
ret 0
__ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-56]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z ENDP ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Rechecked@PAEPAE@std@@YAAAPAEAAPAEPAE@Z
_TEXT SEGMENT
__Dest$ = 8 ; size = 4
__Src$ = 12 ; size = 4
??$_Rechecked@PAEPAE@std@@YAAAPAEAAPAEPAE@Z PROC ; std::_Rechecked<unsigned char *,unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 457
push ebp
mov ebp, esp
; Line 458
mov eax, DWORD PTR __Dest$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
; Line 459
mov eax, DWORD PTR __Dest$[ebp]
; Line 460
pop ebp
ret 0
??$_Rechecked@PAEPAE@std@@YAAAPAEAAPAEPAE@Z ENDP ; std::_Rechecked<unsigned char *,unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_n_unchecked@PBDHPAE@std@@YAPAEPBDHPAE@Z
_TEXT SEGMENT
$T1 = -2 ; size = 1
$T2 = -1 ; size = 1
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$_Copy_n_unchecked@PBDHPAE@std@@YAPAEPBDHPAE@Z PROC ; std::_Copy_n_unchecked<char const *,int,unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2446
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2447
lea eax, DWORD PTR __Dest$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
lea edx, DWORD PTR $T2[ebp]
push edx
call ??$_Ptr_copy_cat@$$CBDE@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQBDABQAE@Z ; std::_Ptr_copy_cat<char const ,unsigned char>
add esp, 12 ; 0000000cH
movzx eax, BYTE PTR $T1[ebp]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??$_Copy_n_unchecked1@PBDHPAE@std@@YAPAEPBDHPAEU_Trivially_copyable_ptr_iterator_tag@0@@Z ; std::_Copy_n_unchecked1<char const *,int,unsigned char *>
add esp, 16 ; 00000010H
; Line 2449
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_n_unchecked@PBDHPAE@std@@YAPAEPBDHPAE@Z ENDP ; std::_Copy_n_unchecked<char const *,int,unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@PAE@std@@YAPAEPAE@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
??$_Unchecked@PAE@std@@YAPAEPAE@Z PROC ; std::_Unchecked<unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR __Src$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@PAE@std@@YAPAEPAE@Z ENDP ; std::_Unchecked<unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n1@PAEH@std@@YAPAEPAEHU?$integral_constant@_N$00@0@@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
___formal$ = 16 ; size = 1
??$_Unchecked_n1@PAEH@std@@YAPAEPAEHU?$integral_constant@_N$00@0@@Z PROC ; std::_Unchecked_n1<unsigned char *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 693
push ebp
mov ebp, esp
; Line 699
mov eax, DWORD PTR __Src$[ebp]
push eax
call ??$_Unchecked@PAE@std@@YAPAEPAE@Z ; std::_Unchecked<unsigned char *>
add esp, 4
; Line 700
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Unchecked_n1@PAEH@std@@YAPAEPAEHU?$integral_constant@_N$00@0@@Z ENDP ; std::_Unchecked_n1<unsigned char *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n@PAEH@std@@YAPAEPAEH@Z
_TEXT SEGMENT
$T1 = -2 ; size = 1
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
??$_Unchecked_n@PAEH@std@@YAPAEPAEH@Z PROC ; std::_Unchecked_n<unsigned char *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 705
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 706
movzx eax, BYTE PTR $T1[ebp]
push eax
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __Src$[ebp]
push edx
call ??$_Unchecked_n1@PAEH@std@@YAPAEPAEHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<unsigned char *,int>
add esp, 12 ; 0000000cH
; Line 707
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Unchecked_n@PAEH@std@@YAPAEPAEH@Z ENDP ; std::_Unchecked_n<unsigned char *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@PBD@std@@YAPBDPBD@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
??$_Unchecked@PBD@std@@YAPBDPBD@Z PROC ; std::_Unchecked<char const *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR __Src$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@PBD@std@@YAPBDPBD@Z ENDP ; std::_Unchecked<char const *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n1@PBDH@std@@YAPBDPBDHU?$integral_constant@_N$00@0@@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
___formal$ = 16 ; size = 1
??$_Unchecked_n1@PBDH@std@@YAPBDPBDHU?$integral_constant@_N$00@0@@Z PROC ; std::_Unchecked_n1<char const *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 693
push ebp
mov ebp, esp
; Line 699
mov eax, DWORD PTR __Src$[ebp]
push eax
call ??$_Unchecked@PBD@std@@YAPBDPBD@Z ; std::_Unchecked<char const *>
add esp, 4
; Line 700
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Unchecked_n1@PBDH@std@@YAPBDPBDHU?$integral_constant@_N$00@0@@Z ENDP ; std::_Unchecked_n1<char const *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n@PBDH@std@@YAPBDPBDH@Z
_TEXT SEGMENT
$T1 = -2 ; size = 1
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
??$_Unchecked_n@PBDH@std@@YAPBDPBDH@Z PROC ; std::_Unchecked_n<char const *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 705
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 706
movzx eax, BYTE PTR $T1[ebp]
push eax
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __Src$[ebp]
push edx
call ??$_Unchecked_n1@PBDH@std@@YAPBDPBDHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<char const *,int>
add esp, 12 ; 0000000cH
; Line 707
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Unchecked_n@PBDH@std@@YAPBDPBDH@Z ENDP ; std::_Unchecked_n<char const *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Is_checked@PAE@std@@YA?AU?$integral_constant@_N$0A@@0@PAE@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 4
??$_Is_checked@PAE@std@@YA?AU?$integral_constant@_N$0A@@0@PAE@Z PROC ; std::_Is_checked<unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 420
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 421
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 422
mov esp, ebp
pop ebp
ret 0
??$_Is_checked@PAE@std@@YA?AU?$integral_constant@_N$0A@@0@PAE@Z ENDP ; std::_Is_checked<unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?_Deprecate@_Unchecked_iterators@?1???$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z@SAXU?$integral_constant@_N$0A@@2@@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 1
?_Deprecate@_Unchecked_iterators@?1???$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z@SAXU?$integral_constant@_N$0A@@2@@Z PROC ; `std::copy_n<char const *,int,unsigned char *>'::`2'::_Unchecked_iterators::_Deprecate, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2458
push ebp
mov ebp, esp
pop ebp
ret 0
?_Deprecate@_Unchecked_iterators@?1???$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z@SAXU?$integral_constant@_N$0A@@2@@Z ENDP ; `std::copy_n<char const *,int,unsigned char *>'::`2'::_Unchecked_iterators::_Deprecate
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z
_TEXT SEGMENT
$T1 = -12 ; size = 12
_exception$ = 8 ; size = 4
??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z PROC ; gsl::details::throw_exception<gsl::narrowing_error>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_assert
; Line 143
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 144
mov eax, DWORD PTR _exception$[ebp]
push eax
call ??$forward@Unarrowing_error@gsl@@@std@@YA$$QAUnarrowing_error@gsl@@AAU12@@Z ; std::forward<gsl::narrowing_error>
add esp, 4
push eax
lea ecx, DWORD PTR $T1[ebp]
call ??0narrowing_error@gsl@@QAE@$$QAU01@@Z
push OFFSET __TI2?AUnarrowing_error@gsl@@
lea ecx, DWORD PTR $T1[ebp]
push ecx
call __CxxThrowException@8
$LN2@throw_exce:
; Line 145
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z ENDP ; gsl::details::throw_exception<gsl::narrowing_error>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$narrow_cast@HAAH@gsl@@YAHAAH@Z
_TEXT SEGMENT
_u$ = 8 ; size = 4
??$narrow_cast@HAAH@gsl@@YAHAAH@Z PROC ; gsl::narrow_cast<int,int &>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_util
; Line 99
push ebp
mov ebp, esp
; Line 100
mov eax, DWORD PTR _u$[ebp]
push eax
call ??$forward@AAH@std@@YAAAHAAH@Z ; std::forward<int &>
add esp, 4
mov eax, DWORD PTR [eax]
; Line 101
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$narrow_cast@HAAH@gsl@@YAHAAH@Z ENDP ; gsl::narrow_cast<int,int &>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@Urandom_access_iterator_tag@0@2@Z
_TEXT SEGMENT
$T1 = -24 ; size = 8
$T2 = -16 ; size = 8
$T3 = -8 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
___formal$ = 36 ; size = 1
___formal$ = 40 ; size = 1
??$_Copy_no_deprecate1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@Urandom_access_iterator_tag@0@2@Z PROC ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2351
push ebp
mov ebp, esp
sub esp, 24 ; 00000018H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2352
mov eax, DWORD PTR __First$[ebp+4]
push eax
mov ecx, DWORD PTR __First$[ebp]
push ecx
lea ecx, DWORD PTR __Last$[ebp]
call ??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator-
push eax
lea edx, DWORD PTR $T3[ebp]
push edx
lea ecx, DWORD PTR __Dest$[ebp]
call ??H?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+
; Line 2353
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
lea edx, DWORD PTR $T2[ebp]
push edx
call ??$_Unchecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 12 ; 0000000cH
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
lea ecx, DWORD PTR $T1[ebp]
push ecx
call ??$_Copy_unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 28 ; 0000001cH
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
lea ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Rechecked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ; std::_Rechecked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 12 ; 0000000cH
mov edx, DWORD PTR [eax]
mov eax, DWORD PTR [eax+4]
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
mov DWORD PTR [ecx], edx
mov DWORD PTR [ecx+4], eax
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2355
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_no_deprecate1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@Urandom_access_iterator_tag@0@2@Z ENDP ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
__Src$ = 12 ; size = 8
??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z PROC ; std::_Unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Src$[ebp+4]
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z ENDP ; std::_Unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_range_ptr@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WI@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
__First$ = 8 ; size = 8
__Last$ = 16 ; size = 8
__Ptr$ = 24 ; size = 4
__File$ = 28 ; size = 4
__Line$ = 32 ; size = 4
??$_Debug_range_ptr@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WI@Z PROC ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 999
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 1000
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
mov ecx, DWORD PTR __Ptr$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
call ??$_Debug_range_ptr2@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WIUrandom_access_iterator_tag@0@@Z ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 32 ; 00000020H
; Line 1001
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Debug_range_ptr@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WI@Z ENDP ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z
_TEXT SEGMENT
tv145 = -80 ; size = 4
tv156 = -76 ; size = 4
tv138 = -72 ; size = 4
tv152 = -68 ; size = 4
tv131 = -64 ; size = 4
tv148 = -60 ; size = 4
$T2 = -56 ; size = 4
$T3 = -52 ; size = 12
$T4 = -40 ; size = 12
$T5 = -28 ; size = 12
_cur$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
___$ReturnUdt$ = 8 ; size = 4
_seq$ = 12 ; size = 4
_max$ = 16 ; size = 4
??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z PROC ; gsl::ensure_sentinel<char const ,0>, COMDAT
; File c:\projects\gsl\include\gsl\string_span
; Line 113
push ebp
mov ebp, esp
push -1
push __ehhandler$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 68 ; 00000044H
push edi
lea edi, DWORD PTR [ebp-80]
mov ecx, 17 ; 00000011H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR $T2[ebp], 0
; Line 114
cmp DWORD PTR _seq$[ebp], 0
je SHORT $LN5@ensure_sen
jmp SHORT $LN6@ensure_sen
$LN5@ensure_sen:
push OFFSET $SG61561
lea ecx, DWORD PTR $T5[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov eax, DWORD PTR tv148[ebp]
mov DWORD PTR tv131[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv131[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@ensure_sen:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN13@ensure_sen
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T5[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN13@ensure_sen:
; Line 117
mov ecx, DWORD PTR _seq$[ebp]
mov DWORD PTR _cur$[ebp], ecx
; Line 118
cmp DWORD PTR _cur$[ebp], 0
je SHORT $LN7@ensure_sen
jmp SHORT $LN8@ensure_sen
$LN7@ensure_sen:
push OFFSET $SG61562
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv152[ebp], eax
mov edx, DWORD PTR tv152[ebp]
mov DWORD PTR tv138[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov eax, DWORD PTR $T2[ebp]
or eax, 2
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv138[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN8@ensure_sen:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 2
je SHORT $LN2@ensure_sen
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN2@ensure_sen:
; Line 121
mov eax, DWORD PTR _cur$[ebp]
sub eax, DWORD PTR _seq$[ebp]
cmp eax, DWORD PTR _max$[ebp]
jge SHORT $LN3@ensure_sen
mov ecx, DWORD PTR _cur$[ebp]
movsx edx, BYTE PTR [ecx]
test edx, edx
je SHORT $LN3@ensure_sen
mov eax, DWORD PTR _cur$[ebp]
add eax, 1
mov DWORD PTR _cur$[ebp], eax
jmp SHORT $LN2@ensure_sen
$LN3@ensure_sen:
; Line 122
mov ecx, DWORD PTR _cur$[ebp]
movsx edx, BYTE PTR [ecx]
test edx, edx
jne SHORT $LN9@ensure_sen
jmp SHORT $LN10@ensure_sen
$LN9@ensure_sen:
push OFFSET $SG61563
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv156[ebp], eax
mov eax, DWORD PTR tv156[ebp]
mov DWORD PTR tv145[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 2
mov ecx, DWORD PTR $T2[ebp]
or ecx, 4
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv145[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN10@ensure_sen:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 4
je SHORT $LN19@ensure_sen
and DWORD PTR $T2[ebp], -5 ; fffffffbH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN19@ensure_sen:
; Line 123
mov ecx, DWORD PTR _cur$[ebp]
sub ecx, DWORD PTR _seq$[ebp]
push ecx
mov edx, DWORD PTR _seq$[ebp]
push edx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ; gsl::span<char const ,-1>::span<char const ,-1>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN4@ensure_sen:
; Line 124
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 80 ; 00000050H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN12@ensure_sen
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T5[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN12@ensure_sen:
ret 0
__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN15@ensure_sen
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN15@ensure_sen:
ret 0
__unwindfunclet$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z$2:
mov eax, DWORD PTR $T2[ebp]
and eax, 4
je $LN18@ensure_sen
and DWORD PTR $T2[ebp], -5 ; fffffffbH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN18@ensure_sen:
ret 0
__ehhandler$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-76]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z ENDP ; gsl::ensure_sentinel<char const ,0>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$forward@I@std@@YA$$QAIAAI@Z
_TEXT SEGMENT
__Arg$ = 8 ; size = 4
??$forward@I@std@@YA$$QAIAAI@Z PROC ; std::forward<unsigned int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits
; Line 1275
push ebp
mov ebp, esp
; Line 1276
mov eax, DWORD PTR __Arg$[ebp]
; Line 1277
pop ebp
ret 0
??$forward@I@std@@YA$$QAIAAI@Z ENDP ; std::forward<unsigned int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$09@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$09@12@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ext$ = 8 ; size = 1
??$?0$09@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$09@12@@Z PROC ; gsl::details::extent_type<-1>::extent_type<-1><10>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 334
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 333
lea ecx, DWORD PTR _ext$[ebp]
call ?size@?$extent_type@$09@details@gsl@@QBEHXZ ; gsl::details::extent_type<10>::size
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], eax
; Line 334
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??$?0$09@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$09@12@@Z ENDP ; gsl::details::extent_type<-1>::extent_type<-1><10>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Rechecked@PAHPAH@std@@YAAAPAHAAPAHPAH@Z
_TEXT SEGMENT
__Dest$ = 8 ; size = 4
__Src$ = 12 ; size = 4
??$_Rechecked@PAHPAH@std@@YAAAPAHAAPAHPAH@Z PROC ; std::_Rechecked<int *,int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 457
push ebp
mov ebp, esp
; Line 458
mov eax, DWORD PTR __Dest$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
; Line 459
mov eax, DWORD PTR __Dest$[ebp]
; Line 460
pop ebp
ret 0
??$_Rechecked@PAHPAH@std@@YAAAPAHAAPAHPAH@Z ENDP ; std::_Rechecked<int *,int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_n_unchecked@PAHHPAH@std@@YAPAHPAHH0@Z
_TEXT SEGMENT
$T1 = -2 ; size = 1
$T2 = -1 ; size = 1
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$_Copy_n_unchecked@PAHHPAH@std@@YAPAHPAHH0@Z PROC ; std::_Copy_n_unchecked<int *,int,int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2446
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2447
lea eax, DWORD PTR __Dest$[ebp]
push eax
lea ecx, DWORD PTR __First$[ebp]
push ecx
lea edx, DWORD PTR $T2[ebp]
push edx
call ??$_Ptr_copy_cat@HH@std@@YA?AU_Really_trivial_ptr_iterator_tag@0@ABQAH0@Z ; std::_Ptr_copy_cat<int,int>
add esp, 12 ; 0000000cH
movzx eax, BYTE PTR $T1[ebp]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??$_Copy_n_unchecked1@PAHHPAH@std@@YAPAHPAHH0U_Trivially_copyable_ptr_iterator_tag@0@@Z ; std::_Copy_n_unchecked1<int *,int,int *>
add esp, 16 ; 00000010H
; Line 2449
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_n_unchecked@PAHHPAH@std@@YAPAHPAHH0@Z ENDP ; std::_Copy_n_unchecked<int *,int,int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@PAH@std@@YAPAHPAH@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
??$_Unchecked@PAH@std@@YAPAHPAH@Z PROC ; std::_Unchecked<int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR __Src$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@PAH@std@@YAPAHPAH@Z ENDP ; std::_Unchecked<int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n1@PAHH@std@@YAPAHPAHHU?$integral_constant@_N$00@0@@Z
_TEXT SEGMENT
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
___formal$ = 16 ; size = 1
??$_Unchecked_n1@PAHH@std@@YAPAHPAHHU?$integral_constant@_N$00@0@@Z PROC ; std::_Unchecked_n1<int *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 693
push ebp
mov ebp, esp
; Line 699
mov eax, DWORD PTR __Src$[ebp]
push eax
call ??$_Unchecked@PAH@std@@YAPAHPAH@Z ; std::_Unchecked<int *>
add esp, 4
; Line 700
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$_Unchecked_n1@PAHH@std@@YAPAHPAHHU?$integral_constant@_N$00@0@@Z ENDP ; std::_Unchecked_n1<int *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z
_TEXT SEGMENT
$T1 = -2 ; size = 1
__Src$ = 8 ; size = 4
__Count$ = 12 ; size = 4
??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z PROC ; std::_Unchecked_n<int *,int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 705
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 706
movzx eax, BYTE PTR $T1[ebp]
push eax
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __Src$[ebp]
push edx
call ??$_Unchecked_n1@PAHH@std@@YAPAHPAHHU?$integral_constant@_N$00@0@@Z ; std::_Unchecked_n1<int *,int>
add esp, 12 ; 0000000cH
; Line 707
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z ENDP ; std::_Unchecked_n<int *,int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Is_checked@PAH@std@@YA?AU?$integral_constant@_N$0A@@0@PAH@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 4
??$_Is_checked@PAH@std@@YA?AU?$integral_constant@_N$0A@@0@PAH@Z PROC ; std::_Is_checked<int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 420
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 421
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 422
mov esp, ebp
pop ebp
ret 0
??$_Is_checked@PAH@std@@YA?AU?$integral_constant@_N$0A@@0@PAH@Z ENDP ; std::_Is_checked<int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?_Deprecate@_Unchecked_iterators@?1???$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z@SAXU?$integral_constant@_N$0A@@2@@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 1
?_Deprecate@_Unchecked_iterators@?1???$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z@SAXU?$integral_constant@_N$0A@@2@@Z PROC ; `std::copy_n<int *,int,int *>'::`2'::_Unchecked_iterators::_Deprecate, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2458
push ebp
mov ebp, esp
pop ebp
ret 0
?_Deprecate@_Unchecked_iterators@?1???$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z@SAXU?$integral_constant@_N$0A@@2@@Z ENDP ; `std::copy_n<int *,int,int *>'::`2'::_Unchecked_iterators::_Deprecate
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00Urandom_access_iterator_tag@0@1@Z
_TEXT SEGMENT
$T1 = -24 ; size = 8
$T2 = -16 ; size = 8
$T3 = -8 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
___formal$ = 36 ; size = 1
___formal$ = 40 ; size = 1
??$_Copy_no_deprecate1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00Urandom_access_iterator_tag@0@1@Z PROC ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2351
push ebp
mov ebp, esp
sub esp, 24 ; 00000018H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2352
mov eax, DWORD PTR __First$[ebp+4]
push eax
mov ecx, DWORD PTR __First$[ebp]
push ecx
lea ecx, DWORD PTR __Last$[ebp]
call ??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator-
push eax
lea edx, DWORD PTR $T3[ebp]
push edx
lea ecx, DWORD PTR __Dest$[ebp]
call ??H?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+
; Line 2353
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
lea edx, DWORD PTR $T2[ebp]
push edx
call ??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
mov eax, DWORD PTR __Last$[ebp+4]
push eax
mov ecx, DWORD PTR __Last$[ebp]
push ecx
mov edx, DWORD PTR __First$[ebp+4]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
lea ecx, DWORD PTR $T1[ebp]
push ecx
call ??$_Copy_unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::_Copy_unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 28 ; 0000001cH
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
lea ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Rechecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAAAV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@AAV123@V123@@Z ; std::_Rechecked<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
mov edx, DWORD PTR [eax]
mov eax, DWORD PTR [eax+4]
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
mov DWORD PTR [ecx], edx
mov DWORD PTR [ecx+4], eax
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2355
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_no_deprecate1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00Urandom_access_iterator_tag@0@1@Z ENDP ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
__Src$ = 12 ; size = 8
??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z PROC ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 427
push ebp
mov ebp, esp
; Line 428
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov ecx, DWORD PTR __Src$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR __Src$[ebp+4]
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 429
pop ebp
ret 0
??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z ENDP ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Debug_range_ptr@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WI@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
__First$ = 8 ; size = 8
__Last$ = 16 ; size = 8
__Ptr$ = 24 ; size = 4
__File$ = 28 ; size = 4
__Line$ = 32 ; size = 4
??$_Debug_range_ptr@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WI@Z PROC ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 999
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 1000
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
mov edx, DWORD PTR __Line$[ebp]
push edx
mov eax, DWORD PTR __File$[ebp]
push eax
mov ecx, DWORD PTR __Ptr$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
call ??$_Debug_range_ptr2@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WIUrandom_access_iterator_tag@0@@Z ; std::_Debug_range_ptr2<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 32 ; 00000020H
; Line 1001
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Debug_range_ptr@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WI@Z ENDP ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$0A@@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$0A@@12@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ext$ = 8 ; size = 1
??$?0$0A@@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$0A@@12@@Z PROC ; gsl::details::extent_type<-1>::extent_type<-1><0>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 334
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 333
lea ecx, DWORD PTR _ext$[ebp]
call ?size@?$extent_type@$0A@@details@gsl@@QBEHXZ ; gsl::details::extent_type<0>::size
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], eax
; Line 334
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??$?0$0A@@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$0A@@12@@Z ENDP ; gsl::details::extent_type<-1>::extent_type<-1><0>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ext$ = 8 ; size = 1
??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z PROC ; gsl::details::extent_type<-1>::extent_type<-1><6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 334
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 333
lea ecx, DWORD PTR _ext$[ebp]
call ?size@?$extent_type@$05@details@gsl@@QBEHXZ ; gsl::details::extent_type<6>::size
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], eax
; Line 334
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z ENDP ; gsl::details::extent_type<-1>::extent_type<-1><6>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z
_TEXT SEGMENT
tv141 = -60 ; size = 4
tv148 = -56 ; size = 4
tv134 = -52 ; size = 4
tv144 = -48 ; size = 4
$T2 = -44 ; size = 4
$T3 = -40 ; size = 12
$T4 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 4
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z PROC ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 597
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 48 ; 00000030H
push edi
push ecx
lea edi, DWORD PTR [ebp-60]
mov ecx, 12 ; 0000000cH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 596
mov eax, DWORD PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ; gsl::details::extent_type<-1>::extent_type<-1>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 598
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv144[ebp], eax
mov eax, DWORD PTR tv144[ebp]
mov DWORD PTR tv134[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv134[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN9@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN9@extent_typ:
; Line 599
cmp DWORD PTR _data$[ebp], 0
jne SHORT $LN6@extent_typ
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
je SHORT $LN6@extent_typ
push OFFSET ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
mov DWORD PTR tv141[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR $T2[ebp]
or edx, 2
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv141[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 2
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 600
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 60 ; 0000003cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN8@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN8@extent_typ:
ret 0
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN11@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN11@extent_typ:
ret 0
__ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-56]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z ENDP ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z
_TEXT SEGMENT
tv141 = -60 ; size = 4
tv148 = -56 ; size = 4
tv134 = -52 ; size = 4
tv144 = -48 ; size = 4
$T2 = -44 ; size = 4
$T3 = -40 ; size = 12
$T4 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 4
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z PROC ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 597
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 48 ; 00000030H
push edi
push ecx
lea edi, DWORD PTR [ebp-60]
mov ecx, 12 ; 0000000cH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 596
mov eax, DWORD PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ; gsl::details::extent_type<-1>::extent_type<-1>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 598
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv144[ebp], eax
mov eax, DWORD PTR tv144[ebp]
mov DWORD PTR tv134[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv134[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN9@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN9@extent_typ:
; Line 599
cmp DWORD PTR _data$[ebp], 0
jne SHORT $LN6@extent_typ
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
je SHORT $LN6@extent_typ
push OFFSET ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
mov DWORD PTR tv141[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR $T2[ebp]
or edx, 2
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv141[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 2
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 600
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 60 ; 0000003cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN8@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN8@extent_typ:
ret 0
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN11@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN11@extent_typ:
ret 0
__ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-56]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ENDP ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$forward@AAH@std@@YAAAHAAH@Z
_TEXT SEGMENT
__Arg$ = 8 ; size = 4
??$forward@AAH@std@@YAAAHAAH@Z PROC ; std::forward<int &>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits
; Line 1275
push ebp
mov ebp, esp
; Line 1276
mov eax, DWORD PTR __Arg$[ebp]
; Line 1277
pop ebp
ret 0
??$forward@AAH@std@@YAAAHAAH@Z ENDP ; std::forward<int &>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0H$05X@?$span@H$0?0@gsl@@QAE@ABV?$span@H$05@1@@Z
_TEXT SEGMENT
$T1 = -5 ; size = 1
_this$ = -4 ; size = 4
_other$ = 8 ; size = 4
??$?0H$05X@?$span@H$0?0@gsl@@QAE@ABV?$span@H$05@1@@Z PROC ; gsl::span<int,-1>::span<int,-1><int,6,void>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 448
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 447
mov ecx, DWORD PTR _other$[ebp]
call ?size@?$span@H$05@gsl@@QBEHXZ ; gsl::span<int,6>::size
push eax
lea ecx, DWORD PTR $T1[ebp]
call ??0?$extent_type@$05@details@gsl@@QAE@H@Z ; gsl::details::extent_type<6>::extent_type<6>
mov al, BYTE PTR [eax]
movzx ecx, al
push ecx
mov ecx, DWORD PTR _other$[ebp]
call ?data@?$span@H$05@gsl@@QBEPAHXZ ; gsl::span<int,6>::data
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$05@details@2@@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
; Line 448
mov eax, DWORD PTR _this$[ebp]
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??$?0H$05X@?$span@H$0?0@gsl@@QAE@ABV?$span@H$05@1@@Z ENDP ; gsl::span<int,-1>::span<int,-1><int,6,void>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z PROC ; std::copy_n<char const *,int,unsigned char *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2456
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2458
mov eax, DWORD PTR __Dest$[ebp]
push eax
call ??$_Is_checked@PAE@std@@YA?AU?$integral_constant@_N$0A@@0@PAE@Z ; std::_Is_checked<unsigned char *>
add esp, 4
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
call ?_Deprecate@_Unchecked_iterators@?1???$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z@SAXU?$integral_constant@_N$0A@@2@@Z ; `std::copy_n<char const *,int,unsigned char *>'::`2'::_Unchecked_iterators::_Deprecate
add esp, 4
; Line 2459
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp]
push eax
call ??$_Unchecked_n@PAEH@std@@YAPAEPAEH@Z ; std::_Unchecked_n<unsigned char *,int>
add esp, 8
push eax
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??$_Unchecked_n@PBDH@std@@YAPBDPBDH@Z ; std::_Unchecked_n<char const *,int>
add esp, 8
push eax
call ??$_Copy_n_unchecked@PBDHPAE@std@@YAPAEPBDHPAE@Z ; std::_Copy_n_unchecked<char const *,int,unsigned char *>
add esp, 12 ; 0000000cH
push eax
lea ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Rechecked@PAEPAE@std@@YAAAPAEAAPAEPAE@Z ; std::_Rechecked<unsigned char *,unsigned char *>
add esp, 8
mov eax, DWORD PTR [eax]
; Line 2461
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z ENDP ; std::copy_n<char const *,int,unsigned char *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$narrow@HH@gsl@@YAHH@Z
_TEXT SEGMENT
tv87 = -56 ; size = 4
tv89 = -52 ; size = 4
tv85 = -48 ; size = 4
tv88 = -44 ; size = 4
$T2 = -40 ; size = 12
$T3 = -28 ; size = 12
_t$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_u$ = 8 ; size = 4
??$narrow@HH@gsl@@YAHH@Z PROC ; gsl::narrow<int,int>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_util
; Line 124
push ebp
mov ebp, esp
push -1
push __ehhandler$??$narrow@HH@gsl@@YAHH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 44 ; 0000002cH
push edi
lea edi, DWORD PTR [ebp-56]
mov ecx, 11 ; 0000000bH
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
; Line 125
lea eax, DWORD PTR _u$[ebp]
push eax
call ??$narrow_cast@HAAH@gsl@@YAHAAH@Z ; gsl::narrow_cast<int,int &>
add esp, 4
mov DWORD PTR _t$[ebp], eax
; Line 126
mov ecx, DWORD PTR _t$[ebp]
cmp ecx, DWORD PTR _u$[ebp]
je SHORT $LN2@narrow
xor edx, edx
mov DWORD PTR $T3[ebp], edx
mov DWORD PTR $T3[ebp+4], edx
mov DWORD PTR $T3[ebp+8], edx
lea ecx, DWORD PTR $T3[ebp]
call ??0narrowing_error@gsl@@QAE@XZ
mov DWORD PTR tv88[ebp], eax
mov eax, DWORD PTR tv88[ebp]
mov DWORD PTR tv85[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR tv85[ebp]
push ecx
call ??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z ; gsl::details::throw_exception<gsl::narrowing_error>
mov DWORD PTR __$EHRec$[ebp+8], -1
lea ecx, DWORD PTR $T3[ebp]
call ??1narrowing_error@gsl@@UAE@XZ
$LN2@narrow:
; Line 127
xor edx, edx
je SHORT $LN3@narrow
; Line 128
xor eax, eax
mov DWORD PTR $T2[ebp], eax
mov DWORD PTR $T2[ebp+4], eax
mov DWORD PTR $T2[ebp+8], eax
lea ecx, DWORD PTR $T2[ebp]
call ??0narrowing_error@gsl@@QAE@XZ
mov DWORD PTR tv89[ebp], eax
mov ecx, DWORD PTR tv89[ebp]
mov DWORD PTR tv87[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR tv87[ebp]
push edx
call ??$throw_exception@Unarrowing_error@gsl@@@details@gsl@@YAX$$QAUnarrowing_error@1@@Z ; gsl::details::throw_exception<gsl::narrowing_error>
mov DWORD PTR __$EHRec$[ebp+8], -1
lea ecx, DWORD PTR $T2[ebp]
call ??1narrowing_error@gsl@@UAE@XZ
$LN3@narrow:
; Line 129
mov eax, DWORD PTR _t$[ebp]
$LN4@narrow:
; Line 130
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 56 ; 00000038H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$narrow@HH@gsl@@YAHH@Z$0:
lea ecx, DWORD PTR $T3[ebp]
jmp ??1narrowing_error@gsl@@UAE@XZ
__unwindfunclet$??$narrow@HH@gsl@@YAHH@Z$1:
lea ecx, DWORD PTR $T2[ebp]
jmp ??1narrowing_error@gsl@@UAE@XZ
__ehhandler$??$narrow@HH@gsl@@YAHH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-52]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$narrow@HH@gsl@@YAHH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$narrow@HH@gsl@@YAHH@Z ENDP ; gsl::narrow<int,int>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_no_deprecate@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z
_TEXT SEGMENT
$T1 = -20 ; size = 8
$T2 = -12 ; size = 8
$T3 = -2 ; size = 1
$T4 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$_Copy_no_deprecate@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z PROC ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2361
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2362
push 2362 ; 0000093aH
push OFFSET ??_C@_1JA@IJKHNLMB@?$AAC?$AA?3?$AA?2?$AAP?$AAr?$AAo?$AAg?$AAr?$AAa?$AAm?$AA?5?$AAF?$AAi?$AAl?$AAe?$AAs?$AA?5?$AA?$CI?$AAx?$AA8?$AA6?$AA?$CJ?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt@
lea eax, DWORD PTR __Dest$[ebp]
push eax
mov ecx, DWORD PTR __Last$[ebp+4]
push ecx
mov edx, DWORD PTR __Last$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp+4]
push eax
mov ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Debug_range_ptr@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YAXV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@0AAV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@PB_WI@Z ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 28 ; 0000001cH
; Line 2363
xor edx, edx
mov BYTE PTR $T4[ebp], dl
xor eax, eax
mov BYTE PTR $T3[ebp], al
movzx ecx, BYTE PTR $T4[ebp]
push ecx
movzx edx, BYTE PTR $T3[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
lea ecx, DWORD PTR $T2[ebp]
push ecx
call ??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
add esp, 12 ; 0000000cH
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
lea eax, DWORD PTR $T1[ebp]
push eax
call ??$_Unchecked@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<char const ,-1>,0> >
add esp, 12 ; 0000000cH
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@Urandom_access_iterator_tag@0@2@Z ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 36 ; 00000024H
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2365
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_no_deprecate@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ENDP ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Is_checked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 8
??$_Is_checked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@Z PROC ; std::_Is_checked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 420
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 421
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 422
mov esp, ebp
pop ebp
ret 0
??$_Is_checked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@Z ENDP ; std::_Is_checked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@45@0V345@@Z@SAXU?$integral_constant@_N$00@2@@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 1
?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@45@0V345@@Z@SAXU?$integral_constant@_N$00@2@@Z PROC ; `std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2372
push ebp
mov ebp, esp
pop ebp
ret 0
?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@45@0V345@@Z@SAXU?$integral_constant@_N$00@2@@Z ENDP ; `std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$ensure_z@$$CBD@gsl@@YA?AV?$span@$$CBD$0?0@0@ABQBDH@Z
_TEXT SEGMENT
___$ReturnUdt$ = 8 ; size = 4
_sz$ = 12 ; size = 4
_max$ = 16 ; size = 4
??$ensure_z@$$CBD@gsl@@YA?AV?$span@$$CBD$0?0@0@ABQBDH@Z PROC ; gsl::ensure_z<char const >, COMDAT
; File c:\projects\gsl\include\gsl\string_span
; Line 133
push ebp
mov ebp, esp
; Line 134
mov eax, DWORD PTR _max$[ebp]
push eax
mov ecx, DWORD PTR _sz$[ebp]
mov edx, DWORD PTR [ecx]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$ensure_sentinel@$$CBD$0A@@gsl@@YA?AV?$span@$$CBD$0?0@0@PBDH@Z ; gsl::ensure_sentinel<char const ,0>
add esp, 12 ; 0000000cH
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 135
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$ensure_z@$$CBD@gsl@@YA?AV?$span@$$CBD$0?0@0@ABQBDH@Z ENDP ; gsl::ensure_z<char const >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$narrow_cast@HI@gsl@@YAH$$QAI@Z
_TEXT SEGMENT
_u$ = 8 ; size = 4
??$narrow_cast@HI@gsl@@YAH$$QAI@Z PROC ; gsl::narrow_cast<int,unsigned int>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_util
; Line 99
push ebp
mov ebp, esp
; Line 100
mov eax, DWORD PTR _u$[ebp]
push eax
call ??$forward@I@std@@YA$$QAIAAI@Z ; std::forward<unsigned int>
add esp, 4
mov eax, DWORD PTR [eax]
; Line 101
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$narrow_cast@HI@gsl@@YAH$$QAI@Z ENDP ; gsl::narrow_cast<int,unsigned int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z
_TEXT SEGMENT
tv88 = -40 ; size = 4
tv91 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 1
??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z PROC ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<10> >, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 591
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 590
movzx eax, BYTE PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??$?0$09@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$09@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><10>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 592
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv91[ebp], eax
mov eax, DWORD PTR tv91[ebp]
mov DWORD PTR tv88[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv88[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 593
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z ENDP ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<10> >
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$extent_type@$09@details@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$extent_type@$09@details@gsl@@QBEHXZ PROC ; gsl::details::extent_type<10>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 323
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, 10 ; 0000000aH
mov esp, ebp
pop ebp
ret 0
?size@?$extent_type@$09@details@gsl@@QBEHXZ ENDP ; gsl::details::extent_type<10>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$extent_type@$09@details@gsl@@QAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??0?$extent_type@$09@details@gsl@@QAE@XZ PROC ; gsl::details::extent_type<10>::extent_type<10>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 311
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 0
??0?$extent_type@$09@details@gsl@@QAE@XZ ENDP ; gsl::details::extent_type<10>::extent_type<10>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
__First$ = 8 ; size = 4
__Count$ = 12 ; size = 4
__Dest$ = 16 ; size = 4
??$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z PROC ; std::copy_n<int *,int,int *>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2456
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2458
mov eax, DWORD PTR __Dest$[ebp]
push eax
call ??$_Is_checked@PAH@std@@YA?AU?$integral_constant@_N$0A@@0@PAH@Z ; std::_Is_checked<int *>
add esp, 4
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
call ?_Deprecate@_Unchecked_iterators@?1???$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z@SAXU?$integral_constant@_N$0A@@2@@Z ; `std::copy_n<int *,int,int *>'::`2'::_Unchecked_iterators::_Deprecate
add esp, 4
; Line 2459
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp]
push eax
call ??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z ; std::_Unchecked_n<int *,int>
add esp, 8
push eax
mov ecx, DWORD PTR __Count$[ebp]
push ecx
mov edx, DWORD PTR __Count$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp]
push eax
call ??$_Unchecked_n@PAHH@std@@YAPAHPAHH@Z ; std::_Unchecked_n<int *,int>
add esp, 8
push eax
call ??$_Copy_n_unchecked@PAHHPAH@std@@YAPAHPAHH0@Z ; std::_Copy_n_unchecked<int *,int,int *>
add esp, 12 ; 0000000cH
push eax
lea ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Rechecked@PAHPAH@std@@YAAAPAHAAPAHPAH@Z ; std::_Rechecked<int *,int *>
add esp, 8
mov eax, DWORD PTR [eax]
; Line 2461
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z ENDP ; std::copy_n<int *,int,int *>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Copy_no_deprecate@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z
_TEXT SEGMENT
$T1 = -20 ; size = 8
$T2 = -12 ; size = 8
$T3 = -2 ; size = 1
$T4 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$_Copy_no_deprecate@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z PROC ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2361
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 2362
push 2362 ; 0000093aH
push OFFSET ??_C@_1JA@IJKHNLMB@?$AAC?$AA?3?$AA?2?$AAP?$AAr?$AAo?$AAg?$AAr?$AAa?$AAm?$AA?5?$AAF?$AAi?$AAl?$AAe?$AAs?$AA?5?$AA?$CI?$AAx?$AA8?$AA6?$AA?$CJ?$AA?2?$AAM?$AAi?$AAc?$AAr?$AAo?$AAs?$AAo?$AAf?$AAt@
lea eax, DWORD PTR __Dest$[ebp]
push eax
mov ecx, DWORD PTR __Last$[ebp+4]
push ecx
mov edx, DWORD PTR __Last$[ebp]
push edx
mov eax, DWORD PTR __First$[ebp+4]
push eax
mov ecx, DWORD PTR __First$[ebp]
push ecx
call ??$_Debug_range_ptr@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YAXV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@0AAV123@PB_WI@Z ; std::_Debug_range_ptr<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 28 ; 0000001cH
; Line 2363
xor edx, edx
mov BYTE PTR $T4[ebp], dl
xor eax, eax
mov BYTE PTR $T3[ebp], al
movzx ecx, BYTE PTR $T4[ebp]
push ecx
movzx edx, BYTE PTR $T3[ebp]
push edx
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
lea ecx, DWORD PTR $T2[ebp]
push ecx
call ??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
lea eax, DWORD PTR $T1[ebp]
push eax
call ??$_Unchecked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@Z ; std::_Unchecked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 12 ; 0000000cH
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_no_deprecate1@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00Urandom_access_iterator_tag@0@1@Z ; std::_Copy_no_deprecate1<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 36 ; 00000024H
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2365
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$_Copy_no_deprecate@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ENDP ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$_Is_checked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___formal$ = 8 ; size = 8
??$_Is_checked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@Z PROC ; std::_Is_checked<gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 420
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 421
xor eax, eax
mov BYTE PTR $T1[ebp], al
mov al, BYTE PTR $T1[ebp]
; Line 422
mov esp, ebp
pop ebp
ret 0
??$_Is_checked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@Z ENDP ; std::_Is_checked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V345@00@Z@SAXU?$integral_constant@_N$00@2@@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 1
?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V345@00@Z@SAXU?$integral_constant@_N$00@2@@Z PROC ; `std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2372
push ebp
mov ebp, esp
pop ebp
ret 0
?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V345@00@Z@SAXU?$integral_constant@_N$00@2@@Z ENDP ; `std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z
_TEXT SEGMENT
tv141 = -60 ; size = 4
tv148 = -56 ; size = 4
tv134 = -52 ; size = 4
tv144 = -48 ; size = 4
$T2 = -44 ; size = 4
$T3 = -40 ; size = 12
$T4 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 1
??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z PROC ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<0> >, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 597
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 48 ; 00000030H
push edi
push ecx
lea edi, DWORD PTR [ebp-60]
mov ecx, 12 ; 0000000cH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 596
movzx eax, BYTE PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??$?0$0A@@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$0A@@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><0>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 598
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv144[ebp], eax
mov eax, DWORD PTR tv144[ebp]
mov DWORD PTR tv134[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv134[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN9@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN9@extent_typ:
; Line 599
cmp DWORD PTR _data$[ebp], 0
jne SHORT $LN6@extent_typ
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
je SHORT $LN6@extent_typ
push OFFSET ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
mov DWORD PTR tv141[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR $T2[ebp]
or edx, 2
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv141[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 2
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 600
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 60 ; 0000003cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN8@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN8@extent_typ:
ret 0
__unwindfunclet$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN11@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN11@extent_typ:
ret 0
__ehhandler$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-56]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z ENDP ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<0> >
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$extent_type@$0A@@details@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$extent_type@$0A@@details@gsl@@QBEHXZ PROC ; gsl::details::extent_type<0>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 323
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0
?size@?$extent_type@$0A@@details@gsl@@QBEHXZ ENDP ; gsl::details::extent_type<0>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$extent_type@$0A@@details@gsl@@QAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??0?$extent_type@$0A@@details@gsl@@QAE@XZ PROC ; gsl::details::extent_type<0>::extent_type<0>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 311
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 0
??0?$extent_type@$0A@@details@gsl@@QAE@XZ ENDP ; gsl::details::extent_type<0>::extent_type<0>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
_TEXT SEGMENT
tv86 = -40 ; size = 4
tv89 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 1
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z PROC ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::storage_type<gsl::details::extent_type<6> ><gsl::details::extent_type<6> >, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 591
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 590
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR _data$[ebp]
mov DWORD PTR [eax], ecx
; Line 592
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$05@details@gsl@@QBEHXZ ; gsl::details::extent_type<6>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv89[ebp], eax
mov edx, DWORD PTR tv89[ebp]
mov DWORD PTR tv86[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv86[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 593
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ENDP ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::storage_type<gsl::details::extent_type<6> ><gsl::details::extent_type<6> >
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$addressof@H@std@@YAPAHAAH@Z
_TEXT SEGMENT
__Val$ = 8 ; size = 4
??$addressof@H@std@@YAPAHAAH@Z PROC ; std::addressof<int>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xstddef
; Line 724
push ebp
mov ebp, esp
; Line 725
mov eax, DWORD PTR __Val$[ebp]
; Line 726
pop ebp
ret 0
??$addressof@H@std@@YAPAHAAH@Z ENDP ; std::addressof<int>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
_TEXT SEGMENT
tv88 = -40 ; size = 4
tv91 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 1
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z PROC ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 591
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 590
movzx eax, BYTE PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??$?0$05@?$extent_type@$0?0@details@gsl@@QAE@V?$extent_type@$05@12@@Z ; gsl::details::extent_type<-1>::extent_type<-1><6>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 592
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv91[ebp], eax
mov eax, DWORD PTR tv91[ebp]
mov DWORD PTR tv88[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv88[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 593
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ENDP ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$addressof@E@std@@YAPAEAAE@Z
_TEXT SEGMENT
__Val$ = 8 ; size = 4
??$addressof@E@std@@YAPAEAAE@Z PROC ; std::addressof<unsigned char>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xstddef
; Line 724
push ebp
mov ebp, esp
; Line 725
mov eax, DWORD PTR __Val$[ebp]
; Line 726
pop ebp
ret 0
??$addressof@E@std@@YAPAEAAE@Z ENDP ; std::addressof<unsigned char>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$forward@Ufail_fast@gsl@@@std@@YA$$QAUfail_fast@gsl@@AAU12@@Z
_TEXT SEGMENT
__Arg$ = 8 ; size = 4
??$forward@Ufail_fast@gsl@@@std@@YA$$QAUfail_fast@gsl@@AAU12@@Z PROC ; std::forward<gsl::fail_fast>, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\type_traits
; Line 1275
push ebp
mov ebp, esp
; Line 1276
mov eax, DWORD PTR __Arg$[ebp]
; Line 1277
pop ebp
ret 0
??$forward@Ufail_fast@gsl@@@std@@YA$$QAUfail_fast@gsl@@AAU12@@Z ENDP ; std::forward<gsl::fail_fast>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$narrow_cast@IAAH@gsl@@YAIAAH@Z
_TEXT SEGMENT
_u$ = 8 ; size = 4
??$narrow_cast@IAAH@gsl@@YAIAAH@Z PROC ; gsl::narrow_cast<unsigned int,int &>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_util
; Line 99
push ebp
mov ebp, esp
; Line 100
mov eax, DWORD PTR _u$[ebp]
push eax
call ??$forward@AAH@std@@YAAAHAAH@Z ; std::forward<int &>
add esp, 4
mov eax, DWORD PTR [eax]
; Line 101
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
??$narrow_cast@IAAH@gsl@@YAIAAH@Z ENDP ; gsl::narrow_cast<unsigned int,int &>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z
_TEXT SEGMENT
tv88 = -40 ; size = 4
tv91 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 4
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z PROC ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 591
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 590
mov eax, DWORD PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ; gsl::details::extent_type<-1>::extent_type<-1>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 592
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@ELDMELAD@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv91[ebp], eax
mov eax, DWORD PTR tv91[ebp]
mov DWORD PTR tv88[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv88[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 593
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z ENDP ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z
_TEXT SEGMENT
tv141 = -60 ; size = 4
tv148 = -56 ; size = 4
tv134 = -52 ; size = 4
tv144 = -48 ; size = 4
$T2 = -44 ; size = 4
$T3 = -40 ; size = 12
$T4 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_data$ = 8 ; size = 4
_ext$ = 12 ; size = 4
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z PROC ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 597
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 48 ; 00000030H
push edi
push ecx
lea edi, DWORD PTR [ebp-60]
mov ecx, 12 ; 0000000cH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 596
mov eax, DWORD PTR _ext$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ; gsl::details::extent_type<-1>::extent_type<-1>
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR _data$[ebp]
mov DWORD PTR [ecx+4], edx
; Line 598
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@LBNDKDIJ@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv144[ebp], eax
mov eax, DWORD PTR tv144[ebp]
mov DWORD PTR tv134[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv134[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN9@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN9@extent_typ:
; Line 599
cmp DWORD PTR _data$[ebp], 0
jne SHORT $LN6@extent_typ
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
test eax, eax
je SHORT $LN6@extent_typ
push OFFSET ??_C@_0ED@KIMIJCMI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv148[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
mov DWORD PTR tv141[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov edx, DWORD PTR $T2[ebp]
or edx, 2
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv141[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN6@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 2
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
; Line 600
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 60 ; 0000003cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN8@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN8@extent_typ:
ret 0
__unwindfunclet$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN11@extent_typ
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN11@extent_typ:
ret 0
__ehhandler$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-56]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z ENDP ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z
_TEXT SEGMENT
_tmp$ = -16 ; size = 8
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_offset$ = 12 ; size = 4
_count$ = 16 ; size = 4
___formal$ = 20 ; size = 1
??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z PROC ; gsl::span<int,6>::make_subspan<6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 622
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov DWORD PTR _this$[ebp], ecx
; Line 623
mov eax, DWORD PTR _this$[ebp]
push eax
lea ecx, DWORD PTR _tmp$[ebp]
call ??$?0H$05X@?$span@H$0?0@gsl@@QAE@ABV?$span@H$05@1@@Z ; gsl::span<int,-1>::span<int,-1><int,6,void>
; Line 624
mov ecx, DWORD PTR _count$[ebp]
push ecx
mov edx, DWORD PTR _offset$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
lea ecx, DWORD PTR _tmp$[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 625
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN5@make_subsp
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 16 ; 00000010H
npad 3
$LN5@make_subsp:
DD 1
DD $LN4@make_subsp
$LN4@make_subsp:
DD -16 ; fffffff0H
DD 8
DD $LN3@make_subsp
$LN3@make_subsp:
DB 116 ; 00000074H
DB 109 ; 0000006dH
DB 112 ; 00000070H
DB 0
??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z ENDP ; gsl::span<int,6>::make_subspan<6>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z
_TEXT SEGMENT
tv88 = -36 ; size = 4
tv91 = -32 ; size = 4
$T2 = -28 ; size = 4
$T3 = -24 ; size = 12
__$EHRec$ = -12 ; size = 12
_src$ = 8 ; size = 8
_dest$ = 16 ; size = 8
??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z PROC ; gsl::copy<char const ,-1,unsigned char,-1>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_algorithm
; Line 43
push ebp
mov ebp, esp
push -1
push __ehhandler$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 24 ; 00000018H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR $T2[ebp], 0
; Line 50
lea ecx, DWORD PTR _dest$[ebp]
call ?size@?$span@E$0?0@gsl@@QBEHXZ ; gsl::span<unsigned char,-1>::size
mov esi, eax
lea ecx, DWORD PTR _src$[ebp]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
cmp esi, eax
jl SHORT $LN3@copy
jmp SHORT $LN4@copy
$LN3@copy:
push OFFSET $SG58123
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv91[ebp], eax
mov eax, DWORD PTR tv91[ebp]
mov DWORD PTR tv88[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv88[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@copy:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN7@copy
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@copy:
; Line 51
lea ecx, DWORD PTR _dest$[ebp]
call ?data@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::data
push eax
lea ecx, DWORD PTR _src$[ebp]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
push eax
lea ecx, DWORD PTR _src$[ebp]
call ?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::data
push eax
call ??$copy_n@PBDHPAE@std@@YAPAEPBDHPAE@Z ; std::copy_n<char const *,int,unsigned char *>
add esp, 12 ; 0000000cH
$LN2@copy:
; Line 53
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop esi
add esp, 36 ; 00000024H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@copy
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@copy:
ret 0
__ehhandler$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z ENDP ; gsl::copy<char const ,-1,unsigned char,-1>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$basic_string_span@$$CBD$0?0@gsl@@X@?$span@$$CBD$0?0@gsl@@QAE@AAV?$basic_string_span@$$CBD$0?0@1@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_cont$ = 8 ; size = 4
??$?0V?$basic_string_span@$$CBD$0?0@gsl@@X@?$span@$$CBD$0?0@gsl@@QAE@AAV?$basic_string_span@$$CBD$0?0@1@@Z PROC ; gsl::span<char const ,-1>::span<char const ,-1><gsl::basic_string_span<char const ,-1>,void>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 428
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 427
mov ecx, DWORD PTR _cont$[ebp]
call ?size@?$basic_string_span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::basic_string_span<char const ,-1>::size
push eax
call ??$narrow@HH@gsl@@YAHH@Z ; gsl::narrow<int,int>
add esp, 4
push eax
mov ecx, DWORD PTR _cont$[ebp]
call ?data@?$basic_string_span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::basic_string_span<char const ,-1>::data
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ; gsl::span<char const ,-1>::span<char const ,-1>
; Line 428
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??$?0V?$basic_string_span@$$CBD$0?0@gsl@@X@?$span@$$CBD$0?0@gsl@@QAE@AAV?$basic_string_span@$$CBD$0?0@1@@Z ENDP ; gsl::span<char const ,-1>::span<char const ,-1><gsl::basic_string_span<char const ,-1>,void>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
$T1 = -72 ; size = 8
$T2 = -64 ; size = 8
_cdModelType$ = -52 ; size = 8
_byteSpan$ = -36 ; size = 8
_bytes$ = -20 ; size = 10
__$ArrayPad$ = -4 ; size = 4
?test_string_gsl_copy@@YAXXZ PROC ; test_string_gsl_copy
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 333
push ebp
mov ebp, esp
sub esp, 72 ; 00000048H
push edi
lea edi, DWORD PTR [ebp-72]
mov ecx, 18 ; 00000012H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 335
lea eax, DWORD PTR _bytes$[ebp]
push eax
lea ecx, DWORD PTR _byteSpan$[ebp]
call ??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1><10>
; Line 337
push OFFSET $SG47888
lea ecx, DWORD PTR $T2[ebp]
push ecx
call ??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z ; gsl::ensure_z<char const ,11>
add esp, 8
push eax
lea ecx, DWORD PTR _cdModelType$[ebp]
call ??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z ; gsl::basic_string_span<char const ,-1>::basic_string_span<char const ,-1><gsl::span<char const ,-1>,void>
; Line 338
mov edx, DWORD PTR _byteSpan$[ebp+4]
push edx
mov eax, DWORD PTR _byteSpan$[ebp]
push eax
lea ecx, DWORD PTR _cdModelType$[ebp]
push ecx
lea ecx, DWORD PTR $T1[ebp]
call ??$?0V?$basic_string_span@$$CBD$0?0@gsl@@X@?$span@$$CBD$0?0@gsl@@QAE@AAV?$basic_string_span@$$CBD$0?0@1@@Z ; gsl::span<char const ,-1>::span<char const ,-1><gsl::basic_string_span<char const ,-1>,void>
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
call ??$copy@$$CBD$0?0E$0?0@gsl@@YAXV?$span@$$CBD$0?0@0@V?$span@E$0?0@0@@Z ; gsl::copy<char const ,-1,unsigned char,-1>
add esp, 16 ; 00000010H
; Line 340
mov ecx, DWORD PTR _byteSpan$[ebp+4]
push ecx
mov edx, DWORD PTR _byteSpan$[ebp]
push edx
call ?bar@@YAXV?$span@E$0?0@gsl@@@Z ; bar
add esp, 8
; Line 341
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN7@test_strin
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
add esp, 72 ; 00000048H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN7@test_strin:
DD 3
DD $LN6@test_strin
$LN6@test_strin:
DD -20 ; ffffffecH
DD 10 ; 0000000aH
DD $LN3@test_strin
DD -36 ; ffffffdcH
DD 8
DD $LN4@test_strin
DD -52 ; ffffffccH
DD 8
DD $LN5@test_strin
$LN5@test_strin:
DB 99 ; 00000063H
DB 100 ; 00000064H
DB 77 ; 0000004dH
DB 111 ; 0000006fH
DB 100 ; 00000064H
DB 101 ; 00000065H
DB 108 ; 0000006cH
DB 84 ; 00000054H
DB 121 ; 00000079H
DB 112 ; 00000070H
DB 101 ; 00000065H
DB 0
$LN4@test_strin:
DB 98 ; 00000062H
DB 121 ; 00000079H
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 83 ; 00000053H
DB 112 ; 00000070H
DB 97 ; 00000061H
DB 110 ; 0000006eH
DB 0
$LN3@test_strin:
DB 98 ; 00000062H
DB 121 ; 00000079H
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 115 ; 00000073H
DB 0
?test_string_gsl_copy@@YAXXZ ENDP ; test_string_gsl_copy
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z PROC ; std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2371
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2372
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Is_checked@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@@Z ; std::_Is_checked<gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 8
mov BYTE PTR $T1[ebp], al
movzx edx, BYTE PTR $T1[ebp]
push edx
call ?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@45@0V345@@Z@SAXU?$integral_constant@_N$00@2@@Z ; `std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate
add esp, 4
; Line 2373
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_no_deprecate@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 28 ; 0000001cH
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2374
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ENDP ; std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
_TEXT SEGMENT
tv86 = -40 ; size = 4
tv89 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_n$ = 8 ; size = 4
??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z PROC ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+=, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 207
push ebp
mov ebp, esp
push -1
push __ehhandler$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 208
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax+4]
add ecx, DWORD PTR _n$[ebp]
js SHORT $LN3@operator
mov edx, DWORD PTR _this$[ebp]
mov esi, DWORD PTR [edx+4]
add esi, DWORD PTR _n$[ebp]
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?size@?$span@E$0?0@gsl@@QBEHXZ ; gsl::span<unsigned char,-1>::size
cmp esi, eax
jg SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@CDNFKALP@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv89[ebp], eax
mov ecx, DWORD PTR tv89[ebp]
mov DWORD PTR tv86[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov edx, DWORD PTR $T2[ebp]
or edx, 1
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv86[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 209
mov edx, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [edx+4]
add eax, DWORD PTR _n$[ebp]
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx+4], eax
; Line 210
mov eax, DWORD PTR _this$[ebp]
$LN2@operator:
; Line 211
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop esi
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-36]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ENDP ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+=
; Function compile flags: /Odtp /RTCsu
; COMDAT ??H?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z
_TEXT SEGMENT
_ret$ = -16 ; size = 8
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_n$ = 12 ; size = 4
??H?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z PROC ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 196
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov DWORD PTR _this$[ebp], ecx
; Line 197
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [eax+4]
mov DWORD PTR _ret$[ebp], ecx
mov DWORD PTR _ret$[ebp+4], edx
; Line 198
mov eax, DWORD PTR _n$[ebp]
push eax
lea ecx, DWORD PTR _ret$[ebp]
call ??Y?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+=
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [eax+4]
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov DWORD PTR [eax], ecx
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 199
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN5@operator
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
$LN5@operator:
DD 1
DD $LN4@operator
$LN4@operator:
DD -16 ; fffffff0H
DD 8
DD $LN3@operator
$LN3@operator:
DB 114 ; 00000072H
DB 101 ; 00000065H
DB 116 ; 00000074H
DB 0
??H?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ENDP ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator+
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
_TEXT SEGMENT
tv84 = -40 ; size = 4
tv87 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ PROC ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator++, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 168
push ebp
mov ebp, esp
push -1
push __ehhandler$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 169
mov eax, DWORD PTR _this$[ebp]
cmp DWORD PTR [eax+4], 0
jl SHORT $LN3@operator
mov ecx, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [ecx]
call ?size@?$span@E$0?0@gsl@@QBEHXZ ; gsl::span<unsigned char,-1>::size
mov edx, DWORD PTR _this$[ebp]
cmp DWORD PTR [edx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv87[ebp], eax
mov eax, DWORD PTR tv87[ebp]
mov DWORD PTR tv84[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv84[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 170
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR [ecx+4]
add edx, 1
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax+4], edx
; Line 171
mov eax, DWORD PTR _this$[ebp]
$LN2@operator:
; Line 172
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
jmp ___CxxFrameHandler3
text$x ENDS
??E?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ENDP ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator++
; Function compile flags: /Odtp /RTCsu
; COMDAT ??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ
_TEXT SEGMENT
tv84 = -40 ; size = 4
tv87 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ PROC ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator*, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 156
push ebp
mov ebp, esp
push -1
push __ehhandler$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 157
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?size@?$span@E$0?0@gsl@@QBEHXZ ; gsl::span<unsigned char,-1>::size
mov ecx, DWORD PTR _this$[ebp]
cmp DWORD PTR [ecx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv87[ebp], eax
mov edx, DWORD PTR tv87[ebp]
mov DWORD PTR tv84[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv84[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 158
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?data@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::data
mov ecx, DWORD PTR _this$[ebp]
add eax, DWORD PTR [ecx+4]
$LN2@operator:
; Line 159
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ
jmp ___CxxFrameHandler3
text$x ENDS
??D?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QBEAAEXZ ENDP ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::operator*
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@E$0?0@2@H@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_span$ = 8 ; size = 4
_idx$ = 12 ; size = 4
??0?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@E$0?0@2@H@Z PROC ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::span_iterator<gsl::span<unsigned char,-1>,0>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 146
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 145
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR _span$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR _this$[ebp]
mov eax, DWORD PTR _idx$[ebp]
mov DWORD PTR [edx+4], eax
; Line 146
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 8
??0?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@E$0?0@2@H@Z ENDP ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::span_iterator<gsl::span<unsigned char,-1>,0>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv65 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator<, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 240
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 241
mov eax, DWORD PTR _lhs$[ebp+4]
cmp eax, DWORD PTR _rhs$[ebp+4]
jge SHORT $LN3@operator
mov DWORD PTR tv65[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv65[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv65[ebp]
; Line 242
mov esp, ebp
pop ebp
ret 0
??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator<
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv69 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator!=, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 235
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 236
mov eax, DWORD PTR _rhs$[ebp+4]
push eax
mov ecx, DWORD PTR _rhs$[ebp]
push ecx
mov edx, DWORD PTR _lhs$[ebp+4]
push edx
mov eax, DWORD PTR _lhs$[ebp]
push eax
call ??8details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator==
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
jne SHORT $LN3@operator
mov DWORD PTR tv69[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv69[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv69[ebp]
; Line 237
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??9details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator!=
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??8details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv66 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??8details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator==, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 230
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 231
mov eax, DWORD PTR _lhs$[ebp]
cmp eax, DWORD PTR _rhs$[ebp]
jne SHORT $LN3@operator
mov ecx, DWORD PTR _lhs$[ebp+4]
cmp ecx, DWORD PTR _rhs$[ebp+4]
jne SHORT $LN3@operator
mov DWORD PTR tv66[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv66[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv66[ebp]
; Line 232
mov esp, ebp
pop ebp
ret 0
??8details@gsl@@YA_NV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator==
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
_TEXT SEGMENT
tv78 = -40 ; size = 4
tv81 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_rhs$ = 8 ; size = 8
??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z PROC ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator-, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 222
push ebp
mov ebp, esp
push -1
push __ehhandler$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 223
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
cmp ecx, DWORD PTR _rhs$[ebp]
jne SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@MDKFKNBK@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv81[ebp], eax
mov edx, DWORD PTR tv81[ebp]
mov DWORD PTR tv78[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv78[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 224
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
sub eax, DWORD PTR _rhs$[ebp+4]
$LN2@operator:
; Line 225
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??G?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ENDP ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator-
; Function compile flags: /Odtp /RTCsu
; COMDAT ??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
_TEXT SEGMENT
tv84 = -40 ; size = 4
tv87 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ PROC ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator++, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 168
push ebp
mov ebp, esp
push -1
push __ehhandler$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 169
mov eax, DWORD PTR _this$[ebp]
cmp DWORD PTR [eax+4], 0
jl SHORT $LN3@operator
mov ecx, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [ecx]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
mov edx, DWORD PTR _this$[ebp]
cmp DWORD PTR [edx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv87[ebp], eax
mov eax, DWORD PTR tv87[ebp]
mov DWORD PTR tv84[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv84[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 170
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR [ecx+4]
add edx, 1
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax+4], edx
; Line 171
mov eax, DWORD PTR _this$[ebp]
$LN2@operator:
; Line 172
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
jmp ___CxxFrameHandler3
text$x ENDS
??E?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ENDP ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator++
; Function compile flags: /Odtp /RTCsu
; COMDAT ??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ
_TEXT SEGMENT
tv84 = -40 ; size = 4
tv87 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ PROC ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator*, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 156
push ebp
mov ebp, esp
push -1
push __ehhandler$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 157
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
mov ecx, DWORD PTR _this$[ebp]
cmp DWORD PTR [ecx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv87[ebp], eax
mov edx, DWORD PTR tv87[ebp]
mov DWORD PTR tv84[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv84[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 158
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::data
mov ecx, DWORD PTR _this$[ebp]
add eax, DWORD PTR [ecx+4]
$LN2@operator:
; Line 159
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ
jmp ___CxxFrameHandler3
text$x ENDS
??D?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QBEABDXZ ENDP ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::operator*
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_span$ = 8 ; size = 4
_idx$ = 12 ; size = 4
??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z PROC ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::span_iterator<gsl::span<char const ,-1>,0>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 146
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 145
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR _span$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR _this$[ebp]
mov eax, DWORD PTR _idx$[ebp]
mov DWORD PTR [edx+4], eax
; Line 146
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 8
??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z ENDP ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::span_iterator<gsl::span<char const ,-1>,0>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_cont$ = 8 ; size = 4
??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z PROC ; gsl::basic_string_span<char const ,-1>::basic_string_span<char const ,-1><gsl::span<char const ,-1>,void>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\string_span
; Line 244
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 243
mov eax, DWORD PTR _cont$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [eax+4]
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], ecx
mov DWORD PTR [eax+4], edx
; Line 244
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 4
??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z ENDP ; gsl::basic_string_span<char const ,-1>::basic_string_span<char const ,-1><gsl::span<char const ,-1>,void>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z
_TEXT SEGMENT
$T1 = -8 ; size = 4
$T2 = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_sz$ = 12 ; size = 4
??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z PROC ; gsl::ensure_z<char const ,11>, COMDAT
; File c:\projects\gsl\include\gsl\string_span
; Line 139
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 140
mov DWORD PTR $T2[ebp], 11 ; 0000000bH
mov eax, 1
imul ecx, eax, 0
add ecx, DWORD PTR _sz$[ebp]
mov DWORD PTR $T1[ebp], ecx
lea edx, DWORD PTR $T2[ebp]
push edx
call ??$narrow_cast@HI@gsl@@YAH$$QAI@Z ; gsl::narrow_cast<int,unsigned int>
add esp, 4
push eax
lea eax, DWORD PTR $T1[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
push ecx
call ??$ensure_z@$$CBD@gsl@@YA?AV?$span@$$CBD$0?0@0@ABQBDH@Z ; gsl::ensure_z<char const >
add esp, 12 ; 0000000cH
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 141
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z ENDP ; gsl::ensure_z<char const ,11>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?end@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?end@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::basic_string_span<char const ,-1>::end, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\string_span
; Line 301
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ?end@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<char const ,-1>::end
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?end@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::basic_string_span<char const ,-1>::end
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?begin@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?begin@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::basic_string_span<char const ,-1>::begin, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\string_span
; Line 300
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ?begin@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<char const ,-1>::begin
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?begin@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::basic_string_span<char const ,-1>::begin
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$basic_string_span@$$CBD$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$basic_string_span@$$CBD$0?0@gsl@@QBEHXZ PROC ; gsl::basic_string_span<char const ,-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\string_span
; Line 295
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$basic_string_span@$$CBD$0?0@gsl@@QBEHXZ ENDP ; gsl::basic_string_span<char const ,-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$basic_string_span@$$CBD$0?0@gsl@@QBEPBDXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$basic_string_span@$$CBD$0?0@gsl@@QBEPBDXZ PROC ; gsl::basic_string_span<char const ,-1>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\string_span
; Line 292
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$basic_string_span@$$CBD$0?0@gsl@@QBEPBDXZ ENDP ; gsl::basic_string_span<char const ,-1>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QBEPBDXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QBEPBDXZ PROC ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 602
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
mov esp, ebp
pop ebp
ret 0
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ENDP ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?end@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
tv70 = -8 ; size = 4
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?end@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::span<char const ,-1>::end, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 519
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ; gsl::span<char const ,-1>::size
mov DWORD PTR tv70[ebp], eax
mov eax, DWORD PTR tv70[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
push ecx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::span_iterator<gsl::span<char const ,-1>,0>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?end@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::span<char const ,-1>::end
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?begin@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?begin@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::span<char const ,-1>::begin, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 518
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
push 0
mov eax, DWORD PTR _this$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@$$CBD$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<char const ,-1>,0>::span_iterator<gsl::span<char const ,-1>,0>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?begin@?$span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::span<char const ,-1>::begin
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ PROC ; gsl::span<char const ,-1>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 515
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$span@$$CBD$0?0@gsl@@QBEPBDXZ ENDP ; gsl::span<char const ,-1>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$span@$$CBD$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$span@$$CBD$0?0@gsl@@QBEHXZ PROC ; gsl::span<char const ,-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 498
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$span@$$CBD$0?0@gsl@@QBEHXZ ENDP ; gsl::span<char const ,-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ptr$ = 8 ; size = 4
_count$ = 12 ; size = 4
??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z PROC ; gsl::span<char const ,-1>::span<char const ,-1>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 386
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _count$[ebp]
push eax
mov ecx, DWORD PTR _ptr$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ; gsl::span<char const ,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
??0?$span@$$CBD$0?0@gsl@@QAE@PBDH@Z ENDP ; gsl::span<char const ,-1>::span<char const ,-1>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z
_TEXT SEGMENT
$T2 = -24 ; size = 4
$T3 = -17 ; size = 1
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_arr$ = 8 ; size = 4
??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z PROC ; gsl::span<unsigned char,-1>::span<unsigned char,-1><10>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 395
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-24], -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], -858993460 ; ccccccccH
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
; Line 394
mov eax, 1
imul ecx, eax, 0
add ecx, DWORD PTR _arr$[ebp]
push ecx
call ??$addressof@E@std@@YAPAEAAE@Z ; std::addressof<unsigned char>
add esp, 4
mov DWORD PTR $T2[ebp], eax
lea ecx, DWORD PTR $T3[ebp]
call ??0?$extent_type@$09@details@gsl@@QAE@XZ ; gsl::details::extent_type<10>::extent_type<10>
mov dl, BYTE PTR [eax]
movzx eax, dl
push eax
mov ecx, DWORD PTR $T2[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0V?$extent_type@$09@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$09@details@2@@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<10> >
; Line 395
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__ehhandler$??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-16]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z ENDP ; gsl::span<unsigned char,-1>::span<unsigned char,-1><10>
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
$T1 = -96 ; size = 8
$T2 = -88 ; size = 8
$T3 = -80 ; size = 8
$T4 = -72 ; size = 8
$T5 = -64 ; size = 8
_cdModelType$ = -52 ; size = 8
_byteSpan$ = -36 ; size = 8
_bytes$ = -20 ; size = 10
__$ArrayPad$ = -4 ; size = 4
?test_string_std_copy@@YAXXZ PROC ; test_string_std_copy
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 322
push ebp
mov ebp, esp
sub esp, 96 ; 00000060H
push edi
lea edi, DWORD PTR [ebp-96]
mov ecx, 24 ; 00000018H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 324
lea eax, DWORD PTR _bytes$[ebp]
push eax
lea ecx, DWORD PTR _byteSpan$[ebp]
call ??$?0$09@?$span@E$0?0@gsl@@QAE@AAY09E@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1><10>
; Line 326
push OFFSET $SG47623
lea ecx, DWORD PTR $T5[ebp]
push ecx
call ??$ensure_z@$$CBD$0L@@gsl@@YA?AV?$span@$$CBD$0?0@0@AAY0L@$$CBD@Z ; gsl::ensure_z<char const ,11>
add esp, 8
push eax
lea ecx, DWORD PTR _cdModelType$[ebp]
call ??$?0V?$span@$$CBD$0?0@gsl@@X@?$basic_string_span@$$CBD$0?0@gsl@@QAE@ABV?$span@$$CBD$0?0@1@@Z ; gsl::basic_string_span<char const ,-1>::basic_string_span<char const ,-1><gsl::span<char const ,-1>,void>
; Line 327
lea edx, DWORD PTR $T4[ebp]
push edx
lea ecx, DWORD PTR _byteSpan$[ebp]
call ?begin@?$span@E$0?0@gsl@@QBE?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<unsigned char,-1>::begin
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T3[ebp]
push eax
lea ecx, DWORD PTR _cdModelType$[ebp]
call ?end@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::basic_string_span<char const ,-1>::end
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T2[ebp]
push eax
lea ecx, DWORD PTR _cdModelType$[ebp]
call ?begin@?$basic_string_span@$$CBD$0?0@gsl@@QBE?AV?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@2@XZ ; gsl::basic_string_span<char const ,-1>::begin
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T1[ebp]
push eax
call ??$copy@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@E$0?0@gsl@@$0A@@23@@std@@YA?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@V?$span_iterator@V?$span@$$CBD$0?0@gsl@@$0A@@23@0V123@@Z ; std::copy<gsl::details::span_iterator<gsl::span<char const ,-1>,0>,gsl::details::span_iterator<gsl::span<unsigned char,-1>,0> >
add esp, 28 ; 0000001cH
; Line 329
mov ecx, DWORD PTR _byteSpan$[ebp+4]
push ecx
mov edx, DWORD PTR _byteSpan$[ebp]
push edx
call ?bar@@YAXV?$span@E$0?0@gsl@@@Z ; bar
add esp, 8
; Line 330
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN7@test_strin
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
add esp, 96 ; 00000060H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN7@test_strin:
DD 3
DD $LN6@test_strin
$LN6@test_strin:
DD -20 ; ffffffecH
DD 10 ; 0000000aH
DD $LN3@test_strin
DD -36 ; ffffffdcH
DD 8
DD $LN4@test_strin
DD -52 ; ffffffccH
DD 8
DD $LN5@test_strin
$LN5@test_strin:
DB 99 ; 00000063H
DB 100 ; 00000064H
DB 77 ; 0000004dH
DB 111 ; 0000006fH
DB 100 ; 00000064H
DB 101 ; 00000065H
DB 108 ; 0000006cH
DB 84 ; 00000054H
DB 121 ; 00000079H
DB 112 ; 00000070H
DB 101 ; 00000065H
DB 0
$LN4@test_strin:
DB 98 ; 00000062H
DB 121 ; 00000079H
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 83 ; 00000053H
DB 112 ; 00000070H
DB 97 ; 00000061H
DB 110 ; 0000006eH
DB 0
$LN3@test_strin:
DB 98 ; 00000062H
DB 121 ; 00000079H
DB 116 ; 00000074H
DB 101 ; 00000065H
DB 115 ; 00000073H
DB 0
?test_string_std_copy@@YAXXZ ENDP ; test_string_std_copy
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z
_TEXT SEGMENT
tv88 = -36 ; size = 4
tv91 = -32 ; size = 4
$T2 = -28 ; size = 4
$T3 = -24 ; size = 12
__$EHRec$ = -12 ; size = 12
_src$ = 8 ; size = 8
_dest$ = 16 ; size = 8
??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z PROC ; gsl::copy<int,-1,int,-1>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_algorithm
; Line 43
push ebp
mov ebp, esp
push -1
push __ehhandler$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 24 ; 00000018H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR $T2[ebp], 0
; Line 50
lea ecx, DWORD PTR _dest$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
mov esi, eax
lea ecx, DWORD PTR _src$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
cmp esi, eax
jl SHORT $LN3@copy
jmp SHORT $LN4@copy
$LN3@copy:
push OFFSET $SG57967
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv91[ebp], eax
mov eax, DWORD PTR tv91[ebp]
mov DWORD PTR tv88[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv88[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@copy:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN7@copy
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@copy:
; Line 51
lea ecx, DWORD PTR _dest$[ebp]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
push eax
lea ecx, DWORD PTR _src$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
push eax
lea ecx, DWORD PTR _src$[ebp]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
push eax
call ??$copy_n@PAHHPAH@std@@YAPAHPAHH0@Z ; std::copy_n<int *,int,int *>
add esp, 12 ; 0000000cH
$LN2@copy:
; Line 53
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop esi
add esp, 36 ; 00000024H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@copy
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@copy:
ret 0
__ehhandler$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z ENDP ; gsl::copy<int,-1,int,-1>
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_x$ = 8 ; size = 8
_y$ = 16 ; size = 8
?gsl_copy_span@@YAXV?$span@H$0?0@gsl@@0@Z PROC ; gsl_copy_span
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 317
push ebp
mov ebp, esp
; Line 318
mov eax, DWORD PTR _y$[ebp+4]
push eax
mov ecx, DWORD PTR _y$[ebp]
push ecx
mov edx, DWORD PTR _x$[ebp+4]
push edx
mov eax, DWORD PTR _x$[ebp]
push eax
call ??$copy@H$0?0H$0?0@gsl@@YAXV?$span@H$0?0@0@0@Z ; gsl::copy<int,-1,int,-1>
add esp, 16 ; 00000010H
; Line 319
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
?gsl_copy_span@@YAXV?$span@H$0?0@gsl@@0@Z ENDP ; gsl_copy_span
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z
_TEXT SEGMENT
$T1 = -1 ; size = 1
___$ReturnUdt$ = 8 ; size = 4
__First$ = 12 ; size = 8
__Last$ = 20 ; size = 8
__Dest$ = 28 ; size = 8
??$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z PROC ; std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >, COMDAT
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\xutility
; Line 2371
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 2372
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
call ??$_Is_checked@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@std@@YA?AU?$integral_constant@_N$00@0@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@@Z ; std::_Is_checked<gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 8
mov BYTE PTR $T1[ebp], al
movzx edx, BYTE PTR $T1[ebp]
push edx
call ?_Deprecate@_Unchecked_iterators@?1???$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V345@00@Z@SAXU?$integral_constant@_N$00@2@@Z ; `std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >'::`2'::_Unchecked_iterators::_Deprecate
add esp, 4
; Line 2373
mov eax, DWORD PTR __Dest$[ebp+4]
push eax
mov ecx, DWORD PTR __Dest$[ebp]
push ecx
mov edx, DWORD PTR __Last$[ebp+4]
push edx
mov eax, DWORD PTR __Last$[ebp]
push eax
mov ecx, DWORD PTR __First$[ebp+4]
push ecx
mov edx, DWORD PTR __First$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
call ??$_Copy_no_deprecate@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::_Copy_no_deprecate<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 28 ; 0000001cH
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 2374
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ENDP ; std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
$T1 = -32 ; size = 8
$T2 = -24 ; size = 8
$T3 = -16 ; size = 8
$T4 = -8 ; size = 8
_x$ = 8 ; size = 8
_y$ = 16 ; size = 8
?copy_span@@YAXV?$span@H$0?0@gsl@@0@Z PROC ; copy_span
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 312
push ebp
mov ebp, esp
sub esp, 32 ; 00000020H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 313
lea eax, DWORD PTR $T4[ebp]
push eax
lea ecx, DWORD PTR _y$[ebp]
call ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::begin
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T3[ebp]
push eax
lea ecx, DWORD PTR _x$[ebp]
call ?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::end
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T2[ebp]
push eax
lea ecx, DWORD PTR _x$[ebp]
call ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::begin
mov ecx, DWORD PTR [eax+4]
push ecx
mov edx, DWORD PTR [eax]
push edx
lea eax, DWORD PTR $T1[ebp]
push eax
call ??$copy@V?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@@std@@YA?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@V123@00@Z ; std::copy<gsl::details::span_iterator<gsl::span<int,-1>,0>,gsl::details::span_iterator<gsl::span<int,-1>,0> >
add esp, 28 ; 0000001cH
; Line 314
add esp, 32 ; 00000020H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?copy_span@@YAXV?$span@H$0?0@gsl@@0@Z ENDP ; copy_span
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
?doterminate@@YAXXZ PROC ; doterminate
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 305
push ebp
mov ebp, esp
push esi
; Line 306
mov esi, esp
call DWORD PTR __imp__terminate
cmp esi, esp
call __RTC_CheckEsp
$LN2@doterminat:
; Line 307
pop esi
cmp ebp, esp
call __RTC_CheckEsp
pop ebp
ret 0
?doterminate@@YAXXZ ENDP ; doterminate
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
_i$ = 20 ; size = 4
?mysubspan9@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z PROC ; mysubspan9
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 246
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 247
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan9
; Line 249
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 250
mov edx, DWORD PTR _i$[ebp]
push edx
push 3
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
lea ecx, DWORD PTR _s$1[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan9
$LN2@mysubspan9:
; Line 253
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan9:
; Line 254
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan9
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN6@mysubspan9:
DD 1
DD $LN5@mysubspan9
$LN5@mysubspan9:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan9
$LN4@mysubspan9:
DB 115 ; 00000073H
DB 0
?mysubspan9@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ENDP ; mysubspan9
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
_i$ = 20 ; size = 4
?mysubspan8@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z PROC ; mysubspan8
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 234
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 235
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan8
; Line 237
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 238
mov edx, DWORD PTR _size$[ebp]
sub edx, DWORD PTR _i$[ebp]
push edx
mov eax, DWORD PTR _i$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan8
$LN2@mysubspan8:
; Line 241
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan8:
; Line 242
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan8
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN6@mysubspan8:
DD 1
DD $LN5@mysubspan8
$LN5@mysubspan8:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan8
$LN4@mysubspan8:
DB 115 ; 00000073H
DB 0
?mysubspan8@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ENDP ; mysubspan8
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
_i$ = 20 ; size = 4
?mysubspan7@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z PROC ; mysubspan7
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 223
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 224
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan7
; Line 226
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 227
push 3
mov edx, DWORD PTR _i$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
lea ecx, DWORD PTR _s$1[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan7
$LN2@mysubspan7:
; Line 230
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan7:
; Line 231
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan7
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN6@mysubspan7:
DD 1
DD $LN5@mysubspan7
$LN5@mysubspan7:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan7
$LN4@mysubspan7:
DB 115 ; 00000073H
DB 0
?mysubspan7@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ENDP ; mysubspan7
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
?mysubspan6@@YA?AV?$span@H$0?0@gsl@@PAHH@Z PROC ; mysubspan6
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 211
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 212
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan6
; Line 214
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 215
push -1
push 3
mov edx, DWORD PTR ___$ReturnUdt$[ebp]
push edx
lea ecx, DWORD PTR _s$1[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan6
$LN2@mysubspan6:
; Line 218
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan6:
; Line 219
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan6
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN6@mysubspan6:
DD 1
DD $LN5@mysubspan6
$LN5@mysubspan6:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan6
$LN4@mysubspan6:
DB 115 ; 00000073H
DB 0
?mysubspan6@@YA?AV?$span@H$0?0@gsl@@PAHH@Z ENDP ; mysubspan6
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
_i$ = 20 ; size = 4
?mysubspan5@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z PROC ; mysubspan5
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 199
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 200
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan5
; Line 202
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 203
push -1
mov edx, DWORD PTR _i$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
lea ecx, DWORD PTR _s$1[ebp]
call ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ; gsl::span<int,-1>::subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan5
$LN2@mysubspan5:
; Line 206
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan5:
; Line 207
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan5
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN6@mysubspan5:
DD 1
DD $LN5@mysubspan5
$LN5@mysubspan5:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan5
$LN4@mysubspan5:
DB 115 ; 00000073H
DB 0
?mysubspan5@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ENDP ; mysubspan5
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ
_TEXT SEGMENT
$T2 = -17 ; size = 1
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ PROC ; gsl::span<int,-1>::span<int,-1><0,void>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 384
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 8
mov DWORD PTR [ebp-20], -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], -858993460 ; ccccccccH
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
; Line 383
lea ecx, DWORD PTR $T2[ebp]
call ??0?$extent_type@$0A@@details@gsl@@QAE@XZ ; gsl::details::extent_type<0>::extent_type<0>
mov al, BYTE PTR [eax]
movzx ecx, al
push ecx
push 0
mov ecx, DWORD PTR _this$[ebp]
call ??$?0V?$extent_type@$0A@@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHV?$extent_type@$0A@@details@2@@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<0> >
; Line 384
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__ehhandler$??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-12]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ
jmp ___CxxFrameHandler3
text$x ENDS
??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ENDP ; gsl::span<int,-1>::span<int,-1><0,void>
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_s$1 = -12 ; size = 8
___$ReturnUdt$ = 8 ; size = 4
_p$ = 12 ; size = 4
_size$ = 16 ; size = 4
_i$ = 20 ; size = 4
?mysubspan4@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z PROC ; mysubspan4
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 188
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 189
cmp DWORD PTR _p$[ebp], 0
je SHORT $LN2@mysubspan4
; Line 191
mov eax, DWORD PTR _size$[ebp]
push eax
mov ecx, DWORD PTR _p$[ebp]
push ecx
lea ecx, DWORD PTR _s$1[ebp]
call ??0?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::span<int,-1>
; Line 192
mov edx, DWORD PTR _i$[ebp]
push edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
push eax
lea ecx, DWORD PTR _s$1[ebp]
call ?last@?$span@H$0?0@gsl@@QBE?AV12@H@Z ; gsl::span<int,-1>::last
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp SHORT $LN1@mysubspan4
$LN2@mysubspan4:
; Line 195
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??$?0$0A@X@?$span@H$0?0@gsl@@QAE@XZ ; gsl::span<int,-1>::span<int,-1><0,void>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN1@mysubspan4:
; Line 196
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN6@mysubspan4
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN6@mysubspan4:
DD 1
DD $LN5@mysubspan4
$LN5@mysubspan4:
DD -12 ; fffffff4H
DD 8
DD $LN4@mysubspan4
$LN4@mysubspan4:
DB 115 ; 00000073H
DB 0
?mysubspan4@@YA?AV?$span@H$0?0@gsl@@PAHHH@Z ENDP ; mysubspan4
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_subspan$ = -60 ; size = 8
_s$ = -44 ; size = 4
_x$ = -32 ; size = 24
__$ArrayPad$ = -4 ; size = 4
?mysubspan3@@YAHXZ PROC ; mysubspan3
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 177
push ebp
mov ebp, esp
sub esp, 64 ; 00000040H
push edi
lea edi, DWORD PTR [ebp-64]
mov ecx, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 178
mov DWORD PTR _x$[ebp], 0
mov DWORD PTR _x$[ebp+4], 1
mov DWORD PTR _x$[ebp+8], 2
mov DWORD PTR _x$[ebp+12], 3
mov DWORD PTR _x$[ebp+16], 4
mov DWORD PTR _x$[ebp+20], 5
; Line 179
lea eax, DWORD PTR _x$[ebp]
push eax
lea ecx, DWORD PTR _s$[ebp]
call ??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z ; gsl::span<int,6>::span<int,6><6>
; Line 181
push -1
push 3
lea ecx, DWORD PTR _subspan$[ebp]
push ecx
lea ecx, DWORD PTR _s$[ebp]
call ?subspan@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@HH@Z ; gsl::span<int,6>::subspan
; Line 183
lea ecx, DWORD PTR _subspan$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
; Line 184
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN7@mysubspan3
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
add esp, 64 ; 00000040H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN7@mysubspan3:
DD 3
DD $LN6@mysubspan3
$LN6@mysubspan3:
DD -32 ; ffffffe0H
DD 24 ; 00000018H
DD $LN3@mysubspan3
DD -44 ; ffffffd4H
DD 4
DD $LN4@mysubspan3
DD -60 ; ffffffc4H
DD 8
DD $LN5@mysubspan3
$LN5@mysubspan3:
DB 115 ; 00000073H
DB 117 ; 00000075H
DB 98 ; 00000062H
DB 115 ; 00000073H
DB 112 ; 00000070H
DB 97 ; 00000061H
DB 110 ; 0000006eH
DB 0
$LN4@mysubspan3:
DB 115 ; 00000073H
DB 0
$LN3@mysubspan3:
DB 120 ; 00000078H
DB 0
?mysubspan3@@YAHXZ ENDP ; mysubspan3
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_subspan$ = -60 ; size = 8
_s$ = -44 ; size = 4
_x$ = -32 ; size = 24
__$ArrayPad$ = -4 ; size = 4
_i$ = 8 ; size = 4
?mysubspan2@@YAHH@Z PROC ; mysubspan2
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 166
push ebp
mov ebp, esp
sub esp, 64 ; 00000040H
push edi
lea edi, DWORD PTR [ebp-64]
mov ecx, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 167
mov DWORD PTR _x$[ebp], 0
mov DWORD PTR _x$[ebp+4], 1
mov DWORD PTR _x$[ebp+8], 2
mov DWORD PTR _x$[ebp+12], 3
mov DWORD PTR _x$[ebp+16], 4
mov DWORD PTR _x$[ebp+20], 5
; Line 168
lea eax, DWORD PTR _x$[ebp]
push eax
lea ecx, DWORD PTR _s$[ebp]
call ??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z ; gsl::span<int,6>::span<int,6><6>
; Line 170
mov ecx, DWORD PTR _i$[ebp]
push ecx
lea edx, DWORD PTR _subspan$[ebp]
push edx
lea ecx, DWORD PTR _s$[ebp]
call ?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z ; gsl::span<int,6>::last
; Line 172
lea ecx, DWORD PTR _subspan$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
; Line 173
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN7@mysubspan2
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
add esp, 64 ; 00000040H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
$LN7@mysubspan2:
DD 3
DD $LN6@mysubspan2
$LN6@mysubspan2:
DD -32 ; ffffffe0H
DD 24 ; 00000018H
DD $LN3@mysubspan2
DD -44 ; ffffffd4H
DD 4
DD $LN4@mysubspan2
DD -60 ; ffffffc4H
DD 8
DD $LN5@mysubspan2
$LN5@mysubspan2:
DB 115 ; 00000073H
DB 117 ; 00000075H
DB 98 ; 00000062H
DB 115 ; 00000073H
DB 112 ; 00000070H
DB 97 ; 00000061H
DB 110 ; 0000006eH
DB 0
$LN4@mysubspan2:
DB 115 ; 00000073H
DB 0
$LN3@mysubspan2:
DB 120 ; 00000078H
DB 0
?mysubspan2@@YAHH@Z ENDP ; mysubspan2
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z
_TEXT SEGMENT
$T2 = -24 ; size = 4
$T3 = -17 ; size = 1
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_arr$ = 8 ; size = 4
??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z PROC ; gsl::span<int,6>::span<int,6><6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 395
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-24], -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], -858993460 ; ccccccccH
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
; Line 394
mov eax, 4
imul ecx, eax, 0
add ecx, DWORD PTR _arr$[ebp]
push ecx
call ??$addressof@H@std@@YAPAHAAH@Z ; std::addressof<int>
add esp, 4
mov DWORD PTR $T2[ebp], eax
lea ecx, DWORD PTR $T3[ebp]
call ??0?$extent_type@$05@details@gsl@@QAE@XZ ; gsl::details::extent_type<6>::extent_type<6>
mov dl, BYTE PTR [eax]
movzx eax, dl
push eax
mov ecx, DWORD PTR $T2[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::storage_type<gsl::details::extent_type<6> ><gsl::details::extent_type<6> >
; Line 395
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__ehhandler$??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-16]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z ENDP ; gsl::span<int,6>::span<int,6><6>
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QBEPAHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QBEPAHXZ PROC ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 602
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax]
mov esp, ebp
pop ebp
ret 0
?data@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QBEPAHXZ ENDP ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$extent_type@$05@details@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$extent_type@$05@details@gsl@@QBEHXZ PROC ; gsl::details::extent_type<6>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 323
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, 6
mov esp, ebp
pop ebp
ret 0
?size@?$extent_type@$05@details@gsl@@QBEHXZ ENDP ; gsl::details::extent_type<6>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$extent_type@$05@details@gsl@@QAE@H@Z
_TEXT SEGMENT
tv75 = -40 ; size = 4
tv78 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_size$ = 8 ; size = 4
??0?$extent_type@$05@details@gsl@@QAE@H@Z PROC ; gsl::details::extent_type<6>::extent_type<6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 321
push ebp
mov ebp, esp
push -1
push __ehhandler$??0?$extent_type@$05@details@gsl@@QAE@H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
cmp DWORD PTR _size$[ebp], 6
jne SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@EJCPKIPN@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv78[ebp], eax
mov eax, DWORD PTR tv78[ebp]
mov DWORD PTR tv75[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv75[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??0?$extent_type@$05@details@gsl@@QAE@H@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??0?$extent_type@$05@details@gsl@@QAE@H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??0?$extent_type@$05@details@gsl@@QAE@H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??0?$extent_type@$05@details@gsl@@QAE@H@Z ENDP ; gsl::details::extent_type<6>::extent_type<6>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$extent_type@$05@details@gsl@@QAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??0?$extent_type@$05@details@gsl@@QAE@XZ PROC ; gsl::details::extent_type<6>::extent_type<6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 311
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 0
??0?$extent_type@$05@details@gsl@@QAE@XZ ENDP ; gsl::details::extent_type<6>::extent_type<6>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$span@H$05@gsl@@QBEPAHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$span@H$05@gsl@@QBEPAHXZ PROC ; gsl::span<int,6>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 515
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$storage_type@V?$extent_type@$05@details@gsl@@@?$span@H$05@gsl@@QBEPAHXZ ; gsl::span<int,6>::storage_type<gsl::details::extent_type<6> >::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$span@H$05@gsl@@QBEPAHXZ ENDP ; gsl::span<int,6>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$span@H$05@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$span@H$05@gsl@@QBEHXZ PROC ; gsl::span<int,6>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 498
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$05@details@gsl@@QBEHXZ ; gsl::details::extent_type<6>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$span@H$05@gsl@@QBEHXZ ENDP ; gsl::span<int,6>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?subspan@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@HH@Z
_TEXT SEGMENT
$T1 = -5 ; size = 1
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_offset$ = 12 ; size = 4
_count$ = 16 ; size = 4
?subspan@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@HH@Z PROC ; gsl::span<int,6>::subspan, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 493
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 494
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
mov edx, DWORD PTR _count$[ebp]
push edx
mov eax, DWORD PTR _offset$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z ; gsl::span<int,6>::make_subspan<6>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 495
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 12 ; 0000000cH
?subspan@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@HH@Z ENDP ; gsl::span<int,6>::subspan
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z
_TEXT SEGMENT
$T1 = -5 ; size = 1
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_count$ = 12 ; size = 4
?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z PROC ; gsl::span<int,6>::last, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 487
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 488
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
push -1
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$05@gsl@@QBEHXZ ; gsl::span<int,6>::size
sub eax, DWORD PTR _count$[ebp]
push eax
mov edx, DWORD PTR ___$ReturnUdt$[ebp]
push edx
mov ecx, DWORD PTR _this$[ebp]
call ??$make_subspan@$05@?$span@H$05@gsl@@ABE?AV?$span@H$0?0@1@HHV?$subspan_selector@$05@01@@Z ; gsl::span<int,6>::make_subspan<6>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 489
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z ENDP ; gsl::span<int,6>::last
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_subspan$ = -60 ; size = 8
_s$ = -44 ; size = 4
_x$ = -32 ; size = 24
__$ArrayPad$ = -4 ; size = 4
?mysubspan1@@YAHXZ PROC ; mysubspan1
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 155
push ebp
mov ebp, esp
sub esp, 64 ; 00000040H
push edi
lea edi, DWORD PTR [ebp-64]
mov ecx, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
rep stosd
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 156
mov DWORD PTR _x$[ebp], 0
mov DWORD PTR _x$[ebp+4], 1
mov DWORD PTR _x$[ebp+8], 2
mov DWORD PTR _x$[ebp+12], 3
mov DWORD PTR _x$[ebp+16], 4
mov DWORD PTR _x$[ebp+20], 5
; Line 157
lea eax, DWORD PTR _x$[ebp]
push eax
lea ecx, DWORD PTR _s$[ebp]
call ??$?0$05@?$span@H$05@gsl@@QAE@AAY05H@Z ; gsl::span<int,6>::span<int,6><6>
; Line 159
push 3
lea ecx, DWORD PTR _subspan$[ebp]
push ecx
lea ecx, DWORD PTR _s$[ebp]
call ?last@?$span@H$05@gsl@@QBE?AV?$span@H$0?0@2@H@Z ; gsl::span<int,6>::last
; Line 161
lea ecx, DWORD PTR _subspan$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
; Line 162
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN7@mysubspan1
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
add esp, 64 ; 00000040H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN7@mysubspan1:
DD 3
DD $LN6@mysubspan1
$LN6@mysubspan1:
DD -32 ; ffffffe0H
DD 24 ; 00000018H
DD $LN3@mysubspan1
DD -44 ; ffffffd4H
DD 4
DD $LN4@mysubspan1
DD -60 ; ffffffc4H
DD 8
DD $LN5@mysubspan1
$LN5@mysubspan1:
DB 115 ; 00000073H
DB 117 ; 00000075H
DB 98 ; 00000062H
DB 115 ; 00000073H
DB 112 ; 00000070H
DB 97 ; 00000061H
DB 110 ; 0000006eH
DB 0
$LN4@mysubspan1:
DB 115 ; 00000073H
DB 0
$LN3@mysubspan1:
DB 120 ; 00000078H
DB 0
?mysubspan1@@YAHXZ ENDP ; mysubspan1
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$convert_span@EV?$span@G$0?0@gsl@@@@YA?AV?$span@E$0?0@gsl@@V?$span@G$0?0@1@@Z
_TEXT SEGMENT
tv72 = -8 ; size = 4
_ptr$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_s$ = 12 ; size = 8
??$convert_span@EV?$span@G$0?0@gsl@@@@YA?AV?$span@E$0?0@gsl@@V?$span@G$0?0@1@@Z PROC ; convert_span<unsigned char,gsl::span<unsigned short,-1> >, COMDAT
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 129
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 132
lea ecx, DWORD PTR _s$[ebp]
call ?data@?$span@G$0?0@gsl@@QBEPAGXZ ; gsl::span<unsigned short,-1>::data
mov DWORD PTR _ptr$[ebp], eax
; Line 133
lea ecx, DWORD PTR _s$[ebp]
call ?size_bytes@?$span@G$0?0@gsl@@QBEHXZ ; gsl::span<unsigned short,-1>::size_bytes
mov DWORD PTR tv72[ebp], eax
mov eax, DWORD PTR tv72[ebp]
push eax
mov ecx, DWORD PTR _ptr$[ebp]
push ecx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span@E$0?0@gsl@@QAE@PAEH@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 134
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$convert_span@EV?$span@G$0?0@gsl@@@@YA?AV?$span@E$0?0@gsl@@V?$span@G$0?0@1@@Z ENDP ; convert_span<unsigned char,gsl::span<unsigned short,-1> >
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_curBuffer$ = -12 ; size = 8
_Drive$ = 8 ; size = 4
?test_convert_span_Joe@@YAEAAUIDE_DRIVE_STATE@@@Z PROC ; test_convert_span_Joe
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 145
push ebp
mov ebp, esp
sub esp, 16 ; 00000010H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 146
mov eax, DWORD PTR _Drive$[ebp]
mov ecx, DWORD PTR [eax+12]
push ecx
mov edx, DWORD PTR [eax+8]
push edx
lea eax, DWORD PTR _curBuffer$[ebp]
push eax
call ??$convert_span@EV?$span@G$0?0@gsl@@@@YA?AV?$span@E$0?0@gsl@@V?$span@G$0?0@1@@Z ; convert_span<unsigned char,gsl::span<unsigned short,-1> >
add esp, 12 ; 0000000cH
; Line 148
push 0
lea ecx, DWORD PTR _curBuffer$[ebp]
call ??A?$span@E$0?0@gsl@@QBEAAEH@Z ; gsl::span<unsigned char,-1>::operator[]
mov al, BYTE PTR [eax]
; Line 149
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN5@test_conve
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 16 ; 00000010H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN5@test_conve:
DD 1
DD $LN4@test_conve
$LN4@test_conve:
DD -12 ; fffffff4H
DD 8
DD $LN3@test_conve
$LN3@test_conve:
DB 99 ; 00000063H
DB 117 ; 00000075H
DB 114 ; 00000072H
DB 66 ; 00000042H
DB 117 ; 00000075H
DB 102 ; 00000066H
DB 102 ; 00000066H
DB 101 ; 00000065H
DB 114 ; 00000072H
DB 0
?test_convert_span_Joe@@YAEAAUIDE_DRIVE_STATE@@@Z ENDP ; test_convert_span_Joe
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z
_TEXT SEGMENT
$T2 = -24 ; size = 4
$T3 = -17 ; size = 1
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_arr$ = 8 ; size = 4
??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z PROC ; gsl::span<unsigned char,-1>::span<unsigned char,-1><6>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 395
push ebp
mov ebp, esp
push -1
push __ehhandler$??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-24], -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], -858993460 ; ccccccccH
mov DWORD PTR [ebp-16], -858993460 ; ccccccccH
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
; Line 394
mov eax, 1
imul ecx, eax, 0
add ecx, DWORD PTR _arr$[ebp]
push ecx
call ??$addressof@E@std@@YAPAEAAE@Z ; std::addressof<unsigned char>
add esp, 4
mov DWORD PTR $T2[ebp], eax
lea ecx, DWORD PTR $T3[ebp]
call ??0?$extent_type@$05@details@gsl@@QAE@XZ ; gsl::details::extent_type<6>::extent_type<6>
mov dl, BYTE PTR [eax]
movzx eax, dl
push eax
mov ecx, DWORD PTR $T2[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0V?$extent_type@$05@details@gsl@@@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@UKnownNotNull@12@V?$extent_type@$05@details@2@@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><gsl::details::extent_type<6> >
; Line 395
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 24 ; 00000018H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__ehhandler$??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-16]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z
jmp ___CxxFrameHandler3
text$x ENDS
??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z ENDP ; gsl::span<unsigned char,-1>::span<unsigned char,-1><6>
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QBEPAEXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QBEPAEXZ PROC ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 602
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
mov esp, ebp
pop ebp
ret 0
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QBEPAEXZ ENDP ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?CheckRange@?$span@E$0?0@gsl@@CA_NHH@Z
_TEXT SEGMENT
tv74 = -8 ; size = 4
tv70 = -4 ; size = 4
_idx$ = 8 ; size = 4
_size$ = 12 ; size = 4
?CheckRange@?$span@E$0?0@gsl@@CA_NHH@Z PROC ; gsl::span<unsigned char,-1>::CheckRange, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 548
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 562
mov eax, 1
test eax, eax
je SHORT $LN2@CheckRange
; Line 565
lea ecx, DWORD PTR _idx$[ebp]
push ecx
call ??$narrow_cast@IAAH@gsl@@YAIAAH@Z ; gsl::narrow_cast<unsigned int,int &>
add esp, 4
mov esi, eax
lea edx, DWORD PTR _size$[ebp]
push edx
call ??$narrow_cast@IAAH@gsl@@YAIAAH@Z ; gsl::narrow_cast<unsigned int,int &>
add esp, 4
cmp esi, eax
jae SHORT $LN5@CheckRange
mov DWORD PTR tv70[ebp], 1
jmp SHORT $LN6@CheckRange
$LN5@CheckRange:
mov DWORD PTR tv70[ebp], 0
$LN6@CheckRange:
mov al, BYTE PTR tv70[ebp]
jmp SHORT $LN4@CheckRange
; Line 567
jmp SHORT $LN4@CheckRange
$LN2@CheckRange:
; Line 569
cmp DWORD PTR _idx$[ebp], 0
jl SHORT $LN7@CheckRange
mov eax, DWORD PTR _idx$[ebp]
cmp eax, DWORD PTR _size$[ebp]
jge SHORT $LN7@CheckRange
mov DWORD PTR tv74[ebp], 1
jmp SHORT $LN8@CheckRange
$LN7@CheckRange:
mov DWORD PTR tv74[ebp], 0
$LN8@CheckRange:
mov al, BYTE PTR tv74[ebp]
$LN4@CheckRange:
; Line 571
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?CheckRange@?$span@E$0?0@gsl@@CA_NHH@Z ENDP ; gsl::span<unsigned char,-1>::CheckRange
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?begin@?$span@E$0?0@gsl@@QBE?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?begin@?$span@E$0?0@gsl@@QBE?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::span<unsigned char,-1>::begin, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 518
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
push 0
mov eax, DWORD PTR _this$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@E$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<unsigned char,-1>,0>::span_iterator<gsl::span<unsigned char,-1>,0>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?begin@?$span@E$0?0@gsl@@QBE?AV?$span_iterator@V?$span@E$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::span<unsigned char,-1>::begin
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$span@E$0?0@gsl@@QBEPAEXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$span@E$0?0@gsl@@QBEPAEXZ PROC ; gsl::span<unsigned char,-1>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 515
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$span@E$0?0@gsl@@QBEPAEXZ ENDP ; gsl::span<unsigned char,-1>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??A?$span@E$0?0@gsl@@QBEAAEH@Z
_TEXT SEGMENT
tv90 = -40 ; size = 4
tv93 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_idx$ = 8 ; size = 4
??A?$span@E$0?0@gsl@@QBEAAEH@Z PROC ; gsl::span<unsigned char,-1>::operator[], COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 508
push ebp
mov ebp, esp
push -1
push __ehhandler$??A?$span@E$0?0@gsl@@QBEAAEH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 509
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
push eax
mov eax, DWORD PTR _idx$[ebp]
push eax
call ?CheckRange@?$span@E$0?0@gsl@@CA_NHH@Z ; gsl::span<unsigned char,-1>::CheckRange
add esp, 8
movzx ecx, al
test ecx, ecx
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@KHBJKJEH@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv93[ebp], eax
mov edx, DWORD PTR tv93[ebp]
mov DWORD PTR tv90[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv90[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 510
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$span@E$0?0@gsl@@QBEPAEXZ ; gsl::span<unsigned char,-1>::data
add eax, DWORD PTR _idx$[ebp]
$LN2@operator:
; Line 511
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??A?$span@E$0?0@gsl@@QBEAAEH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??A?$span@E$0?0@gsl@@QBEAAEH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??A?$span@E$0?0@gsl@@QBEAAEH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??A?$span@E$0?0@gsl@@QBEAAEH@Z ENDP ; gsl::span<unsigned char,-1>::operator[]
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$span@E$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$span@E$0?0@gsl@@QBEHXZ PROC ; gsl::span<unsigned char,-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 498
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$span@E$0?0@gsl@@QBEHXZ ENDP ; gsl::span<unsigned char,-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span@E$0?0@gsl@@QAE@PAEH@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ptr$ = 8 ; size = 4
_count$ = 12 ; size = 4
??0?$span@E$0?0@gsl@@QAE@PAEH@Z PROC ; gsl::span<unsigned char,-1>::span<unsigned char,-1>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 386
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _count$[ebp]
push eax
mov ecx, DWORD PTR _ptr$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@E$0?0@gsl@@QAE@PAEH@Z ; gsl::span<unsigned char,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
??0?$span@E$0?0@gsl@@QAE@PAEH@Z ENDP ; gsl::span<unsigned char,-1>::span<unsigned char,-1>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_i$1 = -20 ; size = 4
_sp$ = -12 ; size = 8
_Drive$ = 8 ; size = 4
?static_size_array_span@@YAXAAUIDE_DRIVE_STATE@@@Z PROC ; static_size_array_span
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 96
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 97
mov eax, DWORD PTR _Drive$[ebp]
push eax
lea ecx, DWORD PTR _sp$[ebp]
call ??$?0$05@?$span@E$0?0@gsl@@QAE@AAY05E@Z ; gsl::span<unsigned char,-1>::span<unsigned char,-1><6>
; Line 99
mov DWORD PTR _i$1[ebp], 0
jmp SHORT $LN4@static_siz
$LN2@static_siz:
mov ecx, DWORD PTR _i$1[ebp]
add ecx, 1
mov DWORD PTR _i$1[ebp], ecx
$LN4@static_siz:
cmp DWORD PTR _i$1[ebp], 6
jge SHORT $LN1@static_siz
; Line 101
mov edx, DWORD PTR _i$1[ebp]
push edx
lea ecx, DWORD PTR _sp$[ebp]
call ??A?$span@E$0?0@gsl@@QBEAAEH@Z ; gsl::span<unsigned char,-1>::operator[]
mov BYTE PTR [eax], 1
; Line 102
jmp SHORT $LN2@static_siz
$LN1@static_siz:
; Line 103
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN8@static_siz
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 2
$LN8@static_siz:
DD 1
DD $LN7@static_siz
$LN7@static_siz:
DD -12 ; fffffff4H
DD 8
DD $LN6@static_siz
$LN6@static_siz:
DB 115 ; 00000073H
DB 112 ; 00000070H
DB 0
?static_size_array_span@@YAXAAUIDE_DRIVE_STATE@@@Z ENDP ; static_size_array_span
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@G$0?0@gsl@@QBEPAGXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@G$0?0@gsl@@QBEPAGXZ PROC ; gsl::span<unsigned short,-1>::storage_type<gsl::details::extent_type<-1> >::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 602
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
mov esp, ebp
pop ebp
ret 0
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@G$0?0@gsl@@QBEPAGXZ ENDP ; gsl::span<unsigned short,-1>::storage_type<gsl::details::extent_type<-1> >::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$span@G$0?0@gsl@@QBEPAGXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$span@G$0?0@gsl@@QBEPAGXZ PROC ; gsl::span<unsigned short,-1>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 515
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@G$0?0@gsl@@QBEPAGXZ ; gsl::span<unsigned short,-1>::storage_type<gsl::details::extent_type<-1> >::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$span@G$0?0@gsl@@QBEPAGXZ ENDP ; gsl::span<unsigned short,-1>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size_bytes@?$span@G$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
$T1 = -8 ; size = 4
_this$ = -4 ; size = 4
?size_bytes@?$span@G$0?0@gsl@@QBEHXZ PROC ; gsl::span<unsigned short,-1>::size_bytes, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 500
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 501
mov DWORD PTR $T1[ebp], 2
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@G$0?0@gsl@@QBEHXZ ; gsl::span<unsigned short,-1>::size
mov esi, eax
lea eax, DWORD PTR $T1[ebp]
push eax
call ??$narrow_cast@HI@gsl@@YAH$$QAI@Z ; gsl::narrow_cast<int,unsigned int>
add esp, 4
imul eax, esi
; Line 502
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size_bytes@?$span@G$0?0@gsl@@QBEHXZ ENDP ; gsl::span<unsigned short,-1>::size_bytes
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$span@G$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$span@G$0?0@gsl@@QBEHXZ PROC ; gsl::span<unsigned short,-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 498
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$span@G$0?0@gsl@@QBEHXZ ENDP ; gsl::span<unsigned short,-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
_e$1 = -40 ; size = 4
_<end>$L0$2 = -32 ; size = 8
_<begin>$L0$3 = -16 ; size = 8
_<range>$L0$4 = -4 ; size = 4
_s$ = 8 ; size = 8
?test_span_rangeiter@@YAXV?$span@H$0?0@gsl@@@Z PROC ; test_span_rangeiter
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 69
push ebp
mov ebp, esp
sub esp, 40 ; 00000028H
push edi
lea edi, DWORD PTR [ebp-40]
mov ecx, 10 ; 0000000aH
mov eax, -858993460 ; ccccccccH
rep stosd
; Line 70
lea eax, DWORD PTR _s$[ebp]
mov DWORD PTR _<range>$L0$4[ebp], eax
lea ecx, DWORD PTR _<begin>$L0$3[ebp]
push ecx
mov ecx, DWORD PTR _<range>$L0$4[ebp]
call ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::begin
lea edx, DWORD PTR _<end>$L0$2[ebp]
push edx
mov ecx, DWORD PTR _<range>$L0$4[ebp]
call ?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::end
jmp SHORT $LN4@test_span_
$LN2@test_span_:
lea ecx, DWORD PTR _<begin>$L0$3[ebp]
call ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
$LN4@test_span_:
mov eax, DWORD PTR _<end>$L0$2[ebp+4]
push eax
mov ecx, DWORD PTR _<end>$L0$2[ebp]
push ecx
mov edx, DWORD PTR _<begin>$L0$3[ebp+4]
push edx
mov eax, DWORD PTR _<begin>$L0$3[ebp]
push eax
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
je SHORT $LN1@test_span_
lea ecx, DWORD PTR _<begin>$L0$3[ebp]
call ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
mov DWORD PTR _e$1[ebp], eax
; Line 72
mov edx, DWORD PTR _e$1[ebp]
mov eax, DWORD PTR [edx]
add eax, 1
mov ecx, DWORD PTR _e$1[ebp]
mov DWORD PTR [ecx], eax
; Line 73
jmp SHORT $LN2@test_span_
$LN1@test_span_:
; Line 74
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN9@test_span_
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop edi
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 1
$LN9@test_span_:
DD 2
DD $LN8@test_span_
$LN8@test_span_:
DD -16 ; fffffff0H
DD 8
DD $LN6@test_span_
DD -32 ; ffffffe0H
DD 8
DD $LN7@test_span_
$LN7@test_span_:
DB 60 ; 0000003cH
DB 101 ; 00000065H
DB 110 ; 0000006eH
DB 100 ; 00000064H
DB 62 ; 0000003eH
DB 36 ; 00000024H
DB 76 ; 0000004cH
DB 48 ; 00000030H
DB 0
$LN6@test_span_:
DB 60 ; 0000003cH
DB 98 ; 00000062H
DB 101 ; 00000065H
DB 103 ; 00000067H
DB 105 ; 00000069H
DB 110 ; 0000006eH
DB 62 ; 0000003eH
DB 36 ; 00000024H
DB 76 ; 0000004cH
DB 48 ; 00000030H
DB 0
?test_span_rangeiter@@YAXV?$span@H$0?0@gsl@@@Z ENDP ; test_span_rangeiter
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv65 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator<, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 240
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 241
mov eax, DWORD PTR _lhs$[ebp+4]
cmp eax, DWORD PTR _rhs$[ebp+4]
jge SHORT $LN3@operator
mov DWORD PTR tv65[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv65[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv65[ebp]
; Line 242
mov esp, ebp
pop ebp
ret 0
??Mdetails@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator<
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv69 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator!=, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 235
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 236
mov eax, DWORD PTR _rhs$[ebp+4]
push eax
mov ecx, DWORD PTR _rhs$[ebp]
push ecx
mov edx, DWORD PTR _lhs$[ebp+4]
push edx
mov eax, DWORD PTR _lhs$[ebp]
push eax
call ??8details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator==
add esp, 16 ; 00000010H
movzx ecx, al
test ecx, ecx
jne SHORT $LN3@operator
mov DWORD PTR tv69[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv69[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv69[ebp]
; Line 237
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator!=
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??8details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z
_TEXT SEGMENT
tv66 = -4 ; size = 4
_lhs$ = 8 ; size = 8
_rhs$ = 16 ; size = 8
??8details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z PROC ; gsl::details::operator==, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 230
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 231
mov eax, DWORD PTR _lhs$[ebp]
cmp eax, DWORD PTR _rhs$[ebp]
jne SHORT $LN3@operator
mov ecx, DWORD PTR _lhs$[ebp+4]
cmp ecx, DWORD PTR _rhs$[ebp+4]
jne SHORT $LN3@operator
mov DWORD PTR tv66[ebp], 1
jmp SHORT $LN4@operator
$LN3@operator:
mov DWORD PTR tv66[ebp], 0
$LN4@operator:
mov al, BYTE PTR tv66[ebp]
; Line 232
mov esp, ebp
pop ebp
ret 0
??8details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ENDP ; gsl::details::operator==
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
_TEXT SEGMENT
tv78 = -40 ; size = 4
tv81 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_rhs$ = 8 ; size = 8
??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator-, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 222
push ebp
mov ebp, esp
push -1
push __ehhandler$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 223
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
cmp ecx, DWORD PTR _rhs$[ebp]
jne SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@MDKFKNBK@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv81[ebp], eax
mov edx, DWORD PTR tv81[ebp]
mov DWORD PTR tv78[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv78[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 224
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
sub eax, DWORD PTR _rhs$[ebp+4]
$LN2@operator:
; Line 225
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z
jmp ___CxxFrameHandler3
text$x ENDS
??G?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEHV012@@Z ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator-
; Function compile flags: /Odtp /RTCsu
; COMDAT ??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
_TEXT SEGMENT
tv86 = -40 ; size = 4
tv89 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_n$ = 8 ; size = 4
??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+=, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 207
push ebp
mov ebp, esp
push -1
push __ehhandler$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 208
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax+4]
add ecx, DWORD PTR _n$[ebp]
js SHORT $LN3@operator
mov edx, DWORD PTR _this$[ebp]
mov esi, DWORD PTR [edx+4]
add esi, DWORD PTR _n$[ebp]
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
cmp esi, eax
jg SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@CDNFKALP@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv89[ebp], eax
mov ecx, DWORD PTR tv89[ebp]
mov DWORD PTR tv86[ebp], ecx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov edx, DWORD PTR $T2[ebp]
or edx, 1
mov DWORD PTR $T2[ebp], edx
mov eax, DWORD PTR tv86[ebp]
push eax
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov ecx, DWORD PTR $T2[ebp]
and ecx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 209
mov edx, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [edx+4]
add eax, DWORD PTR _n$[ebp]
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx+4], eax
; Line 210
mov eax, DWORD PTR _this$[ebp]
$LN2@operator:
; Line 211
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop esi
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-36]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+=
; Function compile flags: /Odtp /RTCsu
; COMDAT ??H?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z
_TEXT SEGMENT
_ret$ = -16 ; size = 8
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_n$ = 12 ; size = 4
??H?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 196
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov DWORD PTR _this$[ebp], ecx
; Line 197
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [eax+4]
mov DWORD PTR _ret$[ebp], ecx
mov DWORD PTR _ret$[ebp+4], edx
; Line 198
mov eax, DWORD PTR _n$[ebp]
push eax
lea ecx, DWORD PTR _ret$[ebp]
call ??Y?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+=
mov ecx, DWORD PTR [eax]
mov edx, DWORD PTR [eax+4]
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
mov DWORD PTR [eax], ecx
mov DWORD PTR [eax+4], edx
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 199
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN5@operator
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
$LN5@operator:
DD 1
DD $LN4@operator
$LN4@operator:
DD -16 ; fffffff0H
DD 8
DD $LN3@operator
$LN3@operator:
DB 114 ; 00000072H
DB 101 ; 00000065H
DB 116 ; 00000074H
DB 0
??H?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBE?AV012@H@Z ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator+
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
_TEXT SEGMENT
tv84 = -40 ; size = 4
tv87 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 168
push ebp
mov ebp, esp
push -1
push __ehhandler$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 169
mov eax, DWORD PTR _this$[ebp]
cmp DWORD PTR [eax+4], 0
jl SHORT $LN3@operator
mov ecx, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [ecx]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
mov edx, DWORD PTR _this$[ebp]
cmp DWORD PTR [edx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@CMPGECKC@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv87[ebp], eax
mov eax, DWORD PTR tv87[ebp]
mov DWORD PTR tv84[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv84[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 170
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR [ecx+4]
add edx, 1
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax+4], edx
; Line 171
mov eax, DWORD PTR _this$[ebp]
$LN2@operator:
; Line 172
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ
jmp ___CxxFrameHandler3
text$x ENDS
??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
; Function compile flags: /Odtp /RTCsu
; COMDAT ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ
_TEXT SEGMENT
tv85 = -40 ; size = 4
tv88 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 156
push ebp
mov ebp, esp
push -1
push __ehhandler$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 157
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
mov ecx, DWORD PTR _this$[ebp]
cmp DWORD PTR [ecx+4], eax
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@LADDNBHF@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv88[ebp], eax
mov edx, DWORD PTR tv88[ebp]
mov DWORD PTR tv85[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv85[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 158
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR [eax]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR [ecx+4]
lea eax, DWORD PTR [eax+edx*4]
$LN2@operator:
; Line 159
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ
jmp ___CxxFrameHandler3
text$x ENDS
??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_span$ = 8 ; size = 4
_idx$ = 12 ; size = 4
??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z PROC ; gsl::details::span_iterator<gsl::span<int,-1>,0>::span_iterator<gsl::span<int,-1>,0>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 146
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 145
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR _span$[ebp]
mov DWORD PTR [eax], ecx
mov edx, DWORD PTR _this$[ebp]
mov eax, DWORD PTR _idx$[ebp]
mov DWORD PTR [edx+4], eax
; Line 146
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 8
??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z ENDP ; gsl::details::span_iterator<gsl::span<int,-1>,0>::span_iterator<gsl::span<int,-1>,0>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
tv77 = -28 ; size = 4
$T1 = -24 ; size = 8
_it$2 = -12 ; size = 8
_s$ = 8 ; size = 8
?test_span_iter@@YAXV?$span@H$0?0@gsl@@@Z PROC ; test_span_iter
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 60
push ebp
mov ebp, esp
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
; Line 61
lea eax, DWORD PTR _it$2[ebp]
push eax
lea ecx, DWORD PTR _s$[ebp]
call ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::begin
jmp SHORT $LN4@test_span_
$LN2@test_span_:
lea ecx, DWORD PTR _it$2[ebp]
call ??E?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAEAAV012@XZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator++
$LN4@test_span_:
lea ecx, DWORD PTR $T1[ebp]
push ecx
lea ecx, DWORD PTR _s$[ebp]
call ?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ; gsl::span<int,-1>::end
mov edx, DWORD PTR [eax+4]
push edx
mov eax, DWORD PTR [eax]
push eax
mov ecx, DWORD PTR _it$2[ebp+4]
push ecx
mov edx, DWORD PTR _it$2[ebp]
push edx
call ??9details@gsl@@YA_NV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@01@0@Z ; gsl::details::operator!=
add esp, 16 ; 00000010H
movzx eax, al
test eax, eax
je SHORT $LN1@test_span_
; Line 63
lea ecx, DWORD PTR _it$2[ebp]
call ??D?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QBEAAHXZ ; gsl::details::span_iterator<gsl::span<int,-1>,0>::operator*
mov DWORD PTR tv77[ebp], eax
mov ecx, DWORD PTR tv77[ebp]
mov edx, DWORD PTR [ecx]
add edx, 1
mov eax, DWORD PTR tv77[ebp]
mov DWORD PTR [eax], edx
; Line 64
jmp SHORT $LN2@test_span_
$LN1@test_span_:
; Line 65
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN8@test_span_
call @_RTC_CheckStackVars@8
pop eax
pop edx
add esp, 28 ; 0000001cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
npad 3
$LN8@test_span_:
DD 1
DD $LN7@test_span_
$LN7@test_span_:
DD -12 ; fffffff4H
DD 8
DD $LN6@test_span_
$LN6@test_span_:
DB 105 ; 00000069H
DB 116 ; 00000074H
DB 0
?test_span_iter@@YAXV?$span@H$0?0@gsl@@@Z ENDP ; test_span_iter
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
tv71 = -8 ; size = 4
_i$1 = -4 ; size = 4
_s$ = 8 ; size = 8
?test_span_for@@YAXV?$span@H$0?0@gsl@@@Z PROC ; test_span_for
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 51
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 52
mov DWORD PTR _i$1[ebp], 0
jmp SHORT $LN4@test_span_
$LN2@test_span_:
mov eax, DWORD PTR _i$1[ebp]
add eax, 1
mov DWORD PTR _i$1[ebp], eax
$LN4@test_span_:
lea ecx, DWORD PTR _s$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
cmp DWORD PTR _i$1[ebp], eax
jge SHORT $LN1@test_span_
; Line 54
mov ecx, DWORD PTR _i$1[ebp]
push ecx
lea ecx, DWORD PTR _s$[ebp]
call ??A?$span@H$0?0@gsl@@QBEAAHH@Z ; gsl::span<int,-1>::operator[]
mov DWORD PTR tv71[ebp], eax
mov edx, DWORD PTR tv71[ebp]
mov eax, DWORD PTR [edx]
add eax, 1
mov ecx, DWORD PTR tv71[ebp]
mov DWORD PTR [ecx], eax
; Line 55
jmp SHORT $LN2@test_span_
$LN1@test_span_:
; Line 56
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?test_span_for@@YAXV?$span@H$0?0@gsl@@@Z ENDP ; test_span_for
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z
_TEXT SEGMENT
tv148 = -72 ; size = 4
tv155 = -68 ; size = 4
tv87 = -64 ; size = 4
tv141 = -60 ; size = 4
tv151 = -56 ; size = 4
$T2 = -52 ; size = 4
$T3 = -48 ; size = 4
$T4 = -44 ; size = 12
$T5 = -32 ; size = 4
$T6 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
___$ReturnUdt$ = 8 ; size = 4
_offset$ = 12 ; size = 4
_count$ = 16 ; size = 4
___formal$ = 20 ; size = 1
?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z PROC ; gsl::span<int,-1>::make_subspan, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 630
push ebp
mov ebp, esp
push -1
push __ehhandler$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 60 ; 0000003cH
push edi
push ecx
lea edi, DWORD PTR [ebp-72]
mov ecx, 15 ; 0000000fH
mov eax, -858993460 ; ccccccccH
rep stosd
pop ecx
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 631
cmp DWORD PTR _offset$[ebp], 0
jl SHORT $LN4@make_subsp
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
sub eax, DWORD PTR _offset$[ebp]
js SHORT $LN4@make_subsp
jmp SHORT $LN5@make_subsp
$LN4@make_subsp:
push OFFSET ??_C@_0ED@HPDDDCPI@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T6[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv151[ebp], eax
mov eax, DWORD PTR tv151[ebp]
mov DWORD PTR tv141[ebp], eax
mov DWORD PTR __$EHRec$[ebp+8], 0
mov ecx, DWORD PTR $T2[ebp]
or ecx, 1
mov DWORD PTR $T2[ebp], ecx
mov edx, DWORD PTR tv141[ebp]
push edx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN5@make_subsp:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je SHORT $LN10@make_subsp
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T6[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN10@make_subsp:
; Line 633
cmp DWORD PTR _count$[ebp], -1
jne SHORT $LN2@make_subsp
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
mov ecx, DWORD PTR _offset$[ebp]
lea edx, DWORD PTR [eax+ecx*4]
mov DWORD PTR $T5[ebp], edx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
mov DWORD PTR tv87[ebp], eax
mov eax, DWORD PTR tv87[ebp]
sub eax, DWORD PTR _offset$[ebp]
push eax
mov ecx, DWORD PTR $T5[ebp]
push ecx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z ; gsl::span<int,-1>::span<int,-1>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
jmp $LN3@make_subsp
$LN2@make_subsp:
; Line 635
cmp DWORD PTR _count$[ebp], 0
jl SHORT $LN6@make_subsp
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
sub eax, DWORD PTR _offset$[ebp]
cmp eax, DWORD PTR _count$[ebp]
jl SHORT $LN6@make_subsp
jmp SHORT $LN7@make_subsp
$LN6@make_subsp:
push OFFSET ??_C@_0ED@BLFPPHPM@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T4[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv155[ebp], eax
mov edx, DWORD PTR tv155[ebp]
mov DWORD PTR tv148[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 1
mov eax, DWORD PTR $T2[ebp]
or eax, 2
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv148[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN7@make_subsp:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 2
je SHORT $LN13@make_subsp
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T4[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN13@make_subsp:
; Line 636
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
mov ecx, DWORD PTR _offset$[ebp]
lea edx, DWORD PTR [eax+ecx*4]
mov DWORD PTR $T3[ebp], edx
mov eax, DWORD PTR _count$[ebp]
push eax
mov ecx, DWORD PTR $T3[ebp]
push ecx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z ; gsl::span<int,-1>::span<int,-1>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
$LN3@make_subsp:
; Line 637
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
pop edi
add esp, 72 ; 00000048H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 16 ; 00000010H
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN9@make_subsp
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T6[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN9@make_subsp:
ret 0
__unwindfunclet$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z$1:
mov eax, DWORD PTR $T2[ebp]
and eax, 2
je $LN12@make_subsp
and DWORD PTR $T2[ebp], -3 ; fffffffdH
lea ecx, DWORD PTR $T4[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN12@make_subsp:
ret 0
__ehhandler$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-68]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z
jmp ___CxxFrameHandler3
text$x ENDS
?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z ENDP ; gsl::span<int,-1>::make_subspan
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ptr$ = 8 ; size = 4
_count$ = 12 ; size = 4
??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z PROC ; gsl::span<int,-1>::span<int,-1>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 612
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _count$[ebp]
push eax
mov ecx, DWORD PTR _ptr$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@UKnownNotNull@12@H@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
??0?$span@H$0?0@gsl@@AAE@UKnownNotNull@01@H@Z ENDP ; gsl::span<int,-1>::span<int,-1>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QBEPAHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QBEPAHXZ PROC ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 602
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax+4]
mov esp, ebp
pop ebp
ret 0
?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QBEPAHXZ ENDP ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?CheckRange@?$span@H$0?0@gsl@@CA_NHH@Z
_TEXT SEGMENT
tv74 = -8 ; size = 4
tv70 = -4 ; size = 4
_idx$ = 8 ; size = 4
_size$ = 12 ; size = 4
?CheckRange@?$span@H$0?0@gsl@@CA_NHH@Z PROC ; gsl::span<int,-1>::CheckRange, COMDAT
; File c:\projects\gsl\include\gsl\span
; Line 548
push ebp
mov ebp, esp
sub esp, 8
push esi
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 562
mov eax, 1
test eax, eax
je SHORT $LN2@CheckRange
; Line 565
lea ecx, DWORD PTR _idx$[ebp]
push ecx
call ??$narrow_cast@IAAH@gsl@@YAIAAH@Z ; gsl::narrow_cast<unsigned int,int &>
add esp, 4
mov esi, eax
lea edx, DWORD PTR _size$[ebp]
push edx
call ??$narrow_cast@IAAH@gsl@@YAIAAH@Z ; gsl::narrow_cast<unsigned int,int &>
add esp, 4
cmp esi, eax
jae SHORT $LN5@CheckRange
mov DWORD PTR tv70[ebp], 1
jmp SHORT $LN6@CheckRange
$LN5@CheckRange:
mov DWORD PTR tv70[ebp], 0
$LN6@CheckRange:
mov al, BYTE PTR tv70[ebp]
jmp SHORT $LN4@CheckRange
; Line 567
jmp SHORT $LN4@CheckRange
$LN2@CheckRange:
; Line 569
cmp DWORD PTR _idx$[ebp], 0
jl SHORT $LN7@CheckRange
mov eax, DWORD PTR _idx$[ebp]
cmp eax, DWORD PTR _size$[ebp]
jge SHORT $LN7@CheckRange
mov DWORD PTR tv74[ebp], 1
jmp SHORT $LN8@CheckRange
$LN7@CheckRange:
mov DWORD PTR tv74[ebp], 0
$LN8@CheckRange:
mov al, BYTE PTR tv74[ebp]
$LN4@CheckRange:
; Line 571
pop esi
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?CheckRange@?$span@H$0?0@gsl@@CA_NHH@Z ENDP ; gsl::span<int,-1>::CheckRange
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
tv70 = -8 ; size = 4
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::span<int,-1>::end, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 519
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
mov DWORD PTR tv70[ebp], eax
mov eax, DWORD PTR tv70[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
push ecx
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::span_iterator<gsl::span<int,-1>,0>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?end@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::span<int,-1>::end
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ PROC ; gsl::span<int,-1>::begin, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 518
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
push 0
mov eax, DWORD PTR _this$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
call ??0?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@gsl@@QAE@PBV?$span@H$0?0@2@H@Z ; gsl::details::span_iterator<gsl::span<int,-1>,0>::span_iterator<gsl::span<int,-1>,0>
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
?begin@?$span@H$0?0@gsl@@QBE?AV?$span_iterator@V?$span@H$0?0@gsl@@$0A@@details@2@XZ ENDP ; gsl::span<int,-1>::begin
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?data@?$span@H$0?0@gsl@@QBEPAHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?data@?$span@H$0?0@gsl@@QBEPAHXZ PROC ; gsl::span<int,-1>::data, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 515
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::data
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?data@?$span@H$0?0@gsl@@QBEPAHXZ ENDP ; gsl::span<int,-1>::data
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??A?$span@H$0?0@gsl@@QBEAAHH@Z
_TEXT SEGMENT
tv90 = -40 ; size = 4
tv93 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_idx$ = 8 ; size = 4
??A?$span@H$0?0@gsl@@QBEAAHH@Z PROC ; gsl::span<int,-1>::operator[], COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 508
push ebp
mov ebp, esp
push -1
push __ehhandler$??A?$span@H$0?0@gsl@@QBEAAHH@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
; Line 509
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
push eax
mov eax, DWORD PTR _idx$[ebp]
push eax
call ?CheckRange@?$span@H$0?0@gsl@@CA_NHH@Z ; gsl::span<int,-1>::CheckRange
add esp, 8
movzx ecx, al
test ecx, ecx
je SHORT $LN3@operator
jmp SHORT $LN4@operator
$LN3@operator:
push OFFSET ??_C@_0ED@KHBJKJEH@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv93[ebp], eax
mov edx, DWORD PTR tv93[ebp]
mov DWORD PTR tv90[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv90[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@operator:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN7@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN7@operator:
; Line 510
mov ecx, DWORD PTR _this$[ebp]
call ?data@?$span@H$0?0@gsl@@QBEPAHXZ ; gsl::span<int,-1>::data
mov ecx, DWORD PTR _idx$[ebp]
lea eax, DWORD PTR [eax+ecx*4]
$LN2@operator:
; Line 511
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??A?$span@H$0?0@gsl@@QBEAAHH@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@operator
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@operator:
ret 0
__ehhandler$??A?$span@H$0?0@gsl@@QBEAAHH@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??A?$span@H$0?0@gsl@@QBEAAHH@Z
jmp ___CxxFrameHandler3
text$x ENDS
??A?$span@H$0?0@gsl@@QBEAAHH@Z ENDP ; gsl::span<int,-1>::operator[]
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$span@H$0?0@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$span@H$0?0@gsl@@QBEHXZ PROC ; gsl::span<int,-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 498
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ; gsl::details::extent_type<-1>::size
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?size@?$span@H$0?0@gsl@@QBEHXZ ENDP ; gsl::span<int,-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z
_TEXT SEGMENT
$T1 = -5 ; size = 1
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_offset$ = 12 ; size = 4
_count$ = 16 ; size = 4
?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z PROC ; gsl::span<int,-1>::subspan, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 493
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 494
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
mov edx, DWORD PTR _count$[ebp]
push edx
mov eax, DWORD PTR _offset$[ebp]
push eax
mov ecx, DWORD PTR ___$ReturnUdt$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z ; gsl::span<int,-1>::make_subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 495
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 12 ; 0000000cH
?subspan@?$span@H$0?0@gsl@@QBE?AV12@HH@Z ENDP ; gsl::span<int,-1>::subspan
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?last@?$span@H$0?0@gsl@@QBE?AV12@H@Z
_TEXT SEGMENT
$T1 = -5 ; size = 1
_this$ = -4 ; size = 4
___$ReturnUdt$ = 8 ; size = 4
_count$ = 12 ; size = 4
?last@?$span@H$0?0@gsl@@QBE?AV12@H@Z PROC ; gsl::span<int,-1>::last, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 487
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 488
xor eax, eax
mov BYTE PTR $T1[ebp], al
movzx ecx, BYTE PTR $T1[ebp]
push ecx
push -1
mov ecx, DWORD PTR _this$[ebp]
call ?size@?$span@H$0?0@gsl@@QBEHXZ ; gsl::span<int,-1>::size
sub eax, DWORD PTR _count$[ebp]
push eax
mov edx, DWORD PTR ___$ReturnUdt$[ebp]
push edx
mov ecx, DWORD PTR _this$[ebp]
call ?make_subspan@?$span@H$0?0@gsl@@ABE?AV12@HHV?$subspan_selector@$0?0@12@@Z ; gsl::span<int,-1>::make_subspan
mov eax, DWORD PTR ___$ReturnUdt$[ebp]
; Line 489
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
?last@?$span@H$0?0@gsl@@QBE?AV12@H@Z ENDP ; gsl::span<int,-1>::last
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$span@H$0?0@gsl@@QAE@PAHH@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_ptr$ = 8 ; size = 4
_count$ = 12 ; size = 4
??0?$span@H$0?0@gsl@@QAE@PAHH@Z PROC ; gsl::span<int,-1>::span<int,-1>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 386
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _count$[ebp]
push eax
mov ecx, DWORD PTR _ptr$[ebp]
push ecx
mov ecx, DWORD PTR _this$[ebp]
call ??$?0H@?$storage_type@V?$extent_type@$0?0@details@gsl@@@?$span@H$0?0@gsl@@QAE@PAHH@Z ; gsl::span<int,-1>::storage_type<gsl::details::extent_type<-1> >::storage_type<gsl::details::extent_type<-1> ><int>
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 8
??0?$span@H$0?0@gsl@@QAE@PAHH@Z ENDP ; gsl::span<int,-1>::span<int,-1>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
_TEXT SEGMENT
tv69 = -8 ; size = 4
_i$1 = -4 ; size = 4
_s$ = 8 ; size = 8
_len$ = 16 ; size = 4
?test_span_unoptimizable_rangecheck@@YAXV?$span@H$0?0@gsl@@H@Z PROC ; test_span_unoptimizable_rangecheck
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 41
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 42
mov DWORD PTR _i$1[ebp], 0
jmp SHORT $LN4@test_span_
$LN2@test_span_:
mov eax, DWORD PTR _i$1[ebp]
add eax, 1
mov DWORD PTR _i$1[ebp], eax
$LN4@test_span_:
mov ecx, DWORD PTR _i$1[ebp]
cmp ecx, DWORD PTR _len$[ebp]
jge SHORT $LN1@test_span_
; Line 44
mov edx, DWORD PTR _i$1[ebp]
push edx
lea ecx, DWORD PTR _s$[ebp]
call ??A?$span@H$0?0@gsl@@QBEAAHH@Z ; gsl::span<int,-1>::operator[]
mov DWORD PTR tv69[ebp], eax
mov eax, DWORD PTR tv69[ebp]
mov ecx, DWORD PTR [eax]
add ecx, 1
mov edx, DWORD PTR tv69[ebp]
mov DWORD PTR [edx], ecx
; Line 45
jmp SHORT $LN2@test_span_
$LN1@test_span_:
; Line 46
add esp, 8
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
?test_span_unoptimizable_rangecheck@@YAXV?$span@H$0?0@gsl@@H@Z ENDP ; test_span_unoptimizable_rangecheck
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z
_TEXT SEGMENT
$T1 = -12 ; size = 12
_exception$ = 8 ; size = 4
??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z PROC ; gsl::details::throw_exception<gsl::fail_fast>, COMDAT
; File c:\projects\gsl\include\gsl\gsl_assert
; Line 143
push ebp
mov ebp, esp
sub esp, 12 ; 0000000cH
mov DWORD PTR [ebp-12], -858993460 ; ccccccccH
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
; Line 144
mov eax, DWORD PTR _exception$[ebp]
push eax
call ??$forward@Ufail_fast@gsl@@@std@@YA$$QAUfail_fast@gsl@@AAU12@@Z ; std::forward<gsl::fail_fast>
add esp, 4
push eax
lea ecx, DWORD PTR $T1[ebp]
call ??0fail_fast@gsl@@QAE@$$QAU01@@Z
push OFFSET __TI3?AUfail_fast@gsl@@
lea ecx, DWORD PTR $T1[ebp]
push ecx
call __CxxThrowException@8
$LN2@throw_exce:
; Line 145
add esp, 12 ; 0000000cH
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ENDP ; gsl::details::throw_exception<gsl::fail_fast>
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?size@?$extent_type@$0?0@details@gsl@@QBEHXZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
?size@?$extent_type@$0?0@details@gsl@@QBEHXZ PROC ; gsl::details::extent_type<-1>::size, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 338
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov eax, DWORD PTR [eax]
mov esp, ebp
pop ebp
ret 0
?size@?$extent_type@$0?0@details@gsl@@QBEHXZ ENDP ; gsl::details::extent_type<-1>::size
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0?$extent_type@$0?0@details@gsl@@QAE@H@Z
_TEXT SEGMENT
tv76 = -40 ; size = 4
tv79 = -36 ; size = 4
$T2 = -32 ; size = 4
$T3 = -28 ; size = 12
_this$ = -16 ; size = 4
__$EHRec$ = -12 ; size = 12
_size$ = 8 ; size = 4
??0?$extent_type@$0?0@details@gsl@@QAE@H@Z PROC ; gsl::details::extent_type<-1>::extent_type<-1>, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\span
; Line 336
push ebp
mov ebp, esp
push -1
push __ehhandler$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z
mov eax, DWORD PTR fs:0
push eax
sub esp, 28 ; 0000001cH
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-40], eax
mov DWORD PTR [ebp-36], eax
mov DWORD PTR [ebp-32], eax
mov DWORD PTR [ebp-28], eax
mov DWORD PTR [ebp-24], eax
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
push eax
lea eax, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, eax
mov DWORD PTR _this$[ebp], ecx
mov DWORD PTR $T2[ebp], 0
mov eax, DWORD PTR _this$[ebp]
mov ecx, DWORD PTR _size$[ebp]
mov DWORD PTR [eax], ecx
cmp DWORD PTR _size$[ebp], 0
jl SHORT $LN3@extent_typ
jmp SHORT $LN4@extent_typ
$LN3@extent_typ:
push OFFSET ??_C@_0ED@HKMFEAN@GSL?3?5Precondition?5failure?5at?5C?3?2@
lea ecx, DWORD PTR $T3[ebp]
call ??0fail_fast@gsl@@QAE@QBD@Z ; gsl::fail_fast::fail_fast
mov DWORD PTR tv79[ebp], eax
mov edx, DWORD PTR tv79[ebp]
mov DWORD PTR tv76[ebp], edx
mov DWORD PTR __$EHRec$[ebp+8], 0
mov eax, DWORD PTR $T2[ebp]
or eax, 1
mov DWORD PTR $T2[ebp], eax
mov ecx, DWORD PTR tv76[ebp]
push ecx
call ??$throw_exception@Ufail_fast@gsl@@@details@gsl@@YAX$$QAUfail_fast@1@@Z ; gsl::details::throw_exception<gsl::fail_fast>
$LN4@extent_typ:
mov DWORD PTR __$EHRec$[ebp+8], -1
mov edx, DWORD PTR $T2[ebp]
and edx, 1
je SHORT $LN1@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
call ??1fail_fast@gsl@@UAE@XZ
$LN1@extent_typ:
mov eax, DWORD PTR _this$[ebp]
$LN2@extent_typ:
mov ecx, DWORD PTR __$EHRec$[ebp]
mov DWORD PTR fs:0, ecx
pop ecx
add esp, 40 ; 00000028H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
_TEXT ENDS
; COMDAT text$x
text$x SEGMENT
__unwindfunclet$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z$0:
mov eax, DWORD PTR $T2[ebp]
and eax, 1
je $LN6@extent_typ
and DWORD PTR $T2[ebp], -2 ; fffffffeH
lea ecx, DWORD PTR $T3[ebp]
jmp ??1fail_fast@gsl@@UAE@XZ
$LN6@extent_typ:
ret 0
__ehhandler$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z:
mov edx, DWORD PTR [esp+8]
lea eax, DWORD PTR [edx+12]
mov ecx, DWORD PTR [edx-32]
xor ecx, eax
call @__security_check_cookie@4
mov eax, OFFSET __ehfuncinfo$??0?$extent_type@$0?0@details@gsl@@QAE@H@Z
jmp ___CxxFrameHandler3
text$x ENDS
??0?$extent_type@$0?0@details@gsl@@QAE@H@Z ENDP ; gsl::details::extent_type<-1>::extent_type<-1>
; Function compile flags: /Odtp /RTCsu
; COMDAT ??_Gnarrowing_error@gsl@@UAEPAXI@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___flags$ = 8 ; size = 4
??_Gnarrowing_error@gsl@@UAEPAXI@Z PROC ; gsl::narrowing_error::`scalar deleting destructor', COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1narrowing_error@gsl@@UAE@XZ
mov eax, DWORD PTR ___flags$[ebp]
and eax, 1
je SHORT $LN2@scalar
push 12 ; 0000000cH
mov ecx, DWORD PTR _this$[ebp]
push ecx
call ??3@YAXPAXI@Z ; operator delete
add esp, 8
$LN2@scalar:
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??_Gnarrowing_error@gsl@@UAEPAXI@Z ENDP ; gsl::narrowing_error::`scalar deleting destructor'
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0narrowing_error@gsl@@QAE@$$QAU01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0narrowing_error@gsl@@QAE@$$QAU01@@Z PROC ; gsl::narrowing_error::narrowing_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@ABV01@@Z ; std::exception::exception
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7narrowing_error@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0narrowing_error@gsl@@QAE@$$QAU01@@Z ENDP ; gsl::narrowing_error::narrowing_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0narrowing_error@gsl@@QAE@ABU01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0narrowing_error@gsl@@QAE@ABU01@@Z PROC ; gsl::narrowing_error::narrowing_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@ABV01@@Z ; std::exception::exception
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7narrowing_error@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0narrowing_error@gsl@@QAE@ABU01@@Z ENDP ; gsl::narrowing_error::narrowing_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??1narrowing_error@gsl@@UAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??1narrowing_error@gsl@@UAE@XZ PROC ; gsl::narrowing_error::~narrowing_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1exception@std@@UAE@XZ ; std::exception::~exception
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??1narrowing_error@gsl@@UAE@XZ ENDP ; gsl::narrowing_error::~narrowing_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0narrowing_error@gsl@@QAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??0narrowing_error@gsl@@QAE@XZ PROC ; gsl::narrowing_error::narrowing_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@XZ ; std::exception::exception
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], OFFSET ??_7narrowing_error@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??0narrowing_error@gsl@@QAE@XZ ENDP ; gsl::narrowing_error::narrowing_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??_Gfail_fast@gsl@@UAEPAXI@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___flags$ = 8 ; size = 4
??_Gfail_fast@gsl@@UAEPAXI@Z PROC ; gsl::fail_fast::`scalar deleting destructor', COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1fail_fast@gsl@@UAE@XZ
mov eax, DWORD PTR ___flags$[ebp]
and eax, 1
je SHORT $LN2@scalar
push 12 ; 0000000cH
mov ecx, DWORD PTR _this$[ebp]
push ecx
call ??3@YAXPAXI@Z ; operator delete
add esp, 8
$LN2@scalar:
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??_Gfail_fast@gsl@@UAEPAXI@Z ENDP ; gsl::fail_fast::`scalar deleting destructor'
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0fail_fast@gsl@@QAE@$$QAU01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0fail_fast@gsl@@QAE@$$QAU01@@Z PROC ; gsl::fail_fast::fail_fast, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0logic_error@std@@QAE@$$QAV01@@Z
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7fail_fast@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0fail_fast@gsl@@QAE@$$QAU01@@Z ENDP ; gsl::fail_fast::fail_fast
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0fail_fast@gsl@@QAE@ABU01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0fail_fast@gsl@@QAE@ABU01@@Z PROC ; gsl::fail_fast::fail_fast, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0logic_error@std@@QAE@ABV01@@Z
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7fail_fast@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0fail_fast@gsl@@QAE@ABU01@@Z ENDP ; gsl::fail_fast::fail_fast
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??1fail_fast@gsl@@UAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??1fail_fast@gsl@@UAE@XZ PROC ; gsl::fail_fast::~fail_fast, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1logic_error@std@@UAE@XZ
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??1fail_fast@gsl@@UAE@XZ ENDP ; gsl::fail_fast::~fail_fast
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0fail_fast@gsl@@QAE@QBD@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
_message$ = 8 ; size = 4
??0fail_fast@gsl@@QAE@QBD@Z PROC ; gsl::fail_fast::fail_fast, COMDAT
; _this$ = ecx
; File c:\projects\gsl\include\gsl\gsl_assert
; Line 99
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _message$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0logic_error@std@@QAE@PBD@Z ; std::logic_error::logic_error
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7fail_fast@gsl@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0fail_fast@gsl@@QAE@QBD@Z ENDP ; gsl::fail_fast::fail_fast
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??_Glogic_error@std@@UAEPAXI@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___flags$ = 8 ; size = 4
??_Glogic_error@std@@UAEPAXI@Z PROC ; std::logic_error::`scalar deleting destructor', COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1logic_error@std@@UAE@XZ
mov eax, DWORD PTR ___flags$[ebp]
and eax, 1
je SHORT $LN2@scalar
push 12 ; 0000000cH
mov ecx, DWORD PTR _this$[ebp]
push ecx
call ??3@YAXPAXI@Z ; operator delete
add esp, 8
$LN2@scalar:
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??_Glogic_error@std@@UAEPAXI@Z ENDP ; std::logic_error::`scalar deleting destructor'
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0logic_error@std@@QAE@$$QAV01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0logic_error@std@@QAE@$$QAV01@@Z PROC ; std::logic_error::logic_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@ABV01@@Z ; std::exception::exception
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7logic_error@std@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0logic_error@std@@QAE@$$QAV01@@Z ENDP ; std::logic_error::logic_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0logic_error@std@@QAE@ABV01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___that$ = 8 ; size = 4
??0logic_error@std@@QAE@ABV01@@Z PROC ; std::logic_error::logic_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR ___that$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@ABV01@@Z ; std::exception::exception
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7logic_error@std@@6B@
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0logic_error@std@@QAE@ABV01@@Z ENDP ; std::logic_error::logic_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??1logic_error@std@@UAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??1logic_error@std@@UAE@XZ PROC ; std::logic_error::~logic_error, COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1exception@std@@UAE@XZ ; std::exception::~exception
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??1logic_error@std@@UAE@XZ ENDP ; std::logic_error::~logic_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0logic_error@std@@QAE@PBD@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
__Message$ = 8 ; size = 4
??0logic_error@std@@QAE@PBD@Z PROC ; std::logic_error::logic_error, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\stdexcept
; Line 28
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 27
mov eax, DWORD PTR __Message$[ebp]
push eax
mov ecx, DWORD PTR _this$[ebp]
call ??0exception@std@@QAE@QBD@Z ; std::exception::exception
; Line 28
mov ecx, DWORD PTR _this$[ebp]
mov DWORD PTR [ecx], OFFSET ??_7logic_error@std@@6B@
; Line 29
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0logic_error@std@@QAE@PBD@Z ENDP ; std::logic_error::logic_error
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??_Gexception@std@@UAEPAXI@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
___flags$ = 8 ; size = 4
??_Gexception@std@@UAEPAXI@Z PROC ; std::exception::`scalar deleting destructor', COMDAT
; _this$ = ecx
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov ecx, DWORD PTR _this$[ebp]
call ??1exception@std@@UAE@XZ ; std::exception::~exception
mov eax, DWORD PTR ___flags$[ebp]
and eax, 1
je SHORT $LN2@scalar
push 12 ; 0000000cH
mov ecx, DWORD PTR _this$[ebp]
push ecx
call ??3@YAXPAXI@Z ; operator delete
add esp, 8
$LN2@scalar:
mov eax, DWORD PTR _this$[ebp]
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??_Gexception@std@@UAEPAXI@Z ENDP ; std::exception::`scalar deleting destructor'
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?what@exception@std@@UBEPBDXZ
_TEXT SEGMENT
tv69 = -8 ; size = 4
_this$ = -4 ; size = 4
?what@exception@std@@UBEPBDXZ PROC ; std::exception::what, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h
; Line 88
push ebp
mov ebp, esp
sub esp, 8
mov DWORD PTR [ebp-8], -858993460 ; ccccccccH
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
; Line 89
mov eax, DWORD PTR _this$[ebp]
cmp DWORD PTR [eax+4], 0
je SHORT $LN3@what
mov ecx, DWORD PTR _this$[ebp]
mov edx, DWORD PTR [ecx+4]
mov DWORD PTR tv69[ebp], edx
jmp SHORT $LN4@what
$LN3@what:
mov DWORD PTR tv69[ebp], OFFSET ??_C@_0BC@EOODALEL@Unknown?5exception?$AA@
$LN4@what:
mov eax, DWORD PTR tv69[ebp]
; Line 90
mov esp, ebp
pop ebp
ret 0
?what@exception@std@@UBEPBDXZ ENDP ; std::exception::what
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??1exception@std@@UAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??1exception@std@@UAE@XZ PROC ; std::exception::~exception, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h
; Line 83
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], OFFSET ??_7exception@std@@6B@
; Line 84
mov ecx, DWORD PTR _this$[ebp]
add ecx, 4
mov esi, esp
push ecx
call DWORD PTR __imp____std_exception_destroy
add esp, 4
cmp esi, esp
call __RTC_CheckEsp
; Line 85
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 0
??1exception@std@@UAE@XZ ENDP ; std::exception::~exception
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0exception@std@@QAE@ABV01@@Z
_TEXT SEGMENT
_this$ = -4 ; size = 4
__Other$ = 8 ; size = 4
??0exception@std@@QAE@ABV01@@Z PROC ; std::exception::exception, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h
; Line 66
push ebp
mov ebp, esp
push ecx
push esi
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], OFFSET ??_7exception@std@@6B@
; Line 65
xor ecx, ecx
mov edx, DWORD PTR _this$[ebp]
add edx, 4
mov DWORD PTR [edx], ecx
mov DWORD PTR [edx+4], ecx
; Line 67
mov eax, DWORD PTR _this$[ebp]
add eax, 4
mov esi, esp
push eax
mov ecx, DWORD PTR __Other$[ebp]
add ecx, 4
push ecx
call DWORD PTR __imp____std_exception_copy
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
; Line 68
mov eax, DWORD PTR _this$[ebp]
pop esi
add esp, 4
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
??0exception@std@@QAE@ABV01@@Z ENDP ; std::exception::exception
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0exception@std@@QAE@QBD@Z
_TEXT SEGMENT
__InitData$ = -16 ; size = 8
_this$ = -4 ; size = 4
__Message$ = 8 ; size = 4
??0exception@std@@QAE@QBD@Z PROC ; std::exception::exception, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h
; Line 53
push ebp
mov ebp, esp
sub esp, 20 ; 00000014H
push esi
mov eax, -858993460 ; ccccccccH
mov DWORD PTR [ebp-20], eax
mov DWORD PTR [ebp-16], eax
mov DWORD PTR [ebp-12], eax
mov DWORD PTR [ebp-8], eax
mov DWORD PTR [ebp-4], eax
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], OFFSET ??_7exception@std@@6B@
; Line 52
xor ecx, ecx
mov edx, DWORD PTR _this$[ebp]
add edx, 4
mov DWORD PTR [edx], ecx
mov DWORD PTR [edx+4], ecx
; Line 54
mov eax, DWORD PTR __Message$[ebp]
mov DWORD PTR __InitData$[ebp], eax
mov BYTE PTR __InitData$[ebp+4], 1
; Line 55
mov ecx, DWORD PTR _this$[ebp]
add ecx, 4
mov esi, esp
push ecx
lea edx, DWORD PTR __InitData$[ebp]
push edx
call DWORD PTR __imp____std_exception_copy
add esp, 8
cmp esi, esp
call __RTC_CheckEsp
; Line 56
mov eax, DWORD PTR _this$[ebp]
push edx
mov ecx, ebp
push eax
lea edx, DWORD PTR $LN5@exception
call @_RTC_CheckStackVars@8
pop eax
pop edx
pop esi
add esp, 20 ; 00000014H
cmp ebp, esp
call __RTC_CheckEsp
mov esp, ebp
pop ebp
ret 4
$LN5@exception:
DD 1
DD $LN4@exception
$LN4@exception:
DD -16 ; fffffff0H
DD 8
DD $LN3@exception
$LN3@exception:
DB 95 ; 0000005fH
DB 73 ; 00000049H
DB 110 ; 0000006eH
DB 105 ; 00000069H
DB 116 ; 00000074H
DB 68 ; 00000044H
DB 97 ; 00000061H
DB 116 ; 00000074H
DB 97 ; 00000061H
DB 0
??0exception@std@@QAE@QBD@Z ENDP ; std::exception::exception
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ??0exception@std@@QAE@XZ
_TEXT SEGMENT
_this$ = -4 ; size = 4
??0exception@std@@QAE@XZ PROC ; std::exception::exception, COMDAT
; _this$ = ecx
; File c:\program files (x86)\microsoft visual studio 14.0\vc\include\vcruntime_exception.h
; Line 48
push ebp
mov ebp, esp
push ecx
mov DWORD PTR [ebp-4], -858993460 ; ccccccccH
mov DWORD PTR _this$[ebp], ecx
mov eax, DWORD PTR _this$[ebp]
mov DWORD PTR [eax], OFFSET ??_7exception@std@@6B@
; Line 47
xor ecx, ecx
mov edx, DWORD PTR _this$[ebp]
add edx, 4
mov DWORD PTR [edx], ecx
mov DWORD PTR [edx+4], ecx
; Line 49
mov eax, DWORD PTR _this$[ebp]
mov esp, ebp
pop ebp
ret 0
??0exception@std@@QAE@XZ ENDP ; std::exception::exception
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?__empty_global_delete@@YAXPAXI@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 4
___formal$ = 12 ; size = 4
?__empty_global_delete@@YAXPAXI@Z PROC ; __empty_global_delete, COMDAT
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 342
push ebp
mov ebp, esp
pop ebp
ret 0
?__empty_global_delete@@YAXPAXI@Z ENDP ; __empty_global_delete
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu
; COMDAT ?__empty_global_delete@@YAXPAX@Z
_TEXT SEGMENT
___formal$ = 8 ; size = 4
?__empty_global_delete@@YAXPAX@Z PROC ; __empty_global_delete, COMDAT
; File c:\projects\gsl\tests\span_compile_only.cpp
; Line 342
push ebp
mov ebp, esp
pop ebp
ret 0
?__empty_global_delete@@YAXPAX@Z ENDP ; __empty_global_delete
_TEXT ENDS
END
| 36.457876 | 486 | 0.664709 |
a407ec19d0db4d3de6476ba615a7159606478bbb | 691 | asm | Assembly | oeis/159/A159470.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/159/A159470.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/159/A159470.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A159470: Numerator of Hermite(n, 10/11).
; Submitted by Christian Krause
; 1,20,158,-6520,-245108,1409200,324764680,4449135200,-461168663920,-17836899025600,647687369505760,56119043032067200,-601762916982989120,-175004959304782931200,-1606953049267174852480,560777741139261073856000,17048794391625066191622400,-1830355525858717554137984000,-106745850644319873395094233600,5838111657754176197923173632000,607579654417666301829106758732800,-16104867335176886761366025204224000,-3409817150454117881122841051964569600,17545970683399387495055897147997184000
add $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
mov $1,$2
mul $2,20
mul $3,-1
mul $3,$0
mul $3,242
lpe
mov $0,$1
| 38.388889 | 479 | 0.816208 |
3babc6383f57fbbb6e77b5be5627ed97dc7074c1 | 795 | asm | Assembly | programs/oeis/180/A180576.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/180/A180576.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/180/A180576.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A180576: Wiener index of the n-web graph.
; 4,27,69,148,255,417,616,888,1206,1615,2079,2652,3289,4053,4890,5872,6936,8163,9481,10980,12579,14377,16284,18408,20650,23127,25731,28588,31581,34845,38254,41952,45804,49963,54285,58932,63751,68913,74256,79960
mov $7,$0
add $7,1
mov $12,$0
lpb $7
mov $0,$12
sub $7,1
sub $0,$7
mov $8,0
mov $9,$0
mov $10,0
mov $11,$0
add $11,1
lpb $11
mov $0,$9
sub $11,1
sub $0,$11
mov $5,$0
lpb $0
mov $0,6
mov $2,$5
add $2,1
gcd $2,2
mov $6,9
mul $6,$5
mul $2,$6
add $2,3
mul $2,2
mov $4,$3
add $4,4
mul $4,3
trn $0,$4
mov $8,$2
add $8,18
lpe
div $8,12
mul $8,3
add $8,4
add $10,$8
lpe
add $1,$10
lpe
mov $0,$1
| 17.282609 | 210 | 0.520755 |
887ebb4fb05fa0d40591d78c1cade781c9364b4c | 305 | asm | Assembly | 5_2.asm | EduardaSRBastos/Assembly-2020 | 65fd798bd2b9a4f4520256f71aac7bd91398a7fd | [
"MIT"
] | null | null | null | 5_2.asm | EduardaSRBastos/Assembly-2020 | 65fd798bd2b9a4f4520256f71aac7bd91398a7fd | [
"MIT"
] | null | null | null | 5_2.asm | EduardaSRBastos/Assembly-2020 | 65fd798bd2b9a4f4520256f71aac7bd91398a7fd | [
"MIT"
] | null | null | null | inicio:
mov ah, 9
lea dx, texto1
int 21h
mov ah, 1
int 21h
cmp al, '5'
je cinco
jne diferente
cinco:
mov ah, 9
lea dx, texto2
int 21h
jmp inicio
diferente:
mov ah, 9
lea dx, texto3
int 21h
jmp inicio
ret
texto1 db 0ah, 0dh, 'Carregue numa tecla: $'
texto2 db ' Cinco $'
texto3 db ' Diferente $' | 10.892857 | 44 | 0.681967 |
130840f0dd18972df333e911229e407ef83ce0be | 951 | asm | Assembly | data/pokemon/base_stats/natu.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | data/pokemon/base_stats/natu.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | null | null | null | data/pokemon/base_stats/natu.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 2 | 2021-08-11T19:47:07.000Z | 2022-01-01T07:07:56.000Z | db 0 ; species ID placeholder
db 40, 50, 45, 70, 70, 45
; hp atk def spd sat sdf
db PSYCHIC, FLYING ; type
db 190 ; catch rate
db 73 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/natu/front.dimensions"
db GROWTH_MEDIUM_FAST ; growth rate
dn EGG_FLYING, EGG_FLYING ; egg groups
db 70 ; happiness
; tm/hm learnset
tmhm CALM_MIND, TOXIC, HIDDEN_POWER, SUNNY_DAY, LIGHT_SCREEN, PROTECT, RAIN_DANCE, GIGA_DRAIN, FRUSTRATION, SOLARBEAM, RETURN, PSYCHIC_M, SHADOW_BALL, DOUBLE_TEAM, REFLECT, AERIAL_ACE, FACADE, SECRET_POWER, REST, ATTRACT, THIEF, STEEL_WING, SKILL_SWAP, ROOST, ENDURE, SILVER_WIND, FLASH, THUNDER_WAVE, PSYCH_UP, CAPTIVATE, SLEEP_TALK, NATURAL_GIFT, DREAM_EATER, GRASS_KNOT, SWAGGER, PLUCK, U_TURN, SUBSTITUTE, TRICK_ROOM, AIR_CUTTER, HEAT_WAVE, OMINOUS_WIND, SIGNAL_BEAM, SNORE, SUCKER_PUNCH, SWIFT, TRICK, TWISTER, ZEN_HEADBUTT
; end
| 47.55 | 530 | 0.754995 |
ff72ba3e4f773a74035da0509553979f05634e40 | 29 | asm | Assembly | externals/skia/third_party/externals/yasm/source/patched-yasm/modules/parsers/tasm/tests/label.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/label.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/label.asm | terrajobst/linux-packaging-skiasharp | 47dbb2ff9ae01305b190f409ccea00b3b4f0bc79 | [
"MIT"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | a label byte
mov ax,offset a
| 9.666667 | 15 | 0.758621 |
0aa22b475fbbaba53d89a018772260b8395d60b1 | 71 | asm | Assembly | src/main/fragment/mos6502-common/vwsm1_gt_vwsc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vwsm1_gt_vwsc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vwsm1_gt_vwsc1_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | lda #<{c1}
cmp {m1}
lda #>{c1}
sbc {m1}+1
bvc !+
eor #$80
!:
bmi {la1}
| 7.888889 | 10 | 0.492958 |
97685446ffdc0f5d50718b6d44f146d28b3b13ee | 1,473 | asm | Assembly | Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_151_645.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_151_645.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_151_645.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 %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1b66a, %rsi
lea addresses_D_ht+0x906a, %rdi
dec %rbx
mov $89, %rcx
rep movsq
nop
nop
nop
nop
inc %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rbx
push %rcx
// Faulty Load
lea addresses_US+0x1a66a, %rcx
nop
nop
add $56588, %r12
mov (%rcx), %rbx
lea oracles, %rcx
and $0xff, %rbx
shlq $12, %rbx
mov (%rcx,%rbx,1), %rbx
pop %rcx
pop %rbx
pop %r14
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_US', 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_US', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}}
{'00': 151}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 24.966102 | 452 | 0.659199 |
cd931b20722cc7c8b398b83366481ccce2d43824 | 4,742 | asm | Assembly | expeb/expeb32.asm | msmania/procjack | a8e7a48208d776235c2808f5f60ff1bd754c1279 | [
"MIT"
] | 12 | 2017-09-26T01:27:55.000Z | 2022-03-27T12:13:09.000Z | expeb/expeb32.asm | msmania/procjack | a8e7a48208d776235c2808f5f60ff1bd754c1279 | [
"MIT"
] | null | null | null | expeb/expeb32.asm | msmania/procjack | a8e7a48208d776235c2808f5f60ff1bd754c1279 | [
"MIT"
] | 5 | 2019-12-12T06:19:30.000Z | 2022-03-27T10:53:43.000Z | BITS 32
ShellCode:
mov eax,dword [fs:00000030h]
sub esp,10h
push ebx
push ebp
push esi
push edi
mov edi,dword [esp+24h]
mov dword [edi+1000h],eax
mov ebp,dword [eax+0Ch]
mov edx,dword [edi+1008h]
add ebp,14h
mov ebx,dword [ebp]
cmp ebx,ebp
je label_0xa0
label_0x2a:
nop word [eax+eax]
label_0x30:
mov eax,dword [ebx+28h]
test edx,edx
jne label_0x61
label_0x37:
cmp dword [eax],45004Bh
jne label_0x61
label_0x3f:
cmp dword [eax+4],4E0052h
jne label_0x61
label_0x48:
cmp dword [eax+8],4C0045h
jne label_0x61
label_0x51:
cmp dword [eax+0Ch],320033h
jne label_0x61
label_0x5a:
cmp word [eax+10h],2Eh
je label_0x8d
label_0x61:
cmp dword [eax],65006Bh
mov esi,edx
jne label_0x98
label_0x6b:
cmp dword [eax+4],6E0072h
jne label_0x98
label_0x74:
cmp dword [eax+8],6C0065h
jne label_0x98
label_0x7d:
cmp dword [eax+0Ch],320033h
jne label_0x98
label_0x86:
cmp word [eax+10h],2Eh
jne label_0x98
label_0x8d:
mov edx,dword [ebx+10h]
mov esi,edx
mov dword [edi+1008h],edx
label_0x98:
mov ebx,dword [ebx]
cmp ebx,ebp
jne label_0x30
label_0x9e:
jmp label_0xa2
label_0xa0:
mov esi,edx
label_0xa2:
mov eax,5A4Dh
cmp word [esi],ax
jne label_0x259
label_0xb0:
mov ecx,dword [esi+3Ch]
cmp dword [esi+ecx],4550h
jne label_0x259
label_0xc0:
movzx eax,word [esi+ecx+18h]
mov edx,10Bh
cmp ax,dx
jne label_0xd6
label_0xcf:
mov eax,74h
jmp label_0xe9
label_0xd6:
mov edx,20Bh
cmp ax,dx
jne label_0x259
label_0xe4:
mov eax,84h
label_0xe9:
add eax,esi
xor ebx,ebx
mov ebp,dword [eax+ecx+4]
mov eax,dword [ebp+esi+20h]
add ebp,esi
add eax,esi
mov dword [esp+10h],eax
mov edx,dword [ebp+24h]
mov ecx,dword [ebp+1Ch]
add edx,esi
add ecx,esi
mov dword [esp+14h],edx
mov dword [esp+24h],ecx
cmp dword [ebp+18h],ebx
jbe label_0x1d8
label_0x118:
nop dword [eax+eax]
label_0x120:
mov ecx,dword [eax+ebx*4]
movzx eax,word [edx+ebx*2]
add ecx,esi
mov edx,dword [esp+24h]
mov edx,dword [edx+eax*4]
add edx,esi
cmp dword [edi+1010h],0
jne label_0x163
label_0x13b:
cmp dword [ecx],64616F4Ch
jne label_0x163
label_0x143:
cmp dword [ecx+4],7262694Ch
jne label_0x163
label_0x14c:
cmp dword [ecx+8],57797261h
jne label_0x163
label_0x155:
cmp byte [ecx+0Ch],0
jne label_0x163
label_0x15b:
mov dword [edi+1010h],edx
jmp label_0x1c6
label_0x163:
cmp dword [edi+1018h],0
jne label_0x18e
label_0x16c:
cmp dword [ecx],65657246h
jne label_0x18e
label_0x174:
cmp dword [ecx+4],7262694Ch
jne label_0x18e
label_0x17d:
cmp dword [ecx+8],797261h
jne label_0x18e
label_0x186:
mov dword [edi+1018h],edx
jmp label_0x1c6
label_0x18e:
cmp dword [edi+1020h],0
jne label_0x1c6
label_0x197:
cmp dword [ecx],50746547h
jne label_0x1c6
label_0x19f:
cmp dword [ecx+4],41636F72h
jne label_0x1c6
label_0x1a8:
cmp dword [ecx+8],65726464h
jne label_0x1c6
label_0x1b1:
mov eax,dword [ecx+0Ch]
and eax,0FFFFFFh
cmp eax,7373h
jne label_0x1c6
label_0x1c0:
mov dword [edi+1020h],edx
label_0x1c6:
mov eax,dword [esp+10h]
inc ebx
mov edx,dword [esp+14h]
cmp ebx,dword [ebp+18h]
jb label_0x120
label_0x1d8:
mov ecx,dword [edi+1010h]
lea eax,[edi+800h]
push eax
call ecx
mov esi,eax
test esi,esi
je label_0x21b
label_0x1fd:
mov ecx,dword [edi+1020h]
push 0DEADh
push esi
call ecx
test eax,eax
je label_0x212
label_0x20f:
push edi
call eax
label_0x212:
mov eax,dword [edi+1018h]
push esi
call eax
label_0x21b:
mov eax,dword [edi+1020h]
lea ecx,[edi+string_ExitThread]
push ecx
push dword [edi+1008h]
call eax
mov ecx,dword [edi+1020h]
mov esi,eax
lea eax,[edi+string_VirtualFree]
push eax
push dword [edi+1008h]
call ecx
test eax,eax
je label_0x259
label_0x247:
test esi,esi
je label_0x259
label_0x24b:
push 8000h
push 0
push edi
push esi
jmp eax
label_0x259:
pop edi
pop esi
pop ebp
pop ebx
add esp,10h
ret 4
string_VirtualFree db "VirtualFree",0
string_ExitThread db "ExitThread",0
| 17.119134 | 38 | 0.607971 |
070f240b34e46fa491adfe49bf13e7fe7024426b | 5,726 | asm | Assembly | Plugin64/list_field_adjustment_asm.asm | matanki-saito/EU4dll | 7b71e92c792210f6e52c007c28faa50b3d8d4ee5 | [
"MIT"
] | 483 | 2018-08-17T12:44:22.000Z | 2022-03-30T16:49:44.000Z | Plugin64/list_field_adjustment_asm.asm | Dawn-of-Higaara/EU4dll | c516f00bf729dc2c95cccedb65508c05283e1268 | [
"MIT"
] | 111 | 2018-08-24T18:43:15.000Z | 2022-03-07T11:20:10.000Z | Plugin64/list_field_adjustment_asm.asm | Dawn-of-Higaara/EU4dll | c516f00bf729dc2c95cccedb65508c05283e1268 | [
"MIT"
] | 95 | 2018-09-17T07:56:04.000Z | 2022-03-19T04:56:27.000Z | EXTERN listFieldAdjustmentProc1ReturnAddress : QWORD
EXTERN listFieldAdjustmentProc2ReturnAddress : QWORD
EXTERN listFieldAdjustmentProc3ReturnAddress : QWORD
EXTERN listFieldAdjustmentProc2V1315ReturnAddress : QWORD
ESCAPE_SEQ_1 = 10h
ESCAPE_SEQ_2 = 11h
ESCAPE_SEQ_3 = 12h
ESCAPE_SEQ_4 = 13h
LOW_SHIFT = 0Eh
HIGH_SHIFT = 9h
SHIFT_2 = LOW_SHIFT
SHIFT_3 = 900h
SHIFT_4 = 8F2h
NO_FONT = 98Fh
NOT_DEF = 2026h
; temporary space
.DATA
listFieldAdjustmentProc1MultibyteFlag DD 0
listFieldAdjustmentProc2MultibyteFlag DD 0
.CODE
listFieldAdjustmentProc1 PROC
mov r8, qword ptr [rbp + 0B0h - 118h];
movss xmm6, dword ptr [r8 + 848h];
cmp byte ptr[r12 + rax], ESCAPE_SEQ_1;
jz JMP_A;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_2;
jz JMP_B;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_3;
jz JMP_C;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_4;
jz JMP_D;
movzx eax, byte ptr[r12 + rax];
jmp JMP_G;
JMP_A:
movzx eax, word ptr[r12 + rax + 1];
jmp JMP_E;
JMP_B:
movzx eax, word ptr[r12 + rax + 1];
sub eax, SHIFT_2;
jmp JMP_E;
JMP_C:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_3;
jmp JMP_E;
JMP_D:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_4;
jmp JMP_E;
JMP_E:
mov listFieldAdjustmentProc1MultibyteFlag, 1h;
movzx eax, ax;
cmp eax, NO_FONT;
ja JMP_G;
mov eax, NOT_DEF;
JMP_G:
mov r15, qword ptr [r8 + rax * 8];
test r15, r15;
push listFieldAdjustmentProc1ReturnAddress;
ret;
listFieldAdjustmentProc1 ENDP
;-------------------------------------------;
listFieldAdjustmentProc1_v131 PROC
mov rcx, qword ptr [rbp + 0C0h - 128h];
movss xmm6, dword ptr [rcx + 848h];
cmp byte ptr[r12 + rax], ESCAPE_SEQ_1;
jz JMP_A;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_2;
jz JMP_B;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_3;
jz JMP_C;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_4;
jz JMP_D;
movzx eax, byte ptr[r12 + rax];
jmp JMP_G;
JMP_A:
movzx eax, word ptr[r12 + rax + 1];
jmp JMP_E;
JMP_B:
movzx eax, word ptr[r12 + rax + 1];
sub eax, SHIFT_2;
jmp JMP_E;
JMP_C:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_3;
jmp JMP_E;
JMP_D:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_4;
jmp JMP_E;
JMP_E:
mov listFieldAdjustmentProc1MultibyteFlag, 1h;
movzx eax, ax;
cmp eax, NO_FONT;
ja JMP_G;
mov eax, NOT_DEF;
JMP_G:
mov r15, qword ptr [rcx + rax * 8];
test r15, r15;
push listFieldAdjustmentProc1ReturnAddress;
ret;
listFieldAdjustmentProc1_v131 ENDP
;-------------------------------------------;
listFieldAdjustmentProc1_v1315 PROC
mov rcx, qword ptr [rbp + 0D0h - 130h];
movss xmm6, dword ptr [rcx + 848h];
cmp byte ptr[r12 + rax], ESCAPE_SEQ_1;
jz JMP_A;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_2;
jz JMP_B;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_3;
jz JMP_C;
cmp byte ptr[r12 + rax], ESCAPE_SEQ_4;
jz JMP_D;
movzx eax, byte ptr[r12 + rax];
jmp JMP_G;
JMP_A:
movzx eax, word ptr[r12 + rax + 1];
jmp JMP_E;
JMP_B:
movzx eax, word ptr[r12 + rax + 1];
sub eax, SHIFT_2;
jmp JMP_E;
JMP_C:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_3;
jmp JMP_E;
JMP_D:
movzx eax, word ptr[r12 + rax + 1];
add eax, SHIFT_4;
jmp JMP_E;
JMP_E:
mov listFieldAdjustmentProc1MultibyteFlag, 1h;
movzx eax, ax;
cmp eax, NO_FONT;
ja JMP_G;
mov eax, NOT_DEF;
JMP_G:
mov r15, qword ptr [rcx + rax * 8];
test r15, r15;
push listFieldAdjustmentProc1ReturnAddress;
ret;
listFieldAdjustmentProc1_v1315 ENDP
;-------------------------------------------;
listFieldAdjustmentProc2 PROC
cmp listFieldAdjustmentProc1MultibyteFlag, 1h;
jnz JMP_A;
mov listFieldAdjustmentProc2MultibyteFlag, 1h;
add ebx,2;
JMP_A:
inc ebx;
mov listFieldAdjustmentProc1MultibyteFlag, 0h; reset
mov r9, qword ptr [rdi + 10h];
movzx edx, byte ptr [rbp + 0B0h + 048h];arg_8=0x48
cmp ebx, r9d;
push listFieldAdjustmentProc2ReturnAddress;
ret;
listFieldAdjustmentProc2 ENDP
;-------------------------------------------;
listFieldAdjustmentProc2_v131 PROC
cmp listFieldAdjustmentProc1MultibyteFlag, 1h;
jnz JMP_A;
mov listFieldAdjustmentProc2MultibyteFlag, 1h;
add ebx,2;
JMP_A:
inc ebx;
mov listFieldAdjustmentProc1MultibyteFlag, 0h; reset
mov r10, qword ptr [rdi + 10h];
movzx edx, byte ptr [rbp + 0C0h + 048h];arg_38=0x48
cmp ebx, r10d;
push listFieldAdjustmentProc2ReturnAddress;
ret;
listFieldAdjustmentProc2_v131 ENDP
;-------------------------------------------;
listFieldAdjustmentProc2_v1315 PROC
cmp listFieldAdjustmentProc1MultibyteFlag, 1h;
jnz JMP_A;
mov listFieldAdjustmentProc2MultibyteFlag, 1h;
add ebx,2;
JMP_A:
inc ebx;
mov listFieldAdjustmentProc1MultibyteFlag, 0h; reset
mov r9, qword ptr [rdi + 10h];
cmp ebx, r9d;
jge JMP_B;
push listFieldAdjustmentProc2ReturnAddress;
ret;
JMP_B:
push listFieldAdjustmentProc2V1315ReturnAddress;
ret;
listFieldAdjustmentProc2_v1315 ENDP
;-------------------------------------------;
listFieldAdjustmentProc3 PROC
mov rcx, qword ptr [rax + rcx * 8];
mov r9d, dword ptr [rcx + rdx * 4];
cmp listFieldAdjustmentProc2MultibyteFlag, 1h;
jnz JMP_A;
mov r9d, ebx;
sub r9d, 3;
JMP_A:
xor r8d, r8d;
lea rdx, [rsp + 180h - 160h];
mov rcx, rdi;
push listFieldAdjustmentProc3ReturnAddress;
ret;
listFieldAdjustmentProc3 ENDP
;-------------------------------------------;
listFieldAdjustmentProc3_v1315 PROC
mov rcx, qword ptr [rax + rcx * 8];
mov r9d, dword ptr [rcx + rdx * 4];
cmp listFieldAdjustmentProc2MultibyteFlag, 1h;
jnz JMP_A;
mov r9d, ebx;
sub r9d, 3;
JMP_A:
xor r8d, r8d;
lea rdx, [rsp + 1D0h - 1A8h];
mov rcx, rdi;
push listFieldAdjustmentProc3ReturnAddress;
ret;
listFieldAdjustmentProc3_v1315 ENDP
END | 19.676976 | 57 | 0.673245 |
07976e2fda3bf8712c9e0380cdf6d919afbc2a9e | 569 | asm | Assembly | data/baseStats_original/sneasel.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/baseStats_original/sneasel.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/baseStats_original/sneasel.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | ;SneaselBaseStats: ; 38aa6 (e:4aa6)
db DEX_SNEASEL ; pokedex id
db 55 ; base hp
db 95 ; base attack
db 55 ; base defense
db 115 ; base speed
db 75 ; base special
db DARK ; species type 1
db ICE ; species type 2
db 60 ; catch rate
db 132 ; base exp yield
INCBIN "pic/ymon/sneasel.pic",0,1 ; 55, sprite dimensions
dw SneaselPicFront
dw SneaselPicBack
db SCRATCH
db 0
db 0
db 0
db 0 ; growth rate
; learnset
tmlearn 1,3,5,6,8
tmlearn 9,10,13,14,16
tmlearn 20
tmlearn 28,30,31,32
tmlearn 34,39,40
tmlearn 41,43,44,46
tmlearn 51,53,54
db BANK(SneaselPicFront)
| 19.62069 | 57 | 0.720562 |
d2a65b95241452c7291a00d81e535b26fd4e5980 | 733 | asm | Assembly | oeis/103/A103439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/103/A103439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/103/A103439.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A103439: a(n) = Sum_{i=0..n-1} Sum_{j=0..i} (i-j+1)^j.
; Submitted by Jamie Morken(s3)
; 0,1,3,7,16,39,105,315,1048,3829,15207,65071,297840,1449755,7468541,40555747,231335960,1381989881,8623700811,56078446615,379233142800,2662013133295,19362917622001,145719550012299,1133023004941272,9090156910550109,75161929739797519,639793220877941503,5600832312222372720,50376017391266560675,465123579408734512197,4404799679478210715955,42752343051525066868568,424964703596141025889057,4323215747841205835739827,44982239091334662367218407,478398674455544712638834064,5197596607369878355927340599
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
sub $0,1
seq $0,26898 ; a(n) = Sum_{k=0..n} (n-k+1)^k.
add $1,$0
lpe
mov $0,$1
| 45.8125 | 495 | 0.787176 |
e1b7b01df374b15579c01c46ff6d81511002626f | 185 | asm | Assembly | transfer.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null | transfer.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null | transfer.asm | creativcoder/asm8085 | 94eee431aec7e49df6ea8df01cc4c5a370e86df7 | [
"MIT"
] | null | null | null |
;Program to transfer n data to another n locations
jmp start
;data
;code
start: lxi h,0000h
lxi d, 000Ah
mvi b, 05h
loop: mov a,m
xchg
mov m,a
xchg
inx d
inx h
dcr b
jnz loop
hlt
| 8.043478 | 50 | 0.708108 |
609ccb48acd4605d24a8f7f10c9c2086e98d2969 | 208 | asm | Assembly | data/pokemon/dex_entries/hitmontop.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | data/pokemon/dex_entries/hitmontop.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | data/pokemon/dex_entries/hitmontop.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | db "HANDSTAND@" ; species name
dw 407, 1060 ; height, weight
db "After doing a"
next "handstand to"
next "throw off the"
page "opponent's timing,"
next "it presents its"
next "fancy kick moves.@"
| 18.909091 | 31 | 0.673077 |
54c72a6bd4fb8548491ec8603ccaf43cfef8f5e6 | 598 | asm | Assembly | oeis/141/A141072.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/141/A141072.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/141/A141072.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A141072: Sum of diagonal numbers in a Pascal-like triangle with index of asymmetry y = 3 and index of obliquity z = 0 (going upwards, left to right).
; Submitted by Jon Maiga
; 1,1,2,3,6,11,22,42,83,162,319,626,1231,2419,4756,9349,18380,36133,71036,139652,274549,539748,1061117,2086100,4101165,8062677,15850806,31161863,61262610,120439119,236777074,465491470,915132135,1799102406,3536942203,6953445286
lpb $0
sub $0,1
add $1,$5
add $1,1
mul $4,$2
sub $3,$4
mov $4,$2
add $5,$2
mov $2,$1
div $3,$1
mov $1,$3
add $4,$3
sub $5,$3
add $5,$4
lpe
mov $0,$5
div $0,2
add $0,1
| 26 | 226 | 0.683946 |
857694047287b7a0033d41c20d5ce2988bebddc0 | 319 | asm | Assembly | programs/oeis/043/A043659.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/043/A043659.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/043/A043659.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A043659: Numbers n such that base 13 representation has exactly 4 runs.
; 2210,2212,2213,2214,2215,2216,2217,2218,2219,2220,2221,2222,2223,2224,2226,2227,2228,2229,2230,2231,2232,2233,2234,2235,2236,2237,2238,2240,2241,2242,2243,2244,2245,2246,2247,2248
add $0,12
mov $1,12
add $1,$0
div $0,13
add $1,$0
add $1,2186
| 31.9 | 181 | 0.746082 |
cfe370e1c0ed5a1a4a228735c9a4f7b679307976 | 1,614 | asm | Assembly | asminator/printtest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | asminator/printtest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | asminator/printtest.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | xor r0,r0,r0
xor r1,r1,r1
xor r2,r2,r2
xor r3,r3,r3
xor r4,r4,r4
xor r5,r5,r5
xor r6,r6,r6
ldl $-1
lsr r7,r0,r0
ldl #main
jmp r0,r7,r0
>curX
. 0
>curY
. 0
>val1
. 1
>val2
. 9
>str
. 42
>str1
. 61
>main
ldl #val1
load r0,r7,r1
and r1,r1,r2
ldl #printnum
call r0,r7,r0
ldl #str
load r0,r7,r1
ldl #printchar
call r0,r7,r0
ldl #val2
load r0,r7,r1
and r1,r1,r3
ldl #printnum
call r0,r7,r0
ldl #str1
load r0,r7,r1
ldl #printchar
call r0,r7,r0
and r2,r2,r1
and r3,r3,r2
ldl #mul
call r0,r7,r0
and r3,r3,r1
ldl #printnum
call r0,r7,r0
hlt
>mul
push r4,r0,r0
xor r4,r4,r4
xor r3,r3,r3
>loop0
add r4,r1,r4
cmp r3,r2,r0
ldl #loopend1
je r0,r7,r0
ldl $1
add r7,r3,r3
ldl #loop0
jmp r0,r7,r0
>loopend1
and r4,r4,r3
pop r0,r0,r4
ret
>printnum
push r1,r0,r0
push r2,r0,r0
push r3,r0,r0
push r4,r0,r0
and r1,r1,r3
ldl #curX
load r0,r7,r1
ldl #curY
load r0,r7,r2
ldl $48
and r7,r7,r4
add r3,r4,r3
ldl #plotchar
call r0,r7,r0
ldl $1
and r7,r7,r3
add r1,r3,r1
ldl #curX
store r0,r7,r1
ldl $80
and r7,r7,r3
cmp r3,r1,r0
ldl #overflowhandler
je r0,r7,r0
>endfunc
pop r0,r0,r4
pop r0,r0,r3
pop r0,r0,r2
pop r0,r0,r1
ret
>overflowhandler
ldl $1
and r7,r7,r3
add r2,r3,r2
ldl $0
and r7,r7,r1
ldl #curX
store r0,r7,r1
ldl #curY
store r0,r7,r2
ldl #endfunc
jmp r0,r7,r0
>printchar
push r1,r0,r0
push r2,r0,r0
push r3,r0,r0
and r1,r1,r3
ldl #curX
load r0,r7,r1
ldl #curY
load r0,r7,r2
ldl #plotchar
call r0,r7,r0
ldl $1
and r7,r7,r3
add r1,r3,r1
add r2,r3,r2
ldl #curX
store r0,r7,r1
ldl #curY
store r0,r7,r2
pop r0,r0,r3
pop r0,r0,r2
pop r0,r0,r1
ret
>plotchar
ldl $8000
store r0,r7,r1
ldl $8001
store r0,r7,r2
ldl $8002
store r0,r7,r3
ret
| 11.366197 | 20 | 0.704461 |
be12d1ae04e20f12876f6786ba0fa6be90d7fe3f | 15,123 | asm | Assembly | 8088/vga_composite/vga_composite.asm | reenigne/reenigne | c3eb8b31d7964e78bbe44908987d4be052a74488 | [
"Unlicense"
] | 92 | 2015-04-10T17:45:11.000Z | 2022-03-30T17:58:51.000Z | 8088/vga_composite/vga_composite.asm | MS-DOS-stuff/reenigne | 0a113990aef398550c6f14d1c7a33af1cb091887 | [
"Unlicense"
] | 2 | 2017-11-05T07:21:35.000Z | 2018-11-04T23:36:13.000Z | 8088/vga_composite/vga_composite.asm | MS-DOS-stuff/reenigne | 0a113990aef398550c6f14d1c7a33af1cb091887 | [
"Unlicense"
] | 18 | 2015-04-11T20:32:44.000Z | 2021-11-06T05:19:57.000Z | %include "../defaults_bin.asm"
stopScreen
; outputCharacter 'A'
mov dx,0xc000
romScanLoop:
mov ds,dx
cmp word[0],0xaa55
jnz noRom
push dx
; outputCharacter 'e'
mov ax,0x40
mov es,ax
mov word[es:0x67],3
mov [es:0x69],ds
call far [es:0x67] ; Init ROM
; outputCharacter 'f'
pop dx
noRom:
add dx,0x80
cmp dx,0xf600
jne romScanLoop
; outputCharacter 'B'
; xor ax,ax
; mov es,ax
; mov ax,[es:0x10*4]
; outputHex
; mov ax,[es:0x10*4+2]
; outputHex
; mov ax,0
; mov ds,ax
; mov si,0
; mov cx,0
; mov dl,1
; sendFile
; outputCharacter 4
; outputCharacter 0
; outputCharacter 0
; outputCharacter 1
; mov ax,0
; mov ds,ax
; mov si,0
; mov cx,0x8000
;sendLoopTop:
; lodsb
; outputCharacter
; lodsb
; outputCharacter
; loop sendLoopTop
mov ax,0x40
mov es,ax
mov byte[es:0x10],0x6d
mov byte[es:0x49],0x03
mov word[es:0x63],0x03d4
mov word[es:0x87],0x0960
mov word[es:0x89],0x0b11
mov ax,0x13
int 0x10
; mov ax,0x40
; mov es,ax
; mov ax,[es:0x49] ; AefB 5007 0B62 0D17 CDE
; outputHex ; AefB 2813 0960 0B11 CDE
; mov ax,[es:0x87]
; outputHex
; mov ax,[es:0x89]
; outputHex
;
; outputCharacter 'C'
; 28.322MHz 900 dots by 262 scanlines
; 900 dots == 227.5 cycles, 360 is 91, 90 pixels is 91 hdots
; Each cycle is
; BIOS mode 13
; Bytes per CRTC character 4
;
; Horizontal displayed 80
; Horizontal start blank 80
; Horizontal start retrace 84
; Horizontal end retrace 96
; Horizontal end blank 98
; Horizontal total 100 200
;
; Vertical displayed 400
; Vertical start blank 441
; Vertical start retrace 412
; Vertical end retrace 414
; Vertical end blank 441
; Vertical total 449 262
;
; Horizontal dots 320
;
; Colours on screen 100
;
; total horizontal cycles 800 1800
mov dx,0x3c4
; Reset Register 0x01
; 1 Fast Reset Command 0 = reset. 1 = no reset.
; 2 Safe Reset Command 0 = reset. 2 = no reset.
mov ax,0x0100
out dx,ax ; Reset sequencer
; Clocking Mode Register 01
; 1 Character Dot Clock Select 1 0 = 9 pixels per character. 1 = 8 pixels per character.
; 4 Shift Load Two Control 0 0 = Reload the video shift registers on each character clock. 1 = Reload the video shift registers on every second character clock permitting use of slow image memory chips.
; 8 Dot Clock Divide by Two Enable 0 0 = Normal pixel width. 1 = Double pixel width.
; 0x10 Shift Load Four Control 0 0 = Reload the video shift registers as per bit 1. 1 = Reload the video shift registers on every fourth character clock permitting use of slow image memory chips.
; 0x20 Screen Inhibit 0 0 = Normal. 1 = Blank screen for faster memory access.
mov ax,0x0101
out dx,ax
; Sequencer Memory Mode Register 0e
; 2 Memory Size Specification 2 0 = 64K image memory available. 1 = More than 64K memory available.
; 4 Processor Image Memory Access Mode Select 4 0 = Odd/even memory access mode. 1 = Normal memory access mode.
; 8 Processor Image Memory Access Mapping Select 8 0 = Memory planes accessed determined by Map Mask Register. 1 = Memory plane accessed determined using low 2 bits of address.
mov ax,0x0604
out dx,ax
; Miscellaneous Output Register 63
; 1 Input Output Address Select 1 0 = Use ports 3bx. 1 = Use ports 3dx.
; 2 Display Memory Access Enable 2 0 = Disable processor access to display image memory. 1 = Enable processor access to display image memory.
; 0x0c Dot Clock Frequency Select 0 0 = 25.175 MHz clock for 640 total Horizontal Pixels. 1 = 28.322 MHz clock for 720 total Horizontal Pixels. 2/3 = External clock up to a maximum of 65.000 MHz.
; 0x20 Address Extension Bit 20 0 = Select the low 64K page. 1 = Select the high 64K page for the Text Memory Access Mode.
; 0xc0 Synchronisation Signal Polarity c0 0 = 200 lines. 1 = 400 lines. 2 = 350 lines. 3 = 480 lines.
mov dl,0xc2
mov al,0x67
out dx,al
mov dl,0xc4
mov ax,0x0300
out dx,ax ; Unreset sequencer
mov dl,0xd4 ; CRTC port address low byte d4 Corresponds to Input Output Address Select
mov ax,0x0e11 ; Unprotect
out dx,ax
; 0xff Horizontal Total Register 5f Horizontal Total - 5
mov ax,0xdc00
out dx,ax
; 0xff Horizontal Display Enable End Register 4f Horizontal Display End - 1
mov ax,0xcc01
out dx,ax
; 0xff Start Horizontal Blanking Register 50 Start Horizontal Blanking
mov ax,0xcd02
; mov ax,0xff02
out dx,ax
; End Horizontal Blanking Register 82
; 0x1f End Horizontal Blanking 2 End Horizontal Blanking bits 4..0
; 0x60 Display Enable Skew 0 character clock delay
; 0x80 Light Pen Register Enable 80 0 = Enable Lightpen Registers. 1 = Normal Operation.
mov ax,0x9f03
; mov ax,0x8003
out dx,ax
; 0xff Start Horizontal Retrace Register 54 Start Horizontal Retrace Pulse
mov ax,0xd104
; mov ax,0xff04
out dx,ax
; End Horizontal Retrace Register 80
; 0x1f End Horizontal Retrace 0 End Horizontal Retrace (only bottom 4 bits used?)
; 0x60 Horizontal Retrace Skew 0 Horizontal Retrace Skew
; 0x80 End Horizontal Blanking Register bit 5 80 End Horizontal Blanking bit 5
mov ax,0x1d05
; mov ax,0x0005
out dx,ax
; 0xff Vertical Total Register bf Vertical Total - 2 bits 7..0
mov ax,0x0406
out dx,ax
; CRTC Overflow Register 1f
; 1 Vertical Total bit 8 1 Vertical Total bit 8
; 2 Vertical Display End bit 8 2 Vertical Display End bit 8
; 4 Vertical Retrace Start bit 8 4 Vertical Retrace Start bit 8
; 8 Start Vertical Blanking bit 8 8 Start Vertical Blanking bit 8
; 0x10 Line Compare bit 8 10 Line Compare bit 8
; 0x20 Vertical Total bit 9 0 Vertical Total bit 9
; 0x40 Vertical Display End bit 9 0 Vertical Display End bit 9
; 0x80 Vertical Retrace Start bit 9 0 Vertical Retrace Start bit 9
mov ax,0xdf07
out dx,ax
; Maximum Scan Line Register 41
; 0x1f Maximum Scan Lines 1 Height of a text mode character.
; 0x20 Start Vertical Blanking bit 9 0 Start Vertical Blanking bit 9
; 0x40 Line Compare Register bit 9 40 Line Compare bit 9
; 0x80 Double Scan Line Display 0 0 = Normal pixel height. 1 = Double pixel height.
mov ax,0x4009
out dx,ax
; 0xff Vertical Retrace Start Register 9c Vertical Retrace Start bits 7..0
mov ax,0xff10
out dx,ax
; Vertical Retrace End Register 8e
; 0x0f Vertical Retrace End 0e Vertical Retrace End
; 0x10 Clear Vertical Interrupt 0 0 = Clear the vertical interrupt state. 1 = Normal vertical interrupt state operation.
; 0x20 Enable Vertical Interrupt 0 0 = Enable the vertical interrupt. 1 = Disable the vertical interrupt.
; 0x40 Refresh Bandwidth Select 0 0 = Generate 3 image memory refresh cycles per horizontal scan line. 1 = Generate 5.
; 0x80 CRTC Register Protect 80 0 = Enable writes to CRTC Regs at indexes 0..7. 1 = Disable writes to CRTC Regs at indexes 0..7.
mov ax,0x4e11
out dx,ax
; 0xff Vertical Display Enable End Register 8f Vertical Display Enable End bits 7..0
mov ax,0x0612
out dx,ax
; 0xff Offset Register 28 Display Image Offset. Image data width.
mov ax,0x7113
out dx,ax
; Underline Location Register 40
; 0x1f Underline Location 0 Underline scan line for monochrome attribute mode.
; 0x20 Display Address Dwell Count 4 0
; 0x40 Display Memory Address Unit 4 40
mov ax,0x0014
out dx,ax
; 0xff Start Vertical Blanking Register 96 Start Vertical Blanking bits 7..0
mov ax,0xff15
out dx,ax
; 0xff End Vertical Blanking Register b9 End Vertical Blanking
mov ax,0x0016
out dx,ax
; CRTC Mode Control Register a3
; 1 Display Address 13 Remap Row 0 1 0 = Emulate CGA interlacing. 1 = No interlacing.
; 2 Display Address 14 Remap Row 1 2 0 = Emulate Hercules interlacing. 1 = No interlacing.
; 4 Horizontal Retrace Divisor 0 0 = Normal operation. 1 = Double number of scan lines.
; 8 Display Address Dwell Count 2 0
; 0x20 Display Address Unit 2 Remap 20
; 0x40 Display Memory Address Unit 2 40
; 0x80 Horizontal/Vertical Retrace Reset 80 0 = Reset the horizontal and vertical retrace signals. 1 = Generate horizontal and vertical retrace signals.
mov ax,0xe317
out dx,ax
; rows 3 to 255 inclusive
; columns 59 to 826 inclusive
; 21-52
; mov dx,3
; mov ax,cs
; mov es,ax
; mov di,screenData
; mov si,0
;yLoopTop:
;
; mov ax,di
; mov cl,4
; shr ax,cl
; and di,15
; mov cx,es
; add cx,ax
; mov es,cx
;
; inc dx
; cmp dx,256
; jne yLoopTop
mov cx,64
mov al,0
mov dx,0x3c8
dacLoop:
out dx,al
inc dx
out dx,al
out dx,al
out dx,al
inc ax
dec dx
loop dacLoop
outputCharacter 'D'
mov ax,0xa000
mov es,ax
mov bx,cs
mov ds,bx
mov si,screenData
mov dx,0x3c4
xor di,di
mov cx,(904*262 + 15)/16
mov bp,4
blitLoop:
mov ax,0x0102
out dx,ax
mov al,[si]
stosb
mov al,[si+4]
stosb
mov al,[si+8]
stosb
mov al,[si+12]
stosb
sub di,bp
mov ax,0x0202
out dx,ax
mov al,[si+1]
stosb
mov al,[si+5]
stosb
mov al,[si+9]
stosb
mov al,[si+13]
stosb
sub di,bp
mov ax,0x0402
out dx,ax
mov al,[si+2]
stosb
mov al,[si+6]
stosb
mov al,[si+10]
stosb
mov al,[si+14]
stosb
sub di,bp
mov ax,0x0802
out dx,ax
mov al,[si+3]
stosb
mov al,[si+7]
stosb
mov al,[si+11]
stosb
mov al,[si+15]
stosb
inc bx
mov ds,bx
loop blitLoop
; outputCharacter 'E'
mov ax,cs
mov ds,ax
mov bx,endHorizontalDisplay
jmp doneKey
adjustLoop:
mov ah,0
int 0x16
cmp ah,0x48
jne notUp
sub bx,2
cmp bx,endHorizontalDisplay
jge doneKey
mov bx,endHorizontalDisplay
jmp doneKey
notUp:
cmp ah,0x50
jne notDown
add bx,2
cmp bx,endVerticalBlanking
jle doneKey
mov bx,endVerticalBlanking
jmp doneKey
notDown:
cmp ah,0x4b
jne notLeft
dec word[bx]
jmp doneKey
notLeft:
cmp ah,0x4d
jne doneKey
inc word[bx]
doneKey:
mov dx,0x3d4
mov ah,[endHorizontalDisplay]
mov al,1
out dx,ax
mov ah,[startHorizontalBlanking]
mov al,2
out dx,ax
mov ah,[endHorizontalBlanking]
and ah,0x1f
or ah,0x80
mov al,3
out dx,ax
mov ah,[startHorizontalRetrace]
mov al,4
out dx,ax
mov ah,[endHorizontalRetrace]
mov al,[endHorizontalBlanking]
shl al,1
shl al,1
and al,0x80
and ah,0x1f
or ah,al
mov al,5
out dx,ax
mov ah,[endVerticalDisplay+1]
mov al,ah
shl ah,1
and ah,2
mov cl,5
shl al,cl
and al,0x40
or ah,al
mov al,[startVerticalRetrace+1]
shl al,1
shl al,1
and al,4
or ah,al
mov al,[startVerticalBlanking+1]
mov cl,3
shl al,cl
and al,8
or ah,al
mov al,[startVerticalRetrace+1]
mov cl,6
shl al,cl
and al,0x80
or ah,al
or ah,0x11
mov al,7
out dx,ax
mov ah,[startVerticalBlanking+1]
mov cl,4
shl ah,cl
and ah,0x20
or ah,0x40
mov al,9
out dx,ax
mov ah,[startVerticalRetrace]
mov al,0x10
out dx,ax
mov ah,[endVerticalRetrace]
and ah,0x0f
or ah,0x40
mov al,0x11
out dx,ax
mov ah,[endVerticalDisplay]
mov al,0x12
out dx,ax
mov ah,[startVerticalBlanking]
mov al,0x15
out dx,ax
mov ah,[endVerticalBlanking]
mov al,0x16
out dx,ax
mov ax,[endHorizontalDisplay]
outputHex
mov ax,[startHorizontalBlanking]
outputHex
mov ax,[startHorizontalRetrace]
outputHex
mov ax,[endHorizontalRetrace]
outputHex
mov ax,[endHorizontalBlanking]
outputHex
outputCharacter ' '
mov ax,[endVerticalDisplay]
outputHex
mov ax,[startVerticalBlanking]
outputHex
mov ax,[startVerticalRetrace]
outputHex
mov ax,[endVerticalRetrace]
outputHex
mov ax,[endVerticalBlanking]
outputHex
outputCharacter 10
jmp adjustLoop
;endHorizontalDisplay: dw 0xcc
;startHorizontalBlanking: dw 0xcd
;startHorizontalRetrace: dw 0xd1
;endHorizontalRetrace: dw 0xdd
;endHorizontalBlanking: dw 0xdf
;endVerticalDisplay: dw 0xd4 ; 18f 399 212
;startVerticalBlanking: dw 0xdb ; 196 406 219
;startVerticalRetrace: dw 0xe1 ; 19c 412 225
;endVerticalRetrace: dw 0xe3 ; 19e 414 227
;endVerticalBlanking: dw 0xfe ; 1b9 441 254
endHorizontalDisplay: dw 0xdb
startHorizontalBlanking: dw 0xd9
startHorizontalRetrace: dw 0xdb
endHorizontalRetrace: dw 0xdd
endHorizontalBlanking: dw 0xdf
endVerticalDisplay: dw 0x101 ; 18f 399 212
startVerticalBlanking: dw 0x1ff ; 196 406 219
startVerticalRetrace: dw 0x103 ; 19c 412 225
endVerticalRetrace: dw 0x104 ; 19e 414 227
endVerticalBlanking: dw 0x105 ; 1b9 441 254
sineTable:
db 37, 37, 37, 38, 38, 38, 39, 39, 40, 40, 40, 41, 41, 42, 42, 42
db 43, 43, 43, 44, 44, 44, 45, 45, 45, 46, 46, 46, 47, 47, 47, 48
db 48, 48, 48, 49, 49, 49, 49, 50, 50, 50, 50, 50, 51, 51, 51, 51
db 51, 51, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52
db 53, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 52, 51
db 51, 51, 51, 51, 51, 50, 50, 50, 50, 50, 49, 49, 49, 49, 48, 48
db 48, 48, 47, 47, 47, 46, 46, 46, 45, 45, 45, 44, 44, 44, 43, 43
db 43, 42, 42, 42, 41, 41, 40, 40, 40, 39, 39, 38, 38, 38, 37, 37
db 37, 36, 36, 35, 35, 35, 34, 34, 33, 33, 33, 32, 32, 31, 31, 31
db 30, 30, 30, 29, 29, 29, 28, 28, 28, 27, 27, 27, 26, 26, 26, 25
db 25, 25, 25, 24, 24, 24, 24, 23, 23, 23, 23, 23, 22, 22, 22, 22
db 22, 22, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21
db 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22
db 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 24, 24, 24, 24, 25, 25
db 25, 25, 26, 26, 26, 27, 27, 27, 28, 28, 28, 29, 29, 29, 30, 30
db 30, 31, 31, 31, 32, 32, 33, 33, 33, 34, 34, 35, 35, 35, 36, 36
screenData:
| 27.297834 | 234 | 0.613172 |
f32f74c717be1e8f87bf08b87b832699e1a3ebcc | 501 | asm | Assembly | string operations/copying a string in reverse order.asm | informramiz/Assembly-Language-Programs | 600d8f737a09ef4c133b686918501fba56dd586e | [
"Apache-2.0"
] | null | null | null | string operations/copying a string in reverse order.asm | informramiz/Assembly-Language-Programs | 600d8f737a09ef4c133b686918501fba56dd586e | [
"Apache-2.0"
] | null | null | null | string operations/copying a string in reverse order.asm | informramiz/Assembly-Language-Programs | 600d8f737a09ef4c133b686918501fba56dd586e | [
"Apache-2.0"
] | null | null | null | .MODEL SMALL
.STACK 100H
.DATA
STRING1 DB 'RAMIZ$'
STRING2 DB 'RESUL$'
.CODE
MAIN PROC
;making the DS to point to data segment
MOV AX,@DATA
MOV DS,AX
MOV ES,AX
STD
LEA SI,STRING1+4
LEA DI,STRING2
MOV CX,5
TOP:
MOVSB
ADD DI,2
LOOP TOP
CALL OUTPUT
EXIT:
MOV AH,4CH
INT 21H
MAIN ENDp
OUTPUT PROC
PUSH AX
PUSH DX
MOV AH,9
LEA DX,STRING2
INT 21H
POP DX
POP AX
RET
OUTPUT ENDP
END MAIN
| 9.45283 | 41 | 0.566866 |
81961ab85e087480d2649f73ded7e10a0054d4c8 | 836 | asm | Assembly | oeis/142/A142334.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142334.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142334.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142334: Primes congruent to 43 mod 45.
; Submitted by Jon Maiga
; 43,223,313,673,853,1033,1123,1213,1303,1483,1663,1753,1933,2113,2203,2293,2383,2473,2833,3373,3463,3643,3733,3823,4003,4093,4273,4363,4723,4813,4903,4993,5443,5623,6073,6163,6343,6703,6793,6883,7243,7333,7603,7873,7963,8053,8233,8863,9043,9133,9403,10303,10663,10753,11113,11383,11743,11833,11923,12373,12553,12823,13003,13093,13183,13633,13723,13903,14083,14173,14533,14713,14983,15073,15973,16063,16333,16603,16693,16963,17053,17683,17863,18043,18133,18223,18313,18493,18583,19213,19483,19753
mov $1,17
mov $2,$0
add $2,2
pow $2,2
lpb $2
add $1,4
sub $2,2
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,41
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mul $1,2
mov $0,$1
sub $0,81
| 33.44 | 496 | 0.721292 |
a1f5698541eb62cc569a0468a5aa96b749a04f9e | 2,085 | asm | Assembly | programs/oeis/135/A135364.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/135/A135364.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/135/A135364.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A135364: First column of a triangle - see Comments lines.
; 1,2,3,7,17,40,93,216,502,1167,2713,6307,14662,34085,79238,184206,428227,995507,2314273,5380032,12507057,29075380,67592058,157132471,365288677,849193147,1974134558,4589306057,10668842202,24802049050,57657768803,134038050511,311600662977,724383656712,1683987694693,3914796433632,9100797568222,21156787532095,49183563893473,114337914184451,265803402298502,617917942420077,1436484936847678,3339422328001382,7763215052728867,18047285439031515,41954848539638193,97533189793580416,226737157740496377,527099942173966492,1225358700834487138,2848613375896024807,6622222668193066637,15394799953621637435,35788567900374803838,83198326462074203281,193412643539094639602,449629845593510316082,1045262576164415872323,2429940680845321624407,5648926735800643444657,13132161421875702957480,30528571474871143607533,70970318316662668352296,164985973422121420799302,383545855107910069300847,891635936796150034656233,2072802073594751386166307,4818680202299864158487302,11202072396506239737785525,26041658858513742282548278,60539511984828611530561086,140737290633964589764372227,327174506790750288514542787,760588451089150297545444993,1768153630319914905371621632,4110458495572194409538517697,9555656677165903715417754820,22214206670673237232547850698,51641765153260098676346560151,120052538795599725279361733877,279088292750952215717939932027,648801565814917295271442888478,1508280650738447179657810535257,3506327113336459164148485760842,8151221604347400428401279100490,18949291237107730136564676315043,44051757615964848717039956504991,102407911978026486306391795985377,238069511939257491621660151261192,553444469477684350969236818317813,1286602296532564555970781948416432,2990987462581582457595532359874862,6953202264157302611814270001109535,16164234163841307476222527231995313,37577285425790899662634574053641731,87356590213847386647272937698044102,203079433953801668092772192218844157,472102406859501130646405275314085998
mov $1,1
mov $3,3
lpb $0
sub $0,1
add $2,$1
trn $1,2
sub $3,1
add $1,$3
add $3,$2
add $3,1
lpe
mov $0,$1
| 130.3125 | 1,904 | 0.914149 |
c811b8460726550d99b209a8a78b314095b6866a | 66,691 | asm | Assembly | tests/bfp-018-subtract.asm | mtalexander/hyperion | 05ade04006bd53f03dba6ec8c0a0155bae994b84 | [
"BSL-1.0"
] | 187 | 2015-01-10T15:01:43.000Z | 2022-03-03T14:06:17.000Z | tests/bfp-018-subtract.asm | mtalexander/hyperion | 05ade04006bd53f03dba6ec8c0a0155bae994b84 | [
"BSL-1.0"
] | 246 | 2015-01-04T15:59:06.000Z | 2022-03-19T23:21:55.000Z | tests/bfp-018-subtract.asm | mtalexander/hyperion | 05ade04006bd53f03dba6ec8c0a0155bae994b84 | [
"BSL-1.0"
] | 83 | 2015-01-11T10:55:01.000Z | 2022-03-25T16:08:57.000Z | TITLE 'bfp-018-subtract.asm: Test IEEE Subtract'
***********************************************************************
*
*Testcase IEEE SUBTRACT
* Test case capability includes IEEE exceptions trappable and
* otherwise. Test results, FPCR flags, the Condition code, and any
* DXC are saved for all tests.
*
***********************************************************************
SPACE 2
***********************************************************************
*
* bfp-018-subtract.asm
*
* This assembly-language source file is part of the
* Hercules Binary Floating Point Validation Package
* by Stephen R. Orso
*
* Copyright 2016 by Stephen R Orso.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. 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.
*
* 3. The name of the author may not be used to endorse or promote
* products derived from this software without specific prior written
* permission.
*
* DISCLAMER: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER "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 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.
*
***********************************************************************
SPACE 2
***********************************************************************
*
* Tests the following three conversion instructions
* SUBTRACT (short BFP, RRE)
* SUBTRACT (long BFP, RRE)
* SUBTRACT (extended BFP, RRE)
* SUBTRACT (short BFP, RXE)
* SUBTRACT (long BFP, RXE)
*
* Test data is compiled into this program. The test script that runs
* this program can provide alternative test data through Hercules R
* commands.
*
* Test Case Order
* 1) Short BFP basic tests, including traps and NaN propagation
* 2) Short BFP finite number tests, incl. traps and scaling
* 3) Short BFP FPC-controlled rounding mode exhaustive tests
* 4) Long BFP basic tests, including traps and NaN propagation
* 5) Long BFP finite number tests, incl. traps and scaling
* 6) Long BFP FPC-controlled rounding mode exhaustive tests
* 7) Extended BFP basic tests, including traps and NaN propagation
* 8) Extended BFP finite number tests, incl. traps and scaling
* 9) Extended BFP FPC-controlled rounding mode exhaustive tests
*
* Three input test sets are provided each for short, long, and
* extended BFP inputs. Test values are the same for each precision
* for most tests. Overflow and underflow each require precision-
* dependent test values.
*
* Also tests the following floating point support instructions
* LOAD (Short)
* LOAD (Long)
* LFPC (Load Floating Point Control Register)
* SRNMB (Set BFP Rounding Mode 3-bit)
* STORE (Short)
* STORE (Long)
* STFPC (Store Floating Point Control Register)
*
***********************************************************************
SPACE 2
MACRO
PADCSECT &ENDLABL
.*
.* Macro to pad the CSECT to include result data areas if this test
.* program is not being assembled using asma. asma generates a core
.* image that is loaded by the loadcore command, and because the
.* core image is a binary stored in Github, it makes sense to make
.* this small effort to keep the core image small.
.*
AIF (D'&ENDLABL).GOODPAD
MNOTE 4,'Missing or invalid CSECT padding label ''&ENDLABL'''
MNOTE *,'No CSECT padding performed'
MEXIT
.*
.GOODPAD ANOP Label valid. See if we're on asma
AIF ('&SYSASM' EQ 'A SMALL MAINFRAME ASSEMBLER').NOPAD
ORG &ENDLABL-1 Not ASMA. Pad CSECT
MEXIT
.*
.NOPAD ANOP
MNOTE *,'asma detected; no CSECT padding performed'
MEND
*
* Note: for compatibility with the z/CMS test rig, do not change
* or use R11, R14, or R15. Everything else is fair game.
*
BFPSUBTR START 0
STRTLABL EQU *
R0 EQU 0 Work register for cc extraction
R1 EQU 1
R2 EQU 2 Holds count of test input values
R3 EQU 3 Points to next test input value(s)
R4 EQU 4 Rounding tests inner loop control
R5 EQU 5 Rounding tests outer loop control
R6 EQU 6 Rounding tests top of inner loop
R7 EQU 7 Pointer to next result value(s)
R8 EQU 8 Pointer to next FPCR result
R9 EQU 9 Rounding tests top of outer loop
R10 EQU 10 Pointer to test address list
R11 EQU 11 **Reserved for z/CMS test rig
R12 EQU 12 Holds number of test cases in set
R13 EQU 13 Mainline return address
R14 EQU 14 **Return address for z/CMS test rig
R15 EQU 15 **Base register on z/CMS or Hyperion
*
* Floating Point Register equates to keep the cross reference clean
*
FPR0 EQU 0
FPR1 EQU 1
FPR2 EQU 2
FPR3 EQU 3
FPR4 EQU 4
FPR5 EQU 5
FPR6 EQU 6
FPR7 EQU 7
FPR8 EQU 8
FPR9 EQU 9
FPR10 EQU 10
FPR11 EQU 11
FPR12 EQU 12
FPR13 EQU 13
FPR14 EQU 14
FPR15 EQU 15
*
USING *,R15
*
* Above works on real iron (R15=0 after sysclear)
* and in z/CMS (R15 points to start of load module)
*
SPACE 2
***********************************************************************
*
* Low core definitions, Restart PSW, and Program Check Routine.
*
***********************************************************************
SPACE 2
ORG STRTLABL+X'8E' Program check interrution code
PCINTCD DS H
*
PCOLDPSW EQU STRTLABL+X'150' z/Arch Program check old PSW
*
ORG STRTLABL+X'1A0' z/Arch Restart PSW
DC X'0000000180000000',AD(START)
*
ORG STRTLABL+X'1D0' z/Arch Program check old PSW
DC X'0000000000000000',AD(PROGCHK)
*
* Program check routine. If Data Exception, continue execution at
* the instruction following the program check. Otherwise, hard wait.
* No need to collect data. All interesting DXC stuff is captured
* in the FPCR.
*
ORG STRTLABL+X'200'
PROGCHK DS 0H Program check occured...
CLI PCINTCD+1,X'07' Data Exception?
JNE PCNOTDTA ..no, hardwait (not sure if R15 is ok)
LPSWE PCOLDPSW ..yes, resume program execution
PCNOTDTA DS 0H
LTR R14,R14 Return address provided?
BNZR R14 Yes, return to z/CMS test rig.
LPSWE HARDWAIT Not data exception, enter disabled wait
EJECT
***********************************************************************
*
* Main program. Enable Advanced Floating Point, process test cases.
*
***********************************************************************
SPACE 2
START DS 0H
STCTL R0,R0,CTLR0 Store CR0 to enable AFP
OI CTLR0+1,X'04' Turn on AFP bit
LCTL R0,R0,CTLR0 Reload updated CR0
*
LA R10,SHORTNF Point to short BFP non-finite inputs
BAS R13,SBFPNF Subtract short BFP non-finites
LA R10,SHORTF Point to short BFP finite inputs
BAS R13,SBFPF Subtract short BFP finites
LA R10,RMSHORTS Point to short BFP rounding mode tests
BAS R13,SBFPRM Subtract short BFP for rounding tests
*
LA R10,LONGNF Point to long BFP non-finite inputs
BAS R13,LBFPNF Subtract long BFP non-finites
LA R10,LONGF Point to long BFP finite inputs
BAS R13,LBFPF Subtract long BFP finites
LA R10,RMLONGS Point to long BFP rounding mode tests
BAS R13,LBFPRM Subtract long BFP for rounding tests
*
LA R10,XTNDNF Point to extended BFP non-finite inputs
BAS R13,XBFPNF Subtract extended BFP non-finites
LA R10,XTNDF Point to ext'd BFP finite inputs
BAS R13,XBFPF Subtract ext'd BFP finites
LA R10,RMXTNDS Point to ext'd BFP rounding mode tests
BAS R13,XBFPRM Subtract ext'd BFP for rounding tests
*
LTR R14,R14 Return address provided?
BNZR R14 ..Yes, return to z/CMS test rig.
LPSWE WAITPSW All done
*
DS 0D Ensure correct alignment for psw
WAITPSW DC X'0002000000000000',AD(0) Normal end - disabled wait
HARDWAIT DC X'0002000000000000',XL6'00',X'DEAD' Abnormal end
*
CTLR0 DS F
FPCREGNT DC X'00000000' FPCR, trap all IEEE exceptions, zero flags
FPCREGTR DC X'F8000000' FPCR, trap no IEEE exceptions, zero flags
*
* Input values parameter list, four fullwords for each test data set
* 1) Count,
* 2) Address of inputs,
* 3) Address to place results, and
* 4) Address to place DXC/Flags/cc values.
*
ORG STRTLABL+X'300' Enable run-time replacement
SHORTNF DS 0F Input pairs for short BFP non-finite tests
DC A(SBFPNFCT)
DC A(SBFPNFIN)
DC A(SBFPNFOT)
DC A(SBFPNFFL)
*
SHORTF DS 0F Input pairs for short BFP finite tests
DC A(SBFPCT)
DC A(SBFPIN)
DC A(SBFPOUT)
DC A(SBFPFLGS)
*
RMSHORTS DS 0F Input pairs for short BFP rounding testing
DC A(SBFPRMCT)
DC A(SBFPINRM)
DC A(SBFPRMO)
DC A(SBFPRMOF)
*
LONGNF DS 0F Input pairs for long BFP non-finite testing
DC A(LBFPNFCT)
DC A(LBFPNFIN)
DC A(LBFPNFOT)
DC A(LBFPNFFL)
*
LONGF DS 0F Input pairs for long BFP finite testing
DC A(LBFPCT)
DC A(LBFPIN)
DC A(LBFPOUT)
DC A(LBFPFLGS)
*
RMLONGS DS 0F Input pairs for long BFP rounding testing
DC A(LBFPRMCT)
DC A(LBFPINRM)
DC A(LBFPRMO)
DC A(LBFPRMOF)
*
XTNDNF DS 0F Inputs for ext'd BFP non-finite testing
DC A(XBFPNFCT)
DC A(XBFPNFIN)
DC A(XBFPNFOT)
DC A(XBFPNFFL)
*
XTNDF DS 0F Inputs for ext'd BFP finite testing
DC A(XBFPCT)
DC A(XBFPIN)
DC A(XBFPOUT)
DC A(XBFPFLGS)
*
RMXTNDS DS 0F Inputs for ext'd BFP non-finite testing
DC A(XBFPRMCT)
DC A(XBFPINRM)
DC A(XBFPRMO)
DC A(XBFPRMOF)
*
EJECT
***********************************************************************
*
* Perform Subtract using provided short BFP inputs. This set of tests
* checks NaN propagation, operations on values that are not finite
* numbers, and other basic tests. This set generates results that can
* be validated against Figure 19-13 on page 19-16 of SA22-7832-10.
*
* That Figure has separate rows and colums for Normal and Tiny
* operands. Although the results are effectively the same for Normal
* and Tiny in any combination, the input data includes Normal and
* Tiny values.
*
* Four results are generated for each input: one RRE with all
* exceptions non-trappable, a second RRE with all exceptions trappable,
* a third RXE with all exceptions non-trappable, a fourth RXE with all
* exceptions trappable,
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
SBFPNF DS 0H BFP Short non-finite values tests
LM R2,R3,0(R10) Get count and address of minuend values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LM R4,R5,0(R10) Get count and start of subtrahend values
* ..which are the same as the minuends
BASR R6,0 Set top of inner loop
*
LE FPR8,0(,R3) Get short BFP minuend
LE FPR1,0(,R5) Get short BFP subtrahend
LFPC FPCREGNT Set exceptions non-trappable
SEBR FPR8,FPR1 Subtract short FPR1 from FPR8 RRE
STE FPR8,0(,R7) Store short BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LE FPR8,0(,R3) Get short BFP minuend
LE FPR1,0(,R5) Get short BFP subtrahend
LFPC FPCREGTR Set exceptions trappable
SEBR FPR8,FPR1 Subtract short FPR1 from FPR8 RRE
STE FPR8,4(,R7) Store short BFP difference
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LE FPR8,0(,R3) Get short BFP minuend
LE FPR1,0(,R5) Get short BFP subtrahend
LFPC FPCREGNT Set exceptions non-trappable
SEB FPR8,0(,R5) Subtract short subtrahend from FPR8 RXE
STE FPR8,8(,R7) Store short BFP difference
STFPC 8(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,11(,R8) Save condition code in results table
*
LE FPR8,0(,R3) Get short BFP minuend
LFPC FPCREGTR Set exceptions trappable
SEB FPR8,0(,R5) Subtract short subtrahend from FPR8 RXE
STE FPR8,12(,R7) Store short BFP difference
STFPC 12(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,15(,R8) Save condition code in results table
*
LA R5,4(,R5) Point to next subtrahend value
LA R7,4*4(,R7) Point to next Subtract result area
LA R8,4*4(,R8) Point to next Subtract FPCR area
BCTR R4,R6 Loop through right-hand values
*
LA R3,4(,R3) Point to next input minuend
BCTR R2,R12 Loop through left-hand values
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided short BFP input pairs. This set of
* tests triggers IEEE exceptions Overflow, Underflow, and Inexact and
* collects both trap and non-trap results.
*
* Four results are generated for each input: one RRE with all
* exceptions non-trappable, a second RRE with all exceptions trappable,
* a third RXE with all exceptions non-trappable, a fourth RXE with all
* exceptions trappable,
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
SBFPF LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LFPC FPCREGNT Set exceptions non-trappable
LE FPR8,0(,R3) Get short BFP minuend
LE FPR1,4(,R3) Get short BFP subtrahend
SEBR FPR8,FPR1 Subtract short FPR1 from FPR8 RRE
STE FPR8,0(,R7) Store short BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LFPC FPCREGTR Set exceptions trappable
LE FPR8,0(,R3) Reload short BFP minuend
* ..subtrahend is still in FPR1
SEBR FPR8,FPR1 Subtract short FPR1 from FPR8 RRE
STE FPR8,4(,R7) Store short BFP difference
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LFPC FPCREGNT Set exceptions non-trappable
LE FPR8,0(,R3) Reload short BFP minuend
SEB FPR8,4(,R3) Subtract short subtrahend from FPR8 RXE
STE FPR8,8(,R7) Store short BFP difference
STFPC 8(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,11(,R8) Save condition code in results table
*
LFPC FPCREGTR Set exceptions trappable
LE FPR8,0(,R3) Reload short BFP minuend
SEB FPR8,4(,R3) Subtract short subtrahend from FPR8 RXE
STE FPR8,12(,R7) Store short BFP difference
STFPC 12(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,15(,R8) Save condition code in results table
*
LA R3,2*4(,R3) Point to next input value pair
LA R7,4*4(,R7) Point to next difference result set
LA R8,4*4(,R8) Point to next FPCR result set
BCTR R2,R12 Convert next input value.
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided short BFP input pairs. This set of
* tests exhaustively tests all rounding modes available for Subtract.
* The rounding mode can only be specified in the FPC.
*
* All five FPC rounding modes are tested because the preceeding tests,
* using rounding mode RNTE, do not often create results that require
* rounding.
*
* Two results are generated for each input and rounding mode: one RRE
* and one RXE. Traps are disabled for all rounding mode tests.
*
* The difference, FPCR, and condition code are stored for each test.
*
***********************************************************************
SPACE 2
SBFPRM LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
XR R1,R1 Zero register 1 for use in IC/STC/indexing
BASR R12,0 Set top of test case loop
LA R5,FPCMCT Get count of FPC modes to be tested
BASR R9,0 Set top of rounding mode outer loop
*
IC R1,FPCMODES-L'FPCMODES(R5) Get next FPC mode
*
LFPC FPCREGNT Set exceptions non-trappable, clear flags
SRNMB 0(R1) Set FPC Rounding Mode
LE FPR8,0(,R3) Get short BFP minuend
LE FPR1,4(,R3) Get short BFP subtrahend
SEBR FPR8,FPR1 Subtract short FPR1 from FPR8 RRE
STE FPR8,0(,R7) Store short BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LFPC FPCREGNT Set exceptions non-trappable, clear flags
SRNMB 0(R1) Set FPC Rounding Mode
LE FPR8,0(,R3) Get short BFP minuend
SEB FPR8,4(,R3) Subtract short subtrahend from FPR8 RXE
STE FPR8,4(,R7) Store short BFP difference
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LA R7,2*4(,R7) Point to next difference result set
LA R8,2*4(,R8) Point to next FPCR result area
*
BCTR R5,R9 Iterate to next FPC mode for this input
*
* End of FPC modes to be tested. Advance to next test case. We will
* skip eight bytes of result area so that each set of five result
* value pairs starts at a memory address ending in zero for the
* convenience of memory dump review.
*
LA R3,2*4(,R3) Point to next input value pair
LA R7,8(,R7) Skip to start of next result set
LA R8,8(,R8) Skip to start of next FPCR result set
BCTR R2,R12 Advance to the next input pair
*
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided long BFP inputs. This set of tests
* checks NaN propagation, operations on values that are not finite
* numbers, and other basic tests. This set generates results that can
* be validated against Figure 19-13 on page 19-16 of SA22-7832-10.
*
* That Figure has separate rows and colums for Normal and Tiny
* operands. Although the results are effectively the same for Normal
* and Tiny in any combination, the input data includes Normal and
* Tiny values.
*
* Four results are generated for each input: one RRE with all
* exceptions non-trappable, a second RRE with all exceptions trappable,
* a third RXE with all exceptions non-trappable, a fourth RXE with all
* exceptions trappable,
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
LBFPNF DS 0H BFP long non-finite values tests
LM R2,R3,0(R10) Get count and address of minuend values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LM R4,R5,0(R10) Get count and start of subtrahend values
* ..which are the same as the minuends
BASR R6,0 Set top of inner loop
*
LD FPR8,0(,R3) Get long BFP minuend
LD FPR1,0(,R5) Get long BFP subtrahend
LFPC FPCREGNT Set exceptions non-trappable
SDBR FPR8,FPR1 Subtract long FPR1 from FPR8 RRE
STD FPR8,0(,R7) Store long BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LD FPR8,0(,R3) Get long BFP minuend
LD FPR1,0(,R5) Get long BFP subtrahend
LFPC FPCREGTR Set exceptions trappable
SDBR FPR8,FPR1 Subtract long subtrahend from FPR8 RRE
STD FPR8,8(,R7) Store long BFP remainder
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LD FPR8,0(,R3) Get long BFP minuend
LFPC FPCREGNT Set exceptions non-trappable
SDB FPR8,0(,R5) Subtract long subtrahend from FPR8 RXE
STD FPR8,16(,R7) Store long BFP difference
STFPC 8(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,11(,R8) Save condition code in results table
*
LD FPR8,0(,R3) Get long BFP minuend
LFPC FPCREGTR Set exceptions trappable
SDB FPR8,0(,R5) Subtract long subtrahend from FPR8 RXE
STD FPR8,24(,R7) Store long BFP remainder
STFPC 12(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,15(,R8) Save condition code in results table
*
LA R5,8(,R5) Point to next subtrahend value
LA R7,4*8(,R7) Point to next Subtract result area
LA R8,4*4(,R8) Point to next Subtract FPCR area
BCTR R4,R6 Loop through right-hand values
*
LA R3,8(,R3) Point to next minuend value
BCTR R2,R12 Subtract until all cases tested
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided long BFP input pairs. This set of
* tests triggers IEEE exceptions Overflow, Underflow, and Inexact and
* collects non-trap and trap results.
*
* Four results are generated for each input: one RRE with all
* exceptions non-trappable, a second RRE with all exceptions trappable,
* a third RXE with all exceptions non-trappable, a fourth RXE with all
* exceptions trappable,
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
LBFPF LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LFPC FPCREGNT Set exceptions non-trappable
LD FPR8,0(,R3) Get long BFP minuend
LD FPR1,8(,R3) Get long BFP subtrahend
SDBR FPR8,FPR1 Subtract long FPR1 from FPR8 RRE
STD FPR8,0(,R7) Store long BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LFPC FPCREGTR Set exceptions trappable
LD FPR8,0(,R3) Reload long BFP minuend
* ..subtrahend is still in FPR1
SDBR FPR8,FPR1 Subtract long FPR1 from FPR8 RRE
STD FPR8,8(,R7) Store long BFP difference
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LFPC FPCREGNT Set exceptions non-trappable
LD FPR8,0(,R3) Reload long BFP minuend
SDB FPR8,8(,R3) Subtract long subtrahend from FPR8 RXE
STD FPR8,16(,R7) Store long BFP difference
STFPC 8(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,11(,R8) Save condition code in results table
*
LFPC FPCREGTR Set exceptions trappable
LD FPR8,0(,R3) Reload long BFP minuend
SDB FPR8,8(,R3) Subtract long subtrahend from FPR8 RXE
STD FPR8,24(,R7) Store long BFP difference
STFPC 12(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,15(,R8) Save condition code in results table
*
LA R3,2*8(,R3) Point to next input value pair
LA R7,4*8(,R7) Point to next quotent result pair
LA R8,4*4(,R8) Point to next FPCR result area
BCTR R2,R12 Convert next input value.
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided long BFP input pairs. This set of
* tests exhaustively tests all rounding modes available for Subtract.
* The rounding mode can only be specified in the FPC.
*
* All five FPC rounding modes are tested because the preceeding tests,
* using rounding mode RNTE, do not often create results that require
* rounding.
*
* Two results are generated for each input and rounding mode: one RRE
* and one RXE. Traps are disabled for all rounding mode tests.
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
LBFPRM LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
XR R1,R1 Zero register 1 for use in IC/STC/indexing
BASR R12,0 Set top of test case loop
LA R5,FPCMCT Get count of FPC modes to be tested
BASR R9,0 Set top of rounding mode loop
*
IC R1,FPCMODES-L'FPCMODES(R5) Get next FPC mode
*
LFPC FPCREGNT Set exceptions non-trappable, clear flags
SRNMB 0(R1) Set FPC Rounding Mode
LD FPR8,0(,R3) Get long BFP minuend
LD FPR1,8(,R3) Get long BFP subtrahend
SDBR FPR8,FPR1 Subtract long FPR1 from FPR8 RRE
STD FPR8,0(,R7) Store long BFP difference
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LFPC FPCREGNT Set exceptions non-trappable, clear flags
SRNMB 0(R1) Set FPC Rounding Mode
LD FPR8,0(,R3) Reload long BFP minuend
SDB FPR8,8(,R3) Subtract long subtrahend from FPR8 RXE
STD FPR8,8(,R7) Store long BFP difference
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LA R7,2*8(,R7) Point to next difference result set
LA R8,2*4(,R8) Point to next FPCR result area
*
BCTR R5,R9 Iterate to next FPC mode
*
* End of FPC modes to be tested. Advance to next test case. We will
* skip eight bytes of FPCR result area so that each set of five result
* FPCR contents pairs starts at a memory address ending in zero for the
* convenience of memory dump review.
*
LA R3,2*8(,R3) Point to next input value pair
LA R8,8(,R8) Skip to start of next FPCR result area
BCTR R2,R12 Subtract next input value lots of times
*
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided extended BFP inputs. This set of
* tests checks NaN propagation, operations on values that are not
* finite numbers, and other basic tests. This set generates results
* that can be validated against Figure 19-13 on page 19-16 of
* SA22-7832-10.
*
* That Figure has separate rows and colums for Normal and Tiny
* operands. Although the results are effectively the same for Normal
* and Tiny in any combination, the input data includes Normal and
* Tiny values.
*
* Two results are generated for each input: one RRE with all
* exceptions non-trappable, and a second RRE with all exceptions
* trappable. Extended BFP Subtract does not have an RXE format.
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
XBFPNF DS 0H BFP extended non-finite values tests
LM R2,R3,0(R10) Get count and address of minuend values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LM R4,R5,0(R10) Get count and start of subtrahend values
* ..which are the same as the minuends
BASR R6,0 Set top of inner loop
*
LD FPR8,0(,R3) Get extended BFP minuend part 1
LD FPR10,8(,R3) Get extended BFP minuend part 2
LD FPR1,0(,R5) Get extended BFP subtrahend part 1
LD FPR3,8(,R5) Get extended BFP subtrahend part 2
LFPC FPCREGNT Set exceptions non-trappable
SXBR FPR8,FPR1 Subtract extended FPR1-3 from FPR8-10 RRE
STD FPR8,0(,R7) Store extended BFP difference part 1
STD FPR10,8(,R7) Store extended BFP difference part 2
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LD FPR13,0(,R3) Get extended BFP minuend part 1
LD FPR15,8(,R3) Get extended BFP minuend part 2
LD FPR1,0(,R5) Get extended BFP subtrahend part 1
LD FPR3,8(,R5) Get extended BFP subtrahend part 2
LFPC FPCREGTR Set exceptions trappable
SXBR FPR13,FPR1 Subtract extended FPR1-3 from FPR13-15 RRE
STD FPR13,16(,R7) Store extended BFP difference part 1
STD FPR15,24(,R7) Store extended BFP difference part 2
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LA R5,16(,R5) Point to next subtrahend value
LA R7,32(,R7) Point to next Subtract result area
LA R8,16(,R8) Point to next Subtract FPCR area
BCTR R4,R6 Loop through right-hand values
*
LA R3,16(,R3) Point to next minuend value
BCTR R2,R12 Subtract until all cases tested
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided extended BFP input pairs. This set
* of tests triggers IEEE exceptions Overflow, Underflow, and Inexact
* and collects results when the exceptions do not result in a trap and
* when they do.
*
* Two results are generated for each input: one RRE with all
* exceptions non-trappable and a second RRE with all exceptions
* trappable. There is no RXE format for Subtract in extended
* precision.
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
XBFPF LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
BASR R12,0 Set top of loop
*
LFPC FPCREGNT Set exceptions non-trappable
LD FPR13,0(,R3) Get extended BFP minuend part 1
LD FPR15,8(,R3) Get extended BFP minuend part 2
LD FPR1,16(,R3) Get extended BFP subtrahend part 1
LD FPR3,24(,R3) Get extended BFP subtrahend part 2
SXBR FPR13,FPR1 Subtract extended FPR1-3 from FPR13-15 RRE
STD FPR13,0(,R7) Store extended BFP difference part 1
STD FPR15,8(,R7) Store extended BFP difference part 2
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LFPC FPCREGTR Set exceptions trappable
LD FPR13,0(,R3) Reload extended BFP minuend part 1
LD FPR15,8(,R3) Reload extended BFP minuend part 2
* ..subtrahend is still in FPR1-FPR3
SXBR FPR13,FPR1 Subtract extended FPR1-3 from FPR13-15 RRE
STD FPR13,16(,R7) Store extended BFP difference part 1
STD FPR15,24(,R7) Store extended BFP difference part 2
STFPC 4(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,7(,R8) Save condition code in results table
*
LA R3,32(,R3) Point to next input value pair
LA R7,32(,R7) Point to next quotent result pair
LA R8,16(,R8) Point to next FPCR result area
BCTR R2,R12 Convert next input value.
*
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Perform Subtract using provided extended BFP input pairs. This set
* of tests exhaustively tests all rounding modes available for
* Subtract. The rounding mode can only be specified in the FPC.
*
* All five FPC rounding modes are tested because the preceeding tests,
* using rounding mode RNTE, do not often create results that require
* rounding.
*
* Two results are generated for each input and rounding mode: one RRE
* and one RXE. Traps are disabled for all rounding mode tests.
*
* The difference, FPCR, and condition code are stored for each result.
*
***********************************************************************
SPACE 2
XBFPRM LM R2,R3,0(R10) Get count and address of test input values
LM R7,R8,8(R10) Get address of result area and flag area.
LTR R2,R2 Any test cases?
BZR R13 ..No, return to caller
XR R1,R1 Zero register 1 for use in IC/STC/indexing
BASR R12,0 Set top of test case loop
LA R5,FPCMCT Get count of FPC modes to be tested
BASR R9,0 Set top of rounding mode loop
*
IC R1,FPCMODES-L'FPCMODES(R5) Get next FPC mode
*
LFPC FPCREGNT Set exceptions non-trappable, clear flags
SRNMB 0(R1) Set FPC Rounding Mode
LD FPR13,0(,R3) Get extended BFP minuend part 1
LD FPR15,8(,R3) Get extended BFP minuend part 2
LD FPR1,16(,R3) Get extended BFP subtrahend part 1
LD FPR3,24(,R3) Get extended BFP subtrahend part 2
SXBR FPR13,FPR1 Subtract extended FPR1-3 from FPR13-15 RRE
STD FPR13,0(,R7) Store extended BFP difference part 1
STD FPR15,8(,R7) Store extended BFP difference part 2
STFPC 0(R8) Store resulting FPCR flags and DXC
IPM R0 Get condition code and program mask
SRL R0,28 Isolate CC in low order byte
STC R0,3(,R8) Save condition code in results table
*
LA R7,16(,R7) Point to next difference result set
LA R8,4(,R8) Point to next FPCR result area
*
BCTR R5,R9 Iterate to next FPC mode
*
* End of FPC modes to be tested. Advance to next test case. We will
* skip eight bytes of FPCR result area so that each set of five result
* FPCR contents pairs starts at a memory address ending in zero for the
* convenience of memory dump review.
*
LA R3,2*16(,R3) Point to next input value pair
LA R8,12(,R8) Skip to start of next FPCR result area
BCTR R2,R12 Subtract next input value lots of times
*
BR R13 All converted; return.
EJECT
***********************************************************************
*
* Table of FPC rounding modes to test difference rounding modes.
*
* The Set BFP Rounding Mode does allow specification of the FPC
* rounding mode as an address, so we shall index into a table of
* BFP rounding modes without bothering with Execute.
*
***********************************************************************
SPACE 2
*
* Rounding modes that may be set in the FPCR. The FPCR controls
* rounding of the difference.
*
* These are indexed directly by the loop counter, which counts down.
* So the modes are listed in reverse order here.
*
FPCMODES DS 0C
DC AL1(7) RFS, Round for shorter precision
DC AL1(3) RM, Round to -infinity
DC AL1(2) RP, Round to +infinity
DC AL1(1) RZ, Round to zero
DC AL1(0) RNTE, Round to Nearest, ties to even
FPCMCT EQU *-FPCMODES Count of FPC Modes to be tested
*
EJECT
***********************************************************************
*
* Short BFP test data sets for Subtract testing.
*
* The first test data set is used for tests of basic functionality,
* NaN propagation, and results from operations involving other than
* finite numbers.
*
* The second test data set is used for testing boundary conditions
* using two finite non-zero values. Each possible condition code
* and type of result (normal, scaled, etc) is created by members of
* this test data set.
*
* The third test data set is used for exhaustive testing of final
* results across the five rounding modes available for the Subtract
* instruction.
*
***********************************************************************
SPACE 2
***********************************************************************
*
* First input test data set, to test operations using non-finite or
* zero inputs. Member values chosen to validate Figure 19-13 on page
* 19-16 of SA22-7832-10. Each value in this table is tested against
* every other value in the table. Ten entries means 100 result sets.
*
***********************************************************************
SPACE 2
SBFPNFIN DS 0F Inputs for short BFP non-finite tests
DC X'FF800000' -inf
DC X'C0000000' -2.0
DC X'80010000' -Dnice
DC X'80000000' -0
DC X'00000000' +0
DC X'00010000' -Dnice
DC X'40000000' +2.0
DC X'7F800000' +inf
DC X'FFCB0000' -QNaN
DC X'7F8A0000' +SNaN
SBFPNFCT EQU (*-SBFPNFIN)/4 Count of short BFP in list
SPACE 3
***********************************************************************
*
* Second input test data set. These are finite pairs intended to
* trigger overflow, underflow, and inexact exceptions. Each pair is
* added twice, once non-trappable and once trappable. Trappable
* overflow or underflow yields a scaled result. Trappable inexact
* will show whether the Incremented DXC code is returned.
*
* The following test cases are required:
* 1. Overflow
* 2. Underflow - normal inputs
* 3. Underflow - subnormal inputs
* 4. Normal - from subnormal inputs
* 5. Inexact - incremented
* 6. Inexact - truncated
*
***********************************************************************
SPACE 2
SBFPIN DS 0F Inputs for short BFP finite tests
*
* Overflow on subtraction
*
DC X'7F7FFFFF' +Nmax
DC X'FF7FFFFF' -Nmax
*
* Underflow from difference of normals. We will subtract a small
* normal from a slightly larger small normal to generate a subnormal.
*
DC X'00FFFFFF' Very small normal number
DC X'00800000' Smaller normal
*
* Underflow from difference of subnormals.
*
DC X'00040000' Subnormal, < +Dmax
DC X'00000F0F' Smaller subnormal
*
* Normal result from difference of subnormals.
* The result will be greater than +Nmin
*
DC X'007FFFFF' +Dmax
DC X'80000001' -Dmin, result will be +Nmin
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3F800000' Minuend +1, aka 1.0b0
DC X'32800000' Subtrahend 1.b-26
*..Above subtrahend is 1.490116119384765625E-8
*..nearest is away from zero, incremented.
*
DC X'3F800000' Minuend +1, aka 1.0b0
DC X'33100000' Subtrahend 1.001b-25
*..Above subtrahend is 3.35276126861572265625E-8
*..nearest is toward zero, truncated
*
SBFPCT EQU (*-SBFPIN)/4/2 Count of short BFP in list
SPACE 3
***********************************************************************
*
* Third input test data set. These are finite pairs intended to
* test all combinations of rounding mode for the difference and the
* remainder. Values are chosen to create a requirement to round
* to the target precision after the computation and to generate
* varying results depending on the rounding mode in the FPCR.
*
* The result set will have cases that represent each of the following
*
* 1. Positive, nearest magnitude is toward zero.
* 2. Negative, nearest magnitude is toward zero.
* 3. Positive, nearest magnitude is away from zero.
* 4. Negative, nearest magnitude is away from zero.
* 5. Positive, tie, nearest even has greater magnitude
* 6. Negative, tie, nearest even has greater magnitude
* 7. Positive, tie, nearest even has lower magnitude
* 8. Negative, tie, nearest even has lower magnitude
*
* Round For Shorter precision correctness can be determined from the
* above test cases.
*
***********************************************************************
SPACE 2
SBFPINRM DS 0F Inputs for short BFP rounding testing
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3F800000' Minuend +1, aka 1.0b0
DC X'33100000' Subtrahend 1.001b-25
DC X'BF800000' Minuend -1, aka -1.0b0
DC X'B3100000' Subtrahend 1.001b-25
*..Above subtrahend is 3.35276126861572265625E-8
*..nearest is toward zero, truncated
*
DC X'3F800000' Minuend +1, aka +1.0b0
DC X'32800000' Subtrahend 1.b-26
DC X'BF800000' Minuend -1, aka -1.0b0
DC X'B2800000' Subtrahend -1.b-26
*..Above subtrahend is 1.490116119384765625E-8
*..nearest is away from zero, incremented.
*
DC X'3F800000' Minuend +1, aka +1.0b0
DC X'33C00000' Subtrahend +1.1b-24
DC X'BF800000' Minuend -1, aka -1.0b0
DC X'B3C00000' Subtrahend -1.1b-24
*..Above subtrahend is 8.94069671630859375E-8
*..nearest is a tie, nearest even has lower magnitude
*
DC X'3F800000' Minuend +1, aka +1.0b0
DC X'33000000' Subtrahend +1.0b-25
DC X'BF800000' Minuend -1, aka -1.0b0
DC X'B3000000' Subtrahend -1.0b-25
*..Above subtrahend is 2.98023223876953125E-8
*..nearest is a tie, nearest even has greater magnitude
*
SBFPRMCT EQU (*-SBFPINRM)/4/2 Count of short BFP rounding tests
EJECT
***********************************************************************
*
* Long BFP test data sets for Add testing.
*
* The first test data set is used for tests of basic functionality,
* NaN propagation, and results from operations involving other than
* finite numbers.
*
* The second test data set is used for testing boundary conditions
* using two finite non-zero values. Each possible condition code
* and type of result (normal, scaled, etc) is created by members of
* this test data set.
*
* The third test data set is used for exhaustive testing of final
* results across the five rounding modes available for the Add
* instruction.
*
***********************************************************************
SPACE 2
***********************************************************************
*
* First input test data set, to test operations using non-finite or
* zero inputs. Member values chosen to validate Figure 19-13 on page
* 19-16 of SA22-7832-10. Each value in this table is tested against
* every other value in the table. Ten entries means 100 result sets.
*
***********************************************************************
SPACE 2
LBFPNFIN DS 0F Inputs for long BFP testing
DC X'FFF0000000000000' -inf
DC X'C000000000000000' -2.0
DC X'8001000000000000' -Dnice
DC X'8000000000000000' -0
DC X'0000000000000000' +0
DC X'0001000000000000' +Dnice
DC X'4000000000000000' +2.0
DC X'7FF0000000000000' +inf
DC X'FFF8B00000000000' -QNaN
DC X'7FF0A00000000000' +SNaN
LBFPNFCT EQU (*-LBFPNFIN)/8 Count of long BFP in list
SPACE 3
***********************************************************************
*
* Second input test data set. These are finite pairs intended to
* trigger overflow, underflow, and inexact exceptions. Each pair is
* added twice, once non-trappable and once trappable. Trappable
* overflow or underflow yields a scaled result. Trappable inexact
* will show whether the Incremented DXC code is returned.
*
* The following test cases are required:
* 1. Overflow
* 2. Underflow - normal inputs
* 3. Underflow - subnormal inputs
* 4. Normal - from subnormal inputs
* 5. Inexact - incremented
* 6. Inexact - truncated
*
***********************************************************************
SPACE 2
LBFPIN DS 0D Inputs for long BFP finite tests
*
* Overflow on subtraction
*
DC X'7FFFFFFFFFFFFFFF' +Nmax
DC X'FFFFFFFFFFFFFFFF' +Nmax
*
* Underflow from difference of normals. We wil subtract a small
* normal from a slightly larger normal to generate a subnormal.
*
DC X'001FFFFFFFFFFFFF' Very small normal number
DC X'0010000000000000' Smaller normal negative
*
* Underflow from difference of subnormals.
*
DC X'0008000000000000' Subnormal, < +Dmax
DC X'0000F0F000000000' Smaller subnormal
*
* Normal result from difference of subnormals.
* The result will be greater than +Nmin
*
DC X'000FFFFFFFFFFFFF' +Dmax
DC X'8000000000000001' +Dmin, result will be +Nmin
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3FF0000000000000' Minuend +1, aka 1.0b0
DC X'3C80000000000000' Subtrahend 1.0b-55
*..Above subtrahend is 2.77555756156289135105907917022705078125E-17
*..nearest is away from zero, incremented.
*
DC X'3FF0000000000000' Minuend +1, aka 1.0b0
DC X'3C92000000000000' Subtrahend +1.001b-54
*..Above subtrahend is 6.2450045135165055398829281330108642578125E-17
*..nearest is toward zero, truncated.
*
LBFPCT EQU (*-LBFPIN)/8/2 Count of long BFP in list
SPACE 3
***********************************************************************
*
* Third input test data set. These are finite pairs intended to
* test all combinations of rounding mode for the difference and the
* remainder. Values are chosen to create a requirement to round
* to the target precision after the computation and to generate
* varying results depending on the rounding mode in the FPCR.
*
* The result set will have cases that represent each of the following
*
* 1. Positive, nearest magnitude is toward zero.
* 2. Negative, nearest magnitude is toward zero.
* 3. Positive, nearest magnitude is away from zero.
* 4. Negative, nearest magnitude is away from zero.
* 5. Positive, tie, nearest even has greater magnitude
* 6. Negative, tie, nearest even has greater magnitude
* 7. Positive, tie, nearest even has lower magnitude
* 8. Negative, tie, nearest even has lower magnitude
*
* Round For Shorter precision correctness can be determined from the
* above test cases.
*
***********************************************************************
SPACE 2
LBFPINRM DS 0F
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3FF0000000000000' Minuend +1, aka +1.0b0
DC X'3C92000000000000' Subtrahend +1.001b-54
DC X'BFF0000000000000' Minuend -1, aka -1.0b0
DC X'BC92000000000000' Subtrahend +1.001b-54
*..Above subtrahend is 6.2450045135165055398829281330108642578125E-17
*.. ...30859375E-16,nearest is toward zero, truncated.
*
DC X'3FF0000000000000' Minuend +1, aka +1.0b0
DC X'3C80000000000000' Subtrahend 1.0b-55
DC X'BFF0000000000000' Minuend -1, aka -1.0b0
DC X'BC80000000000000' Subtrahend 1.0b-55
*..Above subtrahend is 2.77555756156289135105907917022705078125E-17
*..nearest is away from zero, incremented.
*
DC X'3FF0000000000000' Minuend +1, aka +1.0b0
DC X'3CA8000000000000' Subtrahend +1.1b-53
DC X'BFF0000000000000' Minuend -1, aka -1.0b0
DC X'BCA8000000000000' Subtrahend -1.1b-53
*..Above subtrahend is 1.66533453693773481063544750213623046875E-16
*..nearest is a tie, nearest even has lower magnitude
*
DC X'3FF0000000000000' Minuend +1, aka +1.0b0
DC X'3C90000000000000' Subtrahend +1.0b-54
DC X'BFF0000000000000' Minuend -1, aka -1.0b0
DC X'BC90000000000000' Subtrahend -1.0b-54
*..Above subtrahend is 5.5511151231257827021181583404541015625E-17
*..nearest is a tie, nearest even has greater magnitude
*
LBFPRMCT EQU (*-LBFPINRM)/8/2 Count of long BFP rounding tests
EJECT
***********************************************************************
*
* Extended BFP test data sets for Add testing.
*
* The first test data set is used for tests of basic functionality,
* NaN propagation, and results from operations involving other than
* finite numbers.
*
* The second test data set is used for testing boundary conditions
* using two finite non-zero values. Each possible condition code
* and type of result (normal, scaled, etc) is created by members of
* this test data set.
*
* The third test data set is used for exhaustive testing of final
* results across the five rounding modes available for the Add
* instruction.
*
***********************************************************************
SPACE 2
***********************************************************************
*
* First input test data set, to test operations using non-finite or
* zero inputs. Member values chosen to validate Figure 19-13 on page
* 19-16 of SA22-7832-10. Each value in this table is tested against
* every other value in the table. Ten entries means 100 result sets.
*
***********************************************************************
SPACE 2
XBFPNFIN DS 0F Inputs for extended BFP testing
DC X'FFFF0000000000000000000000000000' -inf
DC X'C0000000000000000000000000000000' -2.0
DC X'80001000000000000000000000000000' -Dnice
DC X'80000000000000000000000000000000' -0
DC X'00000000000000000000000000000000' +0
DC X'00001000000000000000000000000000' +Dnice
DC X'40000000000000000000000000000000' +2.0
DC X'7FFF0000000000000000000000000000' +inf
DC X'FFFF8B00000000000000000000000000' -QNaN
DC X'7FFF0A00000000000000000000000000' +SNaN
XBFPNFCT EQU (*-XBFPNFIN)/16 Count of extended BFP in list
SPACE 3
***********************************************************************
*
* Second input test data set. These are finite pairs intended to
* trigger overflow, underflow, and inexact exceptions. Each pair is
* added twice, once non-trappable and once trappable. Trappable
* overflow or underflow yields a scaled result. Trappable inexact
* will show whether the Incremented DXC code is returned.
*
* The following test cases are required:
* The following test cases are required:
* 1. Overflow
* 2. Underflow - normal inputs
* 3. Underflow - subnormal inputs
* 4. Normal - from subnormal inputs
* 5. Inexact - incremented
* 6. Inexact - truncated
*
***********************************************************************
SPACE 2
XBFPIN DS 0F Inputs for extended BFP finite tests
*
* Overflow on subtraction
*
DC X'7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' +Nmax
DC X'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' +Nmax
*
* Underflow from difference of normals. We will subtract a small
* normal from a slightly larger normal to generate a subnormal.
*
DC X'0001FFFFFFFFFFFFFFFFFFFFFFFFFFFF' Very small normal
DC X'00010000000000000000000000000000' Smaller normal
*
* Underflow from difference of subnormals.
*
DC X'00008000000000000000000000000000' Subnormal, < +Dmax
DC X'00000F0F000000000000000000000000' Smaller subnormal
*
* Normal result from difference of subnormals.
* The result will be greater than +Nmin
*
DC X'0000FFFFFFFFFFFFFFFFFFFFFFFFFFFF' +Dmax
DC X'80000000000000000000000000000001' -Dmin
* ...result will be +Nmin
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3FFF0000000000000000000000000000' +1, aka 1.0b0
DC X'3F8C0000000000000000000000000000' 1.0b-115
*..Above subtrahend is 2.407412430484044816319972428231159148172627...
* ...06026923524404992349445819854736328125E-35
*..nearest is away from zero, incremented.
*
DC X'3FFF0000000000000000000000000000' +1, aka 1.0b0
DC X'3F8D2000000000000000000000000000' 1.001b-114
*..Above subtrahend is 5.416677968589100836719937963520108083388410...
* ...8856057792991123278625309467315673828125E-35
*..nearest is toward zero, truncated
*
XBFPCT EQU (*-XBFPIN)/16/2 Count of extended BFP in list
SPACE 3
***********************************************************************
*
* Third input test data set. These are finite pairs intended to
* test all combinations of rounding mode for the difference and the
* remainder. Values are chosen to create a requirement to round
* to the target precision after the computation and to generate
* varying results depending on the rounding mode in the FPCR.
*
* The result set will have cases that represent each of the following
*
* 1. Positive, nearest magnitude is toward zero.
* 2. Negative, nearest magnitude is toward zero.
* 3. Positive, nearest magnitude is away from zero.
* 4. Negative, nearest magnitude is away from zero.
* 5. Positive, tie, nearest even has greater magnitude
* 6. Negative, tie, nearest even has greater magnitude
* 7. Positive, tie, nearest even has lower magnitude
* 8. Negative, tie, nearest even has lower magnitude
*
* Round For Shorter precision correctness can be determined from the
* above test cases.
*
***********************************************************************
SPACE 2
XBFPINRM DS 0D
*
* Subtract a value from 1.0 such that the added digits are to the right
* of the right-most bit in the stored significand. The result will be
* inexact, and incremented will be determined by the value of the
* bits in the subtrahend.
*
DC X'3FFF0000000000000000000000000000' +1, aka +1.0b0
DC X'3F8D2000000000000000000000000000' 1.001b-114
DC X'BFFF0000000000000000000000000000' -1, aka -1.0b0
DC X'BF8D2000000000000000000000000000' 1.001b-114
*..Above subtrahend is 5.416677968589100836719937963520108083388410...
* ...8856057792991123278625309467315673828125E-35
*..nearest is toward zero
*
DC X'3FFF0000000000000000000000000000' +1, aka +1.0b0
DC X'3F8C0000000000000000000000000000' 1.0b-115
DC X'BFFF0000000000000000000000000000' -1, aka -1.0b0
DC X'BF8C0000000000000000000000000000' 1.0b-115
*..Above subtrahend is 2.407412430484044816319972428231159148172627...
* ...06026923524404992349445819854736328125E-35
*..nearest is away from zero
*
DC X'3FFF0000000000000000000000000000' +1, aka +1.0b0
DC X'3F8E8000000000000000000000000000' +1.1b-113
DC X'BFFF0000000000000000000000000000' -1, aka -1.0b0
DC X'BF8E8000000000000000000000000000' -1.0b-114
*..Above subtrahend is 1.444447458290426889791983456938695488903576...
* ...23616154114642995409667491912841796875E-34
*..nearest is a tie, nearest even has lower magnitude
*
DC X'3FFF0000000000000000000000000000' +1, aka +1.0b0
DC X'3F8D0000000000000000000000000000' +1.0b-114
DC X'BFFF0000000000000000000000000000' -1, aka -1.0b0
DC X'BF8D0000000000000000000000000000' -1.0b-114
*..Above subtrahend is 4.814824860968089632639944856462318296345254...
* ...1205384704880998469889163970947265625E-35
*..nearest is a tie, nearest even has greater magnitude
*
XBFPRMCT EQU (*-XBFPINRM)/16/2 Count of long BFP rounding tests
EJECT
*
* Locations for results
*
SBFPNFOT EQU STRTLABL+X'1000' Short non-finite BFP results
* ..room for 110 tests, 100 used
SBFPNFFL EQU STRTLABL+X'1700' FPCR flags and DXC from short BFP
* ..room for 110 tests, 100 used
*
SBFPOUT EQU STRTLABL+X'1E00' Short BFP finite results
* ..room for 16 tests, 6 used
SBFPFLGS EQU STRTLABL+X'1F00' FPCR flags and DXC from short BFP
* ..room for 16 tests, 6 used
*
SBFPRMO EQU STRTLABL+X'2000' Short BFP rounding mode test results
* ..Room for 16, 8 used.
SBFPRMOF EQU STRTLABL+X'2300' Short BFP rounding mode FPCR results
* ..Room for 16, 8 used.
* ..next location starts at X'2500'
*
LBFPNFOT EQU STRTLABL+X'4000' Long non-finite BFP results
* ..room for 100 tests, 100 used
LBFPNFFL EQU STRTLABL+X'4D00' FPCR flags and DXC from long BFP
* ..room for 100 tests, 100 used
*
LBFPOUT EQU STRTLABL+X'5400' Long BFP finite results
* ..room for 16 tests, 6 used
LBFPFLGS EQU STRTLABL+X'5600' FPCR flags and DXC from long BFP
* ..room for 16 tests, 6 used
*
LBFPRMO EQU STRTLABL+X'5700' Long BFP rounding mode test results
* ..Room for 16, 8 used.
LBFPRMOF EQU STRTLABL+X'5C00' Long BFP rounding mode FPCR results
* ..Room for 16, 8 used.
* ..next location starts at X'5E00'
*
XBFPNFOT EQU STRTLABL+X'8000' Extended non-finite BFP results
* ..room for 100 tests, 100 used
XBFPNFFL EQU STRTLABL+X'8D00' FPCR flags and DXC from ext'd BFP
* ..room for 100 tests, 100 used
*
XBFPOUT EQU STRTLABL+X'9400' Extended BFP finite results
* ..room for 16 tests, 6 used
XBFPFLGS EQU STRTLABL+X'9600' FPCR flags and DXC from ext'd BFP
* ..room for 16 tests, 6 used
*
XBFPRMO EQU STRTLABL+X'9700' Ext'd BFP rounding mode test results
* ..Room for 16, 8 used.
XBFPRMOF EQU STRTLABL+X'9C00' Ext'd BFP rounding mode FPCR results
* ..Room for 16, 8 used.
* ..next location starts at X'9E00'
*
ENDLABL EQU STRTLABL+X'9E00'
PADCSECT ENDLABL
END
| 45.306386 | 72 | 0.590619 |
a87a231c7be97c1e6a7147f0d4146f3678a02c8f | 4,698 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_659.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_0xca_notsx.log_21829_659.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_0xca_notsx.log_21829_659.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 %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1aa33, %r14
nop
nop
nop
nop
and $33614, %r11
mov $0x6162636465666768, %rax
movq %rax, (%r14)
nop
nop
nop
nop
nop
add %r15, %r15
lea addresses_D_ht+0x41b3, %r11
nop
nop
nop
xor %rdi, %rdi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
and $0xffffffffffffffc0, %r11
movntdq %xmm5, (%r11)
dec %r14
lea addresses_normal_ht+0x3233, %rsi
lea addresses_UC_ht+0x12533, %rdi
nop
nop
nop
cmp $31723, %r14
mov $41, %rcx
rep movsq
add $52585, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %rax
push %rdi
// Faulty Load
lea addresses_RW+0x6133, %r11
clflush (%r11)
nop
nop
and $62908, %rax
mov (%r11), %r15
lea oracles, %rax
and $0xff, %r15
shlq $12, %r15
mov (%rax,%r15,1), %r15
pop %rdi
pop %rax
pop %r15
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 8, 'NT': True, 'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': True, 'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': True}}
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
| 50.516129 | 2,999 | 0.664538 |
f09b18a1dfab33b886e589d6206363f380888b66 | 303 | asm | Assembly | programs/oeis/144/A144603.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/144/A144603.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/144/A144603.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A144603: Christoffel word of slope 5/11.
; 0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,0,1,0,0,1,0,0
mod $0,16
sub $0,1
mod $0,3
mov $1,$0
div $1,2
| 33.666667 | 211 | 0.537954 |
609a4e63366946874891e107f7e4b5f0b2eedefc | 18,423 | asm | Assembly | Third course/5th semester/Unix programming/Lab2/asm.asm | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | null | null | null | Third course/5th semester/Unix programming/Lab2/asm.asm | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | null | null | null | Third course/5th semester/Unix programming/Lab2/asm.asm | tekcellat/University | 9a0196a45c9cf33ac58018d636c3e4857eba0330 | [
"MIT"
] | 7 | 2020-12-04T07:26:46.000Z | 2022-03-08T17:47:47.000Z | .386p ; Чтобы разрешить транслятору обрабатывать
; расширенный набор команд 32-разрядного микропроцессора,
; часть к-х отн. к привелигерованным
; Пока не поздно - Рудаков-Ф. Раздел 6, Да, полностью
; Зубков Глава 6, можно пробежаться глазами
; ОСТАВЬ НАДЕЖДУ ВСЯК СЮДА ВХОДЯЩИЙ
; КРИТИЧЕСКОЕ ЗАМЕЧАНИЕ - программа начинается с метки start в сегменте RM_seg; затем, проделывая нессколько нехитрых, блять, манипуляций,
; мы переходим в защищенный режим на PM_Entry сегмента PM_seg
; НИЧЕГО НЕ ТРОГАТЬ, НЕ ПЕРЕСТАВЛЯТЬ, НЕ ПЕРЕПИСЫВАТЬ, НЕ ЧИХАТЬ, НЕ ДЫШАТЬ
; Я предупреждала
descr struc ; Структура для описания декскриптора сегмента в таблице глобальных дескрипторов GDT
lim dw 0 ; Граница (биты 0..15) - размер сегмента в байтах
base_l dw 0 ; Младшие 16 битов адресной базы. - базовый адрес задаётся в виртуальном адресном пространстве
base_m db 0 ; Следующие 8 битов адресной базы.
attr_1 db 0 ; Флаги/атрибуты доступа, определяющие в каком кольце защиты
attr_2 db 0 ; можно использовать этот сегмент.
base_h db 0 ; Последние 8 битов адресной базы.
descr ends
int_descr struc ; структура для описания декскриптора прерывания
offs_l dw 0 ; Младшие 16 битов адреса, куда происходит переход в случае возникновения прерывания.
sel dw 0 ; Селектор сегмента с кодом прерывания/Переключатель сегмента ядра
counter db 0 ; Счётчик, не используется в программе. Всегда ноль!
attr db 0 ; Атрибуты
offs_h dw 0 ; Старшие 16 битов адреса, куда происходит переход.
int_descr ends
; Protected mode
PM_seg SEGMENT PARA PUBLIC 'DATA' USE32 ; указываем, что команды работают со всеми 32 битов регистров; например LOOP будет
;декрементить ECX целиком, а не только его младшую половинку CX
;при этом если нам ВДРУГ понадобится "младший" луп, то его можно включить через пляску с бубном для каждого такого лупа
ASSUME CS:PM_seg
; Таблица дескрипторов сегметов GDT
GDT label byte
; нулевой дескриптор
gdt_null descr <>
; 32-битный 4-гигабайтный сегмент с базой = 0
gdt_flatDS descr <0FFFFh,0,0,92h,11001111b,0> ; 92h = 10010010b
; 16-битный 64-килобайтный сегмент кода с базой RM_seg
gdt_16bitCS descr <RM_seg_size-1,0,0,98h,0,0> ; 98h = 10011010b
; 32-битный 4-гигабайтный сегмент кода с базой PM_seg
gdt_32bitCS descr <PM_seg_size-1,0,0,98h,01000000b,0>
; 32-битный 4-гигабайтный сегмент данных с базой PM_seg
gdt_32bitDS descr <PM_seg_size-1,0,0,92h,01000000b,0>
; 32-битный 4-гигабайтный сегмент данных с базой stack_seg
gdt_32bitSS descr <stack_l-1,0,0, 92h, 01000000b,0>
gdt_size = $-GDT ; размер нашей таблицы GDT+1байт (на саму метку)
gdtr df 0 ; переменная размера 6 байт как Регистр глобальной таблицы дескрипторов GDTR
; имена для селекторов
SEL_flatDS equ 8
SEL_16bitCS equ 16
SEL_32bitCS equ 24
SEL_32bitDS equ 32
SEL_32bitSS equ 40
; Таблица дескрипторов прерываний IDT
IDT label byte
; первые 32 элемента таблицы (в программе не используются)
int_descr 32 dup (<0, SEL_32bitCS,0, 8Eh, 0>)
; дескриптор прерывания от таймера
int08 int_descr <0, SEL_32bitCS,0, 8Eh, 0>
; дескриптор прерывания от клавиатуры
int09 int_descr <0, SEL_32bitCS,0, 8Eh, 0>
idt_size = $-IDT ; размер нашей таблицы IDT+1байт (на саму метку)
idtr df 0 ; переменная размера 6 байт как Регистр таблицы дескрипторов прерываний IDTR
idtr_real dw 3FFh,0,0 ; содержимое регистра IDTR в реальном режиме
master db 0 ; маска прерываний ведущего контроллера
slave db 0 ; ведомого
escape db 0 ; флаг - пора выходить в реальный режим, если ==1
time_08 dd 0 ; счетчик прошедших тиков таймера
msg1 db 'In Real Mode now. To move to Protected Mode press any key...$'
msg2 db 'In Real Mode again!$'
; Таблица символов ASCII для перевода из скан кода в код ASCII.
; Номер скан кода = номеру соответствующего элемента в таблице:
ASCII_table db 0, 0, 49, 50, 51, 52, 53, 54, 55, 56, 57, 48, 45, 61, 0, 0
db 81, 87, 69, 82, 84, 89, 85, 73, 79, 80, 91, 93, 0, 0, 65, 83
db 68, 70, 71, 72, 74, 75, 76, 59, 39, 96, 0, 92, 90, 88, 67
db 86, 66, 78, 77, 44, 46, 47
out_position dd 1E0h ; Позиция печати вводимого текста
print_str macro str
mov ah,9
mov dx, str
int 21h
endm
; макрос для создания символа циферки (или буковки) из чиселки (7 -> '7', 15 -> 'F')
create_number macro
local number1
cmp dl,10
jl number1
add dl,'A' - '0' - 10
number1:
add dl,'0'
endm
; макрос печати на экран значения регистра ЕАХ через видеобуффер
my_print_eax macro
local prcyc1 ; указываем, что метка локальная для макроса; на каждой подстановке она должна называться по разному
push ecx ; сохраняем используемые регистры
push dx
mov ecx,8 ; количество символов, которые распечатаем
add ebp,0B8010h ; сейчас в EBP должно лежать положение первого символа на экране, с которого и будет распечатано число
; 0B8000h - смещение видеобуффера относительно начала сегмента.
; Ещё 10h - добавляем 8 символов, поскольку число печатается справа-налево
prcyc1:
mov dl,al ; кладём в DL текущее значение AL (самый младший байт ЕАХ)
and dl,0Fh ; оставляем от него одно 16ричное число (последняя цифра)
create_number 0 ; превращаем это число в символ
mov es:[ebp],dl ; запихиваем его в видеобуфер
ror eax,4 ; циклически двигаем биты в ЕАХ - таким образом, после всех перестановок,
; ЕАХ окажется тем же что и в начале, нет необходимости на PUSH; POP
sub ebp,2 ; смещаемся на один символ влево (предыдущая цифра в ЕАХ)
loop prcyc1 ; повторяемся 8 раз
sub ebp,0B8010h ; возвращаем в EBP то же значение, что было в нём до пляски с видеопамятью
pop dx
pop ecx
endm
; точка входа в 32-битный защищенный режим
PM_entry:
; ранее в реальном режиме мы загрузили в дескрипторы адреса сегментов данных, стека и кода;
;теперь мы непосредственно их устанавливаем
mov ax,SEL_32bitDS
mov ds,ax
mov ax,SEL_flatDS
mov es,ax
mov ax,SEL_32bitSS
mov ebx,stack_l
mov ss,ax
mov esp,ebx
; разрешить прерывания, запрещенные ранее ещё в реальном режиме
sti ; установка флага прерывания IF = 1
;считаем количество доступной памяти и печатаем его на экран
call compute_memory
;крутимся в бесконечном цикле, периодически натыкаясь на прерывания клавиатуры и таймера
;выход из цикла - по нажатию Enter (прописано в обработчике прерывания клавиатуры new_int09)
work:
test escape, 1
jz work
goback:
; запрещаем прерывания, всё по той же причине
; при этом немаскируемые уже запрещены, их не трогаем
cli ; сброс флага прерывания IF = 0
; а вы думали мы будем подробно описывать переход в реальность? йух, тут магия, а потом мы просто переходим по метке RM_return
db 0EAh ; не трогать, вообще, в принципе, ни прикаких условиях, запрещаем, все заинтересованные в магии к Рудакову-Ф.
; шутка. Это просто код команды far jump
dd offset RM_return
dw SEL_16bitCS
;новый самопальный обработчик прерывания таймера, который будет в защищенном режиме крутить счетчик time_08
new_int08:
; пролог тырпырдыр
push eax
push ebp
push ecx
push dx
mov eax,time_08
; кладём в EBP смещение на 8 символов от начала экрана
push ebp
mov ebp, 0 ; указываем смещение в видеопамяти относительно начала экрана (10 символов - 1 байт символа и 1 байт цвета )
my_print_eax 0 ; вызываем чудо-макрос видео-печати
pop ebp ; восстанавливаем потраченное смещение EBP
inc eax
mov time_08,eax
; эпилог, наверное
pop dx
pop ecx
pop ebp
;обязательная щепотка магии, без которой никуда; отправляем команду End of Interrupt ведущему контроллеру прерываний
mov al,20h
out 20h,al
pop eax
iretd ;выходим из прерывания
; Новый обработчик прерывания клавиатуры для защищенного режима:
new_int09:
push eax
push ebx
push ebp
push edx
in al,60h ; Получаем скан-код нажатой клавиши из порта клавиатуры
cmp al,1Ch ; Сравниваем с кодом энтера
jne not_leave ; Если не энтер - ввыведем, то что ввели
mov escape,1 ; Если энтер - ставим флаг, что нужно вернуться в реальный режим
jmp leav
not_leave:
cmp al,80h ; Сравним какой скан-код пришел: нажатой клавиши или отжатой?
ja leav ; Если отжатой, то ничего не выводим
xor ah,ah ; Если нажатой, то выведем на экран
mov bp,ax
mov dl,ASCII_table[ebp] ; Получим ASCII код нажатой клавиши по скан коду из таблицы
mov ebp,0B8000h
mov ebx,out_position ; Текущая позиция вывода символа
mov es:[ebp+ebx],dl
add ebx,2 ; Увеличим текущую позицию вывода текста и сохраним ее
mov out_position,ebx
leav:
; Разрешаем обрабатывать клавиатуру дальше:
in al,61h
or al,80h
out 61h,al
; Посылаем сигнал EOI:
mov al,20h
out 20h,al
pop edx
pop ebp
pop ebx
pop eax
; Выходим из прерывания:
iretd
; Ты еще уверен, что хочешь это видеть?
; танец с бубном (функция подсчета доступной памяти)
compute_memory proc
push ds ; сохраняем прошлое значение DS
mov ax, SEL_flatDS ; кладем в него сегмент на 4 ГБ - все доступное виртуальное АП
mov ds, ax ; суем сию прелесть в DS
mov ebx, 100001h ; пропускаем первый мегабайт оного сегмента
mov dl, 10101010b ; попытка считать значение из несуществующего байта памяти вернёт все нули (или все единицы)
; в каждый байт мы пишем какое-то значение, а потом смотрим, что прочитается
mov ecx, 0FFEFFFFEh ; в ECX кладём количество оставшейся памяти (до превышения лимита в 4ГБ) - чтобы не было переполнения
; в цикле считаем память
check:
mov dh, ds:[ebx] ; сохраняем в DH текущее значение по некоторому байту памяти
; EBX на первой итерации содержит смещение за 1й мегабайт памяти
; мегабайт пропускаем потому, что в противном случае может произойти
; попытка редактирования процедуры собственного кода, что есть крайне не торт
mov ds:[ebx], dl ; кладём некоторое значение (заданное выше DL) в этот байт
cmp ds:[ebx], dl ; проверяем - считается обратно то же DL, или какая-то хрень
jnz end_of_memory ; если считается хрень - то мы достигли дна, а на дне лежит конец памяти, вываливаемся из цикла
mov ds:[ebx], dh ; если дна не достигли - кладём обратно сохранённое значение, чтобы не попортить лишнего на всякий
inc ebx ; проверяем следующий байт.... ну вы поняли, ждать придётся столько, сколько гигабайтов ОЗУ в машине
; к счастью, в досбоксе обычно всего 16 МБ памяти, так что не очень-то и долго ждать
; желающие ждать больше (меньше?) могут поменять эти 16 МБ в конфиге досбокса
loop check
end_of_memory:
pop ds ; мемориджоб подошёл к логическому концу, память кончилась - восстанавливаем регистры
xor edx, edx
mov eax, ebx ; в EBX лежит количество посчитанной памяти в байтах; кладём его в EAX,
mov ebx, 100000h ; делим на 1 Мб, чтобы получить результат в мегабайтах
div ebx
push ebp
mov ebp,20 ; указываем смещение в видеопамяти относительно начала экрана (10 символов - 1 байт символа и 1 байт цвета )
my_print_eax 0 ; вызываем чудо-макрос видео-печати
pop ebp ; восстанавливаем потраченное смещение EBP
ret
compute_memory endp
PM_seg_size = $-GDT
PM_seg ENDS
; Я ведь тебя предупреждала
stack_seg SEGMENT PARA STACK 'STACK'
stack_start db 100h dup(?)
stack_l = $-stack_start ; длина стека для инициализации ESP
stack_seg ENDS
; Real Mode
RM_seg SEGMENT PARA PUBLIC 'CODE' USE16 ; USE16 - используем нижние части регистров, АХ ВХ СХ; верхние биты E* в реальном режиме недоступны
ASSUME CS:RM_seg, DS:PM_seg, SS:stack_seg
start:
mov ax,PM_seg
mov ds,ax
mov ah, 09h
mov edx, offset msg1
int 21h
;ожидаем ввода клавиатуры
push eax;сохраняем, чтоб не потерять AX
mov ah,10h
int 16h
pop eax;и восстанавливаем
; очистить экран
mov ax,3
int 10h
; настроить регистр ds на сегмент с защищенном режимом
push PM_seg
pop ds
; вычислить базы для всех используемых дескрипторов сегментов
xor eax,eax
mov ax,RM_seg
shl eax,4 ; сегменты объявлены как PARA, нужно сдвинуть на 4 бита для выравнивания по границе параграфа
mov word ptr gdt_16bitCS.base_l,ax
shr eax,16
mov byte ptr gdt_16bitCS.base_m,al
mov ax,PM_seg
shl eax,4
push eax ; для вычисления адреса idt
push eax ; для вычисления адреса gdt
mov word ptr GDT_32bitCS.base_l,ax
mov word ptr GDT_32bitSS.base_l,ax
mov word ptr GDT_32bitDS.base_l,ax
shr eax,16
mov byte ptr GDT_32bitCS.base_m,al
mov byte ptr GDT_32bitSS.base_m,al
mov byte ptr GDT_32bitDS.base_m,al
; вычислим линейный адрес GDT
pop eax
add eax,offset GDT ; в eax будет полный линейный адрес GDT (адрес сегмента + смещение GDT относительно него)
; аттеншен - все адреса в защищённом режиме ВИРТУАЛЬНЫЕ
mov dword ptr gdtr+2,eax ; кладём полный линейный адрес в младшие 4 байта переменной gdtr
mov word ptr gdtr, gdt_size-1 ; в старшие 2 байта заносим размер gdt, из-за определения gdt_size (через $) настоящий размер на 1 байт меньше
; загрузим GDT
lgdt fword ptr gdtr
; аналогично вычислим линейный адрес IDT
pop eax
add eax,offset IDT
mov dword ptr idtr+2,eax
mov word ptr idtr, idt_size-1
; Заполним смещение в дескрипторах прерываний
mov eax, offset new_int08 ; прерывание таймера
mov int08.offs_l, ax
shr eax, 16
mov int08.offs_h, ax
mov eax, offset new_int09 ; прерывание клавиатуры
mov int09.offs_l, ax
shr eax, 16
mov int09.offs_h, ax
; сохраним маски прерываний контроллеров
in al, 21h ; ведущего, 21h - "магическая константа" - номер шины, in на неё даст нам набор масок (флагов)
mov master, al ; сохраняем в переменной master (понадобится для возвращения в RM)
in al, 0A1h ; ведомого - аналогично, in даёт набор масок для ведомого
mov slave, al
; кучка магии (перепрограммируем ведущий контроллер)
mov al, 11h ; команда "инициализировать ведущий контроллер"
out 20h, al ; 20h - условно говоря, "порт включения\выключения"
mov AL, 20h ; базовый вектор (начальное смещение для обработчика) теперь 32 (20h)
out 21h, al ; указываем, что аппаратные прерывания будут обрабатываться начиная с 32го (20h)
mov al, 4 ; отправляем в тот же порт ещё две магические константы,
; дефакто - команды, благодаря которым всё акшуалли заработает
out 21h, al
mov al, 1 ; указываем, что нужно будет посылать команду завершения обработчика прерывания
out 21h, al
; Запретим все прерывания в ведущем контроллере, кроме IRQ0 (таймер) и IRQ1(клавиатура)
mov al, 0FCh
out 21h, al
;запретим ВООБЩЕ ВСЕ прерывания в ведомом контроллере
;в противном случае возникнет исключение - может прийти прерывание, для которого у нас не написан обработчик
mov al, 0FFh
out 0A1h, al
; загрузим IDT
lidt fword ptr idtr
; если мы собираемся работать с 32-битной памятью, стоит открыть A20
; А20 - линия ("шина"), через которую осуществляется доступ ко всей памяти за пределами первого мегабайта
in al,92h ; поймали набор флагов
or al,2 ; добавили в нём единичку во 2 бите
out 92h,al ; отправили обратно
; отключить маскируемые прерывания
; если во время перехода в защищённый режим к нам ВНЕЗАПНО придёт хоть какое-нибудь прерывание - может произойти целый ворох
; неведомой херни, в результате который процессор так или иначе упадёт в варп - одни обработчики прерываний УЖЕ не работают, другие - ЕЩЁ не работают
cli
; затем вдогонку и немаскируемые прерывания
in al,70h
or al,80h
out 70h,al
; перейти в непосредственно защищенный режим установкой соответствующего бита регистра CR0
mov eax,cr0
or al,1
mov cr0,eax
; напрямую загрузить SEL_32bitCS в регистр CS мы не можем из-за защитных ограничений ассемблера; добавим немного магии
db 66h
db 0EAh
dd offset PM_entry
dw SEL_32bitCS
; начиная с этой строчки, будет выполняться код по оффсету PM_entry
; быдлоговоря, из-за ^ ограничений, вместо MOV CS, offset SEL_32bitCS; jmp PM_entry, нам приходится использовать вот такие костыли
; теперь, дорогой юзер, мотай блокнот на пару сотен строк вверх
RM_return:
; переход в реальный режим; подробности - у Рудакова-Ф.
mov eax,cr0
and al,0FEh ; сбрасываем флаг защищенного режима
mov cr0,eax
; сбросить очередь и загрузить CS реальным числом
db 0EAh ; пляски с бубном - опять из-за ограничения доступа к CS
dw $+4 ; вот это прям мое любимое место
dw RM_seg
; восстановить регистры для работы в реальном режиме
mov ax,PM_seg ; загружаем в сегментные регистры "нормальные" (реальные) смещения
mov ds,ax
mov es,ax
mov ax,stack_seg
mov bx,stack_l
mov ss,ax
mov sp,bx
;перепрограммируем ведущий контроллер обратно на вектор 8 - смещение, по которому вызываются стандартные обработчики прерываний в реалмоде
mov al, 11h ; инициализация
out 20h, al
mov al, 8 ; отправка смещения
out 21h, al
mov al, 4 ; волшебные команды, "код - работай!"
out 21h, al
mov al, 1
out 21h, al
;восстанавливаем предусмотрительно сохраненные ранее маски контроллеров прерываний
mov al, master
out 21h, al
mov al, slave
out 0A1h, al
; загружаем таблицу дескрипторов прерываний реального режима
lidt fword ptr idtr_real
; разрешаем обратно немаскируемые прерывания
in al,70h
and al,07FH
out 70h,al
; а затем маскируемые
sti
; очистить экран
mov ax,3
int 10h
; печать сообщения о выходе из защищенного
mov ah, 09h
mov edx, offset msg2
int 21h
; как в старые добрые завершаем программу через int 21h по команде 4Ch
mov ah,4Ch
int 21h
RM_seg_size = $-start ; завершаем сегмент, указываем метку начала для сегмента
RM_seg ENDS
END start | 35.49711 | 154 | 0.702546 |
3c81b319802e5ea7b05c0c56ffc98eeeaabffd1b | 9,831 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_4.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_4.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_4.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 %r13
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x595d, %rsi
lea addresses_UC_ht+0x6b4d, %rdi
clflush (%rsi)
nop
nop
nop
xor $54692, %r10
mov $93, %rcx
rep movsl
and %rcx, %rcx
lea addresses_WT_ht+0x1bd4d, %rbp
nop
nop
nop
sub $18039, %rdx
mov (%rbp), %r13
xor $46366, %rdx
lea addresses_UC_ht+0xe94d, %rdx
clflush (%rdx)
nop
nop
nop
nop
add $52652, %rsi
mov $0x6162636465666768, %r10
movq %r10, %xmm6
and $0xffffffffffffffc0, %rdx
vmovntdq %ymm6, (%rdx)
nop
nop
nop
nop
xor %rdx, %rdx
lea addresses_WC_ht+0x908d, %rdi
nop
nop
nop
nop
nop
xor $52210, %rbp
movw $0x6162, (%rdi)
nop
nop
nop
nop
nop
cmp $12713, %rcx
lea addresses_UC_ht+0x1cd, %rsi
lea addresses_A_ht+0xbc8d, %rdi
nop
nop
nop
nop
sub $14884, %rdx
mov $30, %rcx
rep movsw
nop
nop
nop
nop
nop
xor %rbp, %rbp
lea addresses_WC_ht+0xdd4d, %rsi
lea addresses_normal_ht+0x1634d, %rdi
clflush (%rsi)
nop
dec %rbp
mov $125, %rcx
rep movsw
nop
nop
nop
nop
dec %rsi
lea addresses_A_ht+0xb1dd, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
sub %rbp, %rbp
movb $0x61, (%rdx)
nop
nop
nop
nop
nop
sub %r13, %r13
lea addresses_WC_ht+0x4967, %rbp
nop
nop
sub $59691, %rdx
and $0xffffffffffffffc0, %rbp
vmovntdqa (%rbp), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $1, %xmm1, %r13
cmp $8764, %r13
lea addresses_UC_ht+0xac4d, %rbp
nop
nop
nop
inc %rsi
mov (%rbp), %di
and $14157, %r13
lea addresses_D_ht+0x10509, %r13
clflush (%r13)
nop
nop
nop
nop
and %rdx, %rdx
vmovups (%r13), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %rdi
cmp $22448, %rdx
lea addresses_normal_ht+0x90cd, %rdx
nop
add %r13, %r13
mov (%rdx), %ecx
nop
nop
nop
nop
and $6224, %rdx
lea addresses_WT_ht+0x15a4d, %rsi
lea addresses_WC_ht+0x1874d, %rdi
nop
nop
nop
nop
and %r10, %r10
mov $51, %rcx
rep movsq
nop
nop
nop
dec %rcx
lea addresses_A_ht+0x1bb4d, %rdi
nop
xor $29883, %r13
mov $0x6162636465666768, %rcx
movq %rcx, %xmm1
vmovups %ymm1, (%rdi)
nop
nop
nop
nop
nop
and $11471, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_A+0xa54d, %r8
nop
nop
nop
add %r14, %r14
movw $0x5152, (%r8)
nop
nop
nop
nop
nop
add %r8, %r8
// Store
lea addresses_A+0x1ee4d, %rbp
nop
nop
xor $18715, %rdx
mov $0x5152535455565758, %r14
movq %r14, %xmm3
vmovups %ymm3, (%rbp)
nop
nop
nop
cmp %r14, %r14
// Store
lea addresses_UC+0xaecd, %r9
nop
nop
nop
nop
and $41007, %rdx
movl $0x51525354, (%r9)
nop
nop
nop
nop
add $34572, %r14
// Store
lea addresses_A+0x1498d, %r9
nop
nop
nop
nop
nop
mfence
movw $0x5152, (%r9)
nop
nop
and $57887, %r9
// Store
lea addresses_PSE+0x10d63, %rcx
nop
nop
nop
nop
nop
xor %r14, %r14
mov $0x5152535455565758, %rbp
movq %rbp, (%rcx)
nop
nop
nop
nop
nop
xor $52022, %rcx
// REPMOV
lea addresses_D+0x90cd, %rsi
lea addresses_A+0x151fd, %rdi
nop
nop
nop
nop
and $6014, %r8
mov $84, %rcx
rep movsw
nop
nop
and %rbp, %rbp
// REPMOV
lea addresses_WT+0xf94d, %rsi
lea addresses_WC+0x1b5cd, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
inc %rbp
mov $0, %rcx
rep movsb
nop
nop
add %rdi, %rdi
// Store
lea addresses_D+0x8d4d, %rcx
nop
nop
nop
xor $11058, %rsi
movw $0x5152, (%rcx)
nop
dec %r14
// Store
lea addresses_D+0x2641, %r9
nop
nop
xor $26310, %rcx
movw $0x5152, (%r9)
nop
nop
nop
nop
nop
add $21087, %rdi
// Faulty Load
lea addresses_A+0xa54d, %rdi
add %r8, %r8
movups (%rdi), %xmm0
vpextrq $1, %xmm0, %r9
lea oracles, %rbp
and $0xff, %r9
shlq $12, %r9
mov (%rbp,%r9,1), %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r8
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'same': True, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A', 'same': True, 'size': 2, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 32, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 4, 'congruent': 6, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 2, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_PSE', 'same': False, 'size': 8, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_A', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC', 'congruent': 7, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 2, 'congruent': 11, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 2, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 7, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 10, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC_ht', 'same': True, 'size': 2, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 1, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 5, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'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
*/
| 27.537815 | 2,999 | 0.653138 |
24af5eb60984a3a6881625960dd13d652436ed52 | 3,146 | asm | Assembly | zapdemo2.asm | raphnet/rc201804 | b59293e2b08fdd0559eda4896fc92b16c3b0042c | [
"MIT"
] | null | null | null | zapdemo2.asm | raphnet/rc201804 | b59293e2b08fdd0559eda4896fc92b16c3b0042c | [
"MIT"
] | null | null | null | zapdemo2.asm | raphnet/rc201804 | b59293e2b08fdd0559eda4896fc92b16c3b0042c | [
"MIT"
] | null | null | null | org 100h
bits 16
cpu 8086
;;;; Make sure to jump to main first before includes
section .text
jmp start
;;;; Includes
%include 'tgalib.asm'
%include 'random.asm'
%include 'zapper.asm'
section .bss
section .data
; Symbols required to reference sprites by their ID.
; for instance: get16x16TileID (macro) or getTile16 (function)
first32x32_tile:
first16x16_tile:
first8x8_tile:
teststr: db 'Hello',0
section .text
;;;; Entry point
start:
call initRandom
call initvlib
call setvidmode
call setupVRAMpointer
mov al, 0
call lang_select
call setupVRAMpointer
; Initialize mouse if enabled, otherwise does nothing.
call zapperInit
; Draw a tall rectangle on the left side of the screen
mov ax, 0
mov bx, 0
mov cx, 48
mov dx, 200
mov byte [draw_color], 15
call fillRect
call drawColorTest
call drawThicknessTest
; Instructions
printxy 80,16,"* * Vertical timing test * *"
printxy 80,42,"< < Aim at vertical bar"
printxy 228,190,"ESC to quit"
mainloop:
call waitVertRetrace
call checkESCpressed
jc exit
call detectLight
jz .nolight
call .printStart
call .printTotal
call .printY
jmp mainloop
.bad_last_count:
printxy 100,80,"Bad count "
jmp mainloop
.nolight:
printxy 100,80,"Start: - - "
call .printTotal
jmp mainloop
.printStart:
call waitVertRetrace
printxy 100,80,"Start: "
mov ax, 100 + 8*8
mov bx, 80
mov cx, [zapper_last_start]
call drawNumber
ret
.printTotal:
call waitVertRetrace
printxy 100,90,"Total: "
mov ax, 100 + 8*8
mov bx, 90
mov cx, [zapper_last_count]
call drawNumber
ret
.printY:
call zapperComputeRealY
call waitVertRetrace
; Clear previous height indicator by drawing
; a black column as high as the screen
push bx ; Save Y coord
mov ax, 56 ; x
mov bx, 0 ; y
mov cx, 8 ; width
mov dx, 200; height
mov byte [draw_color], 0
call fillRect
pop bx
; Draw the height indicator
mov dx, 8 ; height is 8 now
mov byte [draw_color], 12
call fillRect
printxy 100,100,"Y: "
mov cx, bx
mov ax, 100 + 8*8
mov bx, 100
call drawNumber
ret
drawThicknessTest:
push ax
push bx
push cx
push dx
mov byte [draw_color], 15
mov ax, 300
mov bx, 32
mov cx, 16
mov dx, 1 ; Start with 1px thickness
.loop:
call fillRect
inc dx ; Increase thickness
add bx, dx ; New Y position by thickness
add bx, 8 ; Gap between thickness bars
cmp dx, 10 ; Stop once a certain thickness is reached
jng .loop
pop dx
pop cx
pop bx
pop ax
ret
drawColorTest:
push ax
push bx
push cx
push dx
mov ax, 72
mov bx, 130
mov cx, 16
mov dx, 16
mov byte [draw_color], 0
; normal colors
.loop:
call fillRect
add ax, 24 ; Advance X position
inc byte [draw_color] ; Prepare next color
cmp byte [draw_color], 8
jne .loop
; start a new row for 'bright' colors
mov ax, 72
add bx, 24
.loop2:
call fillRect
add ax, 24 ; Advance X position
inc byte [draw_color] ; Prepare next color
cmp byte [draw_color], 16
jne .loop2
pop dx
pop cx
pop bx
pop ax
ret
; Restore original video mode,
; call dos service to exit
exit:
call flushkeyboard
call restorevidmode
mov ah,04CH
mov al,00 ; Return 0
int 21h
| 15.052632 | 62 | 0.704704 |
8c4b2d8776c4d67801280b415d06ece6a1182ddc | 478 | asm | Assembly | pwnlib/shellcraft/templates/arm/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 8,966 | 2015-01-02T11:58:14.000Z | 2022-03-31T21:19:56.000Z | pwnlib/shellcraft/templates/arm/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,401 | 2015-01-01T00:56:22.000Z | 2022-03-31T16:19:53.000Z | pwnlib/shellcraft/templates/arm/memcpy.asm | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 1,844 | 2015-01-07T04:38:06.000Z | 2022-03-30T03:54:46.000Z | <% from pwnlib.shellcraft import arm, pretty, common %>
<%docstring>Copies memory.
Args:
dest: Destination address
src: Source address
n: Number of bytes
</%docstring>
<%page args="dest, src, n"/>
<%
memcpy_loop = common.label("memcpy_loop")
%>
/* memcpy(${pretty(dest)}, ${pretty(src)}, ${pretty(n)}) */
${arm.setregs({'r0': dest, 'r1': src, 'r2': n})}
${memcpy_loop}:
ldrb r3, [r1], #1
strb r3, [r0], #1
subs r2, r2, #1
bge ${memcpy_loop}
| 23.9 | 63 | 0.594142 |
2d230004c712a585a703ee0af71077f22ea6abc8 | 16 | asm | Assembly | src/main/fragment/mos6502-common/vbsaa_le_0_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vbsaa_le_0_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vbsaa_le_0_then_la1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | cmp #1
bmi {la1} | 8 | 9 | 0.625 |
111db6fa7207e56053e9b27263e303338f59c95e | 298 | asm | Assembly | pgm/gas/03_data_types/pgm.asm | vinaib/x86_asm | 00252c34c242cc60148279f650634131b56a1951 | [
"Apache-2.0"
] | null | null | null | pgm/gas/03_data_types/pgm.asm | vinaib/x86_asm | 00252c34c242cc60148279f650634131b56a1951 | [
"Apache-2.0"
] | null | null | null | pgm/gas/03_data_types/pgm.asm | vinaib/x86_asm | 00252c34c242cc60148279f650634131b56a1951 | [
"Apache-2.0"
] | null | null | null | # Demo for data types
.data
string: .ascii "Hello world"
one_byte: .byte 10
int_32: .int 2
int_16: .short 3
Flt: .float 10.23
int_array: .int 10,20,30,40,50
.bss
.comm lrg_buff, 10000
.text
.globl _start
_start:
nop
movl $1, %eax #system call
movl $0, %ebx
int $0x80
| 10.275862 | 31 | 0.630872 |
d21a2105f3a35ea50b6e4a94e2ff3333cfbe9164 | 844 | asm | Assembly | Info/VecAddRef_CompilerSSE.asm | PhilippMueller1991/SIMD_Tests | 72794d7fb0dedf575d435238e512f198a1ce3471 | [
"MIT"
] | null | null | null | Info/VecAddRef_CompilerSSE.asm | PhilippMueller1991/SIMD_Tests | 72794d7fb0dedf575d435238e512f198a1ce3471 | [
"MIT"
] | null | null | null | Info/VecAddRef_CompilerSSE.asm | PhilippMueller1991/SIMD_Tests | 72794d7fb0dedf575d435238e512f198a1ce3471 | [
"MIT"
] | null | null | null | ; ============================================================================================= RELEASE x64 - VecAddRef
; 15 : for (int i = 0; i < 4; i++)
; 16 : out.m[i] = A.m[i] + B.m[i];
movss xmm0, DWORD PTR [rdx]
addss xmm0, DWORD PTR [r8]
movss DWORD PTR [rcx], xmm0
movss xmm1, DWORD PTR [rdx+4]
addss xmm1, DWORD PTR [r8+4]
movss DWORD PTR [rcx+4], xmm1
movss xmm0, DWORD PTR [rdx+8]
addss xmm0, DWORD PTR [r8+8]
movss DWORD PTR [rcx+8], xmm0
movss xmm1, DWORD PTR [rdx+12]
addss xmm1, DWORD PTR [r8+12]
movss DWORD PTR [rcx+12], xmm1
; ============================================================================================= RELEASE x64 - VecAddSSE
; Did not change
; 21 : out.row = _mm_add_ps(A.row, B.row);
movups xmm0, XMMWORD PTR [rdx]
addps xmm0, XMMWORD PTR [r8]
movups XMMWORD PTR [rcx], xmm0 | 32.461538 | 119 | 0.494076 |
2aa71e5545ff7db52594ac5f3f34ef63b9b7b92c | 719 | asm | Assembly | programs/oeis/212/A212561.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/212/A212561.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/212/A212561.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A212561: Number of (w,x,y,z) with all terms in {1,...,n} and w + x = 2y + 2z.
; 0,0,1,5,12,26,45,75,112,164,225,305,396,510,637,791,960,1160,1377,1629,1900,2210,2541,2915,3312,3756,4225,4745,5292,5894,6525,7215,7936,8720,9537,10421,11340,12330,13357,14459,15600,16820,18081,19425,20812,22286,23805,25415,27072,28824,30625,32525,34476,36530,38637,40851,43120,45500,47937,50489,53100,55830,58621,61535,64512,67616,70785,74085,77452,80954,84525,88235,92016,95940,99937,104081,108300,112670,117117,121719,126400,131240,136161,141245,146412,151746,157165,162755,168432,174284,180225,186345,192556,198950,205437,212111,218880,225840,232897,240149
mov $1,$0
pow $0,2
add $0,1
div $0,2
sub $1,1
mul $1,$0
mov $0,$1
div $0,2
| 59.916667 | 562 | 0.757997 |
8be210cb62a17ebbce04cebe824576d5cd78f71f | 4,665 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_679.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_679.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_679.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 %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xfbb8, %rsi
lea addresses_WT_ht+0xfdb8, %rdi
and %rdx, %rdx
mov $40, %rcx
rep movsb
nop
sub %rbp, %rbp
lea addresses_WT_ht+0x4db8, %rsi
lea addresses_WT_ht+0x15b38, %rdi
xor $8379, %rax
mov $16, %rcx
rep movsq
nop
nop
dec %rcx
lea addresses_D_ht+0x68b8, %rsi
lea addresses_WT_ht+0x10598, %rdi
nop
nop
nop
xor $40115, %r15
mov $59, %rcx
rep movsb
nop
nop
sub %rsi, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r15
push %rbp
push %rcx
push %rdx
// Faulty Load
lea addresses_WC+0xfbb8, %r15
add $25735, %rdx
movups (%r15), %xmm3
vpextrq $0, %xmm3, %rcx
lea oracles, %r15
and $0xff, %rcx
shlq $12, %rcx
mov (%r15,%rcx,1), %rcx
pop %rdx
pop %rcx
pop %rbp
pop %r15
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WC', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WT_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
| 56.890244 | 2,999 | 0.663666 |
ea95b1e0352c6c9f2a8df5469027ade417caf9f8 | 584 | asm | Assembly | exemplos/basic/main.asm | bencz/IntelAssembler | 4270148a4122a11f0b1ff0cb47b6914530e01056 | [
"Apache-2.0"
] | null | null | null | exemplos/basic/main.asm | bencz/IntelAssembler | 4270148a4122a11f0b1ff0cb47b6914530e01056 | [
"Apache-2.0"
] | null | null | null | exemplos/basic/main.asm | bencz/IntelAssembler | 4270148a4122a11f0b1ff0cb47b6914530e01056 | [
"Apache-2.0"
] | null | null | null | %cpx 100h
pushad
mov ah,Create
mov cx,020h
mov dx,filename
int 021h
mov [file1],ax ; handle do arquivo
mov ah,Write
mov cx,14
mov bx,[file1]
mov dx,fileCont
int 021h
mov cx,10
xor ax,ax
jmpTest:
mov ah,9
mov dx,msg
mov bx,1
int 21h
inc ax
loop jmpTest
popad
ret
msg: db "Ola mundo :)",13,10,"$"
fileName: db "output.txt", 0
fileCont: db "Ola mundo :)",13,10
file1: dw 0
^Create 3Ch
^Write 40h | 16.222222 | 39 | 0.479452 |
d848c6622a0e7a7c1be56c02f99bde1a46248e6d | 1,775 | asm | Assembly | programs/oeis/049/A049332.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/049/A049332.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/049/A049332.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A049332: Number of conjugacy classes in Clifford group CL(n).
; 2,4,5,10,17,34,65,130,257,514,1025,2050,4097,8194,16385,32770,65537,131074,262145,524290,1048577,2097154,4194305,8388610,16777217,33554434,67108865,134217730,268435457,536870914,1073741825,2147483650,4294967297,8589934594,17179869185,34359738370,68719476737,137438953474,274877906945,549755813890,1099511627777,2199023255554,4398046511105,8796093022210,17592186044417,35184372088834,70368744177665,140737488355330,281474976710657,562949953421314,1125899906842625,2251799813685250,4503599627370497,9007199254740994,18014398509481985,36028797018963970,72057594037927937,144115188075855874,288230376151711745,576460752303423490,1152921504606846977,2305843009213693954,4611686018427387905,9223372036854775810,18446744073709551617,36893488147419103234,73786976294838206465,147573952589676412930,295147905179352825857,590295810358705651714,1180591620717411303425,2361183241434822606850,4722366482869645213697,9444732965739290427394,18889465931478580854785,37778931862957161709570,75557863725914323419137,151115727451828646838274,302231454903657293676545,604462909807314587353090,1208925819614629174706177,2417851639229258349412354,4835703278458516698824705,9671406556917033397649410,19342813113834066795298817,38685626227668133590597634,77371252455336267181195265,154742504910672534362390530,309485009821345068724781057,618970019642690137449562114,1237940039285380274899124225,2475880078570760549798248450,4951760157141521099596496897,9903520314283042199192993794,19807040628566084398385987585,39614081257132168796771975170,79228162514264337593543950337,158456325028528675187087900674,316912650057057350374175801345,633825300114114700748351602690
mov $1,2
pow $1,$0
mov $2,$0
mod $2,2
add $2,1
add $1,$2
mov $0,$1
| 161.363636 | 1,642 | 0.915493 |
0635f4ab1cfa9d82a086788145337872bd9c6d08 | 1,064 | asm | Assembly | data/wild/roammon_maps.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | data/wild/roammon_maps.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | data/wild/roammon_maps.asm | Trap-Master/spacworld97-thingy | a144827abecacdfec6cdc3baa32098e9290adf70 | [
"blessing"
] | null | null | null | ; Maps that roaming monsters can be on, and possible maps they can jump to.
; Notably missing are Route 40 and Route 41, which are water routes.
roam_map: MACRO
map_id \1
db _NARG - 1
rept _NARG + -1
map_id \2
shift
endr
db 0
ENDM
RoamMaps:
; there are NUM_ROAMMON_MAPS entries
; start map, ...other maps
roam_map ROUTE_101, ROUTE_115
roam_map ROUTE_101, ROUTE_102
roam_map ROUTE_102, ROUTE_101, ROUTE_103, ROUTE_104
roam_map ROUTE_103, ROUTE_104, ROUTE_102, ROUTE_103
roam_map ROUTE_103, ROUTE_103, ROUTE_105
roam_map ROUTE_105, ROUTE_103, ROUTE_106
roam_map ROUTE_106, ROUTE_105, ROUTE_104
roam_map ROUTE_104, ROUTE_106, ROUTE_102, ROUTE_103, ROUTE_107
roam_map ROUTE_107, ROUTE_104, ROUTE_108, ROUTE_110
roam_map ROUTE_108, ROUTE_107, ROUTE_109, ROUTE_110
roam_map ROUTE_109, ROUTE_108
roam_map ROUTE_110, ROUTE_111, ROUTE_112, ROUTE_107, ROUTE_108
roam_map ROUTE_111, ROUTE_110, ROUTE_112
roam_map ROUTE_112, ROUTE_110, ROUTE_111, ROUTE_113
roam_map ROUTE_113, ROUTE_112, ROUTE_115
roam_map ROUTE_115, ROUTE_113, ROUTE_101
db -1 ; end
| 31.294118 | 75 | 0.796992 |
073a8e1fb1d5103bbc2f9680c7171aa0a4fd8274 | 1,010 | asm | Assembly | libsrc/graphics/px4/pixladdr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/graphics/px4/pixladdr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/graphics/px4/pixladdr.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; Graphics library for the Epson PX4
; Stefano - Nov 2015
;
;
; $Id: pixladdr.asm,v 1.3 2016-06-21 20:16:35 dom Exp $
;
SECTION code_clib
PUBLIC pixeladdress
INCLUDE "graphics/grafix.inc"
EXTERN base_graphics
; ******************************************************************
;
; Get absolute pixel address in map of virtual (x,y) coordinate.
;
; in: hl = (x,y) coordinate of pixel (h,l)
;
; out: de = address of pixel byte
; a = bit number of byte where pixel is to be placed
; fz = 1 if bit number is 0 of pixel position
;
; registers changed after return:
; ......hl/ixiy same
; afbcde../.... different
;
.pixeladdress
push bc
ld a,h
push af
srl a
srl a
srl a
ld c,a ; c=int(x/8)
;ld b,l
ld h,l
ld l,0
srl h
rr l
srl h
rr l
srl h
rr l
;ld de,($f2ad) ; LVRAMYOF
ld de,$e000
add hl,de
ld b,0
add hl,bc
ld d,h
ld e,l
pop af
pop bc
and @00000111 ; a = x mod 8
xor @00000111 ; a = 7 - a
ret
| 14.027778 | 68 | 0.546535 |
6cc5ec1ce40f6a95bbbd08bf83f9dccb125e9e56 | 519 | asm | Assembly | Addition_by_Add_&_Shift.asm | AdityaSatnalika/Microprocessor | 945b05a5c58f8d8f29d150ede4688fa0f755b5e2 | [
"Apache-2.0"
] | 1 | 2017-11-28T16:06:25.000Z | 2017-11-28T16:06:25.000Z | Addition_by_Add_&_Shift.asm | AdiSatnalika/Microprocessor | 945b05a5c58f8d8f29d150ede4688fa0f755b5e2 | [
"Apache-2.0"
] | null | null | null | Addition_by_Add_&_Shift.asm | AdiSatnalika/Microprocessor | 945b05a5c58f8d8f29d150ede4688fa0f755b5e2 | [
"Apache-2.0"
] | 1 | 2020-09-18T08:36:27.000Z | 2020-09-18T08:36:27.000Z | .model small
.data
a db 11H
b db 10H
.code
mov ax, @data
mov ds, ax
mov al, a
mov bl, b
mov ah, 0
mov dl, 04h
ad:
add ax, ax
rcl bl, 01
jnc skip
add ax, bx
skip:
dec dl
jnz ad
mov ch, 04h
mov cl, 04h
mov bx, ax
l2:
rol bx, cl
mov dl, bl
and dl, 0fH
cmp dl, 09
jbe l4
add dl, 07
l4:
add dl, 30H
mov ah, 02
int 21H
dec ch
jnz l2
hlt
| 11.795455 | 29 | 0.420039 |
2a5d3e475fd082a1a0c17f880a22c2b02afc31cb | 2,456 | asm | Assembly | binutils-2.21.1/gcc-4.5.1/gcc/config/rs6000/e500crtsav64gpr.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | binutils-2.21.1/gcc-4.5.1/gcc/config/rs6000/e500crtsav64gpr.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | binutils-2.21.1/gcc-4.5.1/gcc/config/rs6000/e500crtsav64gpr.asm | cberner12/xv6 | 53c4dfef0d48287ca0d0f9d27eab7a6ed7fee845 | [
"MIT-0"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | /*
* Special support for e500 eabi and SVR4
*
* Copyright (C) 2008, 2009 Free Software Foundation, Inc.
* Written by Nathan Froyd
*
* This file is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 3, or (at your option) any
* later version.
*
* This file is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* Under Section 7 of GPL version 3, you are granted additional
* permissions described in the GCC Runtime Library Exception, version
* 3.1, as published by the Free Software Foundation.
*
* You should have received a copy of the GNU General Public License and
* a copy of the GCC Runtime Library Exception along with this program;
* see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
* <http://www.gnu.org/licenses/>.
*/
.section ".text"
#include "ppc-asm.h"
#ifdef __SPE__
/* Routines for saving 64-bit integer registers, called by the compiler. */
HIDDEN_FUNC(_save64gpr_14) evstdd 14,0(11)
HIDDEN_FUNC(_save64gpr_15) evstdd 15,8(11)
HIDDEN_FUNC(_save64gpr_16) evstdd 16,16(11)
HIDDEN_FUNC(_save64gpr_17) evstdd 17,24(11)
HIDDEN_FUNC(_save64gpr_18) evstdd 18,32(11)
HIDDEN_FUNC(_save64gpr_19) evstdd 19,40(11)
HIDDEN_FUNC(_save64gpr_20) evstdd 20,48(11)
HIDDEN_FUNC(_save64gpr_21) evstdd 21,56(11)
HIDDEN_FUNC(_save64gpr_22) evstdd 22,64(11)
HIDDEN_FUNC(_save64gpr_23) evstdd 23,72(11)
HIDDEN_FUNC(_save64gpr_24) evstdd 24,80(11)
HIDDEN_FUNC(_save64gpr_25) evstdd 25,88(11)
HIDDEN_FUNC(_save64gpr_26) evstdd 26,96(11)
HIDDEN_FUNC(_save64gpr_27) evstdd 27,104(11)
HIDDEN_FUNC(_save64gpr_28) evstdd 28,112(11)
HIDDEN_FUNC(_save64gpr_29) evstdd 29,120(11)
HIDDEN_FUNC(_save64gpr_30) evstdd 30,128(11)
HIDDEN_FUNC(_save64gpr_31) evstdd 31,136(11)
blr
FUNC_END(_save64gpr_31)
FUNC_END(_save64gpr_30)
FUNC_END(_save64gpr_29)
FUNC_END(_save64gpr_28)
FUNC_END(_save64gpr_27)
FUNC_END(_save64gpr_26)
FUNC_END(_save64gpr_25)
FUNC_END(_save64gpr_24)
FUNC_END(_save64gpr_23)
FUNC_END(_save64gpr_22)
FUNC_END(_save64gpr_21)
FUNC_END(_save64gpr_20)
FUNC_END(_save64gpr_19)
FUNC_END(_save64gpr_18)
FUNC_END(_save64gpr_17)
FUNC_END(_save64gpr_16)
FUNC_END(_save64gpr_15)
FUNC_END(_save64gpr_14)
#endif
| 33.643836 | 76 | 0.785016 |
81d6e0c7202af625305909be78995c0f99b8438e | 22,109 | asm | Assembly | maps/old/TeamRocketBaseB2F.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | maps/TeamRocketBaseB2F.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | null | null | null | maps/TeamRocketBaseB2F.asm | TastySnax12/pokecrystal16-493-plus | 9de36c8803c9bdf4b8564ed547f988b0b66f0c41 | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | object_const_def ; object_event constants
const TEAMROCKETBASEB2F_ROCKET1
const TEAMROCKETBASEB2F_ROCKET_GIRL
const TEAMROCKETBASEB2F_LANCE
const TEAMROCKETBASEB2F_DRAGON
const TEAMROCKETBASEB2F_ELECTRODE1
const TEAMROCKETBASEB2F_ELECTRODE2
const TEAMROCKETBASEB2F_ELECTRODE3
const TEAMROCKETBASEB2F_ELECTRODE4
const TEAMROCKETBASEB2F_ELECTRODE5
const TEAMROCKETBASEB2F_ELECTRODE6
const TEAMROCKETBASEB2F_ROCKET2
const TEAMROCKETBASEB2F_ROCKET3
const TEAMROCKETBASEB2F_ROCKET4
const TEAMROCKETBASEB2F_POKE_BALL
TeamRocketBaseB2F_MapScripts:
db 4 ; scene scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS
scene_script .DummyScene2 ; SCENE_TEAMROCKETBASEB2F_ELECTRODES
scene_script .DummyScene3 ; SCENE_TEAMROCKETBASEB2F_NOTHING
db 1 ; callbacks
callback MAPCALLBACK_TILES, .TransmitterDoorCallback
.DummyScene0:
end
.DummyScene1:
end
.DummyScene2:
end
.DummyScene3:
end
.TransmitterDoorCallback:
checkevent EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER
iftrue .OpenDoor
return
.OpenDoor:
changeblock 14, 12, $07 ; floor
return
RocketBaseBossFLeft:
moveobject TEAMROCKETBASEB2F_LANCE, 9, 13
sjump RocketBaseBossFScript
RocketBaseBossFRight:
moveobject TEAMROCKETBASEB2F_ROCKET_GIRL, 21, 16
moveobject TEAMROCKETBASEB2F_ROCKET1, 21, 16
moveobject TEAMROCKETBASEB2F_DRAGON, 10, 13
moveobject TEAMROCKETBASEB2F_LANCE, 10, 13
RocketBaseBossFScript:
appear TEAMROCKETBASEB2F_ROCKET_GIRL
appear TEAMROCKETBASEB2F_ROCKET1
opentext
writetext UnknownText_0x6d2ad
waitbutton
closetext
turnobject PLAYER, DOWN
showemote EMOTE_SHOCK, PLAYER, 15
applymovement PLAYER, MovementData_0x6d21f
playmusic MUSIC_ROCKET_ENCOUNTER
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d224
turnobject PLAYER, UP
applymovement TEAMROCKETBASEB2F_ROCKET1, MovementData_0x6d22f
opentext
writetext UnknownText_0x6d2c3
waitbutton
closetext
cry DRAGONITE
turnobject TEAMROCKETBASEB2F_ROCKET_GIRL, LEFT
turnobject PLAYER, LEFT
appear TEAMROCKETBASEB2F_DRAGON
applymovement TEAMROCKETBASEB2F_DRAGON, MovementData_0x6d236
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d23b
applymovement TEAMROCKETBASEB2F_ROCKET1, MovementData_0x6d24c
appear TEAMROCKETBASEB2F_LANCE
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d244
opentext
writetext UnknownText_0x6d38c
waitbutton
closetext
turnobject PLAYER, RIGHT
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d241
opentext
writetext UnknownText_0x6d3bd
waitbutton
closetext
applymovement TEAMROCKETBASEB2F_ROCKET1, MovementData_0x6d24a
applymovement TEAMROCKETBASEB2F_ROCKET_GIRL, MovementData_0x6d248
winlosstext UnknownText_0x6d45c, 0
setlasttalked TEAMROCKETBASEB2F_ROCKET_GIRL
loadtrainer EXECUTIVEF, EXECUTIVEF_2
startbattle
disappear TEAMROCKETBASEB2F_DRAGON
setevent EVENT_TEAM_ROCKET_BASE_B2F_EXECUTIVE
setevent EVENT_TEAM_ROCKET_BASE_B2F_GRUNT_WITH_EXECUTIVE
setevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE
reloadmapafterbattle
setevent EVENT_BEAT_ROCKET_EXECUTIVEF_2
opentext
writetext UnknownText_0x6d4c6
waitbutton
closetext
special FadeBlackQuickly
special ReloadSpritesNoPalettes
disappear TEAMROCKETBASEB2F_ROCKET1
disappear TEAMROCKETBASEB2F_ROCKET_GIRL
disappear TEAMROCKETBASEB2F_ROCKET2
disappear TEAMROCKETBASEB2F_ROCKET3
disappear TEAMROCKETBASEB2F_ROCKET4
pause 15
special FadeInQuickly
setscene SCENE_TEAMROCKETBASEB2F_ELECTRODES
clearevent EVENT_TEAM_ROCKET_BASE_B2F_LANCE
turnobject TEAMROCKETBASEB2F_LANCE, DOWN
opentext
writetext UnknownText_0x6d5d8
waitbutton
closetext
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d250
turnobject PLAYER, UP
opentext
writetext UnknownText_0x6d64e
waitbutton
closetext
follow TEAMROCKETBASEB2F_LANCE, PLAYER
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d254
stopfollow
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d258
opentext
writetext UnknownText_0x6d6cf
waitbutton
closetext
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d267
disappear TEAMROCKETBASEB2F_LANCE
RocketBaseCantLeaveScript:
applymovement PLAYER, MovementData_0x6d271
end
RocketBaseLancesSideScript:
opentext
writetext UnknownText_0x6d7ea
waitbutton
closetext
applymovement PLAYER, MovementData_0x6d278
end
LanceHealsScript1:
turnobject PLAYER, UP
sjump LanceHealsCommon
LanceHealsScript2:
turnobject PLAYER, RIGHT
turnobject TEAMROCKETBASEB2F_LANCE, LEFT
LanceHealsCommon:
opentext
writetext LanceHealsText1
waitbutton
closetext
special FadeOutPalettes
special StubbedTrainerRankings_Healings
playsound SFX_FULL_HEAL
special HealParty
special FadeInPalettes
opentext
writetext LanceHealsText2
waitbutton
closetext
setscene SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS
setevent EVENT_LANCE_HEALED_YOU_IN_TEAM_ROCKET_BASE
readvar VAR_FACING
ifequal RIGHT, .FacingRight
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d212
disappear TEAMROCKETBASEB2F_LANCE
end
.FacingRight:
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d219
disappear TEAMROCKETBASEB2F_LANCE
end
TrainerGruntM17:
trainer GRUNTM, GRUNTM_17, EVENT_BEAT_ROCKET_GRUNTM_17, GruntM17SeenText, GruntM17BeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext GruntM17AfterBattleText
waitbutton
closetext
end
TrainerGruntM18:
trainer GRUNTM, GRUNTM_18, EVENT_BEAT_ROCKET_GRUNTM_18, GruntM18SeenText, GruntM18BeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext GruntM18AfterBattleText
waitbutton
closetext
end
TrainerGruntM19:
trainer GRUNTM, GRUNTM_19, EVENT_BEAT_ROCKET_GRUNTM_19, GruntM19SeenText, GruntM19BeatenText, 0, .Script
.Script:
endifjustbattled
opentext
writetext GruntM19AfterBattleText
waitbutton
closetext
end
RocketElectrode1:
cry ELECTRODE
loadwildmon ELECTRODE, 23
startbattle
iftrue TeamRocketBaseB2FReloadMap
disappear TEAMROCKETBASEB2F_ELECTRODE1
disappear TEAMROCKETBASEB2F_ELECTRODE4
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3
iffalse TeamRocketBaseB2FReloadMap
reloadmapafterbattle
special PlayMapMusic
applymovement PLAYER, MovementData_0x6d28c
sjump RocketBaseElectrodeScript
RocketElectrode2:
cry ELECTRODE
loadwildmon ELECTRODE, 23
startbattle
iftrue TeamRocketBaseB2FReloadMap
disappear TEAMROCKETBASEB2F_ELECTRODE2
disappear TEAMROCKETBASEB2F_ELECTRODE5
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3
iffalse TeamRocketBaseB2FReloadMap
reloadmapafterbattle
special PlayMapMusic
applymovement PLAYER, MovementData_0x6d299
sjump RocketBaseElectrodeScript
RocketElectrode3:
cry ELECTRODE
loadwildmon ELECTRODE, 23
startbattle
iftrue TeamRocketBaseB2FReloadMap
disappear TEAMROCKETBASEB2F_ELECTRODE3
disappear TEAMROCKETBASEB2F_ELECTRODE6
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2
iffalse TeamRocketBaseB2FReloadMap
checkevent EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3
iffalse TeamRocketBaseB2FReloadMap
reloadmapafterbattle
special PlayMapMusic
applymovement PLAYER, MovementData_0x6d2a4
sjump RocketBaseElectrodeScript
TeamRocketBaseB2FReloadMap:
reloadmapafterbattle
end
RocketBaseElectrodeScript:
moveobject TEAMROCKETBASEB2F_LANCE, 18, 6
appear TEAMROCKETBASEB2F_LANCE
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d27a
turnobject PLAYER, RIGHT
opentext
writetext UnknownText_0x6d809
buttonsound
verbosegiveitem HM_WHIRLPOOL
setevent EVENT_GOT_HM06_WHIRLPOOL
writetext UnknownText_0x6d8f8
waitbutton
closetext
turnobject TEAMROCKETBASEB2F_LANCE, DOWN
opentext
writetext UnknownText_0x6d994
waitbutton
closetext
turnobject PLAYER, DOWN
applymovement TEAMROCKETBASEB2F_LANCE, MovementData_0x6d283
disappear TEAMROCKETBASEB2F_LANCE
setevent EVENT_CLEARED_ROCKET_HIDEOUT
clearflag ENGINE_ROCKET_SIGNAL_ON_CH20
setevent EVENT_ROUTE_43_GATE_ROCKETS
setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM
setscene SCENE_TEAMROCKETBASEB2F_NOTHING
clearevent EVENT_LAKE_OF_RAGE_CIVILIANS
setevent EVENT_TURNED_OFF_SECURITY_CAMERAS
setevent EVENT_SECURITY_CAMERA_1
setevent EVENT_SECURITY_CAMERA_2
setevent EVENT_SECURITY_CAMERA_3
setevent EVENT_SECURITY_CAMERA_4
setevent EVENT_SECURITY_CAMERA_5
end
TeamRocketBaseB2FLockedDoor:
conditional_event EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER, .Script
.Script:
opentext
checkevent EVENT_LEARNED_HAIL_GIOVANNI
iftrue .KnowsPassword
writetext UnknownText_0x6dd39
waitbutton
closetext
end
.KnowsPassword:
writetext UnknownText_0x6dd6b
waitbutton
playsound SFX_ENTER_DOOR
changeblock 14, 12, $07 ; floor
reloadmappart
closetext
setevent EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER
waitsfx
end
TeamRocketBaseB2FTransmitterScript:
opentext
checkevent EVENT_CLEARED_ROCKET_HIDEOUT
iftrue .Deactivated
writetext UnknownText_0x6dda7
waitbutton
closetext
end
.Deactivated:
writetext UnknownText_0x6de03
waitbutton
closetext
end
TeamRocketBaseB2FTMThief:
tmhmball TM_THIEF
TeamRocketBaseB2FHiddenFullHeal:
hiddenitem FULL_HEAL, EVENT_TEAM_ROCKET_BASE_B2F_HIDDEN_FULL_HEAL
MovementData_0x6d212:
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
MovementData_0x6d219:
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
MovementData_0x6d21f:
step DOWN
step DOWN
step DOWN
turn_head RIGHT
step_end
MovementData_0x6d224:
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step UP
big_step LEFT
big_step LEFT
big_step LEFT
big_step LEFT
turn_head DOWN
step_end
MovementData_0x6d22f:
big_step LEFT
big_step LEFT
big_step UP
big_step UP
big_step LEFT
big_step LEFT
step_end
MovementData_0x6d236:
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
MovementData_0x6d23b:
fix_facing
set_sliding
jump_step RIGHT
remove_sliding
remove_fixed_facing
step_end
MovementData_0x6d241:
slow_step DOWN
turn_head LEFT
step_end
MovementData_0x6d244:
step RIGHT
step RIGHT
step RIGHT
step_end
MovementData_0x6d248:
big_step LEFT
step_end
MovementData_0x6d24a:
big_step LEFT
step_end
MovementData_0x6d24c:
big_step LEFT
big_step UP
turn_head LEFT
step_end
MovementData_0x6d250:
step RIGHT
step RIGHT
turn_head DOWN
step_end
MovementData_0x6d254:
step UP
step UP
step UP
step_end
MovementData_0x6d258:
step_sleep 8
step LEFT
step LEFT
turn_head UP
step_sleep 8
step RIGHT
step RIGHT
step RIGHT
step RIGHT
turn_head UP
step_sleep 8
step LEFT
step LEFT
turn_head DOWN
step_end
MovementData_0x6d267:
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step UP
step UP
step UP
step UP
step UP
step_end
MovementData_0x6d271:
step UP
step LEFT
step LEFT
step LEFT
step LEFT
turn_head UP
step_end
MovementData_0x6d278:
step LEFT
step_end
MovementData_0x6d27a:
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step LEFT
step LEFT
step LEFT
step_end
MovementData_0x6d283:
step DOWN
step DOWN
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step LEFT
step_end
MovementData_0x6d28c:
step RIGHT
step RIGHT
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
MovementData_0x6d299:
step RIGHT
step RIGHT
step DOWN
step DOWN
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
MovementData_0x6d2a4:
step RIGHT
step RIGHT
step DOWN
step DOWN
step RIGHT
step RIGHT
step RIGHT
step RIGHT
step_end
UnknownText_0x6d2ad:
text "Hold it right"
line "there!"
done
UnknownText_0x6d2c3:
text "We can't have a"
line "brat like you on"
cont "the loose."
para "It's harmful to"
line "TEAM ROCKET's"
cont "pride, you see."
para "However strong you"
line "may be, you can't"
para "take both of us at"
line "the same time."
para "Sorry, baby. Now"
line "get ready to be"
cont "thrashed."
done
UnknownText_0x6d38c:
text "Hey! Don't be so"
line "selfish. Spread"
cont "the fun around."
done
UnknownText_0x6d3bd:
text "What? You had an"
line "accomplice?"
para "Where is your"
line "sense of honor?"
para "As the interim"
line "boss in place of"
para "GIOVANNI, I'll"
line "show you how wrong"
para "it is to meddle"
line "with TEAM ROCKET!"
done
UnknownText_0x6d45c:
text "Tch, you really"
line "are strong."
para "It's too bad."
para "If you were to"
line "join TEAM ROCKET,"
para "you could become"
line "an EXECUTIVE."
done
UnknownText_0x6d4c6:
text "…This hideout is"
line "done for…"
para "But that's fine."
line "The broadcast ex-"
cont "periment was a"
cont "total success."
para "It doesn't matter"
line "what happens to"
cont "this hideout now."
para "We have much big-"
line "ger plans."
para "You'll come to"
line "appreciate TEAM"
para "ROCKET's true"
line "power soon enough."
para "Enjoy yourself"
line "while you can…"
para "Fufufufu…"
done
UnknownText_0x6d5d8:
text "LANCE: That did"
line "it. We defeated"
para "all the ROCKETS"
line "here."
para "But I'm concerned"
line "about the young"
para "guy I battled in"
line "the process…"
done
UnknownText_0x6d64e:
text "Sorry, <PLAY_G>."
line "I saw how well you"
para "were doing, so I"
line "just hung back."
para "Now all there is"
line "left to do is to"
para "turn off that odd"
line "radio signal."
done
UnknownText_0x6d6cf:
text "It's this machine"
line "that's causing all"
cont "the problems."
para "I don't see a"
line "switch on it…"
para "We have no choice."
line "We have to make"
para "all the ELECTRODE"
line "faint."
para "That should stop"
line "this machine from"
para "transmitting that"
line "strange signal."
para "It's no fault of"
line "the #MON, so it"
para "makes me feel"
line "guilty."
para "<PLAY_G>, let's"
line "split the job."
done
UnknownText_0x6d7ea:
text "LANCE: Leave this"
line "side to me."
done
UnknownText_0x6d809:
text "LANCE: That odd"
line "signal has finally"
cont "stopped."
para "The LAKE should be"
line "back to normal."
para "You're the hero!"
line "Let me thank you"
para "on behalf of all"
line "the #MON."
para "Oh, yes. You"
line "should take this."
para "I found it here,"
line "but I don't have"
cont "any need for it."
done
UnknownText_0x6d8e6:
text "<PLAYER> received"
line "HM06."
done
UnknownText_0x6d8f8:
text "That's WHIRLPOOL."
line "Teach it to a"
para "#MON to get"
line "across wild water."
para "But keep this in"
line "mind."
para "You can use that"
line "out of battle only"
para "with the BADGE"
line "from MAHOGANY GYM."
done
UnknownText_0x6d994:
text "<PLAY_G>…"
para "The journey to be-"
line "coming the #MON"
para "MASTER is long and"
line "difficult."
para "Knowing that, will"
line "you keep going?"
para "…"
para "I see. No, you're"
line "right."
para "If you would give"
line "up that easily,"
para "you would have"
line "never chased that"
para "dream in the first"
line "place."
para "I look forward to"
line "seeing you again!"
done
LanceHealsText1:
text "LANCE: Are you all"
line "right?"
para "Your #MON are"
line "hurt and tired."
para "Here, give them"
line "some of my medi-"
cont "cine."
done
LanceHealsText2:
text "LANCE: <PLAY_G>,"
line "let's give it our"
cont "best for #MON."
done
GruntM17SeenText:
text "The door won't"
line "open?"
para "Well, duh."
line "It has to have a"
para "password that only"
line "TEAM ROCKET knows."
done
GruntM17BeatenText:
text "What? I lost?"
done
GruntM17AfterBattleText:
text "Heh, I'm just a"
line "GRUNT."
para "I don't know the"
line "password. Too bad"
cont "for you."
done
GruntM18SeenText:
text "Oh, a kid? I don't"
line "really like this,"
para "but eliminate you"
line "I must."
done
GruntM18BeatenText:
text "I knew I'd lose…"
done
GruntM18AfterBattleText:
text "I got wiped out on"
line "the last mission"
cont "by a kid too."
para "When we were ab-"
line "ducting #MON,"
para "this kid with long"
line "red hair and mean-"
para "looking eyes just"
line "creamed me…"
done
GruntM19SeenText:
text "You rotten little"
line "pest!"
done
GruntM19BeatenText:
text "Grrrr…"
done
GruntM19AfterBattleText:
text "Heh, only the boss"
line "knows the password"
cont "for that door."
para "Where's the boss?"
line "Who knows? Go look"
cont "for yourself."
done
UnknownText_0x6dd39:
text "The door's closed…"
para "It needs a pass-"
line "word to open."
done
UnknownText_0x6dd6b:
text "The door's closed…"
para "<PLAYER> entered"
line "the password."
para "The door opened!"
done
UnknownText_0x6dda7:
text "It's the radio"
line "transmitter that's"
para "sending the"
line "sinister signal."
para "It's working at"
line "full capacity."
done
UnknownText_0x6de03:
text "The radio trans-"
line "mitter has finally"
para "stopped its evil"
line "broadcast."
done
TeamRocketBaseB2F_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
warp_event 3, 14, TEAM_ROCKET_BASE_B1F, 2
warp_event 3, 2, TEAM_ROCKET_BASE_B3F, 1
warp_event 27, 2, TEAM_ROCKET_BASE_B3F, 2
warp_event 3, 6, TEAM_ROCKET_BASE_B3F, 3
warp_event 27, 14, TEAM_ROCKET_BASE_B3F, 4
db 9 ; coord events
coord_event 5, 14, SCENE_DEFAULT, LanceHealsScript1
coord_event 4, 13, SCENE_DEFAULT, LanceHealsScript2
coord_event 14, 11, SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS, RocketBaseBossFLeft
coord_event 15, 11, SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS, RocketBaseBossFRight
coord_event 14, 12, SCENE_TEAMROCKETBASEB2F_ELECTRODES, RocketBaseCantLeaveScript
coord_event 15, 12, SCENE_TEAMROCKETBASEB2F_ELECTRODES, RocketBaseCantLeaveScript
coord_event 12, 3, SCENE_TEAMROCKETBASEB2F_ELECTRODES, RocketBaseLancesSideScript
coord_event 12, 10, SCENE_TEAMROCKETBASEB2F_ELECTRODES, RocketBaseLancesSideScript
coord_event 12, 11, SCENE_TEAMROCKETBASEB2F_ELECTRODES, RocketBaseLancesSideScript
db 23 ; bg events
bg_event 14, 12, BGEVENT_IFNOTSET, TeamRocketBaseB2FLockedDoor
bg_event 15, 12, BGEVENT_IFNOTSET, TeamRocketBaseB2FLockedDoor
bg_event 17, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 16, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 15, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 14, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 13, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 9, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 8, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 7, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 6, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 5, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 12, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 13, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 14, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 15, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 16, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 17, 4, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 17, 5, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 17, 6, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 17, 7, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 17, 8, BGEVENT_READ, TeamRocketBaseB2FTransmitterScript
bg_event 26, 7, BGEVENT_ITEM, TeamRocketBaseB2FHiddenFullHeal
db 14 ; object events
object_event 20, 16, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_GRUNT_WITH_EXECUTIVE
object_event 20, 16, SPRITE_ROCKET_GIRL, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_EXECUTIVE
object_event 5, 13, SPRITE_LANCE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_LANCE
object_event 9, 13, SPRITE_DRAGON, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_DRAGONITE
object_event 7, 5, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketElectrode1, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1
object_event 7, 7, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketElectrode2, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2
object_event 7, 9, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, RocketElectrode3, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3
object_event 22, 5, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1
object_event 22, 7, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2
object_event 22, 9, SPRITE_VOLTORB, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3
object_event 25, 13, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 3, TrainerGruntM17, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 4, 1, SPRITE_ROCKET, SPRITEMOVEDATA_SPINRANDOM_FAST, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 1, TrainerGruntM18, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 21, 14, SPRITE_ROCKET, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_TRAINER, 4, TrainerGruntM19, EVENT_TEAM_ROCKET_BASE_POPULATION
object_event 3, 10, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_TMHMBALL, 0, TeamRocketBaseB2FTMThief, EVENT_TEAM_ROCKET_BASE_B2F_TM_THIEF
| 22.792784 | 168 | 0.811208 |
53de4ea5fffe44b5f864a60d0fecdf5d3a0b43d1 | 681 | asm | Assembly | oeis/015/A015578.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/015/A015578.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/015/A015578.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A015578: Expansion of x/(1 - 8*x - 11*x^2).
; Submitted by Jon Maiga
; 0,1,8,75,688,6329,58200,535219,4921952,45263025,416245672,3827858651,35201571600,323719017961,2976969431288,27376664647875,251759980927168,2315223158543969,21291145058550600,195796615212388459,1800575517343164272,16558366906081587225,152273265939427504792,1400328163482317497811,12877631233192242535200,118424659663843432757521,1089051220875862129947368,10015081023309174799911675,92100211616107881828714448,846967584185263977428744009,7788843001259298519545811000,71627387436112291908082672099
mov $1,1
lpb $0
sub $0,1
mov $3,$1
mov $1,$2
mul $1,11
mul $2,7
add $2,$3
add $1,$2
lpe
mov $0,$2
| 42.5625 | 496 | 0.823789 |
d22dceb6a9373798640834ed02de89c6ad1889a2 | 421 | asm | Assembly | oeis/343/A343174.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/343/A343174.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/343/A343174.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A343174: Partial sums of paper-folding sequence A014577.
; Submitted by Jamie Morken(s1)
; 1,2,2,3,4,4,4,5,6,7,7,7,8,8,8,9,10,11,11,12,13,13,13,13,14,15,15,15,16,16,16,17,18,19,19,20,21,21,21,22,23,24,24,24,25,25,25,25,26,27,27,28,29,29,29,29,30,31,31,31,32,32,32,33,34,35,35,36,37,37,37,38,39,40,40,40
mov $1,$0
add $1,1
lpb $1
mov $2,$1
div $1,2
add $2,$1
mod $2,2
add $0,$2
lpe
mul $0,3
div $0,6
add $0,1
| 24.764706 | 213 | 0.627078 |
2b9e9e1abf00040b9c54f197a7f779f7a4574882 | 453 | asm | Assembly | backup/readtest.asm | limlnlog/jff-os | e58cce55847ad9f55edcd693fc2ef414e57844be | [
"MIT"
] | 1 | 2018-09-25T14:41:40.000Z | 2018-09-25T14:41:40.000Z | backup/readtest.asm | limlnlog/jff-os | e58cce55847ad9f55edcd693fc2ef414e57844be | [
"MIT"
] | null | null | null | backup/readtest.asm | limlnlog/jff-os | e58cce55847ad9f55edcd693fc2ef414e57844be | [
"MIT"
] | null | null | null | [org 0x00]
[bits 16]
section .text
jmp 0x1000:Start
sectorcount: dw 0x0000
totalsectorcount equ 1024
Start:
mov ax, cs
mov ds, ax
mov ax, 0xb800
mov es, ax
%assign i 0
%rep totalsectorcount
%assign i i+1
mov ax, 2
mul word[sectorcount]
mov si, ax
mov byte[es:si], '0'+(i % 10)
inc word[sectorcount]
%if i == totalsectorcount
jmp $
%else
jmp (0x1000 + i * 0x20):0x0000
%endif
times (512 - ($ - $$) % 512) db 0x00
%endrep | 16.777778 | 38 | 0.642384 |
93b111cc78dd2785f9eddb0486b03ba4df5e27fa | 950 | asm | Assembly | programs/oeis/017/A017079.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/017/A017079.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/017/A017079.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A017079: a(n) = (8*n + 1)^3.
; 1,729,4913,15625,35937,68921,117649,185193,274625,389017,531441,704969,912673,1157625,1442897,1771561,2146689,2571353,3048625,3581577,4173281,4826809,5545233,6331625,7189057,8120601,9129329,10218313,11390625,12649337,13997521,15438249,16974593,18609625,20346417,22188041,24137569,26198073,28372625,30664297,33076161,35611289,38272753,41063625,43986977,47045881,50243409,53582633,57066625,60698457,64481201,68417929,72511713,76765625,81182737,85766121,90518849,95443993,100544625,105823817,111284641,116930169,122763473,128787625,135005697,141420761,148035889,154854153,161878625,169112377,176558481,184220009,192100033,200201625,208527857,217081801,225866529,234885113,244140625,253636137,263374721,273359449,283593393,294079625,304821217,315821241,327082769,338608873,350402625,362467097,374805361,387420489,400315553,413493625,426957777,440711081,454756609,469097433,483736625,498677257
mul $0,8
add $0,1
pow $0,3
| 135.714286 | 890 | 0.86 |
bc1a48f40932d1b8733e50c25752a49b3f1f0109 | 7,204 | asm | Assembly | ffmpeg-3.2.5/libavcodec/x86/synth_filter.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 3,645 | 2016-08-25T09:31:17.000Z | 2022-03-25T06:28:34.000Z | ffmpeg-3.2.5/libavcodec/x86/synth_filter.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | ffmpeg-3.2.5/libavcodec/x86/synth_filter.asm | huyu0415/FFmpeg | 7a3f75791cb3255805bf17126d4074a328f46c8c | [
"Apache-2.0"
] | 764 | 2016-08-26T09:19:00.000Z | 2022-03-22T12:07:16.000Z | ;******************************************************************************
;* SSE-optimized functions for the DCA decoder
;* Copyright (C) 2012-2014 Christophe Gisquet <christophe.gisquet@gmail.com>
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the Free Software Foundation; either
;* version 2.1 of the License, or (at your option) any later version.
;*
;* FFmpeg is distributed in the hope that it will be useful,
;* but WITHOUT ANY WARRANTY; without even the implied warranty of
;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;* Lesser General Public License for more details.
;*
;* You should have received a copy of the GNU Lesser General Public
;* License along with FFmpeg; if not, write to the Free Software
;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
;******************************************************************************
%include "libavutil/x86/x86util.asm"
SECTION .text
%macro SETZERO 1
%if cpuflag(sse2) && notcpuflag(avx)
pxor %1, %1
%else
xorps %1, %1, %1
%endif
%endmacro
%macro SHUF 3
%if cpuflag(avx)
mova %3, [%2 - 16]
vperm2f128 %1, %3, %3, 1
vshufps %1, %1, %1, q0123
%elif cpuflag(sse2)
pshufd %1, [%2], q0123
%else
mova %1, [%2]
shufps %1, %1, q0123
%endif
%endmacro
%macro INNER_LOOP 1
; reading backwards: ptr1 = synth_buf + j + i; ptr2 = synth_buf + j - i
;~ a += window[i + j] * (-synth_buf[15 - i + j])
;~ b += window[i + j + 16] * (synth_buf[i + j])
SHUF m5, ptr2 + j + (15 - 3) * 4, m6
mova m6, [ptr1 + j]
%if ARCH_X86_64
SHUF m11, ptr2 + j + (15 - 3) * 4 - mmsize, m12
mova m12, [ptr1 + j + mmsize]
%endif
%if cpuflag(fma3)
fmaddps m2, m6, [win + %1 + j + 16 * 4], m2
fnmaddps m1, m5, [win + %1 + j], m1
%if ARCH_X86_64
fmaddps m8, m12, [win + %1 + j + mmsize + 16 * 4], m8
fnmaddps m7, m11, [win + %1 + j + mmsize], m7
%endif
%else ; non-FMA
mulps m6, m6, [win + %1 + j + 16 * 4]
mulps m5, m5, [win + %1 + j]
%if ARCH_X86_64
mulps m12, m12, [win + %1 + j + mmsize + 16 * 4]
mulps m11, m11, [win + %1 + j + mmsize]
%endif
addps m2, m2, m6
subps m1, m1, m5
%if ARCH_X86_64
addps m8, m8, m12
subps m7, m7, m11
%endif
%endif ; cpuflag(fma3)
;~ c += window[i + j + 32] * (synth_buf[16 + i + j])
;~ d += window[i + j + 48] * (synth_buf[31 - i + j])
SHUF m6, ptr2 + j + (31 - 3) * 4, m5
mova m5, [ptr1 + j + 16 * 4]
%if ARCH_X86_64
SHUF m12, ptr2 + j + (31 - 3) * 4 - mmsize, m11
mova m11, [ptr1 + j + mmsize + 16 * 4]
%endif
%if cpuflag(fma3)
fmaddps m3, m5, [win + %1 + j + 32 * 4], m3
fmaddps m4, m6, [win + %1 + j + 48 * 4], m4
%if ARCH_X86_64
fmaddps m9, m11, [win + %1 + j + mmsize + 32 * 4], m9
fmaddps m10, m12, [win + %1 + j + mmsize + 48 * 4], m10
%endif
%else ; non-FMA
mulps m5, m5, [win + %1 + j + 32 * 4]
mulps m6, m6, [win + %1 + j + 48 * 4]
%if ARCH_X86_64
mulps m11, m11, [win + %1 + j + mmsize + 32 * 4]
mulps m12, m12, [win + %1 + j + mmsize + 48 * 4]
%endif
addps m3, m3, m5
addps m4, m4, m6
%if ARCH_X86_64
addps m9, m9, m11
addps m10, m10, m12
%endif
%endif ; cpuflag(fma3)
sub j, 64 * 4
%endmacro
; void ff_synth_filter_inner_<opt>(float *synth_buf, float synth_buf2[32],
; const float window[512], float out[32],
; intptr_t offset, float scale)
%macro SYNTH_FILTER 0
cglobal synth_filter_inner, 0, 6 + 4 * ARCH_X86_64, 7 + 6 * ARCH_X86_64, \
synth_buf, synth_buf2, window, out, off, scale
%define scale m0
%if ARCH_X86_32 || WIN64
%if cpuflag(sse2) && notcpuflag(avx)
movd scale, scalem
SPLATD m0
%else
VBROADCASTSS m0, scalem
%endif
; Make sure offset is in a register and not on the stack
%define OFFQ r4q
%else
SPLATD xmm0
%if cpuflag(avx)
vinsertf128 m0, m0, xmm0, 1
%endif
%define OFFQ offq
%endif
; prepare inner counter limit 1
mov r5q, 480
sub r5q, offmp
and r5q, -64
shl r5q, 2
%if ARCH_X86_32 || notcpuflag(avx)
mov OFFQ, r5q
%define i r5q
mov i, 16 * 4 - (ARCH_X86_64 + 1) * mmsize ; main loop counter
%else
%define i 0
%define OFFQ r5q
%endif
%define buf2 synth_buf2q
%if ARCH_X86_32
mov buf2, synth_buf2mp
%endif
.mainloop:
; m1 = a m2 = b m3 = c m4 = d
SETZERO m3
SETZERO m4
mova m1, [buf2 + i]
mova m2, [buf2 + i + 16 * 4]
%if ARCH_X86_32
%define ptr1 r0q
%define ptr2 r1q
%define win r2q
%define j r3q
mov win, windowm
mov ptr1, synth_bufm
%if ARCH_X86_32 || notcpuflag(avx)
add win, i
add ptr1, i
%endif
%else ; ARCH_X86_64
%define ptr1 r6q
%define ptr2 r7q ; must be loaded
%define win r8q
%define j r9q
SETZERO m9
SETZERO m10
mova m7, [buf2 + i + mmsize]
mova m8, [buf2 + i + mmsize + 16 * 4]
lea win, [windowq + i]
lea ptr1, [synth_bufq + i]
%endif
mov ptr2, synth_bufmp
; prepare the inner loop counter
mov j, OFFQ
%if ARCH_X86_32 || notcpuflag(avx)
sub ptr2, i
%endif
.loop1:
INNER_LOOP 0
jge .loop1
mov j, 448 * 4
sub j, OFFQ
jz .end
sub ptr1, j
sub ptr2, j
add win, OFFQ ; now at j-64, so define OFFSET
sub j, 64 * 4
.loop2:
INNER_LOOP 64 * 4
jge .loop2
.end:
%if ARCH_X86_32
mov buf2, synth_buf2m ; needed for next iteration anyway
mov outq, outmp ; j, which will be set again during it
%endif
;~ out[i] = a * scale;
;~ out[i + 16] = b * scale;
mulps m1, m1, scale
mulps m2, m2, scale
%if ARCH_X86_64
mulps m7, m7, scale
mulps m8, m8, scale
%endif
;~ synth_buf2[i] = c;
;~ synth_buf2[i + 16] = d;
mova [buf2 + i + 0 * 4], m3
mova [buf2 + i + 16 * 4], m4
%if ARCH_X86_64
mova [buf2 + i + 0 * 4 + mmsize], m9
mova [buf2 + i + 16 * 4 + mmsize], m10
%endif
;~ out[i] = a;
;~ out[i + 16] = a;
mova [outq + i + 0 * 4], m1
mova [outq + i + 16 * 4], m2
%if ARCH_X86_64
mova [outq + i + 0 * 4 + mmsize], m7
mova [outq + i + 16 * 4 + mmsize], m8
%endif
%if ARCH_X86_32 || notcpuflag(avx)
sub i, (ARCH_X86_64 + 1) * mmsize
jge .mainloop
%endif
RET
%endmacro
%if ARCH_X86_32
INIT_XMM sse
SYNTH_FILTER
%endif
INIT_XMM sse2
SYNTH_FILTER
INIT_YMM avx
SYNTH_FILTER
INIT_YMM fma3
SYNTH_FILTER
| 29.165992 | 79 | 0.521655 |
7e49146ee0884a00752b402ebdeac162d9985cc2 | 391 | asm | Assembly | solutions/26 - Budget Brigade 2/size-17_speed-69.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 45 | 2018-09-05T04:56:59.000Z | 2021-11-22T08:57:26.000Z | solutions/26 - Budget Brigade 2/size-17_speed-69.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T11:34:26.000Z | 2021-05-19T23:20:49.000Z | solutions/26 - Budget Brigade 2/size-17_speed-69.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T07:44:19.000Z | 2021-09-10T19:07:35.000Z | -- 7 Billion Humans (2053) --
-- 26: Budget Brigade 2 --
-- Author: ansvonwa
-- Size: 17
-- Speed: 69
if s == printer:
a:
takefrom s
giveto n
jump a
endif
if n == worker:
b:
if myitem != nothing:
giveto n
endif
jump b
endif
if s == shredder:
c:
if myitem == datacube:
giveto s
endif
jump c
endif
d:
if myitem >= 50:
giveto e
endif
if myitem < 50:
giveto w
endif
jump d
| 10.289474 | 29 | 0.626598 |
372cc881ada31289d1697122c59b9f4e98c9558e | 513 | asm | Assembly | oeis/060/A060587.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/060/A060587.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/060/A060587.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A060587: A ternary code: inverse of A060583.
; Submitted by Christian Krause
; 0,2,1,8,7,6,4,3,5,24,26,25,23,22,21,19,18,20,12,14,13,11,10,9,16,15,17,72,74,73,80,79,78,76,75,77,69,71,70,68,67,66,64,63,65,57,59,58,56,55,54,61,60,62,36,38,37,44,43,42,40,39,41,33,35,34,32,31,30,28,27,29,48,50,49,47,46,45,52,51,53,216,218,217,224,223,222,220,219,221,240,242,241,239,238,237,235,234,236,228
mov $2,1
lpb $0
mov $3,$0
div $0,3
add $3,$0
mul $3,2
mod $3,3
mul $3,$2
add $1,$3
mul $2,3
lpe
mov $0,$1
| 30.176471 | 310 | 0.637427 |
a740f43548395f749e21b74bb5afa2ea72d91ffb | 601 | asm | Assembly | programs/oeis/038/A038764.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/038/A038764.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/038/A038764.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A038764: a(n) = (9*n^2 + 3*n + 2)/2.
; 1,7,22,46,79,121,172,232,301,379,466,562,667,781,904,1036,1177,1327,1486,1654,1831,2017,2212,2416,2629,2851,3082,3322,3571,3829,4096,4372,4657,4951,5254,5566,5887,6217,6556,6904,7261,7627,8002,8386,8779,9181,9592,10012,10441,10879,11326,11782,12247,12721,13204,13696,14197,14707,15226,15754,16291,16837,17392,17956,18529,19111,19702,20302,20911,21529,22156,22792,23437,24091,24754,25426,26107,26797,27496,28204,28921,29647,30382,31126,31879,32641,33412,34192,34981,35779,36586,37402,38227,39061,39904,40756,41617,42487,43366,44254
mul $0,-3
bin $0,2
add $0,1
| 85.857143 | 532 | 0.768719 |
92b3224ab96cdacfe0f7fa2d73f11233fb495f9e | 152 | asm | Assembly | Lista_2/questaoQuatro.asm | 0Augusto/ArquiteturadeComputadores2 | 277fdf94028114cd9328dfc5ed2de7cc7bc68393 | [
"Apache-2.0"
] | 1 | 2022-03-03T17:22:21.000Z | 2022-03-03T17:22:21.000Z | Lista_2/questaoQuatro.asm | 0Augusto/ArquiteturadeComputadores2 | 277fdf94028114cd9328dfc5ed2de7cc7bc68393 | [
"Apache-2.0"
] | null | null | null | Lista_2/questaoQuatro.asm | 0Augusto/ArquiteturadeComputadores2 | 277fdf94028114cd9328dfc5ed2de7cc7bc68393 | [
"Apache-2.0"
] | null | null | null | .text
.globl main
main :
addi $s1, $0, 3 # $s1 = 3
addi $t0, $0, 4
div $s1, $t0 # 3/4 — hi — resto (parte alta) e lo — quociente (parte baixa)
| 15.2 | 76 | 0.546053 |
835936a99601bf54c890b945fd841ba7b2fa7291 | 1,963 | asm | Assembly | day22/a_asm.asm | itiB/hariboteOS_30days | f04fccc0f394f3f1687c547e65658af429898f48 | [
"MIT"
] | 1 | 2020-02-16T05:07:34.000Z | 2020-02-16T05:07:34.000Z | day22/a_asm.asm | itiB/hariboteOS_30days | f04fccc0f394f3f1687c547e65658af429898f48 | [
"MIT"
] | null | null | null | day22/a_asm.asm | itiB/hariboteOS_30days | f04fccc0f394f3f1687c547e65658af429898f48 | [
"MIT"
] | null | null | null | [CPU 486]
[BITS 32]
GLOBAL api_putchar
GLOBAL api_end
GLOBAL api_putstr0
GLOBAL api_openwin
GLOBAL api_putstrwin
GLOBAL api_boxfilwin
section .text
api_putchar: ; void api_putchar(int c)
MOV EDX, 1
MOV AL, [ESP + 4] ; c
INT 0x40
RET
api_end: ; void api_end(void)
MOV EDX, 4
INT 0x40
api_putstr0: ; void api_putstr0(char *s)
PUSH EBX
MOV EDX, 2
MOV EBX, [ESP + 8] ; s
INT 0x40
POP EBX
RET
api_openwin: ; int api_openwin(char *buf, int xsiz, int ysiz, int col_inv, char *title)
PUSH EDI
PUSH ESI
PUSH EBX
MOV EDX, 5
MOV EBX, [ESP + 16] ; buf
MOV ESI, [ESP + 20] ; xsiz
MOV EDI, [ESP + 24] ; ysiz
MOV EAX, [ESP + 28] ; col_inv
MOV ECX, [ESP + 32] ; title
INT 0x40
POP EBX
POP ESI
POP EDI
RET
api_putstrwin: ; void api_putstrwin(int win, int x, int y, int col, int len, char *str)
PUSH EDI
PUSH ESI
PUSH EBP
PUSH EBX
MOV EDX, 6
MOV EBX, [ESP + 20] ; win
MOV ESI, [ESP + 24] ; x
MOV EDI, [ESP + 28] ; y
MOV EAX, [ESP + 32] ; col
MOV ECX, [ESP + 36] ; len
MOV EBP, [ESP + 40] ; str
INT 0x40
POP EBX
POP EBP
POP ESI
POP EDI
RET
api_boxfilwin: ; void api_boxfilwin(int win, int x0, int y0, int x1, int y1, int col)
PUSH EDI
PUSH ESI
PUSH EBP
PUSH EBX
MOV EDX, 7
MOV EBX, [ESP + 20] ; win
MOV EAX, [ESP + 24] ; x0
MOV ECX, [ESP + 28] ; y0
MOV ESI, [ESP + 32] ; x1
MOV EDI, [ESP + 36] ; y1
MOV EBP, [ESP + 40] ; str
INT 0x40
POP EBX
POP EBP
POP ESI
POP EDI
RET | 23.650602 | 91 | 0.464595 |
3db3d5470fabea570c1afc9c5d582745e7852c2a | 6,333 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_7247_1588.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_7247_1588.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca_notsx.log_7247_1588.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 %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xece9, %rcx
clflush (%rcx)
nop
nop
nop
and %rbp, %rbp
mov $0x6162636465666768, %r8
movq %r8, (%rcx)
nop
nop
nop
nop
nop
sub $13619, %r11
lea addresses_WT_ht+0x8322, %r11
nop
nop
nop
nop
nop
xor $36594, %rax
mov (%r11), %rbx
cmp $51417, %rbp
lea addresses_UC_ht+0x39cc, %rcx
nop
nop
nop
nop
nop
and %r14, %r14
movl $0x61626364, (%rcx)
nop
nop
nop
nop
nop
sub $18987, %rcx
lea addresses_D_ht+0x79a9, %r11
nop
nop
nop
nop
nop
cmp $33921, %rbp
movups (%r11), %xmm6
vpextrq $0, %xmm6, %rcx
nop
nop
cmp $41026, %r11
lea addresses_D_ht+0x1a9c7, %rcx
nop
nop
xor $44252, %rbp
mov $0x6162636465666768, %rax
movq %rax, %xmm6
movups %xmm6, (%rcx)
nop
and $4305, %rcx
lea addresses_WC_ht+0x14ed7, %rsi
lea addresses_WC_ht+0xb229, %rdi
sub $10776, %r14
mov $92, %rcx
rep movsw
nop
nop
nop
dec %rdi
lea addresses_normal_ht+0x172e9, %rsi
nop
nop
add %r14, %r14
movb (%rsi), %cl
nop
nop
sub %r8, %r8
lea addresses_A_ht+0x5779, %rbp
cmp %rsi, %rsi
mov $0x6162636465666768, %r14
movq %r14, %xmm0
vmovups %ymm0, (%rbp)
nop
nop
nop
cmp $31498, %rbp
lea addresses_UC_ht+0x11ee9, %rsi
lea addresses_WT_ht+0x18a1d, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
sub %r14, %r14
mov $31, %rcx
rep movsq
nop
nop
nop
nop
nop
add $40058, %rax
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r8
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r15
push %r8
push %rdx
push %rsi
// Faulty Load
lea addresses_D+0xd0e9, %r11
nop
xor %r8, %r8
vmovaps (%r11), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r15
lea oracles, %r10
and $0xff, %r15
shlq $12, %r15
mov (%r10,%r15,1), %r15
pop %rsi
pop %rdx
pop %r8
pop %r15
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_D', 'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 4}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}}
{'46': 3, '00': 3280, '48': 3964}
00 48 48 48 48 00 00 48 48 00 00 48 48 00 00 00 48 48 48 48 48 00 00 00 00 00 00 48 48 48 00 48 48 48 00 48 48 48 48 00 00 00 48 48 48 00 00 00 48 00 48 48 00 00 48 00 48 48 00 48 00 48 48 00 00 00 48 48 48 48 00 00 00 00 48 48 48 48 00 00 48 48 00 48 48 48 48 48 48 48 48 48 48 48 00 48 00 00 00 48 00 00 00 48 48 00 00 00 00 00 00 48 48 48 00 00 00 00 00 00 00 48 48 00 00 00 00 00 00 48 00 48 48 48 48 48 00 48 48 00 00 00 48 00 48 48 00 00 00 48 00 00 00 48 48 48 48 00 48 00 48 48 00 48 48 48 00 00 00 48 00 00 00 00 48 48 48 48 48 48 00 00 00 48 48 00 48 00 48 48 00 00 48 00 48 00 48 48 00 48 48 48 00 00 00 48 00 00 48 48 48 00 00 00 00 00 48 48 00 00 48 48 00 48 00 48 00 00 00 00 00 48 48 48 48 48 00 48 48 00 48 48 48 48 48 00 48 48 00 00 48 48 00 00 00 48 00 00 00 00 48 48 48 48 48 48 00 48 48 48 48 48 48 48 48 48 00 48 00 00 00 48 48 00 00 48 00 48 48 00 00 48 00 48 48 48 48 00 48 00 00 00 48 48 00 00 00 48 48 00 48 00 48 48 00 00 48 48 00 48 48 48 48 00 00 00 48 00 48 00 00 48 00 00 00 48 48 00 00 48 48 00 00 48 48 00 00 00 48 00 48 48 48 48 00 00 00 00 00 48 48 48 48 48 48 00 48 48 48 00 48 00 00 00 48 00 48 00 00 48 00 48 48 00 48 00 00 00 00 00 48 48 00 48 48 00 48 00 00 00 48 00 48 00 00 00 48 48 00 48 48 48 48 00 00 48 00 48 00 48 48 00 48 00 00 00 00 48 00 00 48 00 00 48 48 48 00 48 48 48 48 00 00 00 00 00 00 00 48 48 48 00 00 00 48 48 48 48 00 48 48 00 48 00 48 48 00 00 00 00 00 00 48 00 00 00 48 48 48 48 00 00 48 48 00 48 48 48 48 48 48 00 48 48 48 48 00 00 48 00 48 00 00 00 00 48 00 00 48 48 00 48 00 48 00 48 48 48 00 48 48 48 48 00 48 00 48 00 00 48 00 00 48 00 00 48 48 00 48 00 00 00 00 00 48 48 48 00 00 48 48 00 48 48 00 48 48 48 00 00 00 48 48 00 48 00 00 48 48 00 48 00 48 00 48 48 00 48 00 48 48 00 48 48 48 48 00 48 48 00 00 00 48 48 48 00 00 00 48 48 00 00 48 48 48 00 48 48 48 48 00 00 00 00 48 00 48 48 48 00 48 00 00 48 00 00 48 00 00 48 00 48 00 48 48 00 00 48 48 00 00 00 00 00 48 48 00 00 00 48 00 00 00 00 48 48 00 48 48 48 48 00 00 00 00 00 48 00 00 00 48 48 48 00 00 48 00 48 48 00 00 00 00 48 48 48 00 00 48 48 00 00 48 48 48 00 00 48 00 48 48 48 48 48 00 48 00 48 00 48 48 48 48 00 48 00 48 00 00 48 00 00 00 00 00 00 48 48 48 48 48 48 48 00 48 48 48 48 00 00 00 00 48 00 00 48 48 00 00 48 00 00 00 00 00 00 48 48 00 00 00 48 48 48 00 48 00 48 48 48 00 48 48 48 48 48 48 00 00 00 00 00 48 00 48 48 00 00 00 48 48 00 00 48 00 00 48 00 00 48 00 48 48 48 00 00 00 48 48 48 48 48 00 48 00 48 48 48 00 48 48 48 48 00 00 48 48 00 48 48 00 00 48 00 00 48 00 00 00 48 48 48 48 00 00 48 48 48 48 00 48 00 48 48 48 48 48 00 48 00 00 48 00 48 48 48 00 00 00 00 00 00 00 00 00 48 48 00 48 48 00 48 00 00 00 00 00 00 48 48 48 00 00 00 00 00 00 48 48 00 48 48 00 48 48 48 48 48 00 00 00 48 00 48 48 48 48 48 00 48 48 00 48 00 00 48 48 48 48 00 48 48 48 48 48 00 00 00 00 00 48 48 00 48 48 00 00 48 00 00 00 00 00 00 00 48 48 48 48 48 00 48 48 00 00 00 00 48 48 48 48 48 00 00 48 00 00 48 00 48 00 00 00 00 48 00 00 48 48 48 00 48 48 48 48 48 00 00 00 48
*/
| 37.035088 | 2,999 | 0.658456 |
b8b427e9fc8e3ffb75708d8d07db9ae2a49d1f36 | 3,439 | asm | Assembly | iod/con2/ptr/csvec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | iod/con2/ptr/csvec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | iod/con2/ptr/csvec.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; cursor sprite con vector
; this sets the per job table so that all channels opened for this job
; will have a normal cursor (d2 = 0) or a sprite cursor (d2=1) it also sets
; the channels already opened by this job to use (not use) sprite cursor
; 2004-04-02 1.00 copyright (c) W. Lenerz
section driver
include 'DEV8_keys_sys'
include 'DEV8_keys_con'
include 'dev8_keys_qdos_sms'
include 'dev8_keys_chn'
include 'dev8_keys_err'
include 'dev8_keys_qu'
include 'dev8_keys_sysspr'
xdef pt_cursp
;+++
; PV_CURSP $1E
;
; Call parameters Return parameters
; D0 D0 error
; D1 jobID D1 smashed
; D2 status wished (0|1) D2 preserved
; D3 D3 preserved
;
; A0 A0 preserved
; A1 A1 preserved
; A2 A2 preserved
; A3 pointer to CON linkage block A3 preserved
;---
; errors
; IJOB wrong job ID
; NIMP something went horribly wrong : no job table!
; IPAR wrong parameter in d2
;+++
pvcreg reg d2/d5/d6/a0-a2
pt_cursp
movem.l pvcreg,-(sp)
move.l d1,d6 ; keep job ID
move.l d2,d5 ; keep action wished
beq.s cn_parok ; was 0 - param is ok
subq.w #1,d2
bne cs_ipar ; wasn't 1 or 0 : bad parameter
cn_parok
moveq #sms.info,d0
trap #1 ; get sysvars into A0
move.l d5,d2 ;
cmp.l #-1,d6 ; real job ID ?
bne.s cn_gtid ; ... yes
move.l d1,d6 ; ... no, so use this one
; set the byte in the job table, which will determine the cursor status
; of all future windows for that job
cn_gtid
move.l d6,d1 ; ID of job to treat
move.l pt_cjob(a3),d0 ; pointer to job status block
beq.s cs_nimp ; there is none????
move.l d0,a1 ; cursor job table
move.l sys_jbtt(a0),d0 , top of job table
sub.l sys_jbtb(a0),d0 ; nbr of jobs * 4
tst.w d6 ;
blt.s cs_ijob ; negative index into job table???
lsl.w #2,d6 ; make long word entry into table
cmp.w d0,d6 ; are we in table?
bgt.s cs_ijob ; ...no, out of job table!
swap d1 ; job tag in lower word
cmp.w (a1,d6.w),d1 ; is this really that job?
bne.s cs_ijob ; ... no ???
andi.w #$ff,d2 ; just to be on the safe side
move.w d2,2(a1,d6.w) ; set new cursor status for this job
mulu #sp.cursor,d2 ; sprite number or 0
; now scan the channel defns to find all screen channels open for this job
; and set the necessary data in them
move.l sys_clnk(a0),d0 ; pointer scr/con dev driver defn block
add.l #$18,d0 ; jump over linkage block
move.l sys_chtb(a0),a2 ; channel table base
move.l sys_chtt(a0),d5 ; channel table top
swap d1
move.l d1,d6 ; correct job ID
cs_fndch
cmp.l d5,a2 ; off top of channel table?
bhs.s cs_nf ; ... yes, finished
move.l (a2)+,a1 ; pointer to chan defn block
cmp.l chn_ownr(a1),d6 ; is this channel owned by this job?
bne.s cs_fndch ; ... no, do next then
cmp.l chn_drvr(a1),d0 ; is channel a scr/con channel?
bne.s cs_fndch ; ... no, do next then
cs_sspr ; check for sprite cursor now
lea sd.extnl+sd_keyq(a1),a1 ; point to keyqueue
move.l qu_endq(a1),d1 ; pointer to end of queue
beq.s no_con ; none, (may be scr channel)
addq.l #1,d1 ;
bclr #0,d1 ; make even
move.l d1,a1 ; pointer sprite space for channel
no_con
move.l d2,sd.croff(a1) ; (re)set pointer sprite
bra.s cs_fndch
cs_nf
moveq #0,d0
cs_out movem.l (sp)+,pvcreg
rts
cs_ijob
moveq #err.ijob,d0 ; bad job ID
bra.s cs_out
cs_nimp
moveq #err.nimp,d0 ; what?
bra.s cs_out
cs_ipar moveq #err.ipar,d0 ; bad parameter in d2
bra.s cs_out
end
| 29.144068 | 75 | 0.673161 |
2e8011fa17a8a796c5ce4e0585a605e7da04f225 | 303 | asm | Assembly | programs/oeis/132/A132045.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/132/A132045.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/132/A132045.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A132045: Row sums of triangle A132044.
; 1,2,3,6,13,28,59,122,249,504,1015,2038,4085,8180,16371,32754,65521,131056,262127,524270,1048557,2097132,4194283,8388586,16777193,33554408,67108839,134217702,268435429,536870884,1073741795,2147483618,4294967265,8589934560
mov $1,2
pow $1,$0
trn $0,1
sub $1,$0
| 37.875 | 222 | 0.785479 |
457852786bef695d970f24187f860cfa201a9931 | 6,069 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_13.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_13.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_13.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 %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x15267, %r14
nop
nop
nop
cmp $44968, %r10
movb $0x61, (%r14)
nop
nop
nop
nop
lfence
lea addresses_WC_ht+0x1a1ad, %rcx
nop
nop
nop
nop
sub $44958, %r11
mov $0x6162636465666768, %rbp
movq %rbp, %xmm2
vmovups %ymm2, (%rcx)
nop
nop
nop
nop
nop
add %r10, %r10
lea addresses_WC_ht+0x9514, %rsi
lea addresses_normal_ht+0x19337, %rdi
cmp %rbp, %rbp
mov $66, %rcx
rep movsw
nop
cmp %rsi, %rsi
lea addresses_WT_ht+0xb37, %rsi
nop
nop
nop
xor %r10, %r10
mov $0x6162636465666768, %r8
movq %r8, %xmm1
vmovups %ymm1, (%rsi)
add $65161, %rbp
lea addresses_normal_ht+0x19dd7, %rsi
nop
nop
nop
nop
nop
and $607, %rbp
mov $0x6162636465666768, %rdi
movq %rdi, (%rsi)
nop
nop
xor $20617, %r8
lea addresses_WT_ht+0x71a0, %rbp
nop
nop
inc %rcx
mov (%rbp), %r14w
nop
nop
nop
nop
add $45225, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r14
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_normal+0xc3a5, %rsi
lea addresses_normal+0x6637, %rdi
nop
inc %r8
mov $15, %rcx
rep movsq
nop
mfence
// Store
lea addresses_PSE+0xf037, %rsi
nop
nop
nop
nop
xor %rbp, %rbp
mov $0x5152535455565758, %r15
movq %r15, %xmm3
vmovups %ymm3, (%rsi)
// Exception!!!
nop
mov (0), %r8
nop
nop
nop
nop
add %rbp, %rbp
// Faulty Load
lea addresses_PSE+0x13337, %rdi
nop
nop
nop
nop
nop
xor $38413, %r14
movb (%rdi), %r15b
lea oracles, %r8
and $0xff, %r15
shlq $12, %r15
mov (%r8,%r15,1), %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r15
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal', 'congruent': 1}, 'dst': {'same': False, 'type': 'addresses_normal', 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': False, 'congruent': 8}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_PSE', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 0}, 'dst': {'same': True, 'type': 'addresses_normal_ht', 'congruent': 11}}
{'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 5}}
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WT_ht', 'same': True, 'AVXalign': False, 'congruent': 0}}
{'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
*/
| 36.781818 | 2,999 | 0.661559 |
965f70f129b86492df294bf53ebd998c678b8b18 | 44,765 | asm | Assembly | dosshell/swapper/woaxms.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | dosshell/swapper/woaxms.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | dosshell/swapper/woaxms.asm | minblock/msdos | 479ffd237d9bb7cc83cb06361db2c4ef42dfbac0 | [
"Apache-2.0"
] | null | null | null | ;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1985-1991
; * All Rights Reserved.
; */
;----------------------------------------------------------------------------;
; This file contains all the modules necessary for managing the old app XMS ;
; requiements. This code is an optional part of the real mode stub segment, ;
; and will be discarded if not needed. ;
; ;
; History: ;
; ;
; 10-Oct-90 AC PrevXmm handler allocates all handle numbers ;
; 20-Sep-90 AC Functions that don't succeed are chained on. ;
; 20-Sep-90 AC Hooks XMS properly. ;
; 7-Mar-90 jimmat Now part of real mode stub instead of being ;
; a seperate segment. ;
; Mon June-26-1989. -by- Amit Chatterjee [amitc] ;
; Created. (Added the History legend) ;
;----------------------------------------------------------------------------;
?win = 0
?DF = 1
.xlist
include cmacros.inc
include woasegs.inc
include njmp.mac
include macros.mac
.list
.286p
;----------------------------------------------------------------------------;
; define two macros for doing near and far returns. ;
;----------------------------------------------------------------------------;
near_ret macro
local dummy
dummy proc near
ret
dummy endp
endm
far_ret macro
local dummy
dummy proc far
ret
dummy endp
endm
;----------------------------------------------------------------------------;
createSeg _WOARLMSEG,StubSeg,word,public,code
sBegin StubSeg
assumes cs,StubSeg
; XmsStartLine MUST be at the very start of the XMS code/data. This defines
; the address which will be used to discard the XMS code/data if the
; current DOS app does not require XMS support.
public XmsStartLine
XmsStartLine equ $ ;MAKE ME FIRST! Everything after this will
; be discarded if XMS isn't needed.
;----------------------------------------------------------------------------;
; define the external function calls. ;
;----------------------------------------------------------------------------;
;-------------------------------------------------------;
; external OLDAPP procedures. ;
;-------------------------------------------------------;
;----------------------------------------------------------------------------;
; declare the variables which are defined elsewhere. ;
;----------------------------------------------------------------------------;
externD ActualXMS ;XMS entry point.
externB WoafXmsInstalled ;XMS installed or not
;----------------------------------------------------------------------------;
; define the variables that are passed into it at load time. ;
;----------------------------------------------------------------------------;
GlobalW XmsBaseHandle,? ;handle of extended memory block
GlobalD AppXmsBase,? ;base of the apps XMS area
GlobalD AppXmsSize,? ;size of the apps XMS area
GlobalB WoaAppUsesXMS,0 ;whether app allocates XMS or not
;----------------------------------------------------------------------------;
; define variables that are needed for hooking the XMS chain and chaining on ;
;----------------------------------------------------------------------------;
XmmControlBase dd -1 ;node that is being patched up
XmmControlJmpVal db ? ;offset of near jump
PrevXmm dd ? ;for chaining down
;----------------------------------------------------------------------------;
; declare public labels. ;
;----------------------------------------------------------------------------;
public GetLargestFreeBlock
public AllocateXmsBlock
public FreeXmsBlock
public MoveXmsBlock
public LockXmsBlock
public UnlockXmsBlock
public GetXmsHandleInfo
public RellocateXmsBlock
public XmsDispatcher
public AllocationTable
;----------------------------------------------------------------------------;
; now define the data structures to be used for manipulating the XMS areas. ;
;----------------------------------------------------------------------------;
; the main table for managing the handle entries has the following format:
;----------|------------------------|------------|---------------------;
; Handle | 32 bit base address | lock count | size of block in K ;
; (byte) | (dword) | (byte) | (word) ;
;----------|------------------------|------------|---------------------;
; declare a structure for the above table
XmsTableEntry STRUC
THandle dw ? ;handle in the table
TBaseLo dw ? ;loword of base
TBaseHi dw ? ;high word of base
TLckCount db ? ;lock count
TSize dw ? ;size of block
XmsTableEntry ENDS
; if the handle field is zero, the block is a free block. The Allocation
; table can have a maximum of 32 + 32 entries and will always be kept sorted
; on the linear address.Allocate one extra entry for the end of table tag,
; which will have a 0ffh in the handle field
AllocationTable db (65 * (SIZE XmsTableEntry)) dup (0) ;reserve max size for table
;----------------------------------------------------------------------------;
; define other variables that are needed. ;
;----------------------------------------------------------------------------;
ActualInt2f dd 0 ;original int 2f vector
ExtraMoveOffsetLo dw ? ;low word of extra offset
ExtraMoveOffsetHi dw ? ;high word of extra offset
MoveStructure db 16 dup (?) ;the move parameter block
MoveTemplate STRUC
Mlength dd ? ;length of transfer
MSrcHandle dw ? ;source handle
MSrcOffsetLo dw ? ;low source offset
MSrcOffsetHi dw ? ;high source offset
MDstHandle dw ? ;destination handle
MDstOffsetLo dw ? ;lo dst offset
MDstOffsetHi dw ? ;hi dst offset
MoveTemplate ENDS
;----------------------------------------------------------------------------;
; define the dispatch table for the XMS calls that we trap. ;
;----------------------------------------------------------------------------;
XmsTraps label byte
db 01h ;request high memory area
dw XmsFunc01 ;routine which handles it
db 02h ;release high memory area
dw XmsFunc02 ;routine which handles it
db 08h ;query free extended memory
dw XmsFunc08 ;routine which handles it
db 09h ;allocate extended memory block
dw XmsFunc09 ;routine which handles it
db 0ah ;free extended memory block
dw XmsFunc0a ;routine which handles it
db 0bh ;move extended meory block
dw XmsFunc0b ;routine which handles it
db 0ch ;lock extended memory block
dw XmsFunc0c ;routine which handles it
db 0dh ;unlock extended memory block
dw XmsFunc0d ;routine which handles it
db 0eh ;get EMB handle information
dw XmsFunc0e ;routine which handles it
db 0fh ;rellocate extended memory block
dw XmsFunc0f ;routine which handles it
db 10h ;request upper memory block
dw XmsFunc10 ;routine which handles it
db 11h ;release upper memory block
dw XmsFunc11 ;routine which handles it
XmsDefaultCode db ? ;put AH here on entry to trap default
dw XmsDefaultFunc ;pass on to original handler
;----------------------------------------------------------------------------;
; XmsInit: ;
; ;
; This routine is called from the real mode stub, and it initializes the ;
; allocation table to account for one big free block and hooks in the our ;
; XMS handler.
;----------------------------------------------------------------------------;
cProc XmsInit,<NEAR,PUBLIC,PASCAL>
cBegin
smov ds,cs ;make ds to point to XMS segment
assumes ds,StubSeg
; the address of current XMS handler is already in 'ActualXms'
; first get the offset from the start of the actual XMS block to the start of
; the apps XMS block
mov dx,XmsBaseHandle ;the handle of the actual block
mov ah,0ch ;lock handle call
call [ActualXms] ;get base in DX:BX
pushem di,cx ;save
mov cx,wptr [AppXmsBase] ;get loword of apps base
mov di,wptr [AppXmsBase+2] ;get the high word
sub cx,bx ;subtract the low word
sbb di,dx ;then the high word
mov ExtraMoveOffsetLo,cx ;save loword of exttra offset
mov ExtraMoveOffsetHi,di ;save hiword of move offset
popem di,cx ;restore
mov dx,XmsBaseHandle ;get the base handle
mov ah,0dh ;unlock call
call [ActualXms] ;unlock the block
; we access the table without the structure tags, make sure what we do is
; ok
.errnz THandle - 0
.errnz TBaseLo - 2
.errnz TBaseHi - 4
.errnz TLckCount - 6
.errnz TSize - 7
; initialize the allocation table to have one big free block.
push es ;save
smov es,ds ;have own segment
mov di,StubSegOFFSET AllocationTable
xor ax,ax ;first entry is free.
stosw ;mark as free
mov ax,wptr [AppXmsBase] ;get low word of base
stosw ;save it
mov ax,wptr [AppXmsBase+2] ;get hiword of base
stosw ;save it
xor al,al ;set lock count to 0
stosb ;save lock count
mov dx,wptr [AppXmsSize+2] ;get high word of size
mov ax,wptr [AppXmsSize] ;get low word of size
mov bx,1024 ;need to get size in K
div bx ;ax has the quotient
stosw ;save the size
mov ax,0ffffh ;mark for end of table tag
stosw ;store it in next entries handle field
pop es ;restore
; now hook ourselves to the XMS chain.
call HookOurXmsCode ;hooks the vectors
; initialization done
XmsInitRet:
cEnd
;----------------------------------------------------------------------------;
; XmsHandler: ;
; ;
; This is our own XMS handler dispatcher. It filters out the functions we ;
; want to trap and passes the rest of them to the actual XMS handler. ;
;----------------------------------------------------------------------------;
XmsHandler proc far
jmp short XmsDispatcher ;jump to actual code
nop ;dummy nops for hookability
nop ;in case some one hools after us
nop ;could be bad for them
XmsDispatcher:
pushf
push bp ;save before trashing
push ds ;save ds
smov ds,cs ;have own segment
mov cs:[XmsDefaultCode],ah ;jam current code in
mov bp,StubSegOFFSET XmsTraps
sub bp,3 ;each entry of 3 bytes
; search for the address of the function which handles the call
@@:
add bp,3 ;look at next entry
cmp ah,cs:[bp] ;matches code ?
jnz @b ;continue searching
; jump off to the function, BP is pushed on stack
push wptr cs:[bp+1] ;save jump address
mov bp,sp ;will access stack with it
add bp,4 ;ss:[bp] has original bp
near_ret ;jump to the handler
XmsHandler endp
;----------------------------------------------------------;
; XMS function handler top level routines are defined next ;
;----------------------------------------------------------;
;----------------------------------------------------------;
; This one handles all calls that are not trapped by WOA ;
;----------------------------------------------------------;
XmsDefaultFunc:
pop ds ;restore ds
pop bp ;restore bp
popf
jmp cs:[PrevXmm] ;invoke actual handler
;----------------------------------------------------------;
; This one is used to return back to caller ;
;----------------------------------------------------------;
XmsRet:
pop ds ;restore ds
pop bp ;retore bp
popf
far_ret ;go back to caller
;----------------------------------------------------------;
; Request High Memory area: ;
; ;
; we return saying HMA is already in use. ;
;----------------------------------------------------------;
XmsFunc01:
xor ax,ax ;cannot allocate HMA
mov bl,91h ;HMA already in use
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Release High Memory area: ;
; ;
; we return saying HMA was not allocated ;
;----------------------------------------------------------;
XmsFunc02:
xor ax,ax ;unsuccessful realease
mov bl,93h ;as it was not allocated
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Query Free Extended Block: ;
; ;
; we return size of largest block in Kbytes ;
;----------------------------------------------------------;
XmsFunc08:
pushem ax,bx,dx ;save entry parameters
call GetLargestFreeBlock ;gets largest free block
; if there is no memory available in our area we should chain on.
or dx,dx ;is there ant memory ?
jnz Trap08Worked ;yes.
; chain on.
popem ax,bx,dx ;restore
jmp XmsDefaultFunc ;chain on.
Trap08Worked:
add sp,6 ;discard saved values.
jmp XmsRet
;----------------------------------------------------------;
; Allocate Extended Memory Block ;
; ;
; tries to do a local allocation. ;
;----------------------------------------------------------;
XmsFunc09:
or dx,dx ;zero length allocations ?
jz ChainXmsFunc09 ;yes, let prev handler handle it
pushem ax,bx,dx ;save entry parameters
call AllocateXmsBlock ;do the allocation
; if we fail to allocate memory, we should chain it on.
or ax,ax ;did we succeed ?
jnz Trap09Worked ;yes.
; chain on.
popem ax,bx,dx ;restore entry parameters
ChainXmsFunc09:
jmp XmsDefaultFunc ;chain on.
Trap09Worked:
add sp,6 ;discard saved values
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Free Extended Memory Block ;
; ;
; frees up an allocation ;
;----------------------------------------------------------;
XmsFunc0a:
pushem ax,bx ;save
call FreeXmsBlock ;free up an allocation
or ax,ax ;did it succeed ?
jnz Trap0AWorked ;yes.
; if the call failed bacause of an invalid handle, we should chain it on.
cmp bl,0a2h ;bad handle ?
jnz Trap0AWorked ;no.
; chain the call on as we do not know about the handle.
popem ax,bx ;restore entry parameters
jmp XmsDefaultFunc ;chain on.
Trap0AWorked:
add sp,4 ;discard saved entry values
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Move Extended Memory Block ;
; ;
; we return saying HMS is already in use. ;
;----------------------------------------------------------;
XmsFunc0b:
pop ds ;get back ds
call MoveXmsBlock ;move the block
pop bp ;restore
popf
far_ret
;----------------------------------------------------------;
; LockExtendedMemoryBlock: ;
; ;
; we return the linear address of the block ;
;----------------------------------------------------------;
XmsFunc0c:
pushem ax,bx ;save entry values.
call LockXmsBlock ;get the address of the block
or ax,ax ;did it succeed ?
jnz Trap0CWorked ;yes.
; if the call failed bacause of an invalid handle, we should chain it on.
cmp bl,0a2h ;bad handle ?
jnz Trap0CWorked ;no.
; chain the call on as we do not know about the handle.
popem ax,bx ;restore entry parameters
jmp XmsDefaultFunc ;chain on.
Trap0CWorked:
add sp,4 ;discard saved entry values
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Unlock Extended Memory Block: ;
; ;
; If the handle is valid, return success ;
;----------------------------------------------------------;
XmsFunc0d:
pushem ax,bx ;save
call UnlockXmsBlock ;unlock the block
or ax,ax ;did it succeed ?
jnz Trap0DWorked ;yes.
; if the call failed bacause of an invalid handle, we should chain it on.
cmp bl,0a2h ;bad handle ?
jnz Trap0DWorked ;no.
; chain the call on as we do not know about the handle.
popem ax,bx ;restore entry parameters
jmp XmsDefaultFunc ;chain on.
Trap0DWorked:
add sp,4 ;discard saved entry values
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Get EMB handle information ;
; ;
; get information about the handle ;
;----------------------------------------------------------;
XmsFunc0e:
push ax ;save
call GetXmsHandleInfo ;get information about handle
or ax,ax ;did it succeed ?
jnz Trap0EWorked ;yes.
; chain the call on as we do not know about the handle.
pop ax ;restore entry parameter
jmp XmsDefaultFunc ;chain on.
Trap0EWorked:
add sp,2 ;discard saved entry values
jmp XmsRet ;go back to caller
;----------------------------------------------------------;
; Rellocate Extended Memory Block ;
; ;
; try to grow or shrink block without moving it ;
;----------------------------------------------------------;
XmsFunc0f:
pushem ax,bx ;save entry values
call RellocateXmsBlock ;try to do the rellocation
or ax,ax ;did it succeed ?
jnz Trap0FWorked ;yes.
; if the call failed bacause of an invalid handle, we should chain it on.
cmp bl,0a2h ;bad handle ?
jnz Trap0FWorked ;no.
; chain the call on as we do not know about the handle.
popem ax,bx ;restore entry parameters
jmp XmsDefaultFunc ;chain on.
Trap0FWorked:
add sp,4 ;discard saved entry values
jmp XmsRet ;get back to caller
;----------------------------------------------------------;
; Request Upper Memory Block ;
; ;
; we return saying no UMBs area aveilable ;
;----------------------------------------------------------;
XmsFunc10:
xor ax,ax ;fail the call
mov bl,0b1h ;no UMBs area available
jmp XmsRet
;----------------------------------------------------------;
; Release Upper Memory Block ;
; ;
; we return saying segment no is invalid ;
;----------------------------------------------------------;
XmsFunc11:
xor ax,ax ;fail the call
mov bl,0b1h ;segmet number invalid
jmp XmsRet
;----------------------------------------------------------------------------;
; GetLargestFreeBlock: ;
; ;
; Traverses the allocation table, looking for the largest free block and also;
; accumulation total amount of free space. ;
;----------------------------------------------------------------------------;
GetLargestFreeBlock proc near
assumes ds,StubSeg
push si ;save it
xor ax,ax ;initialize largest block count
xor dx,dx ;initialize total free count
mov si,StubSegOFFSET AllocationTable
sub si,SIZE XmsTableEntry ;bias it back for addition below
LookForFreeBlocks:
add si,SIZE XmsTableEntry ;look at the next entry
cmp [si].THandle,0ffffh ;is this the end of the table
jz GetLargestFreeBlockRet ;yes, return back
cmp [si].THandle,0 ;is it a free block
jnz LookForFreeBlocks ;keep looking
add dx,[si].TSize ;accumulate net free block
cmp ax,[si].TSize ;is this block bigger
jae LookForFreeBlocks ;no
mov ax,[si].TSize ;largest block obtained till now
jmp LookForFreeBlocks ;keep looking
GetLargestFreeBlockRet:
pop si ;restore
ret
GetLargestFreeBlock endp
;----------------------------------------------------------------------------;
; AllocateXmsBlock: ;
; ;
; Allocates the first fit XMS block. It also incs the 'WoaAppUsesXms' field ;
; if the allocation succeedes. ;
;----------------------------------------------------------------------------;
AllocateXmsBlock proc near
pushem si,di,cx ;save work registers
call GetFreeHandle ;get a free handle
or bx,bx ;free handle obtained ?
jz AllocXmsNoHandle ;no more free handles
; look for the first block that matches size.
mov si,StubSegOFFSET AllocationTable
sub si,SIZE XmsTableEntry ;bias it for subtraction below
AllocXms1:
add si,SIZE XmsTableEntry ;look at the next entry
cmp [si].THandle,0ffffh ;have we reached the end ?
jz AllocXmsNoFree ;yes, there are no appropriate blocks
cmp [si].THandle,0 ;is it free ?
jnz AllocXms1 ;no, keep looking
cmp [si].TSize,dx ;appropriate for allocation ?
jb AllocXms1 ;no.
call AllocateBlock ;allocates entry
mov dx,bx ;get the handle in DX
mov ax,1 ;block allocated
xor bl,bl ;no errors
inc WoaAppUsesXMS ;one more allocation done.
jmp short AllocXmsRet ;return back
AllocXmsNoFree:
call ReleaseHandle ;mark handle in bx as free
xor ax,ax ;could not allocate
mov bl,0a0h ;no appropriate frr blocks
jmp short AllocXmsRet ;go back
AllocXmsNoHandle:
xor ax,ax ;could not allocate
mov bl,0a1h ;as alll handles are in use
AllocXmsRet:
popem si,di,cx ;restore
ret ;get back
AllocateXmsBlock endp
;----------------------------------------------------------------------------;
; GetFreeHandle: ;
; ;
; This function calls the previous XMS handler to allocate a zero length ;
; XMS handle and returns that in BX. If a handle cannot be allocated, we ;
; return with 0 in BX. If some handler uses 0 as a valid handle which is ;
; still available for use, we will thereby ignore it. ;
;----------------------------------------------------------------------------;
GetFreeHandle proc near
assumes ds,StubSeg
pushem ax,dx ;save
mov ah,09h ;allocate block
xor dx,dx ;need a zero length block
call [PrevXmm] ;call the previous handler
mov bx,dx ;get the handle in BX
or ax,ax ;was it successful ?
jnz GetFreeHandleRet ;yes.
xor bx,bx ;no handle
GetFreeHandleRet:
popem ax,dx ;restore
ret ;go back
GetFreeHandle endp
;----------------------------------------------------------------------------;
; ReleaseHandle: ;
; ;
; On entry BX has a handle number and it is freed by calling the previous ;
; XMS handler. ;
;----------------------------------------------------------------------------;
ReleaseHandle proc near
assumes ds,StubSeg
pushem ax,dx ;save
mov ah,0ah ;free xms block
mov dx,bx ;get the handle
call [PrevXmm] ;free the handle
popem ax,dx ;restore
ret
ReleaseHandle endp
;----------------------------------------------------------------------------;
; AllocateBlock: ;
; ;
; On entry si points to a free entry in the allocation table and dx has the ;
; size of the allocation that we need. This routine does the allocation, if ;
; the free size is exactly equal to the requested size, the same entry can ;
; be updated, else the entries below the slot have to be pushed down to make ;
; room for a free entry. Also BX has the handle to allocate. ;
;----------------------------------------------------------------------------;
AllocateBlock proc near
assumes ds,StubSeg
cmp [si].TSize,dx ;exact fit ?
jnz NotExactFit ;no
; we have an exact fit situation, update the entry to mark it with the handle
; and we are done
mov [si].THandle,bx ;mark as allocated
jmp short AllocateBlockRet ;go back
NotExactFit:
call MoveEntriesDown ;make room for a free entry
mov [si].THandle,bx ;mark this one as allocated
push di ;save
mov di,[si].TBaseHi ;high word of base
mov cx,[si].TBaseLo ;get loword of base
call UpdateBase ;add DX*1024 to DI:CI
mov ax,[si].TSize ;get current size
mov [si].TSize,dx ;allocated size
sub ax,dx ;size of free block at end
add si,SIZE XmsTableEntry ;point to next entry
mov wptr [si].THandle,0 ;mark as free
mov wptr [si].TBaseHi,di ;set hiword of base
mov wptr [si].TBaseLo,cx ;lo word of base
pop di ;restore
mov bptr [si].TLckCount,0 ;not locked
mov [si].TSize,ax ;size of free area
AllocateBlockRet:
ret ;end of allocation
AllocateBlock endp
;----------------------------------------------------------------------------;
; UpdateBase: ;
; ;
; This adds DX*1024 to DI:CX without destroying other register. ;
;----------------------------------------------------------------------------;
UpdateBase proc near
pushem ax,bx,dx ;save
mov ax,dx ;get multiplicand in ax
xor dx,dx ;will hold result
mov bx,1024 ;multiplier
mul bx ;dx:ax has result
add cx,ax ;add in low wors
adc di,dx ;add in hi words with carry
popem ax,bx,dx ;restored thrashed registers
ret
UpdateBase endp
;----------------------------------------------------------------------------;
; MoveEntriesDown: ;
; ;
; On entry SI points to an entry in the allocation table. This routine moves ;
; all the allocated entries below the one pointed by si, by one slot. ;
;----------------------------------------------------------------------------;
MoveEntriesDown proc near
assumes ds,StubSeg
pushem es,si,di,cx ;save registers
smov es,ds ;same segment
; first find out no of entries to move
mov di,si ;get the current entry
mov cx,1 ;initialize count
MoveEntriesDown1:
add di,SIZE XmsTableEntry ;point to next entry
cmp wptr [di].THandle,0ffffh;is the end ?
jz MoveEntriesDown2 ;no of entries to move is in cx
inc cx ;one more to move
jmp short MoveEntriesDown1 ;keep counting
MoveEntriesDown2:
mov si,di ;last entry in the table
add di,SIZE XmsTableEntry ;new place for it
cld ;set proper direction
MoveEntriesDown3:
pushem di,si,cx ;save current pointers and count
mov cx,SIZE XmsTableEntry ;size of one entry
cld
rep movsb ;move it down
popem di,si,cx ;restore counts and pointers
sub si,SIZE XmsTableEntry ;source goes back by 1
sub di,SIZE XmsTableEntry ;destination goes back by 1
loop MoveEntriesDown3 ;move required number of entries down
popem es,si,di,cx ;restore initial values
ret
MoveEntriesDown endp
;----------------------------------------------------------------------------;
; FreeXmsBlock: ;
; ;
; Tries to free an allocated XMS block, and then compacts the table to merge ;
; any consecutive free blocks together. It also decs the 'WoaAppUsesXMS' ;
; field after the deallocation. ;
;----------------------------------------------------------------------------;
FreeXmsBlock proc near
assumes ds,StubSeg
pushem si,di,es ;save work registers
; locate the entry for the block to be freed first
call LocateTableEntry ;locates the table entry
jc FreeInvalidHandle ;could not locate the entry
; we cannot free the block if it is locked
cmp bptr [si].TLckCount,0 ;is it locked ?
jnz FreeLockedBlock ;yes,cannot free the block
; mark the block as free and compact the table, merging successive free
; blocks.
push bx ;save
xor bx,bx ;id for free handle.
xchg bx,[si].THandle ;get handle, mark entry as free
call ReleaseHandle ;reslease the handle
pop bx ;restore
call CompactTable ;compact the table
mov ax,1 ;block successfully freed
xor bl,bl ;no error code
dec WoaAppUsesXMS ;one more block freed.
jmp short FreeXmsBlockRet ;go back
FreeInvalidHandle:
xor ax,ax ;could not free the block
mov bl,0a2h ;as handle is invalid
jmp short FreeXmsBlockRet ;return back
FreeLockedBlock:
xor ax,ax ;could not free the block
mov bl,0abh ;as block is locked
FreeXmsBlockRet:
popem si,di,es ;restore work registers
ret
FreeXmsBlock endp
;----------------------------------------------------------------------------;
; LocateTableEntry: ;
; ;
; Given a handle value in DX, this routine returns si pointing to the entry ;
; in the allocation table, carry will be set if the handle is invalid . ;
;----------------------------------------------------------------------------;
LocateTableEntry proc near
mov si,StubSegOFFSET AllocationTable
or dx,dx ;handle valid ?
jz LocateInvalidHandle ;no.
LocateEntry1:
cmp [si].THandle,0ffffh ;end of table ?
jz LocateInvalidHandle ;bad handle provided
cmp [si].THandle,dx ;is this the entry ?
jz @f ;yes, all done
add si,size XmsTableEntry ;no, keep looking.
jmp short LocateEntry1
@@:
clc ;handle found
jmp short LocateTableEntryRet;fo back
LocateInvalidHandle:
stc ;not a valid handle
LocateTableEntryRet:
ret
LocateTableEntry endp
;----------------------------------------------------------------------------;
;CompactTable: ;
; ;
; Compacts the allocation table, merging consecutive free blocks together. ;
;----------------------------------------------------------------------------;
CompactTable proc near
smov es,ds ;both points to our segment
mov si,StubSegOFFSET AllocationTable
mov di,si ;get start of table in si
add di,SIZE XmsTableEntry ;di points to next one
CompactionLoop:
cmp wptr [di].THandle,0ffffh;end of table ?
jz CompactTableRet ;yes, compaction done.
cmp wptr [si].THandle,0 ;is it a free entry ?
jz LookForAnotherFree ;is next block free too ?
BumpCompactionPointers:
mov si,di ;point tp next one
add di,SIZE XmsTableEntry ;and the one after that
jmp short CompactionLoop ;keep compacting
LookForAnotherFree:
cmp wptr [di].THandle,0 ;is the next one free too ?
jnz BumpCompactionPointers ;no scope of compaction.
; we have a couple of entries to compact into 1.
mov ax,[di].TSize ;get size of second entry
add [si].TSize,ax ;compact the two.
call MoveEntriesUp ;move subsequent entries up
jmp short CompactionLoop ;look for more compactions
CompactTableRet:
ret
CompactTable endp
;----------------------------------------------------------------------------;
; MoveEntriesUp: ;
; ;
; On entry DI points to a table entry, this routine moves the entries after ;
; that by one slot, obliterating the entry pointed by DI. On exit SI,DI ;
; should maintain their entry time values. ;
;----------------------------------------------------------------------------;
MoveEntriesUp proc near
assumes ds,StubSeg
pushem si,di,cx ;must preserve values
smov es,ds ;both must have own segment
mov si,di ;current entry
add si,SIZE XmsTableEntry ;point to next one
cld ;have proper move direction
MoveEntryLoop:
mov cx,SIZE XmsTableEntry ;size of an entry
cld
rep movsb ;move one entry up.
cmp wptr [di].THandle,0ffffh;was the last entry moved ?
jnz MoveEntryLoop ;cont. ptrs are correct
popem si,di,cx ;restore values
ret ;go back, entries moved up
MoveEntriesUp endp
;----------------------------------------------------------------------------;
; MoveXmsBlock: ;
; ;
; If the src and dst handles in the move structure have valid handle values ;
; this routine will substitute the handles by the actual XMS block handle ;
; and add in the offset of the apps XMS base to the offsets specified and ;
; then will invoke the actual XMS handler to move the block. ;
;----------------------------------------------------------------------------;
MoveXmsBlock proc near
pushem es,ds,di,si,cx,dx ;save registers
smov es,cs ;get own segment
; first copy over the move structure into our segment
mov di,StubSegOFFSET MoveStructure
mov cx,16 ;16 bytes to move
cld
rep movsb ;transfer the block
smov ds,es ;have own segment
assumes ds,StubSeg
mov si,StubSegOFFSET MoveStructure
; patch up the structure
push ax ;save
mov ax,[si].MSrcHandle ;get the source handle
or ax,ax ;is it null ?
jz PatchDstMove ;no need to modify src
call GetBaseOffset ;get offset from start of XMS block
jc PatchDstMove ;invalid source handle
add ax,ExtraMoveOffsetLo ;add in the low word of pad area
adc dx,ExtraMoveOffsetHi ;add in hiword of pad area
add [si].MSrcOffsetLo,ax ;add it in
adc [si].MSrcOffsetHi,dx ;add it in
mov ax,XmsBaseHandle ;get the actual handle
mov [si].MSrcHandle,ax ;put in the actual handle
PatchDstMove:
mov ax,[si].MDstHandle ;get the destination handle
or ax,ax ;is it null ?
jz PatchDoMove ;no need to modify dst
call GetBaseOffset ;get offset from start of XMS block
jc PatchDoMove ;invalid dest handle
add ax,ExtraMoveOffsetLo ;add in the low word of pad area
adc dx,ExtraMoveOffsetHi ;add in hiword of pad area
add [si].MDstOffsetLo,ax ;add it in
adc [si].MDstOffsetHi,dx ;add it in
mov ax,XmsBaseHandle ;get the actual handle
mov [si].MDstHandle,ax ;put in the actual handle
PatchDoMove:
pop ax ;restore
call [PrevXmm] ;get original XMS to do the move
popem es,ds,di,si,cx,dx ;restore registers
ret
MoveXmsBlock endp
;----------------------------------------------------------------------------;
; LockXmsBlock: ;
; ;
; Increases the lock count of a specified block. ;
;----------------------------------------------------------------------------;
LockXmsBlock proc near
assumes ds,StubSeg
push si ;save
; locate the entry for the handle first
call LocateTableEntry ;if found, ds:si points to the entry
jc LockInvalidHandle ;not a valid handle
; increment the lock count
cmp bptr [si].TLckCount,0ffh;max count already ?
jz LockCountOverflow ;has been locked too many times
inc [si].TLckCount ;locking the block
mov bx,[si].TBaseLo ;get low wprd of base
mov dx,[si].TBaseHi ;get hiword of base
mov ax,1 ;block is locked
jmp short LockXmsRet ;get back
LockInvalidHandle:
xor ax,ax ;cannot lock
mov bl,0a2h ;invalid handle
jmp short LockXmsRet ;go back
LockCountOverflow:
xor ax,ax ;could not lock the block
mov bl,0ach ;count overflow
LockXmsRet:
pop si ;restore
ret
LockXmsBlock endp
;----------------------------------------------------------------------------;
; UnlockXmsBlock: ;
; ;
; decreases the lock count of a specified block. ;
;----------------------------------------------------------------------------;
UnlockXmsBlock proc near
assumes ds,StubSeg
push si ;save
; locate the entry for the handle first
call LocateTableEntry ;if found, ds:si points to the entry
jc UnlockInvalidHandle ;not a valid handle
; decrement the Unlock count
cmp bptr [si].TLckCount,0 ;is it locked ?
jz UnlockNotLocked ;not a locked block
dec [si].TLckCount ;locking the block
mov ax,1 ;block is locked
jmp short UnlockXmsRet ;get back
UnlockInvalidHandle:
xor ax,ax ;cannot lock
mov bl,0a2h ;invalid handle
jmp short UnlockXmsRet ;go back
UnlockNotLocked:
xor ax,ax ;could not lock the block
mov bl,0aah ;block was not locked
UnlockXmsRet:
pop si ;restore
ret
UnlockXmsBlock endp
;----------------------------------------------------------------------------;
; GetXmsHandleInfo: ;
; ;
; Returns information about the a handle and no of free handles in the system;
;----------------------------------------------------------------------------;
GetXmsHandleInfo proc near
assumes ds,StubSeg
push si ;save
call LocateTableEntry ;try to loacte the entry
jc InvalidHandleInfo ;no a valid handle
call GetFreeHandleCount ;get no of free handles in system
mov bh,[si].TLckCount ;get lock count
mov dx,[si].TSize ;get the size
mov ax,1 ;call was successful
jmp short GetXmsHandleInfoRet;go back
InvalidHandleInfo:
xor ax,ax ;call didnot succeed
GetXmsHandleInfoRet:
pop si ;restore
ret
GetXmsHandleInfo endp
;----------------------------------------------------------------------------;
; GetFreeHandleCount: ;
; ;
; Get number of free handles in the system. Since we allocate handle number ;
; by allocating 0 length blocks from the previous handler, we will let the ;
; the previous handler handle this call too. ;
; ;
; We just make the call on our base handle. ;
;----------------------------------------------------------------------------;
GetFreeHandleCount proc near
assumes ds,StubSeg
pushem si,cx,dx,ax ;save
mov dx,XmsBaseHandle ;the handle of the 'big' block
mov ah,0eh ;get EMB handle info call
call [PrevXmm] ;get information, num handles in BL
popem si,cx,dx,ax ;restore
ret
GetFreeHandleCount endp
;----------------------------------------------------------------------------;
; RelocateXmsBlock: ;
; ;
; Tries to grow or shrink the block. ;
;----------------------------------------------------------------------------;
cProc RellocateXmsBlock,<NEAR,PUBLIC,PASCAL>
localV MoveParams,16 ;move parameter block, if needed
localW Handle1 ;the original handle
localW Handle2 ;the new handle
localW CurrentSize ;keeps current block size
localW Size1 ;new size
cBegin
assumes ds,StubSeg
push si ;save
call LocateTableEntry ;try to locate the entry
njc RellocateInvalidHandle ;bad handle
; test to see if the block is locked or not
cmp [si].TLckCount,0 ;is it locked
njnz RellocateLockedBlock ;can't rellocate
; get the current size and decide whether to grow or shrink block
cmp bx,[si].TSize ;compare sizes
nje RellocationDone ;same size
ja RellocateGrow ;want to grow the block
; we are trying to shrink the block
pushem si,di,ax,bx,cx,es ;save
call MoveEntriesDown ;allocate a hole
mov ax,[si].TSize ;get current size
sub ax,bx ;size of free block created
mov [si].TSize,bx ;update size
mov di,[si].TBaseHi ;get hiword of current base
mov cx,[si].TBaseLo ;get lo word of current base
mov dx,bx ;size of the block in K
call UpdateBase ;add dx*1024 to di:cx
add si,SIZE XmsTableEntry ;point to the free slot entry
mov wptr [si].THandle,0 ;mark as free
mov [si].TBaseLo,cx ;lo word of base
mov [si].TBaseHi,di ;hi word of base
mov [si].TSize,ax ;size of free block
mov bptr [si].TLckCount,0 ;not locked
call CompactTable ;merge contiguous free blocks
popem si,di,ax,bx,cx,es ;restore
jmp RellocationDone ;successful
RellocateGrow:
pushem si,di,ax,bx,cx,dx,es ;save
mov di,si ;get the current entry
add di,SIZE XmsTableEntry ;point to next one
cmp wptr [di].THandle,0ffffh;end of table ?
je HarderRellocation ;need to rellocate the hard way
cmp wptr [di].THandle,0 ;is it a free block ?
jne HarderRellocation ;need to relocate hard way
mov ax,[si].TSize ;get current size
add ax,[di].TSize ;the size of the free area
cmp bx,ax ;compare with size requested
ja HarderRellocation ;need to rellocate the hard way
je ExactFitRellocation ;free block will totaly be consumed
; we reach here when there is a sufficiently large free block below the the
; requested block and we can grow into this area yet have some left
mov [si].TSize,bx ;new size
sub ax,bx ;the size of the free area left
mov bx,[di].TSize ;original size
sub bx,ax ;size taken away
mov [di].TSize,ax ;update the size
mov si,di ;need pointer to the free block
mov di,[si].TBaseHi ;get the high word of base
mov cx,[si].TBaseLo ;get the low word of base
mov dx,bx ;size in K by which area was shrunk
call UpdateBase ;update DI:CX accordingly
mov [si].TBaseHi,di ;update hi word of base
mov [si].TBaseLo,cx ;update lo word of base
popem si,di,ax,bx,cx,dx,es ;restore
jmp RellocationDone ;successful
ExactFitRellocation:
; we reach here if there is a free block after the desired block and it will
; totally be taken up
mov [si].TSize,bx ;update size
call MoveEntriesUp ;obliterate the free block
popem si,di,ax,bx,cx,dx,es ;restore
jmp short RellocationDone ;successful
HarderRellocation:
; try to allocate a block of the new size, by calling own XMS
pushem bx,dx ;save
mov Handle1,dx ;save the original handle
mov Size1,bx ;save requested size
mov ax,[si].TSize ;get the current size
mov CurrentSize,ax ;save it
mov ah,9 ;allocate call
mov dx,bx ;amount of memory required
call XmsHandler ;try to allocate the block
or ax,ax ;was it successful ?
jz BiggerRellocFails ;no.
mov Handle2,dx ;save the new handle
; the bigger block could be allocated, now we have to move the original block
push ds ;save
smov ds,ss ;need to access MoveParams
lea si,MoveParams ;point to the parameter block
mov [si].MDstHandle,dx ;save destination handle
mov [si].MDstOffsetLo,0
mov [si].MDstOffsetHi,0 ;dst offset is zero
mov [si].MSrcOffsetLo,0
mov [si].MSrcOffsetHi,0 ;src offset is zero
mov ax,CurrentSize ;get the current size
mov bx,1024 ;it is in K
mul bx ;ax:dx has length of move
mov [si],ax ;save lo length
mov [si][2],dx ;save high length
mov dx,Handle1 ;get the original handle
mov es:[si].MSrcHandle,dx ;save source handle
mov ah,0bh ;want to do a move
call XmsHandler ;move the block
pop ds ;get back own handle
mov dx,Handle1 ;get the original handle
mov ah,0ah ;free block code
call XmsHandler ;free the block
mov dx,Handle2 ;get the new handle
mov bx,Handle1 ;the original handle
call LocateTableEntry ;ds:si points to entry
mov [si].THandle,bx ;set the original handle back
mov bx,dx ;the work handle
call ReleaseHandle ;release the handle
popem bx,dx ;restore
jmp short RellocationDone ;success
BiggerRellocFails:
popem bx,dx ;restore
xor ax,ax ;rellocation fails
mov bl,0a0h ;no more available memory
jmp short RellocateXmsBlockRet;done
RellocationDone:
mov ax,1 ;operation successful
xor bl,bl ;no error
jmp short RellocateXmsBlockRet;go back
RellocateInvalidHandle:
xor ax,ax ;error
mov bl,0a2h ;because of invalid handle
jmp short RellocateXmsBlockRet;go back
RellocateLockedBlock:
xor ax,ax ;cannot rellocate
mov bl,0abh ;as the block is locked
RellocateXmsBlockRet:
pop si ;restore
cEnd
;----------------------------------------------------------------------------;
; GetBaseOffset: ;
; ;
; Given a handle in AX, this routine gets the offset of the start of the ;
; block from line from which XMS allocation starts. The offset is returned ;
; in DX:AX and carry is cleared if the handle is valid. ;
;----------------------------------------------------------------------------;
GetBaseOffset proc near
push si ;save
mov dx,ax ;get the handle
call LocateTableEntry ;si-> node for the handle
jc GetBaseOffsetRet ;handle not valid
mov ax,[si].TBaseLo ;get low word of base
mov dx,[si].TbaseHi ;DX:AX has actual base
sub ax,wptr [AppXmsBase] ;get the offset from the start line
sbb dx,wptr [AppXmsBase+2] ;DX:AX has relative offset
clc ;success
GetBaseOffsetRet:
pop si ;restore
ret
GetBaseOffset endp
;----------------------------------------------------------------------------;
; HookOurXmsCode: ;
; ;
; This tries to hook our XMS code. If it fails it does nothing. ;
;----------------------------------------------------------------------------;
cProc HookOurXMSCode,<NEAR,PUBLIC,PASCAL>
cBegin
pushem es,bx,ax,cx,si,di ;save
mov bx,word ptr [ActualXMS]
mov es,word ptr [ActualXMS+2] ;ES:BX = ptr to 1st XMM header
NextXmmHeader:
mov word ptr [PrevXmm+2],es ;save seg of prev control adr
mov word ptr [XmmControlBase+2],es ;save address for patch
mov word ptr [XmmControlBase],bx
mov cx,word ptr es:[bx]
cmp cl,0EBh ;compare short jmp opcode
je ShortJmp
cmp cl,0EAh ;compare far jmp opcode
jne XmmChainHosed ;bad XMM control chain
FarJmp:
mov si,word ptr es:[bx+1] ;SI = offset of jmp
mov es,word ptr es:[bx+1+2] ;ES = segment of jmp
mov bx,si ;ES:BX points to next node
jmp NextXmmHeader ;continue down control chain
ShortJmp:
cmp word ptr es:[bx+2],9090h ; check NOPs
jne XmmChainHosed ; bad XMM control chain
cmp byte ptr es:[bx+4],90h
jne XmmChainHosed ; bad XMM control chain
mov di,bx ; DI = ptr to XMM header
xor ax,ax
mov al,ch ; AX = offset of short jmp
mov [XmmControlJmpVal],al ; save offset of short jmp
add ax,2 ; add length of jmp instr
add bx,ax ; BX = target of jmp
mov word ptr [PrevXmm],bx ; save previous control addr
; Install ourselves in XMM control chain.
mov byte ptr es:[di],0EAh ; far immediate jmp opcode
mov word ptr es:[di+1],StubSegOFFSET XmsHandler
mov word ptr es:[di+3],cs
jmp short Xh_done
XmmChainHosed:
Xh_done:
popem es,bx,ax,cx,si,di ;save
HookXMSRet:
cEnd
;----------------------------------------------------------------------------;
; UnHookOurXmsCode: ;
; ;
; We take out our XMS hook if we had put it in. ;
;----------------------------------------------------------------------------;
cProc UnHookOurXmsCode,<NEAR,PUBLIC,PASCAL>
cBegin
cmp word ptr [XmmControlBase],-1
jne UnhookXmm
cmp word ptr [XmmControlBase+2],-1
je UnHookXMSRet ;we didn't hook- don't unhook
UnhookXmm:
pushem es,bx ;save
mov al,0EBh ;AL = opcode for short jump
mov ah,[XmmControlJmpVal] ;AH = displacement for short jump
les bx,[XmmControlBase] ;ES:BX = ptr to previous XMM header
mov word ptr es:[bx],ax ;restore previous XMM's short jump
mov word ptr es:[bx+2],9090h;followed by nop's
mov byte ptr es:[bx+4],90h ;third nop
mov word ptr [XmmControlBase],-1;we don't have our hook
mov word ptr [XmmControlBase+2],-1
popem es,bx ;restore
UnHookXMSRet:
cEnd
;----------------------------------------------------------------------------;
sEnd StubSeg
end
| 29.567371 | 82 | 0.588272 |
9fb3f1345a35cb31c3f010c0e95260d27d166d01 | 170 | asm | Assembly | libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_capacity.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_capacity.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/bv_stack/c/sdcc_iy/bv_stack_capacity.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; size_t bv_stack_capacity(bv_stack_t *s)
SECTION code_adt_bv_stack
PUBLIC _bv_stack_capacity
EXTERN _b_vector_capacity
defc _bv_stack_capacity = _b_vector_capacity
| 15.454545 | 44 | 0.858824 |
ae9f298088970a1ba19897c6eba9ab612e179de4 | 657 | asm | Assembly | oeis/140/A140236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/140/A140236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/140/A140236.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A140236: Double tetrahedral numbers (or double pyramidal numbers): a(n) = k(k+1)(k+2)/6 where k = n(n+1)(n+2)/6.
; 0,1,20,220,1540,7770,30856,102340,295240,762355,1798940,3939936,8104460,15803060,29426320,52636760,90889616,152112005,247574180,392991060,609896980,927341646,1383960600,2030479100,2932714200,4175145975,5865135276,8137872120,11162145820,15147035240,20349625120,27083862256,35730673440,46749475465,60691216180,78213094540,100095116836,127258655810,160787189160,201949404020,252224864360,313332448891,387261777980,476307859280,583109193260,710689591580,862503973296,1042488416200,1255114753200
sub $2,$0
bin $2,3
bin $2,3
sub $1,$2
mov $0,$1
| 73 | 492 | 0.824962 |
047b34c0e6cc91b273fa1c96d52a3d9e31572adb | 589 | asm | Assembly | programs/oeis/111/A111282.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/111/A111282.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/111/A111282.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A111282: Number of permutations avoiding the patterns {1432,2431,3412,3421,4132,4231,4312,4321}; number of strong sorting class based on 1432.
; 1,2,6,16,42,110,288,754,1974,5168,13530,35422,92736,242786,635622,1664080,4356618,11405774,29860704,78176338,204668310,535828592,1402817466,3672623806,9615053952,25172538050,65902560198,172535142544,451702867434,1182573459758,3096017511840,8105479075762,21220419715446,55555780070576,145446920496282,380784981418270,996908023758528,2609939089857314,6832909245813414
mov $2,2
lpb $0,1
sub $0,1
add $1,$2
add $2,$1
lpe
trn $1,1
add $1,1
| 49.083333 | 367 | 0.814941 |
37b2e5dff75c0c2e3d22fdd9ea47edf6082fedbb | 6,705 | asm | Assembly | src/intel/tools/tests/gen6/add.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/intel/tools/tests/gen6/add.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/intel/tools/tests/gen6/add.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | add(16) g6<1>UW g1.4<1,4,0>UW 0x11001010V { align1 WE_all 1H };
add(16) g4<1>UW g1.4<2,4,0>UW 0x10101010V { align1 1H };
add(8) g30<1>F g26<8,8,1>F -g4.4<0,1,0>F { align1 1Q };
add(16) g18<1>F g8<8,8,1>F -g6.4<0,1,0>F { align1 1H };
add(1) m22.4<1>D g39.4<0,1,0>D 1D { align1 WE_all 1N };
add(8) m1<1>D g3.3<0,1,0>D g2<0,1,0>D { align1 1Q };
add(16) m1<1>D g3.3<0,1,0>D g2<0,1,0>D { align1 1H };
add(8) g11<1>.xyF g1<0>.xyyyF g2<0>.xF { align16 1Q };
add(8) m6<1>F g4<8,8,1>F 0xbd4ccccdF /* -0.05F */ { align1 1Q };
add(8) g2<1>F g4<8,8,1>F 0x3d4ccccdF /* 0.05F */ { align1 1Q };
add(16) g2<1>F g11<8,8,1>F 0xbd4ccccdF /* -0.05F */ { align1 1H };
add(8) g6<1>.xUD g6<4>.xUD 0x00000001UD { align16 1Q };
add(8) g19<1>.xUD g6<4>.xUD 3D { align16 1Q };
add(8) m3<1>F g2<4>F g1<0>F { align16 1Q };
add(8) g67<1>.xD g38<4>.xD g40<4>.xD { align16 1Q };
add(8) g21<1>.xD g19<4>.xD -1D { align16 1Q };
add(8) a0<1>UW g3<16,8,2>UW 0x0040UW { align1 1Q };
add(8) a0<1>UW g4<16,8,2>UW 0x0040UW { align1 2Q };
add(8) m2<1>.xD g3.4<0>.xD 7D { align16 NoDDClr 1Q };
add(8) g6<1>.xyF g1<4>.xyyyF 0x3f800000F /* 1F */ { align16 1Q };
add(16) m3<1>F -g39<8,8,1>F 0x3f800000F /* 1F */ { align1 1H };
add(8) m4<1>F g10<8,8,1>F g2.7<0,1,0>F { align1 1Q };
add(16) m7<1>F g35<8,8,1>F g2.7<0,1,0>F { align1 1H };
add(8) m3<1>.xyF g10<4>.xyyyF 0x3f000000F /* 0.5F */ { align16 NoDDClr 1Q };
add(8) g26<1>UD g26<4>UD g28<4>UD { align16 1Q };
add(8) m6<1>.xD g5<4>.zD g5<4>.xD { align16 1Q };
add(8) g4<1>D g2<0,1,0>D g2.4<0,1,0>D { align1 1Q };
add(16) g4<1>D g2<0,1,0>D g2.4<0,1,0>D { align1 1H };
add(8) m2<1>.xyzD g3.4<0>.xyzzD g11<4>.xyzzD { align16 NoDDClr 1Q };
add(8) g70<1>D g4<0,1,0>D 1D { align1 1Q };
add(8) m2<1>F g4<8,8,1>D 1D { align1 1Q };
add(16) g75<1>D g6<0,1,0>D 1D { align1 1H };
add(16) m3<1>F g89<8,8,1>D 1D { align1 1H };
add(8) g37<1>F g34<8,8,1>D 1D { align1 1Q };
add(16) g68<1>F g62<8,8,1>D 1D { align1 1H };
add(8) g11<1>F g10<4>.xF 0x48403000VF /* [0F, 1F, 2F, 3F]VF */ { align16 1Q };
add(8) m4<1>.zD g1<0>.xD 2D { align16 NoDDClr,NoDDChk 1Q };
add(8) g15<1>.yD g1<0>.xD 49D { align16 NoDDClr 1Q };
add(8) g15<1>.zD g1<0>.xD 50D { align16 NoDDClr,NoDDChk 1Q };
add(8) m5<1>.wD g1<0>.xD 7D { align16 NoDDChk 1Q };
add(8) g15<1>.wD g1<0>.xD 51D { align16 NoDDChk 1Q };
add(8) g3<1>.yF g5<4>.xF -g1<0>.xF { align16 NoDDClr 1Q };
add(8) g3<1>.yF g13<4>.xF -g1<0>.xF { align16 NoDDClr,NoDDChk 1Q };
add(8) g42<1>.wF g2<0>.xF 0x40400000F /* 3F */ { align16 NoDDClr 1Q };
add(8) g43<1>.wF g2<0>.xF 0x40e00000F /* 7F */ { align16 NoDDChk 1Q };
add(8) m5<1>.zF g1<0>.xF 0x40000000F /* 2F */ { align16 NoDDClr,NoDDChk 1Q };
add(8) m14<1>.zF g1<0>.xF 0x42180000F /* 38F */ { align16 NoDDChk 1Q };
add(8) m3<1>F g1<4>.xF 0x48403000VF /* [0F, 1F, 2F, 3F]VF */ { align16 1Q };
add(8) g99<1>.xD g8<4>.xUD 32D { align16 1Q };
add(8) m4<1>.xF g1<4>.xF 0x42c80000F /* 100F */ { align16 1Q };
add(8) g3.1<2>UW g3.1<16,8,2>UW g13<16,8,2>UW { align1 1Q };
add(16) g3.1<2>UW g3.1<16,8,2>UW g5<16,8,2>UW { align1 1H };
add.sat(8) m4<1>F g2<4>.yzxwF -g2<4>F { align16 1Q };
add(8) g15<1>.wF g2<0>.xF 0x40400000F /* 3F */ { align16 NoDDClr,NoDDChk 1Q };
add(8) g2<1>UD g22<0,1,0>UD g12<1,4,0>UW { align1 1Q };
add(8) g3<1>UD g22<0,1,0>UD g12.2<1,4,0>UW { align1 2Q };
add(8) m3<1>.xyF g2<4>.xyyyF g1<0>.xyyyF { align16 NoDDChk 1Q };
add.sat(8) m4<1>F g2<0,1,0>F g2.4<0,1,0>F { align1 1Q };
add.sat(8) g3<1>F g2.3<0,1,0>F g2.4<0,1,0>F { align1 1Q };
add.sat(16) m7<1>F g2<0,1,0>F g2.4<0,1,0>F { align1 1H };
add.sat(16) g3<1>F g2.3<0,1,0>F g2.4<0,1,0>F { align1 1H };
add(8) m17<1>D g3<8,8,1>D 12D { align1 1Q };
add(16) m17<1>D g3<8,8,1>D 12D { align1 1H };
add(8) m3<1>.yF g1<4>.yF -g9<4>.xF { align16 NoDDClr,NoDDChk 1Q };
add(8) m5<1>.xyD g6<4>.xyyyD g12<4>.xD { align16 NoDDClr,NoDDChk 1Q };
add(8) m5<1>.xD g11<4>.xD 1D { align16 1Q };
add.sat(8) m4<1>.xF -g15<4>.xF 0x3f800000F /* 1F */ { align16 NoDDClr 1Q };
add(8) m10<1>UD g13<0,1,0>UD g10<1,4,0>UW { align1 1Q };
add(8) m11<1>UD g13<0,1,0>UD g10.2<1,4,0>UW { align1 2Q };
add(8) m17<1>UD g6<8,8,1>UD 0x00000110UD { align1 1Q };
add(16) m17<1>UD g9<8,8,1>UD 0x00000110UD { align1 1H };
add.sat(8) g22<1>.xUD g20<4>.xUD g10<4>.xUD { align16 1Q };
add.l.f0.0(8) g14<1>.xD g12<4>.xD -g12<4>.yD { align16 1Q };
add(8) g18<1>F -g16<4>.xyxyF g16<4>.zwzwF { align16 2Q };
add.sat(8) m4<1>F g7<4>.xF 0xbf800000F /* -1F */ { align16 1Q };
add.sat(8) m4<1>.yF -g1<0>.xF 0x3f000000F /* 0.5F */ { align16 NoDDClr,NoDDChk 1Q };
add.sat(8) m4<1>.wF g3<4>.yF 0xc0000000F /* -2F */ { align16 NoDDChk 1Q };
add(8) m5<1>.xF g25<4>.xF -g3<4>.yF { align16 NoDDClr 1Q };
add(8) g18<1>.yF g21<4>.xF g27<4>.xF { align16 NoDDChk 1Q };
| 83.8125 | 103 | 0.418195 |
eba045ec9ebc365022c970075835c25c8a6cd66c | 568 | asm | Assembly | libsrc/_DEVELOPMENT/target/yaz180/device/pca9665/pca9665_write_burst.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/target/yaz180/device/pca9665/pca9665_write_burst.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/target/yaz180/device/pca9665/pca9665_write_burst.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
INCLUDE "config_private.inc"
SECTION code_driver
PUBLIC pca9665_write_burst
;Do a burst write to the direct registers
;input A = number of bytes to write, max 68 to hardware buffer
;input BC = device addr | direct register address (ddd.....:......rr)
;input HL = starting adddress of output buffer
;output HL = finishing address
.pca9665_write_burst
outi ;write the byte (HL++)
inc b ;keep b constant
dec a ;keep iterative count in A
jr NZ,pca9665_write_burst
ret
| 28.4 | 74 | 0.626761 |
b864b58c90f6c2536557941b0db81a36407e7b9a | 182 | asm | Assembly | data/pokemon/dex_entries/whiscash.asm | AtmaBuster/pokeplat-gen2 | fa83b2e75575949b8f72cb2c48f7a1042e97f70f | [
"blessing"
] | 6 | 2021-06-19T06:41:19.000Z | 2022-02-15T17:12:33.000Z | data/pokemon/dex_entries/whiscash.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | null | null | null | data/pokemon/dex_entries/whiscash.asm | AtmaBuster/pokeplat-gen2-old | 01e42c55db5408d72d89133dc84a46c699d849ad | [
"blessing"
] | 3 | 2021-01-15T18:45:40.000Z | 2021-10-16T03:35:27.000Z | db "WHISKERS@" ; species name
db "It claims a large"
next "swamp to itself."
next "If a foe comes"
page "near it, it sets"
next "off tremors by"
next "thrashing around.@"
| 18.2 | 30 | 0.659341 |
5505ceadf29a86d60d35a52af9a59a5c3f7788d9 | 2,457 | asm | Assembly | software/pcx86/test/cpu/80186/shifts.asm | jriwanek-forks/pcjs | 868047405c383e2b05848e771e89e2bd4558ee96 | [
"MIT"
] | 711 | 2015-01-12T21:43:49.000Z | 2022-03-31T15:04:16.000Z | software/pcx86/test/cpu/80186/shifts.asm | jriwanek-forks/pcjs | 868047405c383e2b05848e771e89e2bd4558ee96 | [
"MIT"
] | 98 | 2015-01-06T11:52:01.000Z | 2022-03-28T18:14:28.000Z | software/pcx86/test/cpu/80186/shifts.asm | jriwanek-forks/pcjs | 868047405c383e2b05848e771e89e2bd4558ee96 | [
"MIT"
] | 152 | 2015-02-01T20:23:27.000Z | 2022-03-30T21:58:48.000Z | ;00: 70 a6 e0 31 c0 66 80 64 5d 0f 02 74 d4 e5 ff 6e
;10: 55 5d 03 34 26 1d 00 8d XX XX XX XX XX XX XX XX
;20: 8a dd a8 b1 00 00 00 a8 93 84 80 95 b9 fd b9 df
;30: ff ff fd fe 88 33 ff 93 d0 3d e8 54 00 00 4e 05
;40: 28 0b 00 04 46 00 46 00 07 00 02 00 06 00 07 00
;50: 46 00 06 08 06 08 03 00 87 00 86 00 82 00 06 00
;60: 03 00 83 00 87 00 03 00 03 00 82 00 83 00 83 00
;70: 06 00 86 08 83 00 87 00 46 00 82 08 82 08 82 08
use16
start:
; sal/shl word operations
mov ax,06ec5h
mov bx,0b1a8h
mov word[0],05338h
mov word[2],031feh
mov sp,128
sal ax,1 ; (1)
pushf
mov word[32],ax
shl word[0],1 ; (2)
pushf
mov cx,0100h
shl bx,cl
pushf
mov word[34],bx
mov cx,0ffffh
mov dx,bx
sal dx,cl
pushf
mov word[36],dx
mov cl,08h
sal bx,cl
pushf
mov word[38],bx
mov cl,04h
sal byte[2],cl
pushf
; sal/shl byte operations
mov dx,0956fh
mov ax,04293h
mov word[4],033c0h
mov word[6],064ffh
shl ah,1 ; (5)
pushf
mov word[40],ax
sal byte[5],1 ; (6)
pushf
mov cl,07h
shl dl,cl
pushf
mov word[42],dx
sal byte[6],cl
pushf
; sar word operations
mov ax,0fb72h
mov bx,0dfb9h
mov word[8],01ebbh
mov word[10],0742fh
sar ax,1 ; (9)
pushf
mov word[44],ax
sar word[8],1 ; (10)
pushf
mov cx,0100h
sar bx,cl
pushf
mov word[46],bx
mov cx,0ffffh
mov dx,bx
sar dx,cl
pushf
mov word[48],dx
mov cl,05h
sar bx,cl
pushf
mov word[50],bx
mov cl,04h
sar byte[10],cl
pushf
; sar byte operations
mov dx,093b8h
mov ax,06688h
mov word[12],0cad4h
mov word[14],06ec9h
sar ah,1 ; (13)
pushf
mov word[52],ax
sar byte[13],1 ; (14)
pushf
mov cl,07h
sar dl,cl
pushf
mov word[54],dx
sar byte[14],cl
pushf
; shr word operations
mov ax,07ba1h
mov bx,054e8h
mov word[16],0baaah
mov word[18],03431h
shr ax,1 ; (17)
pushf
mov word[56],ax
shr word[16],1 ; (18)
pushf
mov cx,0100h
shr bx,cl
pushf
mov word[58],bx
mov cx,0ffffh
mov dx,bx
shr dx,cl
pushf
mov word[60],dx
mov cl,04h
shr bx,cl
pushf
mov word[62],bx
mov cl,04h
shr byte[18],cl
pushf
; shr byte operations
mov dx,00410h
mov ax,01628h
mov word[20],03b26h
mov word[22],08d0dh
shr ah,1 ; (21)
pushf
mov word[64],ax
shr byte[21],1 ; (22)
pushf
mov cl,07h
shr dl,cl
pushf
mov word[66],dx
shr byte[22],cl
pushf
hlt
rb 65520-$
jmp start
rb 65535-$
db 0ffh
| 13.353261 | 53 | 0.610501 |
eed2fcf96d51ee6f96d99bf17f1a2f98b2ddf3e5 | 1,972 | asm | Assembly | constants/tileset_constants.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | constants/tileset_constants.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | constants/tileset_constants.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | ; Tilesets indexes (see data/tilesets.asm)
const_def 1
const TILESET_JOHTO ; 01
const TILESET_JOHTO_MODERN ; 02
const TILESET_KANTO ; 03
const TILESET_BATTLE_TOWER_OUTSIDE ; 04
const TILESET_HOUSE ; 05
const TILESET_PLAYERS_HOUSE ; 06
const TILESET_POKECENTER ; 07
const TILESET_GATE ; 08
const TILESET_PORT ; 09
const TILESET_LAB ; 0a
const TILESET_FACILITY ; 0b
const TILESET_MART ; 0c
const TILESET_MANSION ; 0d
const TILESET_GAME_CORNER ; 0e
const TILESET_ELITE_FOUR_ROOM ; 0f
const TILESET_TRADITIONAL_HOUSE ; 10
const TILESET_TRAIN_STATION ; 11
const TILESET_CHAMPIONS_ROOM ; 12
const TILESET_LIGHTHOUSE ; 13
const TILESET_PLAYERS_ROOM ; 14
const TILESET_POKECOM_CENTER ; 15
const TILESET_BATTLE_TOWER ; 16
const TILESET_TOWER ; 17
const TILESET_CAVE ; 18
const TILESET_PARK ; 19
const TILESET_RUINS_OF_ALPH ; 1a
const TILESET_RADIO_TOWER ; 1b
const TILESET_UNDERGROUND ; 1c
const TILESET_ICE_PATH ; 1d
const TILESET_DARK_CAVE ; 1e
const TILESET_FOREST ; 1f
const TILESET_BETA_WORD_ROOM ; 20
const TILESET_HO_OH_WORD_ROOM ; 21
const TILESET_KABUTO_WORD_ROOM ; 22
const TILESET_OMANYTE_WORD_ROOM ; 23
const TILESET_AERODACTYL_WORD_ROOM ; 24
const TILESET_VIRIDIAN_FOREST ; 25
const TILESET_VIRIDIAN_FOREST_GATE ; 26
const TILESET_MUSEUM ; 27
; bg palette values (see gfx/tilesets/*_palette_map.asm)
; TilesetBGPalette indexes (see gfx/tilesets/bg_tiles.pal)
const_def
const PAL_BG_GRAY ; 0
const PAL_BG_RED ; 1
const PAL_BG_GREEN ; 2
const PAL_BG_WATER ; 3
const PAL_BG_YELLOW ; 4
const PAL_BG_BROWN ; 5
const PAL_BG_ROOF ; 6
const PAL_BG_TEXT ; 7
| 36.518519 | 58 | 0.649594 |
8601aa29322d1913953f3707f2d58cc7d2438e61 | 691 | asm | Assembly | oeis/154/A154610.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/154/A154610.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/154/A154610.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A154610: Numbers n such that 13n + 5 is prime.
; Submitted by Christian Krause
; 0,2,6,8,18,24,32,38,44,56,62,66,72,74,78,84,86,92,98,108,114,128,132,134,144,162,164,174,176,182,186,198,204,206,224,228,246,248,254,258,266,272,276,282,284,296,302,318,324,326,336,342,368,378,386,392,396,398,402,408,414,416,428,434,452,462,464,468,482,486,494,512,522,528,534,546,548,554,588,594,596,606,618,624,632,636,644,648,666,668,672,678,686,692,704,708,722,732,734,744
mov $1,4
mov $2,$0
pow $2,2
lpb $2
mov $3,$1
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,26
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
sub $2,1
lpe
mov $0,$1
div $0,13
| 32.904762 | 378 | 0.674385 |
0ff778eb6b1873bb8c8136c053391333455325ad | 1,303 | asm | Assembly | maps/FightingDojo.asm | pokeachromicdevs/pokeoctober | db74bb68bbfceac07eec6d64674bc24fd4c0b67f | [
"blessing"
] | 1 | 2021-07-05T23:48:37.000Z | 2021-07-05T23:48:37.000Z | maps/FightingDojo.asm | pokeachromicdevs/pokeoctober | db74bb68bbfceac07eec6d64674bc24fd4c0b67f | [
"blessing"
] | 1 | 2020-12-16T01:11:20.000Z | 2020-12-16T22:53:56.000Z | maps/FightingDojo.asm | pokeachromicdevs/pokeoctober | db74bb68bbfceac07eec6d64674bc24fd4c0b67f | [
"blessing"
] | 1 | 2021-07-05T23:33:22.000Z | 2021-07-05T23:33:22.000Z | object_const_def ; object_event constants
const FIGHTINGDOJO_BLACK_BELT
const FIGHTINGDOJO_POKE_BALL
FightingDojo_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
FightingDojoBlackBelt:
jumptextfaceplayer FightingDojoBlackBeltText
FightingDojoSign1:
jumptext FightingDojoSign1Text
FightingDojoSign2:
jumptext FightingDojoSign2Text
FightingDojoFocusBand:
itemball FOCUS_ORB
FightingDojoBlackBeltText:
text "Hello!"
para "KARATE KING, the"
line "FIGHTING DOJO's"
para "master, is in a"
line "cave in JOHTO for"
cont "training."
done
FightingDojoSign1Text:
text "What goes around"
line "comes around!"
done
FightingDojoSign2Text:
text "Enemies on every"
line "side!"
done
FightingDojo_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 4, 11, SAFFRON_CITY, 1
warp_event 5, 11, SAFFRON_CITY, 1
db 0 ; coord events
db 2 ; bg events
bg_event 4, 0, BGEVENT_READ, FightingDojoSign1
bg_event 5, 0, BGEVENT_READ, FightingDojoSign2
db 2 ; object events
object_event 4, 4, SPRITE_BLACK_BELT, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, FightingDojoBlackBelt, -1
object_event 3, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, FightingDojoFocusBand, EVENT_PICKED_UP_FOCUS_BAND
| 22.084746 | 152 | 0.778204 |
2e934138145e2b911fe309374d125dfc437207c5 | 6,611 | asm | Assembly | checkPasswordEasy/checkPasswordEasy.asm | nico9889/CT0539-Sec | d2726d33d26a77eb5907a8855d4196d0541541c7 | [
"MIT"
] | null | null | null | checkPasswordEasy/checkPasswordEasy.asm | nico9889/CT0539-Sec | d2726d33d26a77eb5907a8855d4196d0541541c7 | [
"MIT"
] | null | null | null | checkPasswordEasy/checkPasswordEasy.asm | nico9889/CT0539-Sec | d2726d33d26a77eb5907a8855d4196d0541541c7 | [
"MIT"
] | null | null | null |
; Save old stack pointer
0x000000000000076a <+0>: push rbp ; Push stack base pointer
0x000000000000076b <+1>: mov rbp,rsp ; Copy Stack Pointer into Stack Base Pointer
0x000000000000076e <+4>: push rbx ; Push RBX Value (64bit, base register)
0x000000000000076f <+5>: sub rsp,0x58 ; Sub FROM RSP (Stack Pointer) 0x58 (88) rsp-88
0x0000000000000773 <+9>: mov DWORD PTR [rbp-0x54],edi ; Move EDI into RBP-0x54 (16bit memory area reference)
0x0000000000000776 <+12>: mov QWORD PTR [rbp-0x60],rsi ; Move RSI (Source 64bit register) into rbp-0x60 (32bit memory area reference) (probably argv)
0x000000000000077a <+16>: mov rax,QWORD PTR fs:0x28 ; Move F Segment (32bit memory reference) into 64bit accumulator
0x0000000000000783 <+25>: mov QWORD PTR [rbp-0x18],rax ; Move RAX (64bit acc) into rbp-0x18 (32bit memory reference)
0x0000000000000787 <+29>: xor eax,eax
; Store in memory int encPassword[8] = {0xffffffff, 0x1,0x2,0x3,0x6,0x4,0x3,0x3};
; int enc[8] = {0xffffffff, 0x1,0x2,0x3,0x6,0x4,0x3,0x3};
0x0000000000000789 <+31>: mov DWORD PTR [rbp-0x40],0xffffffff ; Riferisce a DWORD in memoria, 0xffffffff
0x0000000000000790 <+38>: mov DWORD PTR [rbp-0x3c],0x1
0x0000000000000797 <+45>: mov DWORD PTR [rbp-0x38],0x2
0x000000000000079e <+52>: mov DWORD PTR [rbp-0x34],0x3
0x00000000000007a5 <+59>: mov DWORD PTR [rbp-0x30],0x6
0x00000000000007ac <+66>: mov DWORD PTR [rbp-0x2c],0x4
0x00000000000007b3 <+73>: mov DWORD PTR [rbp-0x28],0x3
0x00000000000007ba <+80>: mov DWORD PTR [rbp-0x24],0x3
0x00000000000007c1 <+87>: mov rax,QWORD PTR [rbp-0x60] ; rbp - 0x60 (memory reference) in RAX
0x00000000000007c5 <+91>: mov rax,QWORD PTR [rax+0x8] ; RAX = [RAX+8]
0x00000000000007c9 <+95>: mov QWORD PTR [rbp-0x48],rax ; [RBP-0x48] = RAX
0x00000000000007cd <+99>: cmp DWORD PTR [rbp-0x54],0x1 ; [rbp-0x54] == 0x1
0x00000000000007d1 <+103>: je 0x7f3 <main+137> ; if [rbp-0x54] == 0x1 JUMP Main+137
0x00000000000007d3 <+105>: mov rax,QWORD PTR [rbp-0x48] ; Copy input rbp-0x48 to RAX
0x00000000000007d7 <+109>: mov rdi,rax ; Copy RAX to RDI for STRLEN
0x00000000000007da <+112>: call 0x610 <strlen@plt> ; Call strlen
0x00000000000007df <+117>: mov rbx,rax ; Salva il risultato per comparison
0x00000000000007e2 <+120>: lea rdi,[rip+0x20087f] # 0x201068 <encPassword> ; Load encoded password to strlen
0x00000000000007e9 <+127>: call 0x610 <strlen@plt> ; Call strlen
0x00000000000007ee <+132>: cmp rbx,rax ; Compare string length
0x00000000000007f1 <+135>: je 0x827 <main+189> ; If string are equals jump to 189 else
0x00000000000007f3 <+137>: lea rdi,[rip+0x20086e] # 0x201068 <encPassword> ; Copy rip+0x20086e to strlen
0x00000000000007fa <+144>: call 0x610 <strlen@plt> ; Call strlen
0x00000000000007ff <+149>: mov rdx,rax ; *dx = *ax (len result maybe)
0x0000000000000802 <+152>: mov rax,QWORD PTR [rbp-0x60] ; *ax = *bp-0x60 (old saved source index)
0x0000000000000806 <+156>: mov rax,QWORD PTR [rax] ; *ax = (int32)*ax
0x0000000000000809 <+159>: mov rsi,rax ; source index = *ax
0x000000000000080c <+162>: lea rdi,[rip+0x125] # 0x938 ; *di = Invalid characters length pointer
0x0000000000000813 <+169>: mov eax,0x0 ; *ax = 0
0x0000000000000818 <+174>: call 0x620 <printf@plt> ; printf Invalid characters length
0x000000000000081d <+179>: mov edi,0x2
0x0000000000000822 <+184>: call 0x640 <exit@plt> ; EXIT
0x0000000000000827 <+189>: mov DWORD PTR [rbp-0x4c],0x0 ; i = 0
0x000000000000082e <+196>: jmp 0x861 <main+247> ; JUMP TO CMP 247
0x0000000000000830 <+198>: mov eax,DWORD PTR [rbp-0x4c] ; :DECODE int eax = i
0x0000000000000833 <+201>: movsxd rdx,eax ; int64 rdx = eax (=i)
0x0000000000000836 <+204>: lea rax,[rip+0x20082b] # 0x201068 <encPassword> ; char* rax = encPassword
0x000000000000083d <+211>: movzx edx,BYTE PTR [rdx+rax*1] ; *dx = encPassword[i*1]; dx = h
0x0000000000000841 <+215>: mov eax,DWORD PTR [rbp-0x4c] ; *ax = i
0x0000000000000844 <+218>: cdqe ; int64 *ax = *ax;
0x0000000000000846 <+220>: mov eax,DWORD PTR [rbp-0x40+rax*4] ; *ax = enc[(i * 4)] // 4 bytes because it's int, int enc[8] = {0xffffffff, 0x1,0x2,0x3,0x6,0x4,0x3,0x3}; ax = |-1|
0x000000000000084a <+224>: lea ecx,[rdx+rax*1] ; *cx = *dx+*ax*1 = h + |-1| = g
0x000000000000084d <+227>: mov eax,DWORD PTR [rbp-0x4c] ; *ax = i
0x0000000000000850 <+230>: movsxd rdx,eax ; *dx = i
0x0000000000000853 <+233>: lea rax,[rip+0x20080e] # 0x201068 <encPassword> ; *ax = encPassword
0x000000000000085a <+240>: mov BYTE PTR [rdx+rax*1],cl ; encPassword[i] = *cx
; (for i=0; i<=7;i++)
0x000000000000085d <+243>: add DWORD PTR [rbp-0x4c],0x1 ; Aggiunge 1 a rbp-0x4c
0x0000000000000861 <+247>: cmp DWORD PTR [rbp-0x4c],0x7 ; Confronta rbp-04xc con 7
0x0000000000000865 <+251>: jle 0x830 <main+198> ; JUMP less equal :DECODE
0x0000000000000867 <+253>: mov rax,QWORD PTR [rbp-0x48]
0x000000000000086b <+257>: mov rsi,rax
0x000000000000086e <+260>: lea rdi,[rip+0x2007f3] # 0x201068 <encPassword> ; Copy string address for strcmp
0x0000000000000875 <+267>: call 0x630 <strcmp@plt> ; String compare
0x000000000000087a <+272>: test eax,eax
0x000000000000087c <+274>: jne 0x894 <main+298> ;if equal
0x000000000000087e <+276>: lea rdi,[rip+0xd3] # 0x958 ; load text
0x0000000000000885 <+283>: call 0x600 <puts@plt> ; print to screen
0x000000000000088a <+288>: mov edi,0x0 ;
0x000000000000088f <+293>: call 0x640 <exit@plt> ; exit
; else
0x0000000000000894 <+298>: lea rdi,[rip+0xe6] # 0x981 ; load text
0x000000000000089b <+305>: call 0x600 <puts@plt> ; print to screen | 78.702381 | 193 | 0.59643 |
c8a962a39cce029d80558a81a53442159dda122c | 885 | asm | Assembly | programs/oeis/274/A274339.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/274/A274339.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/274/A274339.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A274339: The 3-cycle of the iterated sum of deficient divisors function.
; 15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15,24,18,15
mov $1,$0
mul $1,8
mod $1,24
mod $1,5
mul $1,3
add $1,15
| 88.5 | 751 | 0.667797 |
ee50822f709848f2bca3b420356f1269bad07b51 | 582 | asm | Assembly | libsrc/_DEVELOPMENT/adt/p_queue/z80/asm_p_queue_push.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/p_queue/z80/asm_p_queue_push.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/adt/p_queue/z80/asm_p_queue_push.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; ===============================================================
; Dec 2013
; ===============================================================
;
; void p_queue_push(p_queue_t *q, void *item)
;
; Push item into queue.
;
; ===============================================================
SECTION code_adt_p_queue
PUBLIC asm_p_queue_push
EXTERN asm_p_forward_list_alt_push_back
defc asm_p_queue_push = asm_p_forward_list_alt_push_back
; enter : bc = queue *
; de = void *item
;
; exit : bc = queue *
; hl = void *item
;
; uses : af, de, hl
| 21.555556 | 65 | 0.42268 |
233d913482df9e1da22228f1dcc2cd261852b932 | 285 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/ldexp_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/ldexp_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/ldexp_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | null | null | null |
SECTION code_fp_math16
PUBLIC f16_ldexp_callee
EXTERN cm16_sccz80_ldexp_callee
defc f16_ldexp_callee = cm16_sccz80_ldexp_callee
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _f16_ldexp_callee
EXTERN cm16_sdcc_ldexp_callee
defc _f16_ldexp_callee = cm16_sdcc_ldexp_callee
ENDIF
| 17.8125 | 49 | 0.866667 |
6de6923087d1dd8aa20c581a1030145be65873e2 | 161 | asm | Assembly | assembly/CPPandAssembly/maxofthree.asm | MosheBerman/logisim-assignments | c911492379081042fd78d20a2ff03d6622dd4a40 | [
"MIT"
] | null | null | null | assembly/CPPandAssembly/maxofthree.asm | MosheBerman/logisim-assignments | c911492379081042fd78d20a2ff03d6622dd4a40 | [
"MIT"
] | null | null | null | assembly/CPPandAssembly/maxofthree.asm | MosheBerman/logisim-assignments | c911492379081042fd78d20a2ff03d6622dd4a40 | [
"MIT"
] | null | null | null | global maxofthree
section .text
maxofthree:
mov eax, [esp+4]
mov ecx, [esp+8]
mov edx, [esp+12]
cmp eax, ecx
cmovl eax, ecx
cmp eax, edx
cmovl eax, edx
ret
| 9.470588 | 17 | 0.689441 |
0bf47a97b9cc75423f209105e970cc3df1c2a1a6 | 1,091 | asm | Assembly | src/PJ/flic386p/libsrc/8514/mmmmsync.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 119 | 2015-01-10T15:13:50.000Z | 2022-01-24T04:54:34.000Z | src/PJ/flic386p/libsrc/8514/mmmmsync.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 6 | 2015-10-22T20:14:59.000Z | 2021-07-10T03:25:21.000Z | src/PJ/flic386p/libsrc/8514/mmmmsync.asm | AnimatorPro/Animator-Pro | 6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb | [
"BSD-3-Clause"
] | 27 | 2015-04-24T22:55:30.000Z | 2022-01-21T13:54:00.000Z |
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;Set BIOS video mode
;pj_8514_set_vmode(mode)
public pj_8514_set_vmode
pj_8514_set_vmode proc near
mov eax,4[esp]
int 10H
ret
pj_8514_set_vmode endp
;Get BIOS video mode
;pj_8514_get_vmode()
public pj_8514_get_vmode
pj_8514_get_vmode proc near
push ebx
mov ah,0fh
int 10H
and eax,0ffh
pop ebx
ret
pj_8514_get_vmode endp
;busy-wait for vblank
public pj_8514_wait_vblank
pj_8514_wait_vblank proc near
push edx
mov dx,3dah ;video status port
wvb:
in al,dx
test al,8
jz wvb
pop edx
ret
pj_8514_wait_vblank endp
;busy-wait for out of vblank
public pj_8514_wait_novblank
pj_8514_wait_novblank proc near
push edx
mov dx,3dah ;video status port
wnvb:
in al,dx
test al,8
jnz wnvb
pop edx
ret
pj_8514_wait_novblank endp
;wait for novblank then wait for vblank
public pj_8514_wait_vsync
pj_8514_wait_vsync proc near
call near ptr pj_8514_wait_novblank
jmp short pj_8514_wait_vblank
pj_8514_wait_vsync endp
code ends
end
| 17.046875 | 41 | 0.749771 |
8001d411ea333d652f42c4c7ee0cbf13293bf92d | 545 | asm | Assembly | programs/oeis/168/A168565.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/168/A168565.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/168/A168565.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A168565: Let p = prime(n); then a(n) = p + (p-1)/2.
; 4,7,10,16,19,25,28,34,43,46,55,61,64,70,79,88,91,100,106,109,118,124,133,145,151,154,160,163,169,190,196,205,208,223,226,235,244,250,259,268,271,286,289,295,298,316,334,340,343,349,358,361,376,385,394,403
mov $7,2
mov $9,$0
lpb $7
mov $0,$9
sub $7,1
add $0,$7
mov $2,$0
mov $5,$0
cal $0,40 ; The prime numbers.
add $2,$0
mov $3,$5
sub $3,2
add $4,$2
sub $4,$3
mov $6,$7
mov $8,$4
lpb $6
mov $1,$8
sub $6,1
lpe
lpe
sub $1,5
div $1,2
mul $1,3
add $1,4
| 18.793103 | 206 | 0.570642 |
8884178528d24b15ca9008e899960c61e7a62d7e | 4,125 | asm | Assembly | vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SwitchTo16BitV86.asm | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SwitchTo16BitV86.asm | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SwitchTo16BitV86.asm | Nurzamal/rest_api_docker | a9cc01dfc235467d490d9663755b33ef6990bdd8 | [
"MIT"
] | null | null | null | ; $Id: bs3-cmn-SwitchTo16BitV86.asm 69111 2017-10-17 14:26:02Z vboxsync $
;; @file
; BS3Kit - Bs3SwitchTo16BitV86
;
;
; Copyright (C) 2007-2017 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; General Public License (GPL) as published by the Free Software
; Foundation, in version 2 as it comes in the "COPYING" file of the
; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
;
; The contents of this file may alternatively be used under the terms
; of the Common Development and Distribution License Version 1.0
; (CDDL) only, as it comes in the "COPYING.CDDL" file of the
; VirtualBox OSE distribution, in which case the provisions of the
; CDDL are applicable instead of those of the GPL.
;
; You may elect to license modified versions of this file under the
; terms and conditions of either the GPL or the CDDL or both.
;
%include "bs3kit-template-header.mac"
%if TMPL_BITS != 64
BS3_EXTERN_DATA16 g_bBs3CurrentMode
BS3_EXTERN_CMN Bs3SwitchToRing0
BS3_EXTERN_CMN Bs3SelProtFar32ToFlat32
TMPL_BEGIN_TEXT
;;
; @cproto BS3_DECL(void) Bs3SwitchTo16BitV86(void);
; @uses No general registers modified. Regment registers loaded with specific
; values and the stack register converted to real mode (not ebp).
;
BS3_PROC_BEGIN_CMN Bs3SwitchTo16BitV86, BS3_PBC_NEAR
; Construct basic v8086 return frame.
BONLY16 movzx esp, sp
push dword 0 ; +0x20: GS
push dword 0 ; +0x1c: FS
push dword BS3_SEL_DATA16 ; +0x18: ES
push dword BS3_SEL_DATA16 ; +0x14: DS
push dword 0 ; +0x10: SS - later
push dword 0 ; +0x0c: return ESP, later.
pushfd
or dword [esp], X86_EFL_VM | X86_EFL_IOPL ; +0x08: Set IOPL=3 and the VM flag (EFLAGS).
push dword BS3_SEL_TEXT16 ; +0x04
push word 0
push word [esp + 24h - 2] ; +0x00
; Save registers and stuff.
push eax
push edx
push ecx
push ebx
%if TMPL_BITS == 16
push ds
; Check g_bBs3CurrentMode whether we're in v8086 mode or not.
mov ax, seg g_bBs3CurrentMode
mov ds, ax
mov al, [BS3_DATA16_WRT(g_bBs3CurrentMode)]
test al, BS3_MODE_CODE_V86
jz .not_v8086
pop ds
pop ebx
pop ecx
pop edx
pop eax
add xSP, 0x24
ret
.not_v8086:
pop ax ; Drop the push ds so the stacks are identical. Keep DS = BS3KIT_GRPNM_DATA16 though.
%endif
; Ensure that we're in ring-0.
mov ax, ss
test ax, 3
jz .is_ring0
call Bs3SwitchToRing0
%if TMPL_BITS == 16
mov ax, seg g_bBs3CurrentMode
mov ds, ax ; parnoia
%endif
.is_ring0:
; Update globals.
and byte [BS3_DATA16_WRT(g_bBs3CurrentMode)], ~BS3_MODE_CODE_MASK
or byte [BS3_DATA16_WRT(g_bBs3CurrentMode)], BS3_MODE_CODE_V86
; Thunk return SS:ESP to real-mode address via 32-bit flat.
lea eax, [esp + 4*4 + 24h + xCB]
push ss
push eax
BS3_CALL Bs3SelProtFar32ToFlat32, 2
add esp, sCB + xCB
mov [esp + 4*4 + 0ch], ax ; high word is already zero
%if TMPL_BITS == 16
mov [esp + 4*4 + 10h], dx
%else
shr eax, 16
mov [esp + 4*4 + 10h], ax
%endif
; Return to v8086 mode.
pop ebx
pop ecx
pop edx
pop eax
iretd
BS3_PROC_END_CMN Bs3SwitchTo16BitV86
;; @todo far 16-bit variant.
%endif ; ! 64-bit
| 33.266129 | 125 | 0.586909 |
e378b55f1791efbcf0909ad4f06fbf7ca377a333 | 382 | asm | Assembly | oeis/071/A071902.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/071/A071902.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/071/A071902.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A071902: Sum_{k=0..n^2} (k^2 - n^2)/n.
; Submitted by Jamie Morken(w2)
; -1,5,65,306,975,2479,5425,10660,19311,32825,53009,82070,122655,177891,251425,347464,470815,626925,821921,1062650,1356719,1712535,2139345,2647276,3247375,3951649,4773105,5725790,6824831,8086475,9528129
add $0,1
mov $2,$0
pow $0,2
sub $0,3
mov $1,$2
add $1,$2
mul $1,$0
add $0,4
add $2,$1
mul $0,$2
div $0,6
| 23.875 | 202 | 0.701571 |
81bd86c9f8a79c8c6b70de9899941610f17db19c | 5,872 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1800.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_0xca_notsx.log_21829_1800.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_0xca_notsx.log_21829_1800.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 %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x12e1f, %rsi
lea addresses_normal_ht+0x106ef, %rdi
nop
nop
nop
nop
sub $26403, %r8
mov $101, %rcx
rep movsw
nop
nop
nop
cmp %rdx, %rdx
lea addresses_WT_ht+0xe07b, %rcx
xor $6179, %rsi
movb (%rcx), %r15b
nop
nop
sub $6994, %r8
lea addresses_WT_ht+0x2f5b, %rsi
lea addresses_normal_ht+0x1eb9b, %rdi
clflush (%rsi)
nop
nop
add %r9, %r9
mov $34, %rcx
rep movsl
nop
nop
nop
sub $4875, %rcx
lea addresses_WT_ht+0xe5b, %rdx
nop
nop
nop
sub $5779, %r9
mov (%rdx), %r15
nop
nop
nop
sub %r15, %r15
lea addresses_UC_ht+0xdb91, %rsi
lea addresses_WC_ht+0x1619b, %rdi
and $23345, %r10
mov $52, %rcx
rep movsq
xor $6125, %rdx
lea addresses_UC_ht+0x1dd9b, %rdx
nop
inc %r9
mov (%rdx), %r15
nop
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_normal_ht+0x1719b, %rsi
lea addresses_A_ht+0x1259b, %rdi
cmp $42327, %r9
mov $126, %rcx
rep movsb
nop
nop
nop
sub $3783, %r8
lea addresses_UC_ht+0x1171b, %r8
nop
nop
nop
nop
inc %r10
mov (%r8), %di
nop
dec %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r8
push %r9
push %rbx
// Faulty Load
lea addresses_D+0x1959b, %r8
and $21829, %rbx
movb (%r8), %r14b
lea oracles, %rbx
and $0xff, %r14
shlq $12, %r14
mov (%rbx,%r14,1), %r14
pop %rbx
pop %r9
pop %r8
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_D'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_D'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 2, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'src': {'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 7, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 42.861314 | 2,999 | 0.659401 |
c3b48c2125b6718305f1f9fff5b7d6e670f23908 | 2,334 | asm | Assembly | CISP 310/M5 - Branching and Looping/A6_PenniesForPay.asm | gb-camera/college-hw | e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd | [
"Unlicense"
] | null | null | null | CISP 310/M5 - Branching and Looping/A6_PenniesForPay.asm | gb-camera/college-hw | e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd | [
"Unlicense"
] | null | null | null | CISP 310/M5 - Branching and Looping/A6_PenniesForPay.asm | gb-camera/college-hw | e36d275ed7fad0a0fdb711a2a4abc82860bc3fcd | [
"Unlicense"
] | null | null | null | ; CISP 310 - Michael Dinh
; Assignment 6: Pennies for Pay
; 10/18/2020
INCLUDE io.h
.DATA
; constant
salaryIncrease DWORD 2
; data
daysWorked DWORD ?
; program variables
prompt BYTE "Enter how many days you've been on the job.", 0
string BYTE 40 DUP (?)
errorLb1 BYTE "Error!", 0
errorLb2 BYTE "Input has to be between 1 and 31 inclusive!", 0
resultLb1 BYTE "Your first day! Your meager pay is this many pennies:", 0
resultLb2 BYTE "A day passes; your pay is now this many pennies:", 0
resultLb3 BYTE "You made this amount of pennies. Hope you're happy.", 0
dailySalary BYTE 11 DUP (?)
monthlyTotal BYTE 11 DUP (?)
.CODE
MainProc PROC
; reserve stack space
sub rsp, 120
; jump to inputD before error check message
jmp inputD
; jump here if there's an input error
inputE: output errorLb1, errorLb2
; first, read in the user's days worked and convert
inputD: input prompt, string, 40
atod string
; check if the value is valid between 1 and 31
cmp eax, 1
jl inputE ; jump if value is less than 1
cmp eax, 31
jg inputE ; jump if value is greater than 31
; input is valid otherwise
mov daysWorked, eax
; first day
mov eax, 1 ; keep salary rate in eax
mov ebx, 1 ; keep running total of salary in ebx
mov ecx, 1 ; keep count in ecx
dtoa dailySalary, eax
output resultLb1, dailySalary
; now we need to loop for as many days as specified
; salary should multiply by 2 for every day
; then we add this daily salary to the running total
; use a while loop w/counter for this
whileN: cmp ecx, daysWorked ; set the counter for daysWorked
jnl endWhileN ; set the escape condition
; on a successful iteration...
mul salaryIncrease ; multiply eax by 2
add ebx, eax ; add eax (daily salary) to ebx (total salary)
dtoa dailySalary, eax ; move/convert the result to dailySalary
output resultLb2, dailySalary ; output the result to the user
inc ecx ; increment the counter
jmp whileN ; check if we loop again
endWhileN:
; now we need to output the total salary
dtoa monthlyTotal, ebx
output resultLb3, monthlyTotal
; program end
add rsp, 120 ; restore stack
mov rax, 0 ; value to return (0)
ret
MainProc ENDP
END
| 28.463415 | 73 | 0.677806 |
4f0ee61ce0b160659e79a5d76443fff3f750a87d | 700 | asm | Assembly | oeis/017/A017269.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017269.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017269.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017269: Expansion of 1/((1-3x)(1-5x)(1-6x)).
; Submitted by Jon Maiga
; 1,14,133,1070,7861,54614,365653,2385950,15282421,96547814,603612373,3743478830,23070427381,141471930614,864083198293,5260771611710,31946034826741,193583363883014,1171036345331413,7073900044416590,42681813615424501,257282958897525014,1549658170791099733,9327751205919525470,56115518423811324661,337438167331627416614,2028354290475427671253,12188752182906479370350,73225645320585235391221,439819533107873585557814,2641245504774943511493973,15859114559905844455983230,95212895017569003859848181
add $0,2
lpb $0
sub $0,1
div $1,2
max $2,26
mul $2,6
mul $3,3
add $3,$1
mul $1,10
add $1,$2
lpe
mov $0,$3
div $0,78
| 38.888889 | 493 | 0.815714 |
2bcf05252602e9f9da8e6494034a3512731260a5 | 148 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/cbrt_fastcall.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/cbrt_fastcall.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/c/sdcc_iy/cbrt_fastcall.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 _cbrt_fastcall
EXTERN cm48_sdcciy_cbrt_fastcall
defc _cbrt_fastcall = cm48_sdcciy_cbrt_fastcall
| 14.8 | 47 | 0.885135 |
dd39e05a83663080a6f4f7b5ea210a55a0822862 | 5,021 | asm | Assembly | videocodec/libvpx_internal/libvpx/vp8/common/ppc/recon_altivec.asm | Omegaphora/hardware_intel_common_omx-components | 2dc257bd12d2604f5bac67d039e2b7e53c255ac9 | [
"Apache-2.0"
] | 49 | 2015-01-07T04:37:04.000Z | 2022-03-25T08:37:14.000Z | videocodec/libvpx_internal/libvpx/vp8/common/ppc/recon_altivec.asm | Omegaphora/hardware_intel_common_omx-components | 2dc257bd12d2604f5bac67d039e2b7e53c255ac9 | [
"Apache-2.0"
] | 15 | 2015-02-17T09:28:19.000Z | 2017-09-23T16:51:25.000Z | videocodec/libvpx_internal/libvpx/vp8/common/ppc/recon_altivec.asm | Omegaphora/hardware_intel_common_omx-components | 2dc257bd12d2604f5bac67d039e2b7e53c255ac9 | [
"Apache-2.0"
] | 16 | 2015-01-08T01:47:24.000Z | 2022-02-25T06:06:06.000Z | ;
; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
;
; Use of this source code is governed by a BSD-style license
; that can be found in the LICENSE file in the root of the source
; tree. An additional intellectual property rights grant can be found
; in the file PATENTS. All contributing project authors may
; be found in the AUTHORS file in the root of the source tree.
;
.globl recon4b_ppc
.globl recon2b_ppc
.globl recon_b_ppc
.macro row_of16 Diff Pred Dst Stride
lvx v1, 0, \Pred ;# v1 = pred = p0..p15
addi \Pred, \Pred, 16 ;# next pred
vmrghb v2, v0, v1 ;# v2 = 16-bit p0..p7
lvx v3, 0, \Diff ;# v3 = d0..d7
vaddshs v2, v2, v3 ;# v2 = r0..r7
vmrglb v1, v0, v1 ;# v1 = 16-bit p8..p15
lvx v3, r8, \Diff ;# v3 = d8..d15
addi \Diff, \Diff, 32 ;# next diff
vaddshs v3, v3, v1 ;# v3 = r8..r15
vpkshus v2, v2, v3 ;# v2 = 8-bit r0..r15
stvx v2, 0, \Dst ;# to dst
add \Dst, \Dst, \Stride ;# next dst
.endm
.text
.align 2
;# r3 = short *diff_ptr,
;# r4 = unsigned char *pred_ptr,
;# r5 = unsigned char *dst_ptr,
;# r6 = int stride
recon4b_ppc:
mfspr r0, 256 ;# get old VRSAVE
stw r0, -8(r1) ;# save old VRSAVE to stack
oris r0, r0, 0xf000
mtspr 256,r0 ;# set VRSAVE
vxor v0, v0, v0
li r8, 16
row_of16 r3, r4, r5, r6
row_of16 r3, r4, r5, r6
row_of16 r3, r4, r5, r6
row_of16 r3, r4, r5, r6
lwz r12, -8(r1) ;# restore old VRSAVE from stack
mtspr 256, r12 ;# reset old VRSAVE
blr
.macro two_rows_of8 Diff Pred Dst Stride write_first_four_pels
lvx v1, 0, \Pred ;# v1 = pred = p0..p15
vmrghb v2, v0, v1 ;# v2 = 16-bit p0..p7
lvx v3, 0, \Diff ;# v3 = d0..d7
vaddshs v2, v2, v3 ;# v2 = r0..r7
vmrglb v1, v0, v1 ;# v1 = 16-bit p8..p15
lvx v3, r8, \Diff ;# v2 = d8..d15
vaddshs v3, v3, v1 ;# v3 = r8..r15
vpkshus v2, v2, v3 ;# v3 = 8-bit r0..r15
stvx v2, 0, r10 ;# 2 rows to dst from buf
lwz r0, 0(r10)
.if \write_first_four_pels
stw r0, 0(\Dst)
.else
stwux r0, \Dst, \Stride
.endif
lwz r0, 4(r10)
stw r0, 4(\Dst)
lwz r0, 8(r10)
stwux r0, \Dst, \Stride ;# advance dst to next row
lwz r0, 12(r10)
stw r0, 4(\Dst)
.endm
.align 2
;# r3 = short *diff_ptr,
;# r4 = unsigned char *pred_ptr,
;# r5 = unsigned char *dst_ptr,
;# r6 = int stride
recon2b_ppc:
mfspr r0, 256 ;# get old VRSAVE
stw r0, -8(r1) ;# save old VRSAVE to stack
oris r0, r0, 0xf000
mtspr 256,r0 ;# set VRSAVE
vxor v0, v0, v0
li r8, 16
la r10, -48(r1) ;# buf
two_rows_of8 r3, r4, r5, r6, 1
addi r4, r4, 16; ;# next pred
addi r3, r3, 32; ;# next diff
two_rows_of8 r3, r4, r5, r6, 0
lwz r12, -8(r1) ;# restore old VRSAVE from stack
mtspr 256, r12 ;# reset old VRSAVE
blr
.macro get_two_diff_rows
stw r0, 0(r10)
lwz r0, 4(r3)
stw r0, 4(r10)
lwzu r0, 32(r3)
stw r0, 8(r10)
lwz r0, 4(r3)
stw r0, 12(r10)
lvx v3, 0, r10
.endm
.align 2
;# r3 = short *diff_ptr,
;# r4 = unsigned char *pred_ptr,
;# r5 = unsigned char *dst_ptr,
;# r6 = int stride
recon_b_ppc:
mfspr r0, 256 ;# get old VRSAVE
stw r0, -8(r1) ;# save old VRSAVE to stack
oris r0, r0, 0xf000
mtspr 256,r0 ;# set VRSAVE
vxor v0, v0, v0
la r10, -48(r1) ;# buf
lwz r0, 0(r4)
stw r0, 0(r10)
lwz r0, 16(r4)
stw r0, 4(r10)
lwz r0, 32(r4)
stw r0, 8(r10)
lwz r0, 48(r4)
stw r0, 12(r10)
lvx v1, 0, r10; ;# v1 = pred = p0..p15
lwz r0, 0(r3) ;# v3 = d0..d7
get_two_diff_rows
vmrghb v2, v0, v1; ;# v2 = 16-bit p0..p7
vaddshs v2, v2, v3; ;# v2 = r0..r7
lwzu r0, 32(r3) ;# v3 = d8..d15
get_two_diff_rows
vmrglb v1, v0, v1; ;# v1 = 16-bit p8..p15
vaddshs v3, v3, v1; ;# v3 = r8..r15
vpkshus v2, v2, v3; ;# v2 = 8-bit r0..r15
stvx v2, 0, r10; ;# 16 pels to dst from buf
lwz r0, 0(r10)
stw r0, 0(r5)
lwz r0, 4(r10)
stwux r0, r5, r6
lwz r0, 8(r10)
stwux r0, r5, r6
lwz r0, 12(r10)
stwx r0, r5, r6
lwz r12, -8(r1) ;# restore old VRSAVE from stack
mtspr 256, r12 ;# reset old VRSAVE
blr
| 28.528409 | 72 | 0.478391 |
ea0218124a06e4d49f71768460b112e01d62dd34 | 406 | asm | Assembly | LM/Aula3/mov_inst8/mov_inst_8.asm | Kw-Vinicius/Linguagem-de-Montagem- | b0b878bb7ed9093433e0e37037fb61b79570f2b9 | [
"MIT"
] | null | null | null | LM/Aula3/mov_inst8/mov_inst_8.asm | Kw-Vinicius/Linguagem-de-Montagem- | b0b878bb7ed9093433e0e37037fb61b79570f2b9 | [
"MIT"
] | null | null | null | LM/Aula3/mov_inst8/mov_inst_8.asm | Kw-Vinicius/Linguagem-de-Montagem- | b0b878bb7ed9093433e0e37037fb61b79570f2b9 | [
"MIT"
] | null | null | null | ;#################################################################
; Exemplo da instrução XCHG (EXCHANGE)
;#################################################################
SECTION .data ;Seção de dados
univ DB 'UNESP',0AH ;Definição e alocação da string
SECTION .text
global _start
_start :
mov eax,4
mov ebx,1
mov edx,univ
mov ecx,6
xchg ecx,edx
int 0x80
mov ebx,0
mov eax,1
int 0x80
| 16.24 | 66 | 0.470443 |
1071c785280d4beacf739be4807fc00194dc8e23 | 1,426 | asm | Assembly | exp/insttest.asm | laanwj/decuda | c30bd179a8d9b89cc7d07c34bc42bcce734eda1a | [
"BSD-3-Clause"
] | 64 | 2015-05-13T13:53:49.000Z | 2022-02-17T03:23:25.000Z | exp/insttest.asm | laanwj/decuda | c30bd179a8d9b89cc7d07c34bc42bcce734eda1a | [
"BSD-3-Clause"
] | null | null | null | exp/insttest.asm | laanwj/decuda | c30bd179a8d9b89cc7d07c34bc42bcce734eda1a | [
"BSD-3-Clause"
] | 8 | 2015-01-23T07:24:53.000Z | 2021-01-02T16:56:40.000Z |
.entry my_kernel
{
.lmem 0
.smem 32
.reg 3
.bar 0
cvt.u32.u16 $r0, $r0.lo
shl.u32 $r1, $r0, 0x00000002
add.u32 $r1, s[0x0010], $r1
#mov.u32 $r2, 0x7FFFFFFF
#set.lt.u32 $p0|$r0, $r0, $r2
#add.u32 $p0|$r0, $r0, $r2
#mov.b32 $r0, $p0
#mov.b32 $p0, $r0
#mov.b32 $r0, 1
#cvt.f32.u32 $r0, $r0
#mov.b32 $r2, 0x7FFFFF
#mov.b32 $r2, 0x800000
#mov.b32 $r2, 2.0f
#unk80.f32 $r0, $r0, $r0
#cvt.f16.f32 $r2.lo, $r2
#set.lt.u32.f32.f32 $r0, $r0, $r2
#subr.f32 $r0, $r2, -$r0
#add.f32 $r0, $r2, -$r0
#cvt.s32.f32 $r0, $r0
#mov.b32 $r2, 0xFFFFFFFC
# add +a+b
# add.flip +a-b
# subr -a+b
# addc +a+b+c
#add.u32 $p3|$r0, $r0, $r2
#mov.b32 $p0, $r0
#mov.b32 $r2, 0x0
#mov.b32 $p1, $r2
#mov.b32 $p2, $r2
#mov.b32 $p3, $r2
#mov.b32 $r2, 0x7FFFFFFF
# uses p0
#@$p1.tr addc.u16 $r0.hi, $r0.hi, $r2.lo
#sub.sat.s32 $r0, $r0, $r2
#sub.s32 $r0, $r0, $r2
#mov.b32 $r0, i[3]
#mov.b32 $r2, 1
#@$p0.31 mov.b32 $r0, $r2
#mov.b32 $r2, 15
#cvt.neg.s32.s16 $r0, $r0.lo
#mov.b32 $ofs1, 0
mov.b32 $ofs1, 0
mov.b32 $r2, 0xFFFFFFFF
mov.half.b32 $r1,$r1
#add.b32 $r0,$r0,c1[$ofs1+$r2]
add.half.b32 $r0,$r0,c1[$ofs1+0]
#mov.b32 $r0, c0[$ofs1+=8]
#mov.b32 $r0, c0[$ofs1+=4]
#s[$ofs1+12]
mov.end.u32 g[$r1], $r0
}
| 21.283582 | 44 | 0.486676 |
88c16f286a00cb7b815f49d832cb592d983bdb22 | 492 | asm | Assembly | oeis/155/A155888.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/155/A155888.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/155/A155888.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A155888: a(n) = dimension of the space of n-boxes in the unshaded subfactor planar algebra of type E8.
; Submitted by Jon Maiga
; 1,1,2,5,14,43,143,506,1870,7107,27474,107274,421268,1659725,6551041,25884007,102330007,404682554,1600678795,6331951858,25049290301,99098453901,392054049162,1551062360070,6136418173129,24277388110318
lpb $0
sub $0,1
add $1,$3
add $1,$5
sub $3,$4
sub $2,$3
add $3,$1
add $4,$1
sub $4,$3
add $4,$2
mov $5,1
add $5,$2
lpe
mov $0,$3
add $0,1
| 24.6 | 200 | 0.697154 |
544aa6c6f91dc36dd59308928f73dc6a1d1786f6 | 648 | asm | Assembly | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_calloc_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_calloc_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_calloc_callee.asm | teknoplop/z88dk | bb03fbfd6b2ab0f397a1358559089f9cd3706485 | [
"ClArtistic"
] | 1 | 2019-12-03T23:57:48.000Z | 2019-12-03T23:57:48.000Z |
; void *heap_calloc_callee(void *heap, size_t nmemb, size_t size)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_alloc_malloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $01
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _heap_calloc_callee
EXTERN asm_heap_calloc
_heap_calloc_callee:
pop af
pop de
pop hl
pop bc
push af
jp asm_heap_calloc
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ELSE
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _heap_calloc_callee
EXTERN _heap_calloc_unlocked_callee
defc _heap_calloc_callee = _heap_calloc_unlocked_callee
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ENDIF
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
| 16.2 | 65 | 0.558642 |
b85acaf23e229a9a98885c980f3c85be2dc91b1d | 8,060 | asm | Assembly | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1708.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1708.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1708.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 %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x32eb, %rsi
lea addresses_UC_ht+0x12eeb, %rdi
nop
nop
nop
nop
nop
sub %r8, %r8
mov $48, %rcx
rep movsl
nop
nop
nop
nop
sub $51346, %rdx
lea addresses_D_ht+0x14ceb, %rsi
lea addresses_A_ht+0x4eb, %rdi
nop
nop
nop
nop
nop
cmp %r12, %r12
mov $110, %rcx
rep movsq
nop
nop
nop
dec %rdi
lea addresses_WT_ht+0x1e06b, %rdi
nop
nop
inc %r14
movl $0x61626364, (%rdi)
nop
sub %r14, %r14
lea addresses_WC_ht+0x1b5b, %rsi
lea addresses_WC_ht+0x8b6b, %rdi
clflush (%rsi)
nop
dec %rbp
mov $24, %rcx
rep movsw
nop
nop
and $39342, %r8
lea addresses_WT_ht+0xf4eb, %rsi
lea addresses_UC_ht+0x1c6cf, %rdi
nop
nop
cmp %rdx, %rdx
mov $117, %rcx
rep movsq
sub %rbp, %rbp
lea addresses_D_ht+0x1996b, %rsi
lea addresses_A_ht+0x132e8, %rdi
clflush (%rdi)
nop
nop
mfence
mov $100, %rcx
rep movsb
nop
nop
nop
sub $64352, %r12
lea addresses_UC_ht+0x1b84b, %rsi
lea addresses_UC_ht+0x19aeb, %rdi
clflush (%rsi)
add %r8, %r8
mov $121, %rcx
rep movsb
and %rsi, %rsi
lea addresses_WC_ht+0x9df, %rdi
nop
cmp $58358, %rbp
vmovups (%rdi), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rcx
nop
nop
nop
nop
xor $63220, %r14
lea addresses_UC_ht+0x3d6b, %r14
nop
nop
nop
nop
nop
xor %rcx, %rcx
mov (%r14), %si
nop
nop
nop
nop
nop
xor $52247, %rbp
lea addresses_UC_ht+0x82eb, %r14
xor %rcx, %rcx
movl $0x61626364, (%r14)
sub $36454, %rdx
lea addresses_UC_ht+0x189eb, %rsi
lea addresses_WT_ht+0x9eeb, %rdi
clflush (%rdi)
sub %rdx, %rdx
mov $106, %rcx
rep movsl
nop
nop
nop
nop
nop
xor %rdi, %rdi
lea addresses_D_ht+0x10eb, %r12
nop
xor %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, (%r12)
nop
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_UC_ht+0x60eb, %r14
nop
nop
nop
nop
and %rsi, %rsi
mov $0x6162636465666768, %rdx
movq %rdx, %xmm7
and $0xffffffffffffffc0, %r14
movaps %xmm7, (%r14)
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_WC_ht+0xdaeb, %rsi
lea addresses_normal_ht+0x10eeb, %rdi
nop
nop
nop
nop
nop
and $36879, %r8
mov $44, %rcx
rep movsq
nop
nop
nop
nop
add $47479, %r14
lea addresses_UC_ht+0x7249, %rsi
lea addresses_normal_ht+0xec45, %rdi
nop
nop
sub %r12, %r12
mov $69, %rcx
rep movsw
nop
nop
nop
xor %rdx, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r15
push %rbp
push %rbx
push %rdi
// Faulty Load
lea addresses_UC+0x12aeb, %r15
nop
nop
nop
nop
nop
cmp %r10, %r10
mov (%r15), %edi
lea oracles, %r15
and $0xff, %rdi
shlq $12, %rdi
mov (%r15,%rdi,1), %rdi
pop %rdi
pop %rbx
pop %rbp
pop %r15
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 4}}
{'src': {'same': False, 'congruent': 4, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WC_ht'}}
{'src': {'same': True, 'congruent': 8, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}}
{'src': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}}
{'src': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4}}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 16}}
{'src': {'same': False, 'congruent': 11, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_normal_ht'}}
{'src': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}}
{'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
*/
| 33.443983 | 2,999 | 0.661911 |
b489c1428937bbb0f9526098056b69fcbd0c5798 | 309 | asm | Assembly | oeis/130/A130459.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/130/A130459.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/130/A130459.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A130459: A059268 * A097806.
; Submitted by Christian Krause
; 1,3,2,3,6,4,3,6,12,8,3,6,12,24,16,3,6,12,24,48,32,3,6,12,24,48,96,64,3,6,12,24,48,96,192,128,3,6,12,24,48,96,192,384,256
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$0
min $1,1
mul $1,6
add $1,3
lpb $0
sub $0,1
mul $1,2
lpe
mov $0,$1
div $0,3
| 16.263158 | 122 | 0.605178 |
d8b40a92a08bc9ea542d6fdc8bab7efcccf7ace9 | 463 | asm | Assembly | cgi-bin/syserror.asm | Konamiman/NestorWeb | 434a23176518c137731f4784046d3c472b845842 | [
"MIT"
] | 4 | 2020-01-19T11:53:25.000Z | 2021-05-10T21:13:47.000Z | cgi-bin/syserror.asm | Konamiman/NestorWeb | 434a23176518c137731f4784046d3c472b845842 | [
"MIT"
] | null | null | null | cgi-bin/syserror.asm | Konamiman/NestorWeb | 434a23176518c137731f4784046d3c472b845842 | [
"MIT"
] | 1 | 2020-01-20T05:17:46.000Z | 2020-01-20T05:17:46.000Z | ;Example of NestorWeb CGI script that retuns an error message
;using the system-defined markup.
CR: equ 13
LF: equ 10
STDOUT: equ 1
_WRITE: equ 49h
org 100h
ld de,ERROR
ld hl,ERROR_END-ERROR
ld b,STDOUT
ld c,_WRITE
call 5
ret
ERROR:
db "X-CGI-Error: 434 Bad Foobar",CR,LF
;Note: no additional headers allowed here.
db CR,LF
db "This <b>foobar</b> isn't <i>fizzbuzzed</i> enough."
ERROR_END | 18.52 | 62 | 0.62851 |
2b2375b32ccc0ef1fcf2ef68956227d27ea93cf9 | 1,882 | asm | Assembly | lab_task-2.asm | IftekharMohammad/Computer-Organization-and-Architecture-Lab-Task | b4bde92c476ec51267604efb3c92e1344fe76dd2 | [
"MIT"
] | null | null | null | lab_task-2.asm | IftekharMohammad/Computer-Organization-and-Architecture-Lab-Task | b4bde92c476ec51267604efb3c92e1344fe76dd2 | [
"MIT"
] | null | null | null | lab_task-2.asm | IftekharMohammad/Computer-Organization-and-Architecture-Lab-Task | b4bde92c476ec51267604efb3c92e1344fe76dd2 | [
"MIT"
] | null | null | null | .MODEL SMALL
.STACK 100H
.DATA
QUES DB "Enter a Character: $"
INITIAL DB ?
.CODE
MAIN PROC
MOV AX,@DATA
MOV DS,AX
MOV AH,9
LEA DX,QUES
INT 21H
MOV AH,1
INT 21H ;INPUT IN INITIAL
MOV INITIAL,AL
MOV AH,2
MOV DL,0AH
INT 21H
MOV DL,0DH
INT 21H
MOV DL,20H ;FIRST LINE PRINT
INT 21H
MOV DL,20H
INT 21H
MOV DL,20H
INT 21H
MOV DL,INITIAL ;Star OUTPUT
INT 21H
MOV DL,20H
INT 21H
MOV DL,20H
INT 21H
MOV DL,20H
INT 21H
MOV DL,0AH
INT 21H
MOV DL,0DH
INT 21H
MOV DL,20H ;SECOND LINE PRINT
INT 21H
MOV DL,20H
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,20H
INT 21H
MOV DL,20H
INT 21H
MOV DL,0AH
INT 21H
MOV DL,0DH
INT 21H
MOV DL,20H ;THIRD LINE PRINT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,20H
INT 21H
MOV DL,0AH
INT 21H
MOV DL,0DH
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV DL,INITIAL ;STAR OUTPUT
INT 21H
MOV AH,4CH ;RETURN TO OS
INT 21H
MAIN ENDP
END MAIN | 17.266055 | 40 | 0.50797 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.