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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fdf52b90c04df4d2c93746045152dde32fa5fa1b | 12,986 | asm | Assembly | Library/Text/TextRegion/trLargeDraw.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Text/TextRegion/trLargeDraw.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Text/TextRegion/trLargeDraw.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: trLargeDraw.asm
AUTHOR: John Wedgwood, Dec 23, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
John 12/23/92 Initial revision
DESCRIPTION:
Code for drawing stuff.
$Id: trLargeDraw.asm,v 1.1 97/04/07 11:21:43 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
TextDrawCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
LargeEnumRegionsInClipRect
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Enumerate the regions in a clip rectangle.
CALLED BY: TR_RegionEnumRegionsInClipRect
PASS: *ds:si = Instance
ds:di = Instance
ss:bp = TextRegionEnumParameters w/ these set:
TREP_flags
TREP_callback
TREP_region
TREP_globalClipRect
TREP_object
TREP_displayMode
TREP_regionSpacing
TREP_draftRegionSize
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 12/23/92 Initial version
mg 03/31/00 Added check for null masks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
LargeEnumRegionsInClipRect proc near
class VisLargeTextClass
uses ax, bx, cx, dx, si, ds
.enter
;
; Get the clip-rectangle.
;
push ds, si, di ; Save instance
mov di, ds:[di].VTI_gstate ; di <- gstate
call GrSaveState ; Save old gstate...
call GrSetDefaultTransform ; No translation
segmov ds, ss, si ; ds:si <- ptr to rect
lea si, ss:[bp].TREP_globalClipRect
call GrGetMaskBoundsDWord ; Get the mask bounds
pushf
call GrRestoreState ; Restore old gstate...
popf
pop ds, si, di ; Restore instance
jc quit ; Null path: all regions fail
;
; Copy some things from the instance data...
;
mov ax, ds:[di].VLTI_displayMode ; Set the display mode
mov ss:[bp].TREP_displayMode, ax
mov ax, ds:[di].VLTI_regionSpacing
mov ss:[bp].TREP_regionSpacing, ax
mov ax, ds:[di].VLTI_draftRegionSize.XYS_width
mov ss:[bp].TREP_draftRegionSize.XYS_width, ax
mov ax, ds:[di].VLTI_draftRegionSize.XYS_height
mov ss:[bp].TREP_draftRegionSize.XYS_height, ax
;
; The first region has a starting line/character of zero.
;
clrdw ss:[bp].TREP_regionFirstLine
clrdw ss:[bp].TREP_regionFirstChar
;
; Set up for skipping through the region list.
;
call SetupForRegionScan ; carry set if no regions
; ds:si = First region
; cx = Number of regions
; dx = Size of region
;
; Initialize the TREP_regionTopLeft field, which will depend on our
; display mode.
;
call InitRegionTopLeft
regionLoop:
;
; ds:si = Current region
; cx = Number of regions remaining
; dx = Size of region structure
; ss:bp = TextRegionEnumParameters
;
movdw ss:[bp].TREP_regionCharCount, ds:[si].VLTRAE_charCount, ax
movdw ss:[bp].TREP_regionLineCount, ds:[si].VLTRAE_lineCount, ax
;
; Check for current region being empty.
;
test ds:[si].VLTRAE_flags, mask VLTRF_EMPTY
jnz nextRegion
;
; Save ptr to the region so other people can use it
;
movdw ss:[bp].TREP_regionPtr, dssi
;
; Make clipRect be relative to the current region.
;
call MakeClipRectRelative
;
; If we are not in page-mode and the bottom edge of the clipRect
; is negative, then there is no way we will need to do any more work.
;
cmp ss:[bp].TREP_displayMode, VLTDM_PAGE
je processRegion
;
; We're not in page mode, check the bottom edge of the clipRect.
;
tst ss:[bp].TREP_clipRect.RD_bottom.high
js quit ; Branch if above this region
processRegion:
;
; Compute the height and width and check to see if we need to process
; this one.
;
call ComputeHeightAndWidth ; ax <- width
; bx <- height
call CommonCheckRegionAndCallback ; Check for callback
; Sets TREP_regionHeight/Width
; carry set for "abort"
jc quit
nextRegion:
dec cx ; One less region to process
jcxz quit ; Branch if no more to do
adddw ss:[bp].TREP_regionFirstLine, ss:[bp].TREP_regionLineCount, ax
adddw ss:[bp].TREP_regionFirstChar, ss:[bp].TREP_regionCharCount, ax
inc ss:[bp].TREP_region ; Set for next region
call ScanToNextRegion ; ds:si <- ptr to next region
call AdvanceToNextRegion ; ds:si <- next region
jmp regionLoop ; Loop to do next one
quit:
.leave
ProfilePoint 17
ret
LargeEnumRegionsInClipRect endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
InitRegionTopLeft
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Initialize the TREP_regionTopLeft field
CALLED BY: LargeEnumRegionsInClipRect
PASS: ss:bp = TextRegionEnumParameters
ds:si = Pointer to first region structure
RETURN: TREP_regionTopLeft set
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 12/23/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
InitRegionTopLeft proc near
uses ax
.enter
;
; Assume that we're not in page-mode
;
clr ax
clrdw ss:[bp].TREP_regionTopLeft.PD_x
clrdw ss:[bp].TREP_regionTopLeft.PD_y
cmp ss:[bp].TREP_displayMode, VLTDM_PAGE
jne quit
;
; We are in page mode, so we need to actually use the spatial position
; of the region.
;
movdw ss:[bp].TREP_regionTopLeft.PD_x, \
ds:[si].VLTRAE_spatialPosition.PD_x, ax
movdw ss:[bp].TREP_regionTopLeft.PD_y, \
ds:[si].VLTRAE_spatialPosition.PD_y, ax
;
; If there's a region-rectangle, we need to account for that too.
;
tst ds:[si].VLTRAE_region.high ; Check for has special region
jz quit ; Branch if it does not
;
; Account for rectangle.
;
push ds, si, di
movdw axdi, ds:[si].VLTRAE_region ; ax.di <- db item
mov si, {word}ss:[bp].TREP_object ; needs instance [mg, 02/26/00]
call DBLockToDSSI ; ds:si <- ptr to region
sub si, size Rectangle ; ds:si <- bounding rectangle
mov ax, ds:[si].R_top
add ss:[bp].TREP_regionTopLeft.PD_y.low, ax
adc ss:[bp].TREP_regionTopLeft.PD_y.high, 0
call DBUnlockDS ; Release region
pop ds, si, di
quit:
.leave
ret
InitRegionTopLeft endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MakeClipRectRelative
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Make TREP_clipRect be relative to the current region.
CALLED BY: LargeEnumRegionsInClipRect
PASS: ds:si = Current region
ss:bp = TextRegionEnumParameters w/ these set:
TREP_regionTopLeft
TREP_globalClipRect
RETURN: TREP_clipRect set relative to the current region
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 12/23/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MakeClipRectRelative proc near
uses ax, bx
.enter
;
; The top/bottom coordinates
;
movdw bxax, ss:[bp].TREP_globalClipRect.RD_top
subdw bxax, ss:[bp].TREP_regionTopLeft.PD_y
movdw ss:[bp].TREP_clipRect.RD_top, bxax
movdw bxax, ss:[bp].TREP_globalClipRect.RD_bottom
subdw bxax, ss:[bp].TREP_regionTopLeft.PD_y
movdw ss:[bp].TREP_clipRect.RD_bottom, bxax
;
; The left/right coordinates
;
movdw bxax, ss:[bp].TREP_globalClipRect.RD_left
subdw bxax, ss:[bp].TREP_regionTopLeft.PD_x
movdw ss:[bp].TREP_clipRect.RD_left, bxax
movdw bxax, ss:[bp].TREP_globalClipRect.RD_right
subdw bxax, ss:[bp].TREP_regionTopLeft.PD_x
movdw ss:[bp].TREP_clipRect.RD_right, bxax
.leave
ret
MakeClipRectRelative endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ComputeHeightAndWidth
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Compute the height and width of the current region.
CALLED BY: LargeEnumRegionsInClipRect
PASS: ds:si = Region pointer
ss:bp = TextRegionEnumParameters
RETURN: ax = Width
bx = Height
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Page:
Condensed:
Galley:
Use region width and calcHeight
Use region width and calcHeight
Use region width and calcHeight
Draft w/ Styles:
Draft w/o Styles:
Use draftRegionSize stored with object
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 12/23/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
ComputeHeightAndWidth proc near
class VisLargeTextClass
.enter
cmp ss:[bp].TREP_displayMode, VLTDM_DRAFT_WITH_STYLES
jae useDraftRegionSize
;
; It's not draft mode...
;
tst ds:[si].VLTRAE_region.high ; Check for has special region
jnz regionExists ; Branch if it does
;
; It's that old standard rectangular region.
;
ceilwbf ds:[si].VLTRAE_calcHeight, bx ; bx <- height
mov ax, ds:[si].VLTRAE_size.XYS_width ; ax <- width
;
; In condensed mode, we need to make sure that we use the real
; height of the region, so we can ensure that we draw the break
; between regions.
;
cmp ss:[bp].TREP_displayMode, VLTDM_CONDENSED
jne quit ; Branch if page or galley
;
; It's condensed mode. In order to get the area between the regions
; to draw, we must include the entire area, not just the area covered
; by lines.
;
mov bx, ds:[si].VLTRAE_size.XYS_height
quit:
.leave
ret
useDraftRegionSize:
;
; Use the draftRegionSize stored with the instance data
;
mov ax, ss:[bp].TREP_draftRegionSize.XYS_width
mov bx, ss:[bp].TREP_draftRegionSize.XYS_height
jmp quit
regionExists:
;
; There is a special clip-region associated with this flow-region.
; We need to lock it down and extract the special information for it.
;
push ds, si, di
movdw axdi, ds:[si].VLTRAE_region ; ax.di <- db item
mov si, {word}ss:[bp].TREP_object ; needs instance [mg, 02/26/00]
call DBLockToDSSI ; ds:si <- ptr to region
sub si, size Rectangle ; ds:si <- bounding rectangle
mov bx, ds:[si].R_bottom ; bx <- height
sub bx, ds:[si].R_top
mov ax, ds:[si].R_right ; ax <- width
sub ax, ds:[si].R_left
call DBUnlockDS ; Release region
pop ds, si, di
jmp quit
ComputeHeightAndWidth endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
AdvanceToNextRegion
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Advance to the next region.
CALLED BY: LargeEnumRegionsInClipRect
PASS: ds:si = Pointer to next region
dx = Size of region element
ss:bp = TextRegionEnumParameters w/ these set:
TREP_regionHeight
TREP_regionWidth
RETURN: TextRegionEnumParameters w/ these updated
TREP_regionTopLeft
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
Page:
Use InitRegionTopLeft to set the top/left
Condensed:
if (previous region has region data) then
Adjust Y position by TREP_regionHeight
else
Adjust Y position by previous region size.height
endif
Adjust Y position to include region spacing
Galley/Draft:
Adjust Y position by previous region calcHeight
Adjust Y position to include region spacing
KNOWN BUGS/SIDE EFFECTS/IDEAS:
ds:si *must* be valid when you call this routine.
REVISION HISTORY:
Name Date Description
---- ---- -----------
jcw 12/23/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
AdvanceToNextRegion proc near
uses ax, di
.enter
mov di, si ; ds:di <- previous region
sub di, dx
cmp ss:[bp].TREP_displayMode, VLTDM_PAGE
je pageMode
cmp ss:[bp].TREP_displayMode, VLTDM_CONDENSED
je condensedMode
;
; Galley or draft...
;
ceilwbf ds:[di].VLTRAE_calcHeight, ax
accountForRegionSpacing:
;
; Account for region spacing.
;
; ax = height of region without it
;
add ax, ss:[bp].TREP_regionSpacing
add ss:[bp].TREP_regionTopLeft.PD_y.low, ax
adc ss:[bp].TREP_regionTopLeft.PD_y.high, 0
quit:
.leave
ret
pageMode:
call InitRegionTopLeft
jmp quit
condensedMode:
mov ax, ss:[bp].TREP_regionHeight ; Assume has region data
tst ds:[di].VLTRAE_region.high ; Check for region data
jnz accountForRegionSpacing
;
; It doesn't have region data.
;
mov ax, ds:[di].VLTRAE_size.XYS_height
jmp accountForRegionSpacing
AdvanceToNextRegion endp
TextDrawCode ends
| 25.069498 | 79 | 0.625751 |
1bf3cd5a1ab9a785e035c18d0f23f03964bcd07a | 687 | asm | Assembly | programs/oeis/250/A250655.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/250/A250655.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/250/A250655.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A250655: Number of (n+1) X (7+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction.
; 81,169,345,697,1401,2809,5625,11257,22521,45049,90105,180217,360441,720889,1441785,2883577,5767161,11534329,23068665,46137337,92274681,184549369,369098745,738197497,1476395001,2952790009,5905580025,11811160057,23622320121,47244640249,94489280505,188978561017,377957122041,755914244089,1511828488185,3023656976377,6047313952761,12094627905529,24189255811065,48378511622137,96757023244281,193514046488569,387028092977145,774056185954297,1548112371908601,3096224743817209,6192449487634425
mov $1,2
pow $1,$0
mul $1,88
sub $1,7
| 85.875 | 487 | 0.826783 |
ae4e7407504908ce7fc9a20b6943658821d3b855 | 428 | asm | Assembly | programs/oeis/099/A099235.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/099/A099235.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/099/A099235.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A099235: A quadrisection of 1/(1-x-x^5).
; 1,1,5,15,45,140,431,1326,4085,12580,38740,119305,367411,1131476,3484490,10730820,33046585,101770120,313410816,965178576,2972359720,9153665985,28189589705,86812537085,267347509271,823322219501,2535499503900,7808313175575,24046447082350,74053333195325,228054320813276,702315088294876,2162846472224905,6660692530147715
mul $0,2
mov $1,$0
cal $1,193147 ; G.f.: 1/(1 - x - 2*x^3 - x^5).
| 61.142857 | 317 | 0.794393 |
72154cc98bfb119548f5d046b1b2929ae5fd58a7 | 325 | asm | Assembly | oeis/021/A021807.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021807.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021807.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021807: Decimal expansion of 1/803.
; Submitted by Jon Maiga
; 0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1,2,4,5,3,3,0,0,1
add $0,1
mov $2,10
pow $2,$0
div $2,803
mov $0,$2
mod $0,10
| 29.545455 | 199 | 0.556923 |
da2a78346763b23f5bd9d3fc6d63076f6ff8d427 | 767 | asm | Assembly | libsrc/gfx/wide/w_drawb_callee.asm | ahjelm/z88dk | c4de367f39a76b41f6390ceeab77737e148178fa | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/gfx/wide/w_drawb_callee.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/gfx/wide/w_drawb_callee.asm | C-Chads/z88dk | a4141a8e51205c6414b4ae3263b633c4265778e6 | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ; void drawb(int tlx, int tly, int width, int height)
IF !__CPU_INTEL__ && !__CPU_GBZ80__
SECTION code_graphics
PUBLIC drawb_callee
PUBLIC _drawb_callee
PUBLIC asm_drawb
EXTERN w_plotpixel
EXTERN drawbox
EXTERN swapgfxbk
EXTERN __graphics_end
INCLUDE "graphics/grafix.inc"
.drawb_callee
._drawb_callee
pop af
pop de
pop hl
exx ; w_plotpixel and swapgfxbk must not use the alternate registers, no problem with w_line_r
pop de
pop hl
push af ; ret addr
exx
.asm_drawb
push ix
IF NEED_swapgfxbk = 1
call swapgfxbk
ENDIF
ld ix,w_plotpixel
call drawbox
jp __graphics_end
ENDIF
| 17.837209 | 105 | 0.610169 |
bf844551dc33380479013d85bd95db01c203ecb0 | 549 | asm | Assembly | oeis/017/A017168.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017168.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017168.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017168: a(n) = (9*n)^8.
; 0,43046721,11019960576,282429536481,2821109907456,16815125390625,72301961339136,248155780267521,722204136308736,1853020188851841,4304672100000000,9227446944279201,18509302102818816,35114532758015841,63527879748485376,110324037687890625,184884258895036416,300283484326400961,474373168346071296,731086699811838561,1101996057600000000,1628150074335205281,2362226417735475456,3371031134626313601,4738381338321616896,6568408355712890625,8989320386052055296,12157665459056928801,16263137215612256256
pow $0,8
mul $0,43046721
| 91.5 | 495 | 0.899818 |
2d5be7adadbb59ffb4797094fc6209675d2b1f34 | 27,358 | asm | Assembly | src/cm_presets_hundo.asm | Lui37/lttphack | 700aedee447b0e0063015d75e25bed6d0bfc9533 | [
"MIT"
] | null | null | null | src/cm_presets_hundo.asm | Lui37/lttphack | 700aedee447b0e0063015d75e25bed6d0bfc9533 | [
"MIT"
] | null | null | null | src/cm_presets_hundo.asm | Lui37/lttphack | 700aedee447b0e0063015d75e25bed6d0bfc9533 | [
"MIT"
] | null | null | null | cm_hundo_submenu_presets:
dw cm_hundo_presets_goto_escape
dw cm_hundo_presets_goto_eastern
dw cm_hundo_presets_goto_desert
dw cm_hundo_presets_goto_hera
dw cm_hundo_presets_goto_atower
dw cm_hundo_presets_goto_pod
dw cm_hundo_presets_goto_thieves
dw cm_hundo_presets_goto_skull
dw cm_hundo_presets_goto_ice
dw cm_hundo_presets_goto_mire
dw cm_hundo_presets_goto_swamp
dw cm_hundo_presets_goto_trock
dw cm_hundo_presets_goto_gtower
dw cm_hundo_presets_goto_ganon
dw cm_hundo_presets_goto_boss
dw !menu_end
%cm_header("HUNDO PRESETS")
; HYRULE CASTLE
cm_hundo_presets_goto_escape:
%cm_submenu("Hyrule Castle", cm_hundo_presets_escape)
cm_hundo_presets_escape:
dw cm_hundo_esc_bed
dw cm_hundo_esc_courtyard
dw cm_hundo_esc_entrance
dw cm_hundo_esc_1st_keyguard
dw cm_hundo_esc_stealth_room
dw cm_hundo_esc_2nd_keyguard
dw cm_hundo_esc_ball_n_chains
dw cm_hundo_esc_backtracking
dw cm_hundo_esc_keyguard_revisited
dw cm_hundo_esc_throne_room
dw cm_hundo_esc_snake_avoidance_room
dw cm_hundo_esc_water_rooms
dw cm_hundo_esc_keyrat
dw cm_hundo_esc_last_two_screens
dw !menu_end
%cm_header("HYRULE CASTLE")
cm_hundo_esc_bed:
%cm_preset("Link's Bed", preset_hundo_esc_bed)
cm_hundo_esc_courtyard:
%cm_preset("Courtyard", preset_hundo_esc_courtyard)
cm_hundo_esc_entrance:
%cm_preset("Entrance", preset_hundo_esc_entrance)
cm_hundo_esc_1st_keyguard:
%cm_preset("1st Key Guard", preset_hundo_esc_1st_keyguard)
cm_hundo_esc_stealth_room:
%cm_preset("Stealth Room", preset_hundo_esc_stealth_room)
cm_hundo_esc_2nd_keyguard:
%cm_preset("2nd Key Guard", preset_hundo_esc_2nd_keyguard)
cm_hundo_esc_ball_n_chains:
%cm_preset("Ball'n Chains", preset_hundo_esc_ball_n_chains)
cm_hundo_esc_backtracking:
%cm_preset("Backtracking", preset_hundo_esc_backtracking)
cm_hundo_esc_keyguard_revisited:
%cm_preset("Key Guard Revisited", preset_hundo_esc_keyguard_revisited)
cm_hundo_esc_throne_room:
%cm_preset("Throne Room", preset_hundo_esc_throne_room)
cm_hundo_esc_snake_avoidance_room:
%cm_preset("Snake Avoidance Room", preset_hundo_esc_snake_avoidance_room)
cm_hundo_esc_water_rooms:
%cm_preset("Sewer Rooms", preset_hundo_esc_water_rooms)
cm_hundo_esc_keyrat:
%cm_preset("Key Rat", preset_hundo_esc_keyrat)
cm_hundo_esc_last_two_screens:
%cm_preset("Last Two Screens", preset_hundo_esc_last_two_screens)
; EASTERN
cm_hundo_presets_goto_eastern:
%cm_submenu("Eastern", cm_hundo_presets_eastern)
cm_hundo_presets_eastern:
dw cm_hundo_east_before_cutscene
dw cm_hundo_east_after_cutscene
dw cm_hundo_east_octoroc
dw cm_hundo_east_outside_palace
dw cm_hundo_east_entrance
dw cm_hundo_east_stalfos_room
dw cm_hundo_east_big_chest_room_1
dw cm_hundo_east_dark_key_room
dw cm_hundo_east_big_key_dmg_boost
dw cm_hundo_east_big_chest_room_2
dw cm_hundo_east_gwg
dw cm_hundo_east_pot_room
dw cm_hundo_east_zeldagamer_room
dw cm_hundo_east_armos
dw !menu_end
%cm_header("EASTERN")
cm_hundo_east_before_cutscene:
%cm_preset("Before Cutscene", preset_hundo_east_before_cutscene)
cm_hundo_east_after_cutscene:
%cm_preset("After Cutscene", preset_hundo_east_after_cutscene)
cm_hundo_east_octoroc:
%cm_preset("Octoroc OW", preset_hundo_east_octoroc)
cm_hundo_east_outside_palace:
%cm_preset("EP Overworld", preset_hundo_east_outside_palace)
cm_hundo_east_entrance:
%cm_preset("Entrance", preset_hundo_east_entrance)
cm_hundo_east_stalfos_room:
%cm_preset("Stalfos Room", preset_hundo_east_stalfos_room)
cm_hundo_east_big_chest_room_1:
%cm_preset("Big Chest Room 1", preset_hundo_east_big_chest_room_1)
cm_hundo_east_dark_key_room:
%cm_preset("Dark Key Room", preset_hundo_east_dark_key_room)
cm_hundo_east_big_key_dmg_boost:
%cm_preset("Big Key DMG Boost", preset_hundo_east_big_key_dmg_boost)
cm_hundo_east_big_chest_room_2:
%cm_preset("Big Chest Room 2", preset_hundo_east_big_chest_room_2)
cm_hundo_east_gwg:
%cm_preset("Gifted With Greenies", preset_hundo_east_gwg)
cm_hundo_east_pot_room:
%cm_preset("Pot Room", preset_hundo_east_pot_room)
cm_hundo_east_zeldagamer_room:
%cm_preset("Zeldagamer Room", preset_hundo_east_zeldagamer_room)
cm_hundo_east_armos:
%cm_preset("Armos", preset_hundo_east_armos)
; DESERT
cm_hundo_presets_goto_desert:
%cm_submenu("Desert", cm_hundo_presets_desert)
cm_hundo_presets_desert:
dw cm_hundo_desert_outside_eastern_palace
dw cm_hundo_desert_ep_spinspeed
dw cm_hundo_desert_bridge_screen
dw cm_hundo_desert_unholy_spinspeed
dw cm_hundo_desert_water_dash
dw cm_hundo_desert_outside_desert_palace
dw cm_hundo_desert_desert_entrance
dw cm_hundo_desert_keybonk
dw cm_hundo_desert_pre_cannonball_room
dw cm_hundo_desert_pot_room
dw cm_hundo_desert_desert2_spinspeed
dw cm_hundo_desert_popo_genocide_room
dw cm_hundo_desert_torches
dw cm_hundo_desert_lanmolas
dw !menu_end
%cm_header("DESERT")
cm_hundo_desert_outside_eastern_palace:
%cm_preset("Outside Eastern Palace", preset_hundo_desert_outside_eastern_palace)
cm_hundo_desert_ep_spinspeed:
%cm_preset("Eastern Palace Spinspeed", preset_hundo_desert_ep_spinspeed)
cm_hundo_desert_bridge_screen:
%cm_preset("Bridge Screen", preset_hundo_desert_bridge_screen)
cm_hundo_desert_unholy_spinspeed:
%cm_preset("Unholy Spinspeed", preset_hundo_desert_unholy_spinspeed)
cm_hundo_desert_water_dash:
%cm_preset("Water Dash", preset_hundo_desert_water_dash)
cm_hundo_desert_outside_desert_palace:
%cm_preset("Outside Desert Palace", preset_hundo_desert_outside_desert_palace)
cm_hundo_desert_desert_entrance:
%cm_preset("Entrance", preset_hundo_desert_desert_entrance)
cm_hundo_desert_keybonk:
%cm_preset("Key Bonk", preset_hundo_desert_keybonk)
cm_hundo_desert_pre_cannonball_room:
%cm_preset("Pre Cannonball Room", preset_hundo_desert_pre_cannonball_room)
cm_hundo_desert_pot_room:
%cm_preset("Pot Room", preset_hundo_desert_pot_room)
cm_hundo_desert_desert2_spinspeed:
%cm_preset("Desert 2 Spinspeed", preset_hundo_desert_desert2_spinspeed)
cm_hundo_desert_popo_genocide_room:
%cm_preset("Popo Genocide", preset_hundo_desert_popo_genocide_room)
cm_hundo_desert_torches:
%cm_preset("Torches", preset_hundo_desert_torches)
cm_hundo_desert_lanmolas:
%cm_preset("Lanmolas", preset_hundo_desert_lanmolas)
; HERA
cm_hundo_presets_goto_hera:
%cm_submenu("Hera", cm_hundo_presets_hera)
cm_hundo_presets_hera:
dw cm_hundo_hera_outside_desert_palace
dw cm_hundo_hera_fake_flippers
dw cm_hundo_hera_dm
dw cm_hundo_hera_after_mirror
dw cm_hundo_hera_quickhop
dw cm_hundo_hera_entrance
dw cm_hundo_hera_tile_room
dw cm_hundo_hera_torches
dw cm_hundo_hera_beetles
dw cm_hundo_hera_petting_zoo
dw cm_hundo_hera_moldorm
dw !menu_end
%cm_header("HERA")
cm_hundo_hera_outside_desert_palace:
%cm_preset("Outside Desert Palace", preset_hundo_hera_outside_desert_palace)
cm_hundo_hera_fake_flippers:
%cm_preset("Fake Flippers", preset_hundo_hera_fake_flippers)
cm_hundo_hera_dm:
%cm_preset("Death Mountain", preset_hundo_hera_dm)
cm_hundo_hera_after_mirror:
%cm_preset("After Mirror", preset_hundo_hera_after_mirror)
cm_hundo_hera_quickhop:
%cm_preset("Quickhop", preset_hundo_hera_quickhop)
cm_hundo_hera_entrance:
%cm_preset("Entrance", preset_hundo_hera_entrance)
cm_hundo_hera_tile_room:
%cm_preset("Tile room", preset_hundo_hera_tile_room)
cm_hundo_hera_torches:
%cm_preset("Torches", preset_hundo_hera_torches)
cm_hundo_hera_beetles:
%cm_preset("Beetles", preset_hundo_hera_beetles)
cm_hundo_hera_petting_zoo:
%cm_preset("Petting Zoo", preset_hundo_hera_petting_zoo)
cm_hundo_hera_moldorm:
%cm_preset("Moldorm", preset_hundo_hera_moldorm)
; AGAHNIMS TOWER
cm_hundo_presets_goto_atower:
%cm_submenu("Agahnim's Tower", cm_hundo_presets_atower)
cm_hundo_presets_atower:
dw cm_hundo_aga_outside_hera
dw cm_hundo_aga_first_rupee_tree
dw cm_hundo_aga_lost_woods
dw cm_hundo_aga_after_lost_woods
dw cm_hundo_aga_castle_screen
dw cm_hundo_aga_entrance
dw cm_hundo_aga_fairy_skip
dw cm_hundo_aga_dark_room_of_despair
dw cm_hundo_aga_dark_room_of_melancholy
dw cm_hundo_aga_spear_guards
dw cm_hundo_aga_circle_of_pots
dw cm_hundo_aga_pit_room
dw cm_hundo_aga_agahnim
dw !menu_end
%cm_header("AGAHNIMS TOWER")
cm_hundo_aga_outside_hera:
%cm_preset("Outside Hera", preset_hundo_aga_outside_hera)
cm_hundo_aga_first_rupee_tree:
%cm_preset("First Rupee Tree", preset_hundo_aga_first_rupee_tree)
cm_hundo_aga_lost_woods:
%cm_preset("Lost Woods", preset_hundo_aga_lost_woods)
cm_hundo_aga_after_lost_woods:
%cm_preset("After Lost Woods", preset_hundo_aga_after_lost_woods)
cm_hundo_aga_castle_screen:
%cm_preset("Castle Screen", preset_hundo_aga_castle_screen)
cm_hundo_aga_entrance:
%cm_preset("Entrance", preset_hundo_aga_entrance)
cm_hundo_aga_fairy_skip:
%cm_preset("Fairy Skip", preset_hundo_aga_fairy_skip)
cm_hundo_aga_dark_room_of_despair:
%cm_preset("Dark Room of Despair", preset_hundo_aga_dark_room_of_despair)
cm_hundo_aga_dark_room_of_melancholy:
%cm_preset("Dark Room of Melancholy", preset_hundo_aga_dark_room_of_melancholy)
cm_hundo_aga_spear_guards:
%cm_preset("Spear Guards", preset_hundo_aga_spear_guards)
cm_hundo_aga_circle_of_pots:
%cm_preset("Circle of Pots", preset_hundo_aga_circle_of_pots)
cm_hundo_aga_pit_room:
%cm_preset("Pit Room", preset_hundo_aga_pit_room)
cm_hundo_aga_agahnim:
%cm_preset("Agahnim", preset_hundo_aga_agahnim)
; PALACE OF DARKNESS
cm_hundo_presets_goto_pod:
%cm_submenu("Palace of Darkness", cm_hundo_presets_pod)
cm_hundo_presets_pod:
dw cm_hundo_pod_pyramid
dw cm_hundo_pod_pod_overworld
dw cm_hundo_pod_entrance
dw cm_hundo_pod_main_hub_small_key
dw cm_hundo_pod_main_hub_bk
dw cm_hundo_pod_main_hub_hammeryump
dw cm_hundo_pod_hammeryump
dw cm_hundo_pod_before_sexy_statue
dw cm_hundo_pod_sexy_statue_room
dw cm_hundo_pod_mimics
dw cm_hundo_pod_statue
dw cm_hundo_pod_basement
dw cm_hundo_pod_turtle_room
dw cm_hundo_pod_helma
dw !menu_end
%cm_header("PALACE OF DARKNESS")
cm_hundo_pod_pyramid:
%cm_preset("Pyramid", preset_hundo_pod_pyramid)
cm_hundo_pod_pod_overworld:
%cm_preset("Palace Overworld Screen", preset_hundo_pod_pod_overworld)
cm_hundo_pod_entrance:
%cm_preset("Entrance", preset_hundo_pod_entrance)
cm_hundo_pod_main_hub_small_key:
%cm_preset("Main Hub (small key)", preset_hundo_pod_main_hub_small_key)
cm_hundo_pod_main_hub_bk:
%cm_preset("Main Hub (bk)", preset_hundo_pod_main_hub_bk)
cm_hundo_pod_main_hub_hammeryump:
%cm_preset("Main Hub (hammeryump)", preset_hundo_pod_main_hub_hammeryump)
cm_hundo_pod_hammeryump:
%cm_preset("Hammeryump", preset_hundo_pod_hammeryump)
cm_hundo_pod_before_sexy_statue:
%cm_preset("Pre Sexy Statue", preset_hundo_pod_before_sexy_statue)
cm_hundo_pod_sexy_statue_room:
%cm_preset("Sexy Statue Room", preset_hundo_pod_sexy_statue_room)
cm_hundo_pod_mimics:
%cm_preset("Mimics", preset_hundo_pod_mimics)
cm_hundo_pod_statue:
%cm_preset("Statue", preset_hundo_pod_statue)
cm_hundo_pod_basement:
%cm_preset("Basement", preset_hundo_pod_basement)
cm_hundo_pod_turtle_room:
%cm_preset("Turtle Room", preset_hundo_pod_turtle_room)
cm_hundo_pod_helma:
%cm_preset("Helma", preset_hundo_pod_helma)
; THIEVES TOWN
cm_hundo_presets_goto_thieves:
%cm_submenu("Thieves' Town", cm_hundo_presets_thieves)
cm_hundo_presets_thieves:
dw cm_hundo_thieves_outside_pod
dw cm_hundo_thieves_ow_hammerdash
dw cm_hundo_thieves_grove
dw cm_hundo_thieves_usain_bolt
dw cm_hundo_thieves_after_activating_flute
dw cm_hundo_thieves_darkworld
dw cm_hundo_thieves_entrance
dw cm_hundo_thieves_after_big_key
dw cm_hundo_thieves_blind_hallway
dw cm_hundo_thieves_conveyor_gibos
dw cm_hundo_thieves_hellway
dw cm_hundo_thieves_bombable_floor
dw cm_hundo_thieves_backtracking_1
dw cm_hundo_thieves_basement
dw cm_hundo_thieves_prison
dw cm_hundo_thieves_after_gloves
dw cm_hundo_thieves_backtracking_2
dw cm_hundo_thieves_pot_hammerdash
dw cm_hundo_thieves_blind
dw !menu_end
%cm_header("THIEVES TOWN")
cm_hundo_thieves_outside_pod:
%cm_preset("Outside PoD", preset_hundo_thieves_outside_pod)
cm_hundo_thieves_ow_hammerdash:
%cm_preset("Overworld Hammerdash", preset_hundo_thieves_ow_hammerdash)
cm_hundo_thieves_grove:
%cm_preset("Grove", preset_hundo_thieves_grove)
cm_hundo_thieves_usain_bolt:
%cm_preset("Usain Bolt", preset_hundo_thieves_usain_bolt)
cm_hundo_thieves_after_activating_flute:
%cm_preset("After Activating Flute", preset_hundo_thieves_after_activating_flute)
cm_hundo_thieves_darkworld:
%cm_preset("After Warp", preset_hundo_thieves_darkworld)
cm_hundo_thieves_entrance:
%cm_preset("Entrance", preset_hundo_thieves_entrance)
cm_hundo_thieves_after_big_key:
%cm_preset("After Big Key", preset_hundo_thieves_after_big_key)
cm_hundo_thieves_blind_hallway:
%cm_preset("Stalfos Hallway", preset_hundo_thieves_blind_hallway)
cm_hundo_thieves_conveyor_gibos:
%cm_preset("Conveyor Gibos", preset_hundo_thieves_conveyor_gibos)
cm_hundo_thieves_hellway:
%cm_preset("Hellway", preset_hundo_thieves_hellway)
cm_hundo_thieves_bombable_floor:
%cm_preset("Bombable Floor", preset_hundo_thieves_bombable_floor)
cm_hundo_thieves_backtracking_1:
%cm_preset("Backtracking", preset_hundo_thieves_backtracking_1)
cm_hundo_thieves_basement:
%cm_preset("Basement", preset_hundo_thieves_basement)
cm_hundo_thieves_prison:
%cm_preset("Prison", preset_hundo_thieves_prison)
cm_hundo_thieves_after_gloves:
%cm_preset("Gloves", preset_hundo_thieves_after_gloves)
cm_hundo_thieves_backtracking_2:
%cm_preset("Backtracking", preset_hundo_thieves_backtracking_2)
cm_hundo_thieves_pot_hammerdash:
%cm_preset("Pot Hammerdash", preset_hundo_thieves_pot_hammerdash)
cm_hundo_thieves_blind:
%cm_preset("Blind", preset_hundo_thieves_blind)
; SKULL WOODS
cm_hundo_presets_goto_skull:
%cm_submenu("Skull Woods", cm_hundo_presets_skull)
cm_hundo_presets_skull:
dw cm_hundo_sw_outside_thieves
dw cm_hundo_sw_cursed_dwarf
dw cm_hundo_sw_getting_tempered
dw cm_hundo_sw_fence_dash
dw cm_hundo_sw_dash_to_sw
dw cm_hundo_sw_mummy_room
dw cm_hundo_sw_bomb_jump
dw cm_hundo_sw_key_pot
dw cm_hundo_sw_skull_entrance
dw cm_hundo_sw_mummy_hellway
dw cm_hundo_sw_mummy_key
dw cm_hundo_sw_mothula
dw !menu_end
%cm_header("SKULL WOODS")
cm_hundo_sw_outside_thieves:
%cm_preset("Outside Thieves", preset_hundo_sw_outside_thieves)
cm_hundo_sw_cursed_dwarf:
%cm_preset("Cursed Dwarf", preset_hundo_sw_cursed_dwarf)
cm_hundo_sw_getting_tempered:
%cm_preset("Getting Tempered", preset_hundo_sw_getting_tempered)
cm_hundo_sw_fence_dash:
%cm_preset("Fencedash", preset_hundo_sw_fence_dash)
cm_hundo_sw_dash_to_sw:
%cm_preset("Dash to Skull Woods", preset_hundo_sw_dash_to_sw)
cm_hundo_sw_mummy_room:
%cm_preset("Mummy Room", preset_hundo_sw_mummy_room)
cm_hundo_sw_bomb_jump:
%cm_preset("Bomb Jump", preset_hundo_sw_bomb_jump)
cm_hundo_sw_key_pot:
%cm_preset("Key Pot", preset_hundo_sw_key_pot)
cm_hundo_sw_skull_entrance:
%cm_preset("Skull Entrance", preset_hundo_sw_skull_entrance)
cm_hundo_sw_mummy_hellway:
%cm_preset("Mummy Hellway", preset_hundo_sw_mummy_hellway)
cm_hundo_sw_mummy_key:
%cm_preset("Mummy Key", preset_hundo_sw_mummy_key)
cm_hundo_sw_mothula:
%cm_preset("Mothula", preset_hundo_sw_mothula)
; ICE PALACE
cm_hundo_presets_goto_ice:
%cm_submenu("Ice Palace", cm_hundo_presets_ice)
cm_hundo_presets_ice:
dw cm_hundo_ice_outside_skull
dw cm_hundo_ice_bridge_warp
dw cm_hundo_ice_lottery
dw cm_hundo_ice_medallion
dw cm_hundo_ice_zoras_domain
dw cm_hundo_ice_tiny_warp
dw cm_hundo_ice_ice_entrance
dw cm_hundo_ice_ice2
dw cm_hundo_ice_penguin_switch_room
dw cm_hundo_ice_bombable_floor
dw cm_hundo_ice_conveyor_room
dw cm_hundo_ice_ipbj
dw cm_hundo_ice_penguin_room
dw cm_hundo_ice_lonely_firebar
dw cm_hundo_ice_last_two_screens
dw cm_hundo_ice_kholdstare
dw !menu_end
%cm_header("ICE PALACE")
cm_hundo_ice_outside_skull:
%cm_preset("Outside Skull", preset_hundo_ice_outside_skull)
cm_hundo_ice_bridge_warp:
%cm_preset("Bridge Warp", preset_hundo_ice_bridge_warp)
cm_hundo_ice_lottery:
%cm_preset("Lottery", preset_hundo_ice_lottery)
cm_hundo_ice_medallion:
%cm_preset("Medallion", preset_hundo_ice_medallion)
cm_hundo_ice_zoras_domain:
%cm_preset("Zoras Domain", preset_hundo_ice_zoras_domain)
cm_hundo_ice_tiny_warp:
%cm_preset("Tiny Warp Dik", preset_hundo_ice_tiny_warp)
cm_hundo_ice_ice_entrance:
%cm_preset("Entrance", preset_hundo_ice_ice_entrance)
cm_hundo_ice_ice2:
%cm_preset("Ice 2", preset_hundo_ice_ice2)
cm_hundo_ice_penguin_switch_room:
%cm_preset("Penguin Switch Room", preset_hundo_ice_penguin_switch_room)
cm_hundo_ice_bombable_floor:
%cm_preset("Bombable Floor", preset_hundo_ice_bombable_floor)
cm_hundo_ice_conveyor_room:
%cm_preset("Conveyor Room", preset_hundo_ice_conveyor_room)
cm_hundo_ice_ipbj:
%cm_preset("IPBJ", preset_hundo_ice_ipbj)
cm_hundo_ice_penguin_room:
%cm_preset("Penguin Lineup Room", preset_hundo_ice_penguin_room)
cm_hundo_ice_lonely_firebar:
%cm_preset("Lonely Firebar", preset_hundo_ice_lonely_firebar)
cm_hundo_ice_last_two_screens:
%cm_preset("Last Two Screens", preset_hundo_ice_last_two_screens)
cm_hundo_ice_kholdstare:
%cm_preset("Kholdstare", preset_hundo_ice_kholdstare)
; MISERY MIRE
cm_hundo_presets_goto_mire:
%cm_submenu("Misery Mire", cm_hundo_presets_mire)
cm_hundo_presets_mire:
dw cm_hundo_mire_outside_swamp
dw cm_hundo_mire_dm
dw cm_hundo_mire_free_flutedash
dw cm_hundo_mire_darkworld_warp
dw cm_hundo_mire_entrance
dw cm_hundo_mire_mire2
dw cm_hundo_mire_main_hub
dw cm_hundo_mire_beat_the_fireball
dw cm_hundo_mire_bari_key
dw cm_hundo_mire_sluggulas
dw cm_hundo_mire_torches
dw cm_hundo_mire_spark_gamble
dw cm_hundo_mire_big_chest_room
dw cm_hundo_mire_spike_key
dw cm_hundo_mire_wizzrobe
dw cm_hundo_mire_basement
dw cm_hundo_mire_spooky_action_1
dw cm_hundo_mire_spooky_action_2
dw cm_hundo_mire_vitty
dw !menu_end
%cm_header("MISERY MIRE")
cm_hundo_mire_outside_swamp:
%cm_preset("Outside Ice", preset_hundo_mire_outside_swamp)
cm_hundo_mire_dm:
%cm_preset("Death Mountain", preset_hundo_mire_dm)
cm_hundo_mire_free_flutedash:
%cm_preset("Free Flutedash", preset_hundo_mire_free_flutedash)
cm_hundo_mire_darkworld_warp:
%cm_preset("Mire Overworld Screen", preset_hundo_mire_darkworld_warp)
cm_hundo_mire_entrance:
%cm_preset("Mire Entrance", preset_hundo_mire_entrance)
cm_hundo_mire_mire2:
%cm_preset("Mire 2", preset_hundo_mire_mire2)
cm_hundo_mire_main_hub:
%cm_preset("Main Hub", preset_hundo_mire_main_hub)
cm_hundo_mire_beat_the_fireball:
%cm_preset("Beat the Fireball", preset_hundo_mire_beat_the_fireball)
cm_hundo_mire_bari_key:
%cm_preset("Bari Key", preset_hundo_mire_bari_key)
cm_hundo_mire_sluggulas:
%cm_preset("Sluggulas", preset_hundo_mire_sluggulas)
cm_hundo_mire_torches:
%cm_preset("Torches", preset_hundo_mire_torches)
cm_hundo_mire_spark_gamble:
%cm_preset("Spark Gamble", preset_hundo_mire_spark_gamble)
cm_hundo_mire_big_chest_room:
%cm_preset("Big Chest Room", preset_hundo_mire_big_chest_room)
cm_hundo_mire_spike_key:
%cm_preset("Spike Key", preset_hundo_mire_spike_key)
cm_hundo_mire_wizzrobe:
%cm_preset("Wizzrobe", preset_hundo_mire_wizzrobe)
cm_hundo_mire_basement:
%cm_preset("Basement", preset_hundo_mire_basement)
cm_hundo_mire_spooky_action_1:
%cm_preset("Spooky Action 1", preset_hundo_mire_spooky_action_1)
cm_hundo_mire_spooky_action_2:
%cm_preset("Spooky Action 2", preset_hundo_mire_spooky_action_2)
cm_hundo_mire_vitty:
%cm_preset("Vitreous", preset_hundo_mire_vitty)
; SWAMP PALACE
cm_hundo_presets_goto_swamp:
%cm_submenu("Swamp Palace", cm_hundo_presets_swamp)
cm_hundo_presets_swamp:
dw cm_hundo_swamp_outside_ice
dw cm_hundo_swamp_links_house
dw cm_hundo_swamp_swamp_overworld
dw cm_hundo_swamp_antifairy_room
dw cm_hundo_swamp_entrance
dw cm_hundo_swamp_first_key_pot
dw cm_hundo_swamp_hallway_key_1
dw cm_hundo_swamp_water_lever_1
dw cm_hundo_swamp_main_hub
dw cm_hundo_swamp_water_lever_2
dw cm_hundo_swamp_sociable_firebar
dw cm_hundo_swamp_backtracking
dw cm_hundo_swamp_hook_shot
dw cm_hundo_swamp_hookdash
dw cm_hundo_swamp_water_lever_3
dw cm_hundo_swamp_restock
dw cm_hundo_swamp_phelps_way
dw cm_hundo_swamp_arrghus
dw !menu_end
%cm_header("SWAMP PALACE")
cm_hundo_swamp_outside_ice:
%cm_preset("Outside Mire", preset_hundo_swamp_outside_ice)
cm_hundo_swamp_links_house:
%cm_preset("Link's House", preset_hundo_swamp_links_house)
cm_hundo_swamp_swamp_overworld:
%cm_preset("Swamp Overworld", preset_hundo_swamp_swamp_overworld)
cm_hundo_swamp_antifairy_room:
%cm_preset("Antifairy Room", preset_hundo_swamp_antifairy_room)
cm_hundo_swamp_entrance:
%cm_preset("Entrance", preset_hundo_swamp_entrance)
cm_hundo_swamp_first_key_pot:
%cm_preset("First Key Pot", preset_hundo_swamp_first_key_pot)
cm_hundo_swamp_hallway_key_1:
%cm_preset("Tiny Hallway Key", preset_hundo_swamp_hallway_key_1)
cm_hundo_swamp_water_lever_1:
%cm_preset("Water Lever 1", preset_hundo_swamp_water_lever_1)
cm_hundo_swamp_main_hub:
%cm_preset("Main Hub", preset_hundo_swamp_main_hub)
cm_hundo_swamp_water_lever_2:
%cm_preset("Water Lever 2", preset_hundo_swamp_water_lever_2)
cm_hundo_swamp_sociable_firebar:
%cm_preset("Sociable Firebar", preset_hundo_swamp_sociable_firebar)
cm_hundo_swamp_backtracking:
%cm_preset("Backtracking", preset_hundo_swamp_backtracking)
cm_hundo_swamp_hook_shot:
%cm_preset("Hookshot", preset_hundo_swamp_hook_shot)
cm_hundo_swamp_hookdash:
%cm_preset("Hookdash", preset_hundo_swamp_hookdash)
cm_hundo_swamp_water_lever_3:
%cm_preset("Water Lever 3", preset_hundo_swamp_water_lever_3)
cm_hundo_swamp_restock:
%cm_preset("Restock Room", preset_hundo_swamp_restock)
cm_hundo_swamp_phelps_way:
%cm_preset("Phelps Way", preset_hundo_swamp_phelps_way)
cm_hundo_swamp_arrghus:
%cm_preset("Arrghus", preset_hundo_swamp_arrghus)
; TURTLE ROCK
cm_hundo_presets_goto_trock:
%cm_submenu("Turtle Rock", cm_hundo_presets_trock)
cm_hundo_presets_trock:
dw cm_hundo_trock_outside_mire
dw cm_hundo_trock_icerod_overworld
dw cm_hundo_trock_dm
dw cm_hundo_trock_squirrels
dw cm_hundo_trock_peg_puzzle
dw cm_hundo_trock_entrance
dw cm_hundo_trock_torches
dw cm_hundo_trock_roller_room
dw cm_hundo_trock_pokey_0
dw cm_hundo_trock_chomps
dw cm_hundo_trock_pokey_1
dw cm_hundo_trock_pokeys_2
dw cm_hundo_trock_crystal_roller
dw cm_hundo_trock_dark_room
dw cm_hundo_trock_laser_skip
dw cm_hundo_trock_switch_room
dw cm_hundo_trock_trinexx
dw !menu_end
%cm_header("TURTLE ROCK")
cm_hundo_trock_outside_mire:
%cm_preset("Outside Swamp", preset_hundo_trock_outside_mire)
cm_hundo_trock_icerod_overworld:
%cm_preset("Ice Rod Overworld", preset_hundo_trock_icerod_overworld)
cm_hundo_trock_dm:
%cm_preset("Death Mountain", preset_hundo_trock_dm)
cm_hundo_trock_squirrels:
%cm_preset("Squirrels", preset_hundo_trock_squirrels)
cm_hundo_trock_peg_puzzle:
%cm_preset("Peg Puzzle", preset_hundo_trock_peg_puzzle)
cm_hundo_trock_entrance:
%cm_preset("Entrance", preset_hundo_trock_entrance)
cm_hundo_trock_torches:
%cm_preset("Torches", preset_hundo_trock_torches)
cm_hundo_trock_roller_room:
%cm_preset("Roller Room", preset_hundo_trock_roller_room)
cm_hundo_trock_pokey_0:
%cm_preset("Pokey 0", preset_hundo_trock_pokey_0)
cm_hundo_trock_chomps:
%cm_preset("Chomps", preset_hundo_trock_chomps)
cm_hundo_trock_pokey_1:
%cm_preset("Pokey 1", preset_hundo_trock_pokey_1)
cm_hundo_trock_pokeys_2:
%cm_preset("Pokeys 2", preset_hundo_trock_pokeys_2)
cm_hundo_trock_crystal_roller:
%cm_preset("Crystal Roller", preset_hundo_trock_crystal_roller)
cm_hundo_trock_dark_room:
%cm_preset("Dark Room", preset_hundo_trock_dark_room)
cm_hundo_trock_laser_skip:
%cm_preset("Laser Skip", preset_hundo_trock_laser_skip)
cm_hundo_trock_switch_room:
%cm_preset("Switch Room", preset_hundo_trock_switch_room)
cm_hundo_trock_trinexx:
%cm_preset("Trinexx", preset_hundo_trock_trinexx)
; GANONS TOWER
cm_hundo_presets_goto_gtower:
%cm_submenu("Ganon's Tower", cm_hundo_presets_gtower)
cm_hundo_presets_gtower:
dw cm_hundo_gtower_outside_trock
dw cm_hundo_gtower_entrance
dw cm_hundo_gtower_spike_skip
dw cm_hundo_gtower_pre_firesnakes_room
dw cm_hundo_gtower_bombable_floor
dw cm_hundo_gtower_ice_armos
dw cm_hundo_gtower_floor_2
dw cm_hundo_gtower_mimics1
dw cm_hundo_gtower_mimics2
dw cm_hundo_gtower_spike_room
dw cm_hundo_gtower_gauntlet
dw cm_hundo_gtower_gauntlet_3
dw cm_hundo_gtower_lanmola2
dw cm_hundo_gtower_wizz1
dw cm_hundo_gtower_wizz2
dw cm_hundo_gtower_torches1
dw cm_hundo_gtower_torches2
dw cm_hundo_gtower_helma_key
dw cm_hundo_gtower_bombable_wall
dw cm_hundo_gtower_moldorm_2
dw cm_hundo_gtower_agahnim_2
dw !menu_end
%cm_header("GANONS TOWER")
cm_hundo_gtower_outside_trock:
%cm_preset("Outside Turtle Rock", preset_hundo_gtower_outside_trock)
cm_hundo_gtower_entrance:
%cm_preset("Entrance", preset_hundo_gtower_entrance)
cm_hundo_gtower_spike_skip:
%cm_preset("Spike Skip", preset_hundo_gtower_spike_skip)
cm_hundo_gtower_pre_firesnakes_room:
%cm_preset("Pre Firesnakes Room", preset_hundo_gtower_pre_firesnakes_room)
cm_hundo_gtower_bombable_floor:
%cm_preset("Bombable Floor", preset_hundo_gtower_bombable_floor)
cm_hundo_gtower_ice_armos:
%cm_preset("Ice Armos", preset_hundo_gtower_ice_armos)
cm_hundo_gtower_floor_2:
%cm_preset("Floor 2", preset_hundo_gtower_floor_2)
cm_hundo_gtower_mimics1:
%cm_preset("Mimics 1", preset_hundo_gtower_mimics1)
cm_hundo_gtower_mimics2:
%cm_preset("Mimics 2", preset_hundo_gtower_mimics2)
cm_hundo_gtower_spike_room:
%cm_preset("Spike Room", preset_hundo_gtower_spike_room)
cm_hundo_gtower_gauntlet:
%cm_preset("Gauntlet 1", preset_hundo_gtower_gauntlet)
cm_hundo_gtower_gauntlet_3:
%cm_preset("Gauntlet 3", preset_hundo_gtower_gauntlet_3)
cm_hundo_gtower_lanmola2:
%cm_preset("Lanmola 2", preset_hundo_gtower_lanmola2)
cm_hundo_gtower_wizz1:
%cm_preset("Wizzrobes 1", preset_hundo_gtower_wizz1)
cm_hundo_gtower_wizz2:
%cm_preset("Wizzrobes 2", preset_hundo_gtower_wizz2)
cm_hundo_gtower_torches1:
%cm_preset("Torches 1", preset_hundo_gtower_torches1)
cm_hundo_gtower_torches2:
%cm_preset("Torches 2", preset_hundo_gtower_torches2)
cm_hundo_gtower_helma_key:
%cm_preset("Helma Key", preset_hundo_gtower_helma_key)
cm_hundo_gtower_bombable_wall:
%cm_preset("Bombable Wall", preset_hundo_gtower_bombable_wall)
cm_hundo_gtower_moldorm_2:
%cm_preset("Moldorm 2", preset_hundo_gtower_moldorm_2)
cm_hundo_gtower_agahnim_2:
%cm_preset("Agahnim 2", preset_hundo_gtower_agahnim_2)
; GANON
cm_hundo_presets_goto_ganon:
%cm_submenu("Ganon", cm_hundo_presets_ganon)
cm_hundo_presets_ganon:
dw cm_hundo_ganon_pyramid
dw cm_hundo_ganon_pyramid_magic
dw !menu_end
%cm_header("GANON")
cm_hundo_ganon_pyramid:
%cm_preset("Ganon", preset_hundo_ganon_pyramid)
cm_hundo_ganon_pyramid_magic:
%cm_preset("Ganon (full magic)", preset_hundo_ganon_pyramid_magic)
; BOSSES
cm_hundo_presets_goto_boss:
%cm_submenu("Bosses", cm_hundo_presets_boss)
cm_hundo_presets_boss:
dw cm_hundo_east_armos
dw cm_hundo_desert_lanmolas
dw cm_hundo_hera_moldorm
dw cm_hundo_aga_agahnim
dw cm_hundo_pod_helma
dw cm_hundo_thieves_blind
dw cm_hundo_sw_mothula
dw cm_hundo_ice_kholdstare
dw cm_hundo_swamp_arrghus
dw cm_hundo_mire_vitty
dw cm_hundo_trock_trinexx
dw cm_hundo_gtower_agahnim_2
dw cm_hundo_ganon_pyramid
dw cm_hundo_ganon_pyramid_magic
dw !menu_end
%cm_header("BOSSES")
| 27.802846 | 82 | 0.858835 |
79d66a3ec2ef5b22e9bdda759aec5ebaf5bc5001 | 242 | asm | Assembly | test_bubble_sort.asm | sekharkaredla/8085 | bca7395498d013c0a337f696aad49ead34f8cbdd | [
"MIT"
] | 1 | 2019-07-31T04:41:42.000Z | 2019-07-31T04:41:42.000Z | test_bubble_sort.asm | sekharkaredla/8085 | bca7395498d013c0a337f696aad49ead34f8cbdd | [
"MIT"
] | null | null | null | test_bubble_sort.asm | sekharkaredla/8085 | bca7395498d013c0a337f696aad49ead34f8cbdd | [
"MIT"
] | 1 | 2022-01-11T07:50:34.000Z | 2022-01-11T07:50:34.000Z | LXI H,4000
MOV C,M
DCR C
REPEAT: MOV D,C
LXI H,4001
ZONE: MOV A,M
INX H
CMP M
JC TEST
MOV B,M
MOV M,A
DCX H
MOV M,B
INX H
TEST: DCR D
JNZ ZONE
DCR C
JNZ REPEAT
RST 1
| 10.521739 | 18 | 0.471074 |
302bd0a397287205f4822a5e078a9704be64988f | 4,284 | asm | Assembly | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca_notsx.log_4_667.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca_notsx.log_4_667.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca_notsx.log_4_667.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 %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xda88, %rdx
nop
nop
nop
nop
nop
sub %r14, %r14
mov (%rdx), %r12
nop
nop
nop
nop
cmp $24077, %rsi
lea addresses_normal_ht+0xfa29, %r10
nop
nop
nop
and %rdx, %rdx
movups (%r10), %xmm1
vpextrq $0, %xmm1, %r12
nop
nop
nop
sub %r12, %r12
lea addresses_WT_ht+0x8a0c, %rsi
lea addresses_WC_ht+0x11278, %rdi
add %r9, %r9
mov $0, %rcx
rep movsw
nop
nop
cmp $11474, %r14
lea addresses_WT_ht+0x15e48, %rsi
lea addresses_D_ht+0x10e68, %rdi
xor $26058, %r14
mov $108, %rcx
rep movsw
nop
nop
and $38608, %rdi
lea addresses_A_ht+0x1228, %r12
nop
nop
nop
nop
nop
cmp $36462, %r9
mov (%r12), %ecx
cmp %rsi, %rsi
lea addresses_WC_ht+0x41e8, %r9
nop
nop
nop
nop
nop
inc %r12
mov $0x6162636465666768, %rcx
movq %rcx, (%r9)
nop
nop
nop
xor %r9, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r9
pop %r14
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r14
push %rax
push %rbx
push %rdx
// Store
lea addresses_normal+0x19678, %rbx
nop
and %r13, %r13
movw $0x5152, (%rbx)
nop
nop
nop
nop
sub $57716, %rbx
// Store
lea addresses_WC+0x1ad48, %r14
nop
inc %rax
mov $0x5152535455565758, %rdx
movq %rdx, %xmm0
vmovups %ymm0, (%r14)
add $40375, %r14
// Store
mov $0x3e0a110000000648, %r13
xor %r14, %r14
movw $0x5152, (%r13)
sub $2202, %rbx
// Load
lea addresses_A+0xba48, %r13
nop
nop
nop
cmp $8500, %r14
movb (%r13), %dl
nop
nop
add %rbx, %rbx
// Store
lea addresses_US+0x15548, %rdx
nop
nop
nop
cmp %r10, %r10
movw $0x5152, (%rdx)
nop
xor %r13, %r13
// Store
lea addresses_normal+0x1b528, %r11
inc %rax
movb $0x51, (%r11)
nop
nop
nop
nop
xor $26756, %rbx
// Store
lea addresses_RW+0x13e22, %r10
nop
add %rbx, %rbx
movl $0x51525354, (%r10)
cmp %rbx, %rbx
// Store
mov $0x148, %r14
nop
nop
nop
nop
add $56106, %r13
movw $0x5152, (%r14)
nop
cmp %rdx, %rdx
// Faulty Load
lea addresses_A+0xb648, %r11
nop
nop
nop
nop
sub $58540, %r10
mov (%r11), %ax
lea oracles, %rdx
and $0xff, %rax
shlq $12, %rax
mov (%rdx,%rax,1), %rax
pop %rdx
pop %rbx
pop %rax
pop %r14
pop %r13
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 4, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 5, 'same': False, 'type': 'addresses_WC'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 11, 'same': False, 'type': 'addresses_NC'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 8, 'same': False, 'type': 'addresses_US'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1, 'same': False, 'type': 'addresses_RW'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 6, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 4, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'52': 4}
52 52 52 52
*/
| 20.112676 | 148 | 0.637955 |
94681e04d8597de8ceee14f3b100c244ab507440 | 46,219 | asm | Assembly | Appl/Tools/Localize/Document/documentSearch.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Appl/Tools/Localize/Document/documentSearch.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Appl/Tools/Localize/Document/documentSearch.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | Comment @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: ResEdit / Document
FILE: documentSearch.asm
AUTHOR: Cassie Hartzog, Jan 20, 1993
ROUTINES:
Name Description
---- -----------
EXT DocumentSearch MSG_SEARCH
INT HandleMatch
INT SearchText
INT SearchTextCallback
INT SearchTextCallbackCallback
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial revision
DESCRIPTION:
Code for handling search and replace.
$Id: documentSearch.asm,v 1.1 97/04/04 17:14:02 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentSearchCode segment resource
;---
DocSearch_ObjMessage_stack proc near
push di
mov di, mask MF_CALL or mask MF_STACK or mask MF_FIXUP_DS
call ObjMessage
pop di
ret
DocSearch_ObjMessage_stack endp
DocSearch_ObjMessage_send proc near
push di
mov di, mask MF_FIXUP_DS
call ObjMessage
pop di
ret
DocSearch_ObjMessage_send endp
DocSearch_ObjMessage_call proc near
push di
mov di, mask MF_CALL or mask MF_FIXUP_DS
call ObjMessage
pop di
ret
DocSearch_ObjMessage_call endp
ForceRef DocSearch_ObjMessage_send
ForceRef DocSearch_ObjMessage_stack
;---
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DocumentSearch
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Search the translation file for a string.
CALLED BY: MSG_SEARCH
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditDocumentClass
ax - the message
^hdx - block containing SearchReplaceStruct
(should be freed by handler)
RETURN: carry set if match was found
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentSearch method ResEditDocumentClass,
MSG_SEARCH
.enter
sub sp, size SearchReplaceParams
mov bp, sp
clr ss:[bp].SRP_flags
mov ax, ds:[di].REDI_curResource
mov ss:[bp].SRP_curResource, ax ;start with this resource
mov ax, ds:[di].REDI_curChunk
mov ss:[bp].SRP_curChunk, ax ;start with this chunk
mov al, ds:[di].REDI_curTarget
mov ss:[bp].SRP_curSource, al
mov ss:[bp].SRP_chunkSource, al
; are we starting in the OrigText or EditText object?
;
push si
movdw bxsi, ds:[di].REDI_editText
cmp al, ST_ORIGINAL
jne getRange
mov si, offset OrigText
getRange:
; get text position to start at based on what's selected now
;
push dx, bp
mov dx, ss
lea bp, ss:[bp].SRP_textRange ;dx:bp <- buffer
mov ax, MSG_VIS_TEXT_GET_SELECTION_RANGE
call DocSearch_ObjMessage_call
pop dx, bp
pop si
pushdw ss:[bp].SRP_textRange.VTR_start ;save this for backward search
movdw bxax, ss:[bp].SRP_textRange.VTR_end
movdw ss:[bp].SRP_textRange.VTR_start, bxax ;start from here
EC < tst bx >
EC < ERROR_NZ RESEDIT_INTERNAL_LOGIC_ERROR >
mov ss:[bp].SRP_endRange, ax ;stop searching here if the
; search wraps
mov bx, dx ;bx <- SearchReplaceStruct
call MemLock
mov ss:[bp].SRP_searchStructSeg, ax
mov es, ax
mov al, es:[SRS_params]
mov ss:[bp].SRP_searchOptions, al
test al, mask SO_BACKWARD_SEARCH
jnz backward
add sp, size dword ;clear stack
push bx ;save SearchStruct handle
search:
call SearchText
jc foundMatch ;branch if match found
;
; If we didn't find a match, tell the SearchReplaceControl
; (or whoever is listening at the other end) about it.
;
mov ds, ss:[bp].SRP_searchStructSeg
movdw bxsi, ds:[SRS_replyObject]
mov ax, ds:[SRS_replyMsg]
call DocSearch_ObjMessage_send
clc ;carry <- not found
foundMatch:
pop bx ;bx <- SearchReplaceStruct
pushf
call MemFree
popf
jnc done ;branch if not found
;
; If we have a match, update the display to show it
;
call HandleMatch
done:
add sp, size SearchReplaceParams
.leave
ret
backward:
popdw axcx
EC < tst ax >
EC < ERROR_NZ RESEDIT_INTERNAL_LOGIC_ERROR >
movdw ss:[bp].SRP_textRange.VTR_start, axcx ;start from here
mov ss:[bp].SRP_endRange, cx ;stop searching here
push bx ;save file handle
jmp search
DocumentSearch endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
HandleMatch
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: A match was found. Display the chunk with the
matching text selected.
CALLED BY: DocumentSearch
PASS: *ds:si - document
ds:di - document instance data
ss:bp - SearchReplaceParams
RETURN: nothing
DESTROYED: ax,bx,cx,dx,bp,si,di,es
PSEUDO CODE/STRATEGY:
Change resource, chunk and target, if necessary, to display the match.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
HandleMatch proc near
mov al, ss:[bp].SRP_chunkSource
mov cx, ss:[bp].SRP_resourceNum
mov dx, ss:[bp].SRP_chunkNum
; if the current chunk changes as a result of this call,
; the text selection will be set when the highlight changes.
;
call DocumentGoToResourceChunkTarget
call SetEditMenuState
movdw bxsi, ds:[di].REDI_editText
cmp ss:[bp].SRP_chunkSource, ST_TRANSLATION
je haveOD
mov si, offset OrigText
haveOD:
mov ax, MSG_VIS_TEXT_SELECT_RANGE
mov dx, size VisTextRange
mov di, mask MF_STACK or mask MF_FORCE_QUEUE
lea bp, ss:[bp].SRP_textRange
call ObjMessage
ret
HandleMatch endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SearchText
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Look for the search string.
CALLED BY: DocumentSearch
PASS: *ds:si - document
ds:di - document
ss:bp - SearchReplaceParams
RETURN: carry set if search string is found
DESTROYED: ax,bx,cx,dx
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SearchText proc near
uses si,di,ds
.enter
segmov es, ds
mov al, ds:[di].REDI_stateFilter
mov ah, ds:[di].REDI_typeFilter
mov ss:[bp].SRP_filters, ax
call GetFileHandle
mov ss:[bp].SRP_fileHandle, bx
call DBLockMap_DS
;
; endRange isn't used until examining the curChunk on a wrapped
; search. Save it for now, and store -1, so that the string will
; be searched to the end. If the search wraps back to curChunk,
; we will want to search from text position 0 to endRange.
; For backward searches, we will search from the last text
; position to endRange.
;
push ss:[bp].SRP_endRange
mov cx, -1 ;enum all resources to end
mov ss:[bp].SRP_endRange, cx ;go all the way to end of text
mov ss:[bp].SRP_lastChunk, cx ;go to last chunk
mov ax, ss:[bp].SRP_curResource ;start at curResource
push di, es
mov bx, cs
mov di, offset SearchTextCallback
call MyChunkArrayEnumRange
pop di, es
pop ss:[bp].SRP_endRange ;restore end range
jc done ;match was found!
;
; If this is a Replace All search, we have now enumerated
; all the resources and chunks, so we are done.
;
test ss:[bp].SRP_flags, mask SRF_REPLACE_ALL
jnz done
;
; If the search was started at resource 0, original chunk 0,
; at text position 0, then the entire database has been searched.
;
tst ss:[bp].SRP_curResource
jnz continue
tst ss:[bp].SRP_curChunk
jnz continue
cmp ss:[bp].SRP_curSource, ST_ORIGINAL
jne continue
tst ss:[bp].SRP_endRange
jz done
continue:
;
; No match was found through the last (first, if backward search)
; resource. Start the search over at first (last) resource,
; stopping at curResource, curChunk, endRange.
; Start the search at the first (last) text position.
;
clrdw ss:[bp].SRP_textRange.VTR_start
mov ax, es:[di].REDI_curChunk
mov ss:[bp].SRP_lastChunk, ax ;stop at this chunk
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
jnz backward
clr ax ;start at resource 0
mov cx, ss:[bp].SRP_curResource ;enum this # of resources,
inc cx ; counting from 1
enumRange:
mov bx, cs
mov di, offset SearchTextCallback
call MyChunkArrayEnumRange
done:
call DBUnlock_DS
.leave
ret
backward:
movdw ss:[bp].SRP_textRange.VTR_start, -1
call ChunkArrayGetCount ;# of resources
mov ax, cx
dec ax ;start at last resource
mov bx, ss:[bp].SRP_curResource
sub cx, bx ;cx = # elements to enum
jmp enumRange
SearchText endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SearchTextCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Enumerate the ResourceArray for this resource,
looking for the passed string.
CALLED BY: SearchText (via MyChunkArrayEnumRange)
PASS: *ds:si - ResourceMapArray
ds:di - ResourceMapElement
ss:bp - SearchReplaceParams
ax - element number
RETURN: carry set if text found somewhere in a this resource
resourceNum, chunkNum set to matching chunk
DESTROYED: ax,bx,cx,dx
PSEUDO CODE/STRATEGY:
Set curChunk = -1 on first pass (from current resource to
end). If no match found in that part of the database, go
from first resource (last resource if backward search) to
curResource. On that pass, curChunk is set to its real value.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SearchTextCallback proc far
.enter
push ds:[LMBH_handle]
push ss:[bp].SRP_endRange
mov cx, ax
mov ss:[bp].SRP_resourceNum, cx ;set new resource #
segmov es, ds
mov bx, ss:[bp].SRP_fileHandle
mov ax, es:[di].RME_data.RMD_group
mov dx, ax ;pass group in dx
mov di, es:[di].RME_data.RMD_item
call DBLock_DS ;*ds:si <-ResourceArray
; if this is not the current resource, start at first (last)
; chunk number, and examine all of its text.
;
cmp cx, ss:[bp].SRP_curResource
je currentResource
; if this resource has no chunks which meet the filter criteria
; don't have anything to enum.
;
call MyChunkArrayGetCount
tst cx
jz done
clr ax ;start at first chunk,
mov ss:[bp].SRP_chunkSource, ST_ORIGINAL ; original item
clrdw ss:[bp].SRP_textRange.VTR_start ;start at beginning
mov ss:[bp].SRP_endRange, -1 ;go to end of text
; mov cx, -1 ;examine all chunks
test ss:[bp].SRP_flags, mask SRF_REPLACE_ALL
jz checkBackward
mov ss:[bp].SRP_chunkSource, ST_TRANSLATION
jmp enumRange
checkBackward:
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
jz enumRange
movdw ss:[bp].SRP_textRange.VTR_start, -1 ;start at end
; call MyChunkArrayGetCount
dec cx ;cx <- last chunk's #
mov ax, cx ;start at last chunk
mov ss:[bp].SRP_chunkSource, ST_TRANSLATION ;start w/trans item
mov cx, -1 ;go to chunk 0
enumRange:
mov bx, cs
mov di, offset SearchTextCallbackCallback
call MyChunkArrayEnumRange ;carry set if found
done:
call DBUnlock_DS
pop ss:[bp].SRP_endRange
pop bx
call MemDerefDS
.leave
ret
currentResource:
;
; If curChunk = -1, there are no visible chunks in this resource
; (becuase of filters). So don't enum them.
;
mov ax, ss:[bp].SRP_curChunk ;start at curChunk
cmp ax, -1 ;are there no chunks?
je done
;
; This is the current resource, so don't examine the whole thing.
; If this is the first pass (lastChunk = -1), start at chunkNum
; and go to last chunk. (When cx = -1, MyChunkArrayEnumRange
; goes backwards to chunk 0 or forwards to the last chunk.)
;
mov cx, ss:[bp].SRP_lastChunk ;# of last chunk to enum
cmp cx, -1
je enumRange
;
; If the search has wrapped and we've come back to curResource,
; start at chunk 0 for a forward search and go to lastChunk.
; On a backward search, start at the last chunk and go to lastChunk.
;
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
jnz backward
clr ax ;start at chunk 0
inc cx ;# of chunks to enum
jmp enumRange
backward:
call MyChunkArrayGetCount ;cx <- #chunks passing filters
mov ax, cx
dec ax ;start at last element
mov bx, ss:[bp].SRP_lastChunk
sub cx, bx ;cx = # elements to enum
jmp enumRange
SearchTextCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SearchTextCallbackCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Look for the search string in this ResourceArrayElement.
CALLED BY: SearchTextCallback (via MyChunkArrayEnumRange)
PASS: *ds:si - ResourceArray
ds:di - ResourceArrayElement
ss:bp - SearchReplaceParams
dx - resource group number
ax - element number
RETURN: carry set if found,
chunkNum set to matching element
textRange set to range of matching text
DESTROYED: ax,cx
PSEUDO CODE/STRATEGY:
If this the start of a search, the first chunk examined is
curChunk. Want to start from textRange.VTR_start.
If the search fails, set it to 0 so the next search will
start from the beginning of the next chunk's text.
If this is the end of a search, last chunk to be examined is
curChunk. In this case, start searching from 0 (passed in
textRange) but stop at the position given in endRange.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SearchTextCallbackCallback proc far
uses dx
.enter
push ds:[LMBH_handle]
push ss:[bp].SRP_endRange ;save character to stop at
; if = -1, go to end of string
mov ss:[bp].SRP_chunkNum, ax ;save this chunk's number
; If not text, don't need to bother with it.
;
mov cl, ds:[di].RAE_data.RAD_chunkType
test cl, mask CT_TEXT
clc
LONG jz done
; If this is the last item to be examined, used the passed
; endRange value, else set it to -1 to search to end of string.
;
mov bx, ss:[bp].SRP_curResource
cmp bx, ss:[bp].SRP_resourceNum
jne goToEnd
cmp ax, ss:[bp].SRP_lastChunk
jne goToEnd
mov al, ss:[bp].SRP_chunkSource
cmp al, ss:[bp].SRP_curSource
je continue
goToEnd:
mov ss:[bp].SRP_endRange, -1 ;go to end of string
continue:
; see if we need to start on the transItem, which is the
; case if we're starting in a transItem
;
mov ax, dx ;ax <- group
mov dx, ds:[di].RAE_data.RAD_origItem
cmp ss:[bp].SRP_chunkSource, ST_ORIGINAL
je firstSearch
tst ds:[di].RAE_data.RAD_transItem
jz firstSearch
mov dx, ds:[di].RAE_data.RAD_transItem
firstSearch:
call SearchStringInItem
LONG jc done
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
jz forward
; if this is an orig item, set chunkSource to translation and
; continue the enumeration
;
movdw ss:[bp].SRP_textRange.VTR_start, -1 ;start at end
cmp ss:[bp].SRP_chunkSource, ST_ORIGINAL
mov ss:[bp].SRP_chunkSource, ST_TRANSLATION ;set for next callback
clc
LONG je done
mov cl, ST_ORIGINAL
jmp nextItem
forward:
clrdw ss:[bp].SRP_textRange.VTR_start ;start at beginning
;
; if this is a "Replace All" search, don't want to examine
; the original item so leave chunkSource = ST_TRANSLATION and quit
clc
test ss:[bp].SRP_flags, mask SRF_REPLACE_ALL
jnz done
; If this is a trans item, set chunkSource to original and
; enumerate the next chunk.
;
cmp ss:[bp].SRP_chunkSource, ST_TRANSLATION
mov ss:[bp].SRP_chunkSource, ST_ORIGINAL ;set for next callback
clc
je done
mov cl, ST_TRANSLATION
nextItem:
; No match found in the first item. Set up to start searching
; the other item from the beginning.
;
mov bl, ss:[bp].SRP_chunkSource ;save this chunkSource
mov ss:[bp].SRP_chunkSource, cl ;store new source
; is this the last chunk to be examined?
;
mov dx, ss:[bp].SRP_curResource
cmp dx, ss:[bp].SRP_resourceNum
jne secondSearch
mov dx, ss:[bp].SRP_chunkNum
cmp dx, ss:[bp].SRP_lastChunk
jne secondSearch ;no, some other chunk
;
; The search has wrapped and this is the last chunk to be examined.
; If the source where the search started is the same as the source
; of the item just examined, we can stop now.
;
pop ss:[bp].SRP_endRange ;restore endRange
push ss:[bp].SRP_endRange
cmp ss:[bp].SRP_curSource, bl
clc
je done
secondSearch:
mov dx, ds:[di].RAE_data.RAD_origItem
cmp cl, ST_ORIGINAL
je haveItem
tst ds:[di].RAE_data.RAD_transItem
jz haveItem
mov dx, ds:[di].RAE_data.RAD_transItem ;then use origItem
haveItem:
mov cl, ds:[di].RAE_data.RAD_chunkType
call SearchStringInItem
jc done
; set the source type for the next callback so it knows where to start
;
mov al, ST_TRANSLATION
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
movdw ss:[bp].SRP_textRange.VTR_start, -1 ;start at end
jnz saveSource
mov al, ST_ORIGINAL
clrdw ss:[bp].SRP_textRange.VTR_start ;start at beginning
saveSource:
mov ss:[bp].SRP_chunkSource, al
clc
done:
pop ss:[bp].SRP_endRange
pop bx
call MemDerefDS
.leave
ret
SearchTextCallbackCallback endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SearchStringInItem
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Look for the search string in this item
CALLED BY: SearchTextCallbackCallback
PASS: ss:bp - SearchReplaceParams
ax - resource group number
dx - item number
cl - ChunkType
RETURN: carry set if found
DESTROYED: dx,es
PSEUDO CODE/STRATEGY:
For forward search:
textRange.VTR_start gives position to start at.
If endRange = -1, search to end of string.
If non-zero, stop at that text position.
It will never be non-zero unless textRange.VTR_start = 0.
For backward search:
textRange.VTR_start gives position to start at.
If it = -1, start from end of string. Go to beginning.
If endRange = -1, search backward to start of string.
else stop at that char.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
SearchStringInItem proc near
uses ax,bx,cx,si,di,ds
.enter
mov bx, ss:[bp].SRP_fileHandle
mov di, dx
call DBLock
mov di, es:[di] ;es:di <- string to search
test cl, mask CT_MONIKER
jz notMoniker
add di, MONIKER_TEXT_OFFSET
notMoniker:
push bp
mov ax, ss:[bp].SRP_textRange.VTR_start.low
mov si, ss:[bp].SRP_endRange
mov ds, ss:[bp].SRP_searchStructSeg
; look for the search string in string at es:di
; pass:
; es:bp - ptr to first character in string
; es:di - ptr to character to start search at
; es:bx - ptr to last character to include in search
; dx - # chars in string es:bp (0 for null-terminated)
; ds:si - ptr to string to match
; cx - # chars in match string
; al - SearchOptions
;
; return:
; es:di - ptr to start of string found
; cx - # chars matched
;
mov bp, di ;es:bp <- first char in string
call GetStringSize ;cx <- # chars in string w/o NULL
test ds:[SRS_params], mask SO_BACKWARD_SEARCH
jz forward
tst ax ;if at front of string, done
jz popBP
; if VTR_start = -1, start at last char in string
;
mov bx, bp ;es:bx <- first char in string
cmp ax, -1
jne $10
add di, cx
DBCS < add di, cx >
dec di ;es:di <- last char in string
DBCS < dec di >
jmp getLastChar
$10:
; mov bx, bp ;es:bx <- char to stop at (first char)
add di, ax ;es:di <- cursor position
DBCS < add di, ax >
dec di ;es:di <- char to start at
DBCS < dec di >
jmp search
forward:
cmp ax, cx ;if pointing at or beyond last
jae popBP ; character, don't search string
mov bx, cx ;bx <- length of string
DBCS < shl bx, 1 ;bx <- size of string >
add bx, di ;es:bx <- NULL
dec bx ;es:bx <- last char in string
DBCS < dec bx >
add di, ax ;es:di <- char to start at
DBCS < add di, ax >
getLastChar:
cmp si, -1 ;go to end if endRange = -1
je search ; else si = position to stop at
mov bx, bp
add bx, si ;es:bx <- last char to look at
DBCS < add bx, si >
SBCS < tst {byte}es:[bx] ;is it a NULL? (which happens when >
DBCS < tst {word}es:[bx] >
jnz search ; cursor is at the end of the text)
dec bx ;yes, back up one byte.
DBCS < dec bx >
search:
lea si, ds:[SRS_searchString]
clr cx ;search string is null-terminated
clr dx ;string to seardch is null-terminated
mov al, ds:[SRS_params] ;al <- SearchOptions
call TextSearchInString ;carry set if not found
cmc ;now carry clear, to continue enum
jnc popBP
; Search string was found. Calculate its range.
;
sub di, bp ;di <- start of match range
if (DBCS_PCGEOS and ERROR_CHECK)
test di, 1
ERROR_NZ RESEDIT_IS_ODD
endif
DBCS < shr di, 1 >
pop bp
clr ax
movdw ss:[bp].SRP_textRange.VTR_start, axdi
add di, cx ;di <- end of match range
movdw ss:[bp].SRP_textRange.VTR_end, axdi
stc
unlock:
call DBUnlock
.leave
ret
popBP:
pop bp
clc
jmp unlock
SearchStringInItem endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetStringSize
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get the number of chars in the string, not counting
the null, if present.
CALLED BY: SearchStringInItem
PASS: es:di - string (in a chunk)
RETURN: cx - number of chars
DESTROYED:
PSEUDO CODE/STRATEGY:
String may not be null terminated, so count returned by
LocalStringLength could be invalid. Take the lesser of the
chunk size and string length.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 2/ 8/94 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetStringSize proc near
uses ax
.enter
call LocalStringLength ; cx <- # chars
mov ax, cx
ChunkSizePtr es, di, cx ; cx <- # bytes in chunk
DBCS < shr cx ; cx <- # chars in chunk >
cmp cx, ax
jb done
mov cx, ax
done:
.leave
ret
GetStringSize endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MyChunkArrayGetCount
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Returns the number of chunks meeting the filter criteria
in this ResourceArray.
CALLED BY: (INTERNAL) MyChunkArrayEnumRange,
PASS: *ds:si - ChunkArray
ss:bp - SearchReplaceParams
RETURN: cx - number of elements meeting filter criteria
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
If this is a ResourceMap chunk array, just call ChunkArrayGetCount,
since there are no filters for resources.
Otherwise, call ResArrayGetCount, which works only on ResourceArrays
and takes the chunk filters into account.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/28/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MyChunkArrayGetCount proc near
push di
mov di, ds:[si]
cmp ds:[di].RAH_arrayType, AT_RESOURCE_ARRAY
jne resourceMap
push dx
mov dx, ss:[bp].SRP_filters
call ResArrayGetCount
pop dx
pop di
ret
resourceMap:
call ChunkArrayGetCount
pop di
ret
MyChunkArrayGetCount endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MyChunkArrayElementToPtr
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Returns a pointer the desired chunk array element.
CALLED BY: MyChunkArrayEnumRange
PASS: *ds:si - ChunkArray
ax - element number
RETURN: ds:di - element
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
If this is a ResourceMap chunk array, call ChunkArrayElementToPtr,
since there are no filters for resources.
Otherwise, call ResArrayElementToPtr, which returns a pointer
to the ax'th chunk in the resource which meets the filter criteria.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/28/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MyChunkArrayElementToPtr proc near
mov di, ds:[si]
cmp ds:[di].RAH_arrayType, AT_RESOURCE_ARRAY
jne resourceMap
push dx
mov dx, ss:[bp].SRP_filters
call ResArrayElementToPtr
pop dx
ret
resourceMap:
call ChunkArrayElementToPtr
ret
MyChunkArrayElementToPtr endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
MyChunkArrayEnumRange
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: An enumeration that can go backwards, as well as
forwards.
CALLED BY:
PASS: *ds:si - ChunkArray
ax - element number to start at
cx - # elements to enum, or -1 to go to end
bx:di - callback
ss:bp - SearchReplaceParams
dx,bp,es - passed data
Passed to callback:
*ds:si - ResourceArray
ds:di - ResourceArrayElement
ax - element number
dx,bp,es
RETURN: carry set if enumeration aborted by callback
DESTROYED: ax,bx,cx,di,es
PSEUDO CODE/STRATEGY:
On backward searches, start from element ax and go backwards
cx elements, or to 0 if cx = -1.
On forward searches, if cx = -1, go from element ax to end.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/22/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
MyChunkArrayEnumRange proc near
passedBP local word push bp
callback local fptr
.enter
movdw ss:[callback], bxdi
push bp
mov bp, ss:[passedBP]
mov bl, ss:[bp].SRP_searchOptions
test bl, mask SO_BACKWARD_SEARCH
pop bp
jz forward
cmp {word}cx, -1
je toEnd
EC < push ax >
EC < inc ax >
EC < cmp ax, cx >
EC < ERROR_L RESEDIT_INTERNAL_LOGIC_ERROR >
EC < pop ax >
EC < jmp enumLoop >
toEnd:
mov cx, ax
inc cx
jmp enumLoop
forward:
cmp cx, -1
jne enumLoop
push bp
mov bp, ss:[passedBP] ;ss:bp <- SearchReplaceParams
call MyChunkArrayGetCount ;cx <- # of elements meeting
; the filter criteria
sub cx, ax ;cx <- # elements to search
pop bp
cmp cx, 0
clc
jl done
enumLoop:
EC < cmp ax, -1 >
EC < ERROR_E CHUNK_ARRAY_ELEMENT_NOT_FOUND >
push ax, bx, cx, bp
lea bx, ss:[callback] ;bx:di <- callback routine
mov bp, ss:[passedBP] ;ss:bp <- SearchReplaceParams
call MyChunkArrayElementToPtr ;ds:di <- element, cx <- size
EC < ERROR_C CHUNK_ARRAY_ELEMENT_NOT_FOUND >
call {dword} ss:[bx] ; call the callback routine
pop ax, bx, cx, bp
jc done
inc ax ;assume this is a forward search
push bp
mov bp, ss:[passedBP]
test ss:[bp].SRP_searchOptions, mask SO_BACKWARD_SEARCH
pop bp
jz doLoop
sub ax, 2
doLoop:
loop enumLoop
clc
done:
.leave
ret
MyChunkArrayEnumRange endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DocumentReplaceCurrent
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: SearchReplaceControl sends this when user wants to
replace current selection with the passed string.
CALLED BY: MSG_REPLACE_CURRENT
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditDocumentClass
ax - the message
dx - data block
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
May want to disable the replace buttons when the current
selection is in the original, if possible.
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/25/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentReplaceCurrent method dynamic ResEditDocumentClass,
MSG_REPLACE_CURRENT
cmp ds:[di].REDI_curTarget, ST_ORIGINAL
LONG je noReplace
; Pass the MSG_REPLACE_CURRENT on to the text object.
; This will cause a MSG_RESEDIT_DOCUMENT_USER_MODIFIED_TEXT
; message to be sent. Its handler will update the mnemonic list.
;
push si
movdw bxsi, ds:[di].REDI_editText
mov ax, MSG_REPLACE_CURRENT
call DocSearch_ObjMessage_call
pop si
; XXX: We would like EditText to regain the focus, but this
; doesn't quite do it....
;
call GetDisplayHandle
mov si, offset RightView
mov ax, MSG_META_GRAB_FOCUS_EXCL
call DocSearch_ObjMessage_send
noReplace:
ret
DocumentReplaceCurrent endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DocumentReplaceAll
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: SearchReplaceControl sends this when user wants to
replace All selection with the passed string.
CALLED BY: MSG_REPLACE_ALL_OCCURRENCES
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditDocumentClass
ax - the message
dx - data block
cx - non-zero if should replace throughout document,
0 to replace from current position
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
Save the current chunk, so the database is up to date.
Save the filters and then clear them.
Start searching from resource 0, chunk 0, translation item,
text position 0. If a match is found, replace it.
Update the SRP_cur* values to the match values.
Continue the search until no more matches are found in translation
items.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
Because of the way SearchText works, wrapping the search if
nothing is found from where it started to the end, it may
make two complete searches through all the translation items
before stopping. When the last match has been found, the next
search will cycle through all chunks until it returns to that
one, where it started.
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/25/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentReplaceAll method dynamic ResEditDocumentClass,
MSG_REPLACE_ALL_OCCURRENCES
sub sp, size SearchReplaceParams
mov bp, sp
mov ss:[bp].SRP_flags, mask SRF_REPLACE_ALL
; save current filters, then clear them so that nothing is
; skipped in the search
;
mov al, ds:[di].REDI_typeFilter
mov ah, ds:[di].REDI_stateFilter
push ax
clr ds:[di].REDI_typeFilter
clr ds:[di].REDI_stateFilter
mov bx, dx ; bx <- SearchReplaceStruct
push bx
call MemLock
mov ss:[bp].SRP_searchStructSeg, ax
clr ax
mov ss:[bp].SRP_curResource, ax
mov ss:[bp].SRP_curChunk, ax
mov ss:[bp].SRP_curSource, ST_TRANSLATION
mov ss:[bp].SRP_chunkSource, ST_TRANSLATION
clrdw ss:[bp].SRP_textRange.VTR_start ; start from text position 0
clr ss:[bp].SRP_endRange ; stop at 0 if search wraps
searchLoop:
call SearchText
jnc done
call HandleReplaceMatch ;dx <- new transItem
call UpdateTextRange ;update SRP_textRange to
; continue the search
; continue the search from resourceNum
;
mov bx, ss:[bp].SRP_resourceNum
mov ss:[bp].SRP_curResource, bx
;
; if the match was found in the current resource, we need to
; know later so that we can update the display to show the changes
;
cmp bx, ds:[di].REDI_curResource
jne nextChunk
ornf ss:[bp].SRP_flags, mask SRF_RESOURCE_DIRTY
;
; if the match was found in the current chunk, we need to
; save the new transItem in the document's instance data
;
mov cx, ss:[bp].SRP_chunkNum
cmp cx, ds:[di].REDI_curChunk
jne nextChunk
; if no TransItem was created, don't save it
; (this will happen if attempt is made to alter an OrigItem)
;
EC < tst dx >
EC < jz nextChunk >
mov ds:[di].REDI_transItem, dx
nextChunk:
; continue the search from chunkNum
;
mov cx, ss:[bp].SRP_chunkNum
mov ss:[bp].SRP_curChunk, cx
jmp searchLoop
done:
pop bx ; ^hbx <- SearchReplaceStruct
call MemFree
pop ax
mov ds:[di].REDI_typeFilter, al
mov ds:[di].REDI_stateFilter, ah
call UpdateDisplay
add sp, size SearchReplaceParams
ret
DocumentReplaceAll endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UpdateTextRange
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: After a match has been found and the text has
been replaced, update the text start range so that
the search continues after the text just inserted.
CALLED BY: DocumentReplaceAll
PASS: ss:bp - SearchReplaceParams
RETURN: nothing
DESTROYED: cx
PSEUDO CODE/STRATEGY:
Text from VTR_start to VTR_end was deleted, and replace
string was inserted at VTR_start. So add length of replace
string to get first unexamined char in original string.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 2/ 8/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
UpdateTextRange proc near
push si
call GetReplaceStringAndLength ;cx <- length, es:si <- string
DBCS < shl cx, 1 >
add ss:[bp].SRP_textRange.VTR_start.low, cx
pop si
ret
UpdateTextRange endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
HandleReplaceMatch
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: A match has been found in the process of a Replace All
search. Save the changes.
CALLED BY: DocumentReplaceAll
PASS: *ds:si - document
ds:di - document
ss:bp - SearchReplaceParams
RETURN: dx - new TransItem number
DESTROYED:
PSEUDO CODE/STRATEGY:
If there is no TransItem yet, copy the OrigItem to create one.
Get the length and position of the search string match in
the TransItem, and delete those bytes.
Get the length of the replace string and insert that many
bytes into the TransItem at the offset where the text was deleted.
Copy the replace string into the inserted bytes.
Store the new DBItem in the ResourceArrayElement.
If the chunk is a moniker, get the new mnemonic offset and
update the document's instance.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/28/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
HandleReplaceMatch proc near
uses si,di,ds,bp
.enter
; original elements should be filtered out of the search,
; but just in case....
;
EC < clr dx >
EC < cmp ss:[bp].SRP_chunkSource, ST_ORIGINAL >
EC < LONG je done >
mov bx, ss:[bp].SRP_fileHandle
call DBLockMap_DS ;*ds:si <- ResourceMap
push ds:[LMBH_handle]
mov ax, ss:[bp].SRP_resourceNum
call ChunkArrayElementToPtr
mov ax, ds:[di].RME_data.RMD_group
mov di, ds:[di].RME_data.RMD_item
call DBLock_DS ;*ds:si <- ResourceArray
push ax
mov ax, ss:[bp].SRP_chunkNum
call ChunkArrayElementToPtr ; ds:di <- ResourceArrayElement
pop ax
; If already have a transItem, skip the copy below
;
mov cx, ds:[di].RAE_data.RAD_origItem
tst ds:[di].RAE_data.RAD_transItem
jnz haveItem
; make a copy of the original item to use below
;
push bp
mov di, cx ;copy the orig item
mov cx, ax ;put it in the same group
mov bp, bx ; and in the same file
push ds:[LMBH_handle]
call DBCopyDBItem ;di <- new item
pop bx
call MemDerefDS
call DBDirty_DS
pop bp
; deref the element again, and save the new transItem
;
push ax, di ;save group #, new item #
mov ax, ss:[bp].SRP_chunkNum
call ChunkArrayElementToPtr
pop ax, ds:[di].RAE_data.RAD_transItem
haveItem:
; calculate the offset at which the search string match is located
;
mov cl, ds:[di].RAE_data.RAD_chunkType
mov di, ds:[di].RAE_data.RAD_transItem
mov dx, ss:[bp].SRP_textRange.VTR_start.low
DBCS < shl dx, 1 >
test cl, mask CT_MONIKER
jz haveDeleteOffset
add dx, MONIKER_TEXT_OFFSET ;dx <- offset to delete
haveDeleteOffset:
;
; calculate the length of the search string match and
; delete those bytes
;
push cx, si ;save ChunkType, ResArray chunk
mov cx, ss:[bp].SRP_textRange.VTR_end.low
sub cx, ss:[bp].SRP_textRange.VTR_start.low ;cx<- #chars to delete
DBCS < shl cx, 1 ;cx <- # bytes to delete>
mov bx, ss:[bp].SRP_fileHandle
call DBDeleteAt
;
; get the length of the replace string and insert that many bytes
;
call GetReplaceStringAndLength ;cx <- # chars to insert
;es:si <- replace string
DBCS < shl cx, 1 ;cx <- # bytes to insert>
call DBInsertAt ;add bytes for replace string
;
; now copy the replace string to the inserted bytes
; dx = offset within text string to insert at
;
push cx, ds
segmov ds, es ;ds:si <- source string
call DBLock
mov di, es:[di]
push di
add di, dx ;es:di <- destination
rep movsb ;copy replace string
pop di
pop dx, ds
pop cx, si
test cl, mask CT_MONIKER
jz unlock
;
; If there was no mnemonic char in text, there won't be one now.
;
mov cl, es:[di].VM_data.VMT_mnemonicOffset
cmp cl, VMO_NO_MNEMONIC
je unlock
cmp cl, VMO_CANCEL
je unlock
cmp cl, VMO_MNEMONIC_NOT_IN_MKR_TEXT
je unlock
;
; Get the new mnemonic offset.
;
push bp
lea bp, ss:[bp].SRP_textRange
mov ax, dx
clr dx
call CalculateNewMnemonicOffset
mov es:[di].VM_data.VMT_mnemonicOffset, cl
pop bp
;
; Update mnemonicType in ResourceArrayElement.
; mnemonicChar won't change (we may have lost the mnemonic in
; the replace operation, but the the character won't change).
;
mov dl, cl
mov ax, ss:[bp].SRP_chunkNum
call ChunkArrayElementToPtr ;ds:di <- ResourceArrayElement
mov ds:[di].RAE_data.RAD_mnemonicType, dl
call DBDirty_DS
jmp noDeref
unlock:
mov ax, ss:[bp].SRP_chunkNum
call ChunkArrayElementToPtr ;ds:di <- ResourceArrayElement
noDeref:
mov dx, ds:[di].RAE_data.RAD_transItem ;return new item #
call DBDirty
call DBUnlock ;unlock the item
call DBUnlock_DS ;unlock the ResourceArray
pop bx
call MemDerefES
call DBUnlock ;unlock the ResourceMap
done::
.leave
ret
HandleReplaceMatch endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
GetReplaceStringAndLength
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Get pointer to the replace string and its length.
CALLED BY: HandleReplaceMatch
PASS: ss:bp - SearchReplaceParams
RETURN: es:si - replace string
cx - its length
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 2/ 8/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
GetReplaceStringAndLength proc near
mov es, ss:[bp].SRP_searchStructSeg
mov si, offset SRS_searchString ; es:si <- search string
add si, es:[SRS_searchSize] ; es:si <- replace string
DBCS < add si, es:[SRS_searchSize] >
mov cx, es:[SRS_replaceSize] ; cx <- string length w/NULL
dec cx ; substract the NULL
ret
GetReplaceStringAndLength endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
UpdateDisplay
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Replace All search and replace has completed, now
update the display to reflect any changes in the
current resource.
CALLED BY: DocumentReplaceAllOccurrences
PASS: *ds:si - document
ds:di - document
ss:bp - SearchReplaceParams
RETURN: nothing
DESTROYED: ax, cx, dx, bp
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
SRF_RESOURCE_DIRTY does not tell anything abuot which chunks
have changed, and whether or not they meet the current filter
criteria, so it is possible that the redraw is unnecessary.
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 1/28/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
UpdateDisplay proc near
.enter
; no chunks in this resource have changed, so we're done
;
test ss:[bp].SRP_flags, mask SRF_RESOURCE_DIRTY
jz done
; in case any of the chunk's sizes have changed as a result
; of the replace, recalculate the chunk positions here
; (and set the new document bounds in the views accordingly)
;
mov cx, ds:[di].REDI_viewWidth
call RecalcChunkPositions ;dx <- new height
cmp dx, ds:[di].REDI_docHeight
je noHeightChange
; invalidate both content and document
;
mov ax, MSG_VIS_INVALIDATE
call SendToContentObjects
done:
.leave
ret
noHeightChange:
;
; invalidate only the document
;
mov ax, MSG_VIS_INVALIDATE
call ObjCallInstanceNoLock
jmp done
UpdateDisplay endp
DocumentSearchCode ends
;----------------------------------------------------------------------------
; Methods for spellcheck
;----------------------------------------------------------------------------
DocumentSearchCode segment resource
if 0
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DocumentSpellCheck
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Continue spell checking from current point in document.
CALLED BY: MSG_SPELL_CHECK
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditDocumentClass
ax - the message
ss:bp - SpellCheckInfo
dx - size of SpellCheckInfo
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 5/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentSpellCheck method dynamic ResEditDocumentClass,
MSG_SPELL_CHECK
; pass the call to the SpellText object
;
mov bx, ds:[di].REDI_editText.handle
mov si, offset SpellText
clr di
call ObjMessage
ret
DocumentSpellCheck endm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
TextGetObjectForSearchSpell
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: The search has either just begun or has reached the end
of the text in this object and needs the next object in
which to continue the search.
CALLED BY: MSG_META_GET_OBJECT_FOR_SEARCH_SPELL
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditTextClass
ax - the message
^lcx:dx - object that search/replace is currently in
bp - GetSearchSpellObjectParam
RETURN: ^lcx:dx - the requested object
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 5/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
TextGetObjectForSearchSpell method dynamic ResEditTextClass,
MSG_META_GET_OBJECT_FOR_SEARCH_SPELL
push cx,dx,bp
mov ax, bp
mov bp, ds:[di].REDI_resArrayGroup
mov dx, ds:[di].REDI_transItem
andnf ax, mask GetSearchSpellObjectType
cmp ax, GSSOT_NEXT_OBJECT
je getNextChunk
; store current res/chunk in "spell position" var
jmp getItem
getNextChunk:
call GetFileHandle
call LockMap_DS
mov ax, (current resource number)
call ChunkArrayPtrToElement
EC< ERROR_C CHUNK_ARRAY_ELEMENT_NOT_FOUND >
mov cx, (current chunk number)
inc cx
cmp cx, ds:[di].RME_data.RMD_numChunks
jae goToNextResource
mov ax, ds:[di].RME_data.RMD_group
mov di, ds:[di].RME_data.RMD_item
call DBUnlock_DS
call DBLock_DS
jmp getItem
getItem:
mov ax, bp
mov di, dx
call DBLock_DS
call
ret
TextGetObjectForSearchSpell endm
endif
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DocumentDisplayObjectForSearchSpell
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Force the object onto the screen.
CALLED BY: MSG_META_DISPLAY_OBJECT_FOR_SEARCH_SPELL
PASS: *ds:si - instance data
ds:di - *ds:si
es - seg addr of ResEditDocumentClass
ax - the message
RETURN: nothing
DESTROYED: bx, si, di, ds, es (method handler)
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
cassie 5/20/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
DocumentDisplayObjectForSearchSpell method dynamic ResEditDocumentClass,
MSG_META_DISPLAY_OBJECT_FOR_SEARCH_SPELL
ret
DocumentDisplayObjectForSearchSpell endm
DocumentSearchCode ends
| 26.320615 | 79 | 0.627859 |
f125b0b856da03fc358f7badd3d4dc6134178b07 | 321 | asm | Assembly | unittests/ASM/Primary/Primary_C8_2.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 628 | 2020-03-06T14:01:32.000Z | 2022-03-31T06:35:14.000Z | unittests/ASM/Primary/Primary_C8_2.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 576 | 2020-03-06T08:25:12.000Z | 2022-03-30T04:05:29.000Z | unittests/ASM/Primary/Primary_C8_2.asm | cobalt2727/FEX | 13087f8425aeaad28dc81bed46a83e1d72ff0db8 | [
"MIT"
] | 38 | 2020-03-07T06:10:00.000Z | 2022-03-29T09:27:36.000Z | %ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434445464748",
"RSP": "0xE0000FD8",
"RBP": "0xE0000FF8"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rsp, 0xe0001000
mov rbp, 0xe0002000
mov rax, 0x4142434445464748
mov qword [rbp - 8], rax
enter 0x10, 2
mov rax, qword [rsp + 0x18]
hlt
| 13.375 | 32 | 0.623053 |
d3be1b9ffe0f9b9c4db6e76ec06117a7b1cd3e25 | 1,259 | asm | Assembly | programs/oeis/246/A246393.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/246/A246393.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/246/A246393.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A246393: Nonnegative integers k satisfying cos(k) >= 0 and cos(k+1) <= 0.
; 1,7,14,20,26,32,39,45,51,58,64,70,76,83,89,95,102,108,114,120,127,133,139,146,152,158,164,171,177,183,190,196,202,208,215,221,227,234,240,246,252,259,265,271,278,284,290,296,303,309,315,322,328,334,340,347,353,359,365,372,378,384,391,397,403,409,416,422,428,435,441,447,453,460,466,472,479,485,491,497,504,510,516,523,529,535,541,548,554,560,567,573,579,585,592,598,604,611,617,623,629,636,642,648,655,661,667,673,680,686,692,699,705,711,717,724,730,736,742,749,755,761,768,774,780,786,793,799,805,812,818,824,830,837,843,849,856,862,868,874,881,887,893,900,906,912,918,925,931,937,944,950,956,962,969,975,981,988,994,1000,1006,1013,1019,1025,1032,1038,1044,1050,1057,1063,1069,1075,1082,1088,1094,1101,1107,1113,1119,1126,1132,1138,1145,1151,1157,1163,1170,1176,1182,1189,1195,1201,1207,1214,1220,1226,1233,1239,1245,1251,1258,1264,1270,1277,1283,1289,1295,1302,1308,1314,1321,1327,1333,1339,1346,1352,1358,1365,1371,1377,1383,1390,1396,1402,1409,1415,1421,1427,1434,1440,1446,1452,1459,1465,1471,1478,1484,1490,1496,1503,1509,1515,1522,1528,1534,1540,1547,1553,1559,1566
mov $2,$0
add $2,959
mov $1,$2
cal $1,4082 ; Numbers n such that sin(n-1) <= 0 and sin(n) > 0.
sub $1,6025
| 139.888889 | 1,074 | 0.744241 |
b1ddda04a2f2be5259a6538d194db4a590a9cad6 | 626 | asm | Assembly | 8085/Jubin/0x05 - HL like Memory Address.asm | CosasDePuma/Aesthetic-Programming | 12b9d8beb326e3781068e40afd0c858e3e681a53 | [
"MIT"
] | 2 | 2017-08-25T23:56:18.000Z | 2017-08-28T12:46:17.000Z | 8085/Jubin/0x05 - HL like Memory Address.asm | CosasDePuma/AestheticProgramming | 12b9d8beb326e3781068e40afd0c858e3e681a53 | [
"MIT"
] | null | null | null | 8085/Jubin/0x05 - HL like Memory Address.asm | CosasDePuma/AestheticProgramming | 12b9d8beb326e3781068e40afd0c858e3e681a53 | [
"MIT"
] | null | null | null | ; Starter Point
#begin E000h
; Locate code in this address
#org E000h
; Load a value in BEEF Memory Address
MVI A,12h
STA BEEFh
; Set the Memory Address with HL Register
; HL - Pointer to a Memory Address
MVI H,BEh
MVI L,EFh
; --or--
LXI H,BEEFh
; Copy the value of the Memory Address in the Accumulator (Similar to LDA BEEF because BEEF is the value of the HL Register)
MOV A,M
; Modify the value
SUI 13h
; Increment the Memory Address Pointer
INX H
; Store the new value in the Memory Address (Similar to STA BEF0 because BEF0 is the value of the HL Register)
MOV M,A
; Stop the program
HLT
; End Code Section
#end
| 17.885714 | 124 | 0.741214 |
25db0eeaa3f64bdbe9058d0aef5e6443ac387e6d | 792 | asm | Assembly | oeis/087/A087944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/087/A087944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/087/A087944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A087944: Expansion of (1-4*x+3*x^2)/((1-2*x)*(1-4*x+x^2)).
; Submitted by Christian Krause
; 1,2,6,20,70,252,922,3404,12630,46988,175066,652764,2434966,9085052,33901146,126511340,472127830,1761967212,6575675482,24540603644,91586476950,341804779868,1275631593946,4760719498764,17767242206806,66308240939852,247465704775386,923554544607260,3446752406544790,12863454947354172,48007067114436442,179164812973520684,668652183705904470,2495443919702613548,9313123490809582426,34757050034945781564,129715076631793674646,484103256457869178652,1806697949130963563226,6742688539928546120780
mov $3,$0
seq $0,16064 ; Smallest side lengths of almost-equilateral Heronian triangles (sides are consecutive positive integers, area is a nonnegative integer).
mov $2,2
pow $2,$3
add $0,$2
div $0,3
add $0,1
| 66 | 488 | 0.832071 |
14115c2fd9d2b79ec98255cb707daf8f5e8d21fc | 358 | asm | Assembly | oeis/193/A193127.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/193/A193127.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/193/A193127.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A193127: Numbers of spanning trees of the antiprism graphs.
; 2,36,384,3528,30250,248832,1989806,15586704,120187008,915304500,6900949462,51599794176,383142771674,2828107288188,20768716848000,151840963183392,1105779284582146,8024954790380544,58059628319357318,418891171182561000
add $0,1
mul $0,2
seq $0,169630 ; a(n) = n times the square of Fibonacci(n).
| 51.142857 | 217 | 0.821229 |
dc74476c28d4f39b3c7ae38a8a0b0e84c5ef32c0 | 1,334 | asm | Assembly | dino/lcs/123p/D3.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 6 | 2020-10-14T15:29:10.000Z | 2022-02-12T18:58:54.000Z | dino/lcs/123p/D3.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | null | null | null | dino/lcs/123p/D3.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | a4a0c86c200241494b3f1834cd0aef8dc02f7683 | [
"Apache-2.0"
] | 1 | 2020-12-17T08:59:10.000Z | 2020-12-17T08:59:10.000Z | copyright zengfr site:http://github.com/zengfr/romhack
01DB16 move.b D0, ($d3,A6)
01DB1A clr.b ($4ec,A5)
01DB8C clr.b ($d3,A6) [123p+ D2]
01DB90 movea.l ($d4,A6), A0 [123p+ D3]
01DE6C tst.b ($d3,A6)
01DE70 bne $1de84 [123p+ D3]
01DE80 addq.b #2, ($d3,A6) [123p+ D8]
01DE84 rts [123p+ D3]
01DE86 tst.b ($d3,A6)
01DE8A bne $1de9e [123p+ D3]
01DE9A addq.b #2, ($d3,A6) [123p+ D8]
01DE9E rts [123p+ D3]
01DEF6 bra $1dea6 [123p+ D8]
01DF10 move.b ($a1,A6), ($a0,A6) [123p+ D3]
01E062 tst.b ($d3,A6)
01E066 bne $1e07a [123p+ D3]
01E076 addq.b #2, ($d3,A6)
01E07A bra $1df10 [123p+ D3]
01E11E tst.b ($d3,A6)
01E122 bne $1e136 [123p+ D3]
01E132 addq.b #2, ($d3,A6)
01E136 bra $1df10 [123p+ D3]
01E262 tst.b ($d3,A6)
01E266 bne $1e27c [123p+ D3]
01E268 addq.b #2, ($d3,A6)
01E26C move.b #$1, ($4e3,A5) [123p+ D3]
01E2FC tst.b ($d3,A6)
01E300 bne $1e314 [123p+ D3]
01E310 addq.b #2, ($d3,A6)
01E314 move.b ($a1,A6), ($a0,A6) [123p+ D3]
01E4C8 tst.b ($d3,A6)
01E4CC bne $1e4e0 [123p+ D3]
01E4DC addq.b #2, ($d3,A6)
01E4E0 bra $1df10 [123p+ D3]
01E54A tst.b ($d3,A6)
01E54E bne $1e572 [123p+ D3]
01E56C addq.b #2, ($d3,A6) [123p+ 24]
01E570 rts [123p+ D3]
copyright zengfr site:http://github.com/zengfr/romhack
| 31.023256 | 54 | 0.586207 |
b49161344aea9f31b1ab33a6b71fb808e7ed17b3 | 223 | asm | Assembly | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RestoreUpdateStruct.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RestoreUpdateStruct.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RestoreUpdateStruct.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; sp1_RestoreUpdateStruct
SECTION code_temp_sp1
PUBLIC _sp1_RestoreUpdateStruct
_sp1_RestoreUpdateStruct:
pop af
pop hl
push hl
push af
INCLUDE "temp/sp1/zx/updater/asm_sp1_RestoreUpdateStruct.asm"
| 13.117647 | 64 | 0.7713 |
add312b1cc88eabe6ffb1db484ade052f6597bcb | 9,932 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i3-7100_9_0xca_notsx.log_21829_342.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i3-7100_9_0xca_notsx.log_21829_342.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i3-7100_9_0xca_notsx.log_21829_342.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 %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x529b, %rdi
nop
nop
cmp $119, %rdx
movb (%rdi), %r15b
nop
and $13346, %rcx
lea addresses_normal_ht+0x3933, %rsi
nop
nop
nop
nop
inc %rdx
movw $0x6162, (%rsi)
nop
dec %rcx
lea addresses_D_ht+0x1aa73, %rsi
lea addresses_D_ht+0x15a9b, %rdi
nop
nop
nop
cmp %rbx, %rbx
mov $92, %rcx
rep movsq
sub %rsi, %rsi
lea addresses_WT_ht+0x129b, %rsi
lea addresses_normal_ht+0x1775b, %rdi
nop
inc %r12
mov $39, %rcx
rep movsb
add $20069, %rcx
lea addresses_UC_ht+0xd68b, %rsi
lea addresses_WT_ht+0xc583, %rdi
nop
nop
nop
nop
sub $8685, %rbx
mov $43, %rcx
rep movsq
nop
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_UC_ht+0xca1b, %rbx
nop
inc %r14
movups (%rbx), %xmm4
vpextrq $1, %xmm4, %rdi
nop
nop
xor $24573, %r12
lea addresses_WC_ht+0x668b, %rsi
nop
nop
nop
nop
nop
add %r15, %r15
mov $0x6162636465666768, %r12
movq %r12, %xmm5
movups %xmm5, (%rsi)
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_WT_ht+0x12c9b, %rdi
nop
nop
nop
nop
nop
xor %rbx, %rbx
movups (%rdi), %xmm6
vpextrq $0, %xmm6, %rdx
nop
nop
nop
nop
add $46305, %rdx
lea addresses_UC_ht+0x629b, %rsi
lea addresses_A_ht+0x1b09b, %rdi
nop
cmp %rdx, %rdx
mov $117, %rcx
rep movsw
nop
nop
nop
nop
cmp %r12, %r12
lea addresses_UC_ht+0x1789b, %rsi
lea addresses_normal_ht+0x1a4ab, %rdi
nop
nop
nop
sub %rdx, %rdx
mov $1, %rcx
rep movsq
nop
nop
nop
nop
nop
and %rdx, %rdx
lea addresses_A_ht+0x1c65b, %rsi
lea addresses_normal_ht+0x1606c, %rdi
sub %r15, %r15
mov $30, %rcx
rep movsw
nop
nop
and %r14, %r14
lea addresses_WC_ht+0x15c9b, %rsi
lea addresses_WT_ht+0x14e9b, %rdi
nop
nop
nop
add $25562, %r15
mov $104, %rcx
rep movsl
cmp $32585, %rbx
lea addresses_D_ht+0x1449b, %r12
nop
sub $45457, %rbx
movl $0x61626364, (%r12)
nop
nop
nop
and $51753, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_normal+0x12963, %rcx
and $11772, %r12
movb $0x51, (%rcx)
nop
nop
nop
nop
and $32148, %rdi
// Store
lea addresses_D+0x189b, %r8
lfence
mov $0x5152535455565758, %rdx
movq %rdx, %xmm3
vmovups %ymm3, (%r8)
nop
nop
nop
nop
add %r8, %r8
// Store
lea addresses_D+0x189b, %rsi
nop
nop
nop
nop
xor %rdi, %rdi
mov $0x5152535455565758, %r8
movq %r8, %xmm6
movups %xmm6, (%rsi)
nop
inc %rsi
// Store
lea addresses_PSE+0x6c5b, %rdi
nop
xor %r8, %r8
mov $0x5152535455565758, %rdx
movq %rdx, %xmm0
vmovups %ymm0, (%rdi)
nop
nop
nop
nop
add %rsi, %rsi
// Load
lea addresses_RW+0x1e58b, %rdx
clflush (%rdx)
nop
nop
xor $42674, %rbp
mov (%rdx), %r12
nop
nop
cmp $51874, %rsi
// Store
lea addresses_WC+0x12c5f, %rcx
sub %rdx, %rdx
movb $0x51, (%rcx)
nop
and $11587, %r12
// Load
lea addresses_US+0x150e7, %rdi
nop
xor %rbp, %rbp
movups (%rdi), %xmm1
vpextrq $0, %xmm1, %rcx
nop
and %rbp, %rbp
// Load
lea addresses_UC+0x1a39b, %rdx
nop
nop
nop
nop
nop
cmp $40952, %r12
mov (%rdx), %cx
nop
nop
nop
nop
nop
inc %r8
// Load
lea addresses_WC+0x1ef39, %r12
nop
nop
nop
nop
add %rbp, %rbp
mov (%r12), %cx
nop
nop
cmp %rbp, %rbp
// Store
lea addresses_A+0x1e89b, %rdx
nop
nop
nop
nop
nop
inc %r12
movw $0x5152, (%rdx)
nop
nop
nop
nop
nop
sub $31857, %r8
// Faulty Load
lea addresses_D+0x189b, %r8
nop
nop
and $10843, %rcx
vmovaps (%r8), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %rbp
lea oracles, %rdx
and $0xff, %rbp
shlq $12, %rbp
mov (%rdx,%rbp,1), %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 32, 'AVXalign': True}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_normal', 'size': 1, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 32, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_PSE', 'size': 32, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WC', 'size': 1, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_US', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_UC', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WC', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': True, 'type': 'addresses_A', 'size': 2, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 32, 'AVXalign': True}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 8, 'NT': True, 'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}}
{'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': True}}
{'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False}}
{'00': 634, '52': 21195}
52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 00 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 00 52 52 52 52 52 52 52
*/
| 29.384615 | 2,999 | 0.652235 |
a3d51fbbdd14e21ef4afae6ba419f97a59d9dd40 | 1,890 | asm | Assembly | modules/xlib/shlib_standard.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 5 | 2015-02-25T01:28:09.000Z | 2021-05-22T09:03:04.000Z | modules/xlib/shlib_standard.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 38 | 2015-02-10T18:37:11.000Z | 2017-10-03T03:08:50.000Z | modules/xlib/shlib_standard.asm | jaredwhitney/os3 | 05e0cda4670da093cc720d0dccbfeb29e788fa0f | [
"MIT"
] | 2 | 2016-05-06T22:48:46.000Z | 2017-01-12T19:28:49.000Z |
; Shared lib definitions
Dolphin.createWindow equ 0x0000
Dolphin.moveWindow equ 0x0001
Dolphin.sizeWindow equ 0x0002
Dolphin.destroyWindow equ 0x0003
Image.copy equ 0x0004
Buffer.copy equ 0x0005
String.equals equ 0x0006
Buffer.fill equ 0x0007
Image.fill equ 0x0008
Image.create equ 0x0009
Image.plotPixel equ 0x000A
Image.drawLine equ 0x000B
Image.drawRect equ 0x000C
Image.fillRect equ 0x000D
System.getSysTime equ 0x000E
Image.drawText equ 0x000F
Array.atIndex equ 0x0010
Image.drawTri equ 0x0011
Image.fillTri equ 0x0012
String.split equ 0x0013
Minnow.read equ 0x0014
Minnow.write equ 0x0015
Manager.lock equ 0x0016
Console.print equ 0x0017
Console.println equ 0x0018
Console.clear equ 0x0019
Console.newline equ 0x001A
Mouse.move equ 0x001B
Mouse.getPos equ 0x001C
Math.cos equ 0x001D
Math.sin equ 0x001E
Math.sqrt equ 0x001F
Math.pow equ 0x0020
Math.tan equ 0x0021
Math.abs equ 0x0022
Math.acos equ 0x0023
Math.asin equ 0x0024
Math.atan equ 0x0025
Image.resize equ 0x0026
Dolphin.updateWindow equ 0x0027
Dolphin.getBuffer equ 0x0028
Array.contains equ 0x0029
Image.getSize equ 0x002A
Dolphin.getSize equ 0x002B
Dolphin.getPos equ 0x002C
Catfish.notify equ 0x002D
Keyboard.getKey equ 0x002E
Keyboard.isActive equ 0x002F
System.exit equ 0x0030
Clock.getSecond equ 0x0031
Clock.getMinute equ 0x0032
Clock.getHour equ 0x0033
Calendar.getDay equ 0x0034
Calendar.getDayInMonth equ 0x0035
Calendar.getMonth equ 0x0036
Calendar.getYear equ 0x0037
Guppy.malloc equ 0x0038
Clock.getTime equ 0x0039
Dolphin.setTitle equ 0x003A
Manager.requestFullscreen equ 0x003B
String.getLength equ 0x003C
Array.getLength equ 0x003D
String.contains equ 0x003E
| 28.208955 | 37 | 0.731746 |
43fc8a3de63a6292d9a02b656a912ccdf44b8362 | 773 | asm | Assembly | oeis/291/A291026.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/291/A291026.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/291/A291026.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A291026: p-INVERT of the positive integers, where p(S) = 1 - 4*S + S^2.
; Submitted by Christian Krause
; 4,23,128,711,3948,21920,121700,675673,3751296,20826953,115629868,641969344,3564171060,19788040311,109861881472,609945846247,3386378699324,18800948912352,104381615697460,579519775642745,3217455182279552,17863096800262569,99174723257351772,550611455737469312,3056958116259298916,16972027783270903255,94227567444920145024,523145176284634533383,2904467162753182018828,16125408169532028406816,89527191757790653094148,497049003645085620268185,2759582950987328210968960,15321020679115134580075273
add $0,1
mov $1,6
mov $3,1
lpb $0
sub $0,1
add $1,$4
add $4,$3
sub $4,$2
add $2,$1
add $1,$2
add $4,2
add $4,$1
add $4,1
add $3,$4
lpe
mov $0,$4
div $0,4
| 35.136364 | 491 | 0.790427 |
794868a9d2e7710e1ebeed5148d1ae5b59dcfd14 | 42,515 | asm | Assembly | init.asm | johnhhyang/os2 | 4a6108a836f08fb8e87b183683497ab299d235ba | [
"MIT-0"
] | null | null | null | init.asm | johnhhyang/os2 | 4a6108a836f08fb8e87b183683497ab299d235ba | [
"MIT-0"
] | null | null | null | init.asm | johnhhyang/os2 | 4a6108a836f08fb8e87b183683497ab299d235ba | [
"MIT-0"
] | null | null | null |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 55 push %ebp
1: 89 e5 mov %esp,%ebp
3: 83 e4 f0 and $0xfffffff0,%esp
6: 83 ec 20 sub $0x20,%esp
int pid, wpid;
if(open("console", O_RDWR) < 0){
9: c7 44 24 04 02 00 00 movl $0x2,0x4(%esp)
10: 00
11: c7 04 24 d7 08 00 00 movl $0x8d7,(%esp)
18: e8 9b 03 00 00 call 3b8 <open>
1d: 85 c0 test %eax,%eax
1f: 79 30 jns 51 <main+0x51>
mknod("console", 1, 1);
21: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp)
28: 00
29: c7 44 24 04 01 00 00 movl $0x1,0x4(%esp)
30: 00
31: c7 04 24 d7 08 00 00 movl $0x8d7,(%esp)
38: e8 83 03 00 00 call 3c0 <mknod>
open("console", O_RDWR);
3d: c7 44 24 04 02 00 00 movl $0x2,0x4(%esp)
44: 00
45: c7 04 24 d7 08 00 00 movl $0x8d7,(%esp)
4c: e8 67 03 00 00 call 3b8 <open>
}
dup(0); // stdout
51: c7 04 24 00 00 00 00 movl $0x0,(%esp)
58: e8 93 03 00 00 call 3f0 <dup>
dup(0); // stderr
5d: c7 04 24 00 00 00 00 movl $0x0,(%esp)
64: e8 87 03 00 00 call 3f0 <dup>
69: eb 01 jmp 6c <main+0x6c>
printf(1, "init: exec sh failed\n");
exit();
}
while((wpid=wait()) >= 0 && wpid != pid)
printf(1, "zombie!\n");
}
6b: 90 nop
}
dup(0); // stdout
dup(0); // stderr
for(;;){
printf(1, "init: starting sh\n");
6c: c7 44 24 04 df 08 00 movl $0x8df,0x4(%esp)
73: 00
74: c7 04 24 01 00 00 00 movl $0x1,(%esp)
7b: e8 8f 04 00 00 call 50f <printf>
pid = fork();
80: e8 eb 02 00 00 call 370 <fork>
85: 89 44 24 1c mov %eax,0x1c(%esp)
if(pid < 0){
89: 83 7c 24 1c 00 cmpl $0x0,0x1c(%esp)
8e: 79 19 jns a9 <main+0xa9>
printf(1, "init: fork failed\n");
90: c7 44 24 04 f2 08 00 movl $0x8f2,0x4(%esp)
97: 00
98: c7 04 24 01 00 00 00 movl $0x1,(%esp)
9f: e8 6b 04 00 00 call 50f <printf>
exit();
a4: e8 cf 02 00 00 call 378 <exit>
}
if(pid == 0){
a9: 83 7c 24 1c 00 cmpl $0x0,0x1c(%esp)
ae: 75 41 jne f1 <main+0xf1>
exec("sh", argv);
b0: c7 44 24 04 68 0b 00 movl $0xb68,0x4(%esp)
b7: 00
b8: c7 04 24 d4 08 00 00 movl $0x8d4,(%esp)
bf: e8 ec 02 00 00 call 3b0 <exec>
printf(1, "init: exec sh failed\n");
c4: c7 44 24 04 05 09 00 movl $0x905,0x4(%esp)
cb: 00
cc: c7 04 24 01 00 00 00 movl $0x1,(%esp)
d3: e8 37 04 00 00 call 50f <printf>
exit();
d8: e8 9b 02 00 00 call 378 <exit>
}
while((wpid=wait()) >= 0 && wpid != pid)
printf(1, "zombie!\n");
dd: c7 44 24 04 1b 09 00 movl $0x91b,0x4(%esp)
e4: 00
e5: c7 04 24 01 00 00 00 movl $0x1,(%esp)
ec: e8 1e 04 00 00 call 50f <printf>
if(pid == 0){
exec("sh", argv);
printf(1, "init: exec sh failed\n");
exit();
}
while((wpid=wait()) >= 0 && wpid != pid)
f1: e8 8a 02 00 00 call 380 <wait>
f6: 89 44 24 18 mov %eax,0x18(%esp)
fa: 83 7c 24 18 00 cmpl $0x0,0x18(%esp)
ff: 0f 88 66 ff ff ff js 6b <main+0x6b>
105: 8b 44 24 18 mov 0x18(%esp),%eax
109: 3b 44 24 1c cmp 0x1c(%esp),%eax
10d: 75 ce jne dd <main+0xdd>
printf(1, "zombie!\n");
}
10f: e9 57 ff ff ff jmp 6b <main+0x6b>
00000114 <stosb>:
"cc");
}
static inline void
stosb(void *addr, int data, int cnt)
{
114: 55 push %ebp
115: 89 e5 mov %esp,%ebp
117: 57 push %edi
118: 53 push %ebx
asm volatile("cld; rep stosb" :
119: 8b 4d 08 mov 0x8(%ebp),%ecx
11c: 8b 55 10 mov 0x10(%ebp),%edx
11f: 8b 45 0c mov 0xc(%ebp),%eax
122: 89 cb mov %ecx,%ebx
124: 89 df mov %ebx,%edi
126: 89 d1 mov %edx,%ecx
128: fc cld
129: f3 aa rep stos %al,%es:(%edi)
12b: 89 ca mov %ecx,%edx
12d: 89 fb mov %edi,%ebx
12f: 89 5d 08 mov %ebx,0x8(%ebp)
132: 89 55 10 mov %edx,0x10(%ebp)
"=D" (addr), "=c" (cnt) :
"0" (addr), "1" (cnt), "a" (data) :
"memory", "cc");
}
135: 5b pop %ebx
136: 5f pop %edi
137: 5d pop %ebp
138: c3 ret
00000139 <strcpy>:
#include "user.h"
#include "x86.h"
char*
strcpy(char *s, char *t)
{
139: 55 push %ebp
13a: 89 e5 mov %esp,%ebp
13c: 83 ec 10 sub $0x10,%esp
char *os;
os = s;
13f: 8b 45 08 mov 0x8(%ebp),%eax
142: 89 45 fc mov %eax,-0x4(%ebp)
while((*s++ = *t++) != 0)
145: 90 nop
146: 8b 45 0c mov 0xc(%ebp),%eax
149: 0f b6 10 movzbl (%eax),%edx
14c: 8b 45 08 mov 0x8(%ebp),%eax
14f: 88 10 mov %dl,(%eax)
151: 8b 45 08 mov 0x8(%ebp),%eax
154: 0f b6 00 movzbl (%eax),%eax
157: 84 c0 test %al,%al
159: 0f 95 c0 setne %al
15c: 83 45 08 01 addl $0x1,0x8(%ebp)
160: 83 45 0c 01 addl $0x1,0xc(%ebp)
164: 84 c0 test %al,%al
166: 75 de jne 146 <strcpy+0xd>
;
return os;
168: 8b 45 fc mov -0x4(%ebp),%eax
}
16b: c9 leave
16c: c3 ret
0000016d <strcmp>:
int
strcmp(const char *p, const char *q)
{
16d: 55 push %ebp
16e: 89 e5 mov %esp,%ebp
while(*p && *p == *q)
170: eb 08 jmp 17a <strcmp+0xd>
p++, q++;
172: 83 45 08 01 addl $0x1,0x8(%ebp)
176: 83 45 0c 01 addl $0x1,0xc(%ebp)
}
int
strcmp(const char *p, const char *q)
{
while(*p && *p == *q)
17a: 8b 45 08 mov 0x8(%ebp),%eax
17d: 0f b6 00 movzbl (%eax),%eax
180: 84 c0 test %al,%al
182: 74 10 je 194 <strcmp+0x27>
184: 8b 45 08 mov 0x8(%ebp),%eax
187: 0f b6 10 movzbl (%eax),%edx
18a: 8b 45 0c mov 0xc(%ebp),%eax
18d: 0f b6 00 movzbl (%eax),%eax
190: 38 c2 cmp %al,%dl
192: 74 de je 172 <strcmp+0x5>
p++, q++;
return (uchar)*p - (uchar)*q;
194: 8b 45 08 mov 0x8(%ebp),%eax
197: 0f b6 00 movzbl (%eax),%eax
19a: 0f b6 d0 movzbl %al,%edx
19d: 8b 45 0c mov 0xc(%ebp),%eax
1a0: 0f b6 00 movzbl (%eax),%eax
1a3: 0f b6 c0 movzbl %al,%eax
1a6: 89 d1 mov %edx,%ecx
1a8: 29 c1 sub %eax,%ecx
1aa: 89 c8 mov %ecx,%eax
}
1ac: 5d pop %ebp
1ad: c3 ret
000001ae <strlen>:
uint
strlen(char *s)
{
1ae: 55 push %ebp
1af: 89 e5 mov %esp,%ebp
1b1: 83 ec 10 sub $0x10,%esp
int n;
for(n = 0; s[n]; n++)
1b4: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
1bb: eb 04 jmp 1c1 <strlen+0x13>
1bd: 83 45 fc 01 addl $0x1,-0x4(%ebp)
1c1: 8b 45 fc mov -0x4(%ebp),%eax
1c4: 03 45 08 add 0x8(%ebp),%eax
1c7: 0f b6 00 movzbl (%eax),%eax
1ca: 84 c0 test %al,%al
1cc: 75 ef jne 1bd <strlen+0xf>
;
return n;
1ce: 8b 45 fc mov -0x4(%ebp),%eax
}
1d1: c9 leave
1d2: c3 ret
000001d3 <memset>:
void*
memset(void *dst, int c, uint n)
{
1d3: 55 push %ebp
1d4: 89 e5 mov %esp,%ebp
1d6: 83 ec 0c sub $0xc,%esp
stosb(dst, c, n);
1d9: 8b 45 10 mov 0x10(%ebp),%eax
1dc: 89 44 24 08 mov %eax,0x8(%esp)
1e0: 8b 45 0c mov 0xc(%ebp),%eax
1e3: 89 44 24 04 mov %eax,0x4(%esp)
1e7: 8b 45 08 mov 0x8(%ebp),%eax
1ea: 89 04 24 mov %eax,(%esp)
1ed: e8 22 ff ff ff call 114 <stosb>
return dst;
1f2: 8b 45 08 mov 0x8(%ebp),%eax
}
1f5: c9 leave
1f6: c3 ret
000001f7 <strchr>:
char*
strchr(const char *s, char c)
{
1f7: 55 push %ebp
1f8: 89 e5 mov %esp,%ebp
1fa: 83 ec 04 sub $0x4,%esp
1fd: 8b 45 0c mov 0xc(%ebp),%eax
200: 88 45 fc mov %al,-0x4(%ebp)
for(; *s; s++)
203: eb 14 jmp 219 <strchr+0x22>
if(*s == c)
205: 8b 45 08 mov 0x8(%ebp),%eax
208: 0f b6 00 movzbl (%eax),%eax
20b: 3a 45 fc cmp -0x4(%ebp),%al
20e: 75 05 jne 215 <strchr+0x1e>
return (char*)s;
210: 8b 45 08 mov 0x8(%ebp),%eax
213: eb 13 jmp 228 <strchr+0x31>
}
char*
strchr(const char *s, char c)
{
for(; *s; s++)
215: 83 45 08 01 addl $0x1,0x8(%ebp)
219: 8b 45 08 mov 0x8(%ebp),%eax
21c: 0f b6 00 movzbl (%eax),%eax
21f: 84 c0 test %al,%al
221: 75 e2 jne 205 <strchr+0xe>
if(*s == c)
return (char*)s;
return 0;
223: b8 00 00 00 00 mov $0x0,%eax
}
228: c9 leave
229: c3 ret
0000022a <gets>:
char*
gets(char *buf, int max)
{
22a: 55 push %ebp
22b: 89 e5 mov %esp,%ebp
22d: 83 ec 28 sub $0x28,%esp
int i, cc;
char c;
for(i=0; i+1 < max; ){
230: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
237: eb 44 jmp 27d <gets+0x53>
cc = read(0, &c, 1);
239: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp)
240: 00
241: 8d 45 ef lea -0x11(%ebp),%eax
244: 89 44 24 04 mov %eax,0x4(%esp)
248: c7 04 24 00 00 00 00 movl $0x0,(%esp)
24f: e8 3c 01 00 00 call 390 <read>
254: 89 45 f0 mov %eax,-0x10(%ebp)
if(cc < 1)
257: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
25b: 7e 2d jle 28a <gets+0x60>
break;
buf[i++] = c;
25d: 8b 45 f4 mov -0xc(%ebp),%eax
260: 03 45 08 add 0x8(%ebp),%eax
263: 0f b6 55 ef movzbl -0x11(%ebp),%edx
267: 88 10 mov %dl,(%eax)
269: 83 45 f4 01 addl $0x1,-0xc(%ebp)
if(c == '\n' || c == '\r')
26d: 0f b6 45 ef movzbl -0x11(%ebp),%eax
271: 3c 0a cmp $0xa,%al
273: 74 16 je 28b <gets+0x61>
275: 0f b6 45 ef movzbl -0x11(%ebp),%eax
279: 3c 0d cmp $0xd,%al
27b: 74 0e je 28b <gets+0x61>
gets(char *buf, int max)
{
int i, cc;
char c;
for(i=0; i+1 < max; ){
27d: 8b 45 f4 mov -0xc(%ebp),%eax
280: 83 c0 01 add $0x1,%eax
283: 3b 45 0c cmp 0xc(%ebp),%eax
286: 7c b1 jl 239 <gets+0xf>
288: eb 01 jmp 28b <gets+0x61>
cc = read(0, &c, 1);
if(cc < 1)
break;
28a: 90 nop
buf[i++] = c;
if(c == '\n' || c == '\r')
break;
}
buf[i] = '\0';
28b: 8b 45 f4 mov -0xc(%ebp),%eax
28e: 03 45 08 add 0x8(%ebp),%eax
291: c6 00 00 movb $0x0,(%eax)
return buf;
294: 8b 45 08 mov 0x8(%ebp),%eax
}
297: c9 leave
298: c3 ret
00000299 <stat>:
int
stat(char *n, struct stat *st)
{
299: 55 push %ebp
29a: 89 e5 mov %esp,%ebp
29c: 83 ec 28 sub $0x28,%esp
int fd;
int r;
fd = open(n, O_RDONLY);
29f: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp)
2a6: 00
2a7: 8b 45 08 mov 0x8(%ebp),%eax
2aa: 89 04 24 mov %eax,(%esp)
2ad: e8 06 01 00 00 call 3b8 <open>
2b2: 89 45 f4 mov %eax,-0xc(%ebp)
if(fd < 0)
2b5: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
2b9: 79 07 jns 2c2 <stat+0x29>
return -1;
2bb: b8 ff ff ff ff mov $0xffffffff,%eax
2c0: eb 23 jmp 2e5 <stat+0x4c>
r = fstat(fd, st);
2c2: 8b 45 0c mov 0xc(%ebp),%eax
2c5: 89 44 24 04 mov %eax,0x4(%esp)
2c9: 8b 45 f4 mov -0xc(%ebp),%eax
2cc: 89 04 24 mov %eax,(%esp)
2cf: e8 fc 00 00 00 call 3d0 <fstat>
2d4: 89 45 f0 mov %eax,-0x10(%ebp)
close(fd);
2d7: 8b 45 f4 mov -0xc(%ebp),%eax
2da: 89 04 24 mov %eax,(%esp)
2dd: e8 be 00 00 00 call 3a0 <close>
return r;
2e2: 8b 45 f0 mov -0x10(%ebp),%eax
}
2e5: c9 leave
2e6: c3 ret
000002e7 <atoi>:
int
atoi(const char *s)
{
2e7: 55 push %ebp
2e8: 89 e5 mov %esp,%ebp
2ea: 83 ec 10 sub $0x10,%esp
int n;
n = 0;
2ed: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp)
while('0' <= *s && *s <= '9')
2f4: eb 23 jmp 319 <atoi+0x32>
n = n*10 + *s++ - '0';
2f6: 8b 55 fc mov -0x4(%ebp),%edx
2f9: 89 d0 mov %edx,%eax
2fb: c1 e0 02 shl $0x2,%eax
2fe: 01 d0 add %edx,%eax
300: 01 c0 add %eax,%eax
302: 89 c2 mov %eax,%edx
304: 8b 45 08 mov 0x8(%ebp),%eax
307: 0f b6 00 movzbl (%eax),%eax
30a: 0f be c0 movsbl %al,%eax
30d: 01 d0 add %edx,%eax
30f: 83 e8 30 sub $0x30,%eax
312: 89 45 fc mov %eax,-0x4(%ebp)
315: 83 45 08 01 addl $0x1,0x8(%ebp)
atoi(const char *s)
{
int n;
n = 0;
while('0' <= *s && *s <= '9')
319: 8b 45 08 mov 0x8(%ebp),%eax
31c: 0f b6 00 movzbl (%eax),%eax
31f: 3c 2f cmp $0x2f,%al
321: 7e 0a jle 32d <atoi+0x46>
323: 8b 45 08 mov 0x8(%ebp),%eax
326: 0f b6 00 movzbl (%eax),%eax
329: 3c 39 cmp $0x39,%al
32b: 7e c9 jle 2f6 <atoi+0xf>
n = n*10 + *s++ - '0';
return n;
32d: 8b 45 fc mov -0x4(%ebp),%eax
}
330: c9 leave
331: c3 ret
00000332 <memmove>:
void*
memmove(void *vdst, void *vsrc, int n)
{
332: 55 push %ebp
333: 89 e5 mov %esp,%ebp
335: 83 ec 10 sub $0x10,%esp
char *dst, *src;
dst = vdst;
338: 8b 45 08 mov 0x8(%ebp),%eax
33b: 89 45 fc mov %eax,-0x4(%ebp)
src = vsrc;
33e: 8b 45 0c mov 0xc(%ebp),%eax
341: 89 45 f8 mov %eax,-0x8(%ebp)
while(n-- > 0)
344: eb 13 jmp 359 <memmove+0x27>
*dst++ = *src++;
346: 8b 45 f8 mov -0x8(%ebp),%eax
349: 0f b6 10 movzbl (%eax),%edx
34c: 8b 45 fc mov -0x4(%ebp),%eax
34f: 88 10 mov %dl,(%eax)
351: 83 45 fc 01 addl $0x1,-0x4(%ebp)
355: 83 45 f8 01 addl $0x1,-0x8(%ebp)
{
char *dst, *src;
dst = vdst;
src = vsrc;
while(n-- > 0)
359: 83 7d 10 00 cmpl $0x0,0x10(%ebp)
35d: 0f 9f c0 setg %al
360: 83 6d 10 01 subl $0x1,0x10(%ebp)
364: 84 c0 test %al,%al
366: 75 de jne 346 <memmove+0x14>
*dst++ = *src++;
return vdst;
368: 8b 45 08 mov 0x8(%ebp),%eax
}
36b: c9 leave
36c: c3 ret
36d: 90 nop
36e: 90 nop
36f: 90 nop
00000370 <fork>:
name: \
movl $SYS_ ## name, %eax; \
int $T_SYSCALL; \
ret
SYSCALL(fork)
370: b8 01 00 00 00 mov $0x1,%eax
375: cd 40 int $0x40
377: c3 ret
00000378 <exit>:
SYSCALL(exit)
378: b8 02 00 00 00 mov $0x2,%eax
37d: cd 40 int $0x40
37f: c3 ret
00000380 <wait>:
SYSCALL(wait)
380: b8 03 00 00 00 mov $0x3,%eax
385: cd 40 int $0x40
387: c3 ret
00000388 <pipe>:
SYSCALL(pipe)
388: b8 04 00 00 00 mov $0x4,%eax
38d: cd 40 int $0x40
38f: c3 ret
00000390 <read>:
SYSCALL(read)
390: b8 05 00 00 00 mov $0x5,%eax
395: cd 40 int $0x40
397: c3 ret
00000398 <write>:
SYSCALL(write)
398: b8 10 00 00 00 mov $0x10,%eax
39d: cd 40 int $0x40
39f: c3 ret
000003a0 <close>:
SYSCALL(close)
3a0: b8 15 00 00 00 mov $0x15,%eax
3a5: cd 40 int $0x40
3a7: c3 ret
000003a8 <kill>:
SYSCALL(kill)
3a8: b8 06 00 00 00 mov $0x6,%eax
3ad: cd 40 int $0x40
3af: c3 ret
000003b0 <exec>:
SYSCALL(exec)
3b0: b8 07 00 00 00 mov $0x7,%eax
3b5: cd 40 int $0x40
3b7: c3 ret
000003b8 <open>:
SYSCALL(open)
3b8: b8 0f 00 00 00 mov $0xf,%eax
3bd: cd 40 int $0x40
3bf: c3 ret
000003c0 <mknod>:
SYSCALL(mknod)
3c0: b8 11 00 00 00 mov $0x11,%eax
3c5: cd 40 int $0x40
3c7: c3 ret
000003c8 <unlink>:
SYSCALL(unlink)
3c8: b8 12 00 00 00 mov $0x12,%eax
3cd: cd 40 int $0x40
3cf: c3 ret
000003d0 <fstat>:
SYSCALL(fstat)
3d0: b8 08 00 00 00 mov $0x8,%eax
3d5: cd 40 int $0x40
3d7: c3 ret
000003d8 <link>:
SYSCALL(link)
3d8: b8 13 00 00 00 mov $0x13,%eax
3dd: cd 40 int $0x40
3df: c3 ret
000003e0 <mkdir>:
SYSCALL(mkdir)
3e0: b8 14 00 00 00 mov $0x14,%eax
3e5: cd 40 int $0x40
3e7: c3 ret
000003e8 <chdir>:
SYSCALL(chdir)
3e8: b8 09 00 00 00 mov $0x9,%eax
3ed: cd 40 int $0x40
3ef: c3 ret
000003f0 <dup>:
SYSCALL(dup)
3f0: b8 0a 00 00 00 mov $0xa,%eax
3f5: cd 40 int $0x40
3f7: c3 ret
000003f8 <getpid>:
SYSCALL(getpid)
3f8: b8 0b 00 00 00 mov $0xb,%eax
3fd: cd 40 int $0x40
3ff: c3 ret
00000400 <sbrk>:
SYSCALL(sbrk)
400: b8 0c 00 00 00 mov $0xc,%eax
405: cd 40 int $0x40
407: c3 ret
00000408 <sleep>:
SYSCALL(sleep)
408: b8 0d 00 00 00 mov $0xd,%eax
40d: cd 40 int $0x40
40f: c3 ret
00000410 <uptime>:
SYSCALL(uptime)
410: b8 0e 00 00 00 mov $0xe,%eax
415: cd 40 int $0x40
417: c3 ret
00000418 <halt>:
SYSCALL(halt)
418: b8 16 00 00 00 mov $0x16,%eax
41d: cd 40 int $0x40
41f: c3 ret
00000420 <clone>:
SYSCALL(clone)
420: b8 19 00 00 00 mov $0x19,%eax
425: cd 40 int $0x40
427: c3 ret
00000428 <join>:
SYSCALL(join)
428: b8 1a 00 00 00 mov $0x1a,%eax
42d: cd 40 int $0x40
42f: c3 ret
00000430 <texit>:
SYSCALL(texit)
430: b8 1b 00 00 00 mov $0x1b,%eax
435: cd 40 int $0x40
437: c3 ret
00000438 <putc>:
#include "stat.h"
#include "user.h"
static void
putc(int fd, char c)
{
438: 55 push %ebp
439: 89 e5 mov %esp,%ebp
43b: 83 ec 28 sub $0x28,%esp
43e: 8b 45 0c mov 0xc(%ebp),%eax
441: 88 45 f4 mov %al,-0xc(%ebp)
write(fd, &c, 1);
444: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp)
44b: 00
44c: 8d 45 f4 lea -0xc(%ebp),%eax
44f: 89 44 24 04 mov %eax,0x4(%esp)
453: 8b 45 08 mov 0x8(%ebp),%eax
456: 89 04 24 mov %eax,(%esp)
459: e8 3a ff ff ff call 398 <write>
}
45e: c9 leave
45f: c3 ret
00000460 <printint>:
static void
printint(int fd, int xx, int base, int sgn)
{
460: 55 push %ebp
461: 89 e5 mov %esp,%ebp
463: 83 ec 48 sub $0x48,%esp
static char digits[] = "0123456789ABCDEF";
char buf[16];
int i, neg;
uint x;
neg = 0;
466: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
if(sgn && xx < 0){
46d: 83 7d 14 00 cmpl $0x0,0x14(%ebp)
471: 74 17 je 48a <printint+0x2a>
473: 83 7d 0c 00 cmpl $0x0,0xc(%ebp)
477: 79 11 jns 48a <printint+0x2a>
neg = 1;
479: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp)
x = -xx;
480: 8b 45 0c mov 0xc(%ebp),%eax
483: f7 d8 neg %eax
485: 89 45 ec mov %eax,-0x14(%ebp)
488: eb 06 jmp 490 <printint+0x30>
} else {
x = xx;
48a: 8b 45 0c mov 0xc(%ebp),%eax
48d: 89 45 ec mov %eax,-0x14(%ebp)
}
i = 0;
490: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp)
do{
buf[i++] = digits[x % base];
497: 8b 4d 10 mov 0x10(%ebp),%ecx
49a: 8b 45 ec mov -0x14(%ebp),%eax
49d: ba 00 00 00 00 mov $0x0,%edx
4a2: f7 f1 div %ecx
4a4: 89 d0 mov %edx,%eax
4a6: 0f b6 90 70 0b 00 00 movzbl 0xb70(%eax),%edx
4ad: 8d 45 dc lea -0x24(%ebp),%eax
4b0: 03 45 f4 add -0xc(%ebp),%eax
4b3: 88 10 mov %dl,(%eax)
4b5: 83 45 f4 01 addl $0x1,-0xc(%ebp)
}while((x /= base) != 0);
4b9: 8b 55 10 mov 0x10(%ebp),%edx
4bc: 89 55 d4 mov %edx,-0x2c(%ebp)
4bf: 8b 45 ec mov -0x14(%ebp),%eax
4c2: ba 00 00 00 00 mov $0x0,%edx
4c7: f7 75 d4 divl -0x2c(%ebp)
4ca: 89 45 ec mov %eax,-0x14(%ebp)
4cd: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
4d1: 75 c4 jne 497 <printint+0x37>
if(neg)
4d3: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
4d7: 74 2a je 503 <printint+0xa3>
buf[i++] = '-';
4d9: 8d 45 dc lea -0x24(%ebp),%eax
4dc: 03 45 f4 add -0xc(%ebp),%eax
4df: c6 00 2d movb $0x2d,(%eax)
4e2: 83 45 f4 01 addl $0x1,-0xc(%ebp)
while(--i >= 0)
4e6: eb 1b jmp 503 <printint+0xa3>
putc(fd, buf[i]);
4e8: 8d 45 dc lea -0x24(%ebp),%eax
4eb: 03 45 f4 add -0xc(%ebp),%eax
4ee: 0f b6 00 movzbl (%eax),%eax
4f1: 0f be c0 movsbl %al,%eax
4f4: 89 44 24 04 mov %eax,0x4(%esp)
4f8: 8b 45 08 mov 0x8(%ebp),%eax
4fb: 89 04 24 mov %eax,(%esp)
4fe: e8 35 ff ff ff call 438 <putc>
buf[i++] = digits[x % base];
}while((x /= base) != 0);
if(neg)
buf[i++] = '-';
while(--i >= 0)
503: 83 6d f4 01 subl $0x1,-0xc(%ebp)
507: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
50b: 79 db jns 4e8 <printint+0x88>
putc(fd, buf[i]);
}
50d: c9 leave
50e: c3 ret
0000050f <printf>:
// Print to the given fd. Only understands %d, %x, %p, %s.
void
printf(int fd, char *fmt, ...)
{
50f: 55 push %ebp
510: 89 e5 mov %esp,%ebp
512: 83 ec 38 sub $0x38,%esp
char *s;
int c, i, state;
uint *ap;
state = 0;
515: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
ap = (uint*)(void*)&fmt + 1;
51c: 8d 45 0c lea 0xc(%ebp),%eax
51f: 83 c0 04 add $0x4,%eax
522: 89 45 e8 mov %eax,-0x18(%ebp)
for(i = 0; fmt[i]; i++){
525: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp)
52c: e9 7d 01 00 00 jmp 6ae <printf+0x19f>
c = fmt[i] & 0xff;
531: 8b 55 0c mov 0xc(%ebp),%edx
534: 8b 45 f0 mov -0x10(%ebp),%eax
537: 01 d0 add %edx,%eax
539: 0f b6 00 movzbl (%eax),%eax
53c: 0f be c0 movsbl %al,%eax
53f: 25 ff 00 00 00 and $0xff,%eax
544: 89 45 e4 mov %eax,-0x1c(%ebp)
if(state == 0){
547: 83 7d ec 00 cmpl $0x0,-0x14(%ebp)
54b: 75 2c jne 579 <printf+0x6a>
if(c == '%'){
54d: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
551: 75 0c jne 55f <printf+0x50>
state = '%';
553: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp)
55a: e9 4b 01 00 00 jmp 6aa <printf+0x19b>
} else {
putc(fd, c);
55f: 8b 45 e4 mov -0x1c(%ebp),%eax
562: 0f be c0 movsbl %al,%eax
565: 89 44 24 04 mov %eax,0x4(%esp)
569: 8b 45 08 mov 0x8(%ebp),%eax
56c: 89 04 24 mov %eax,(%esp)
56f: e8 c4 fe ff ff call 438 <putc>
574: e9 31 01 00 00 jmp 6aa <printf+0x19b>
}
} else if(state == '%'){
579: 83 7d ec 25 cmpl $0x25,-0x14(%ebp)
57d: 0f 85 27 01 00 00 jne 6aa <printf+0x19b>
if(c == 'd'){
583: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp)
587: 75 2d jne 5b6 <printf+0xa7>
printint(fd, *ap, 10, 1);
589: 8b 45 e8 mov -0x18(%ebp),%eax
58c: 8b 00 mov (%eax),%eax
58e: c7 44 24 0c 01 00 00 movl $0x1,0xc(%esp)
595: 00
596: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp)
59d: 00
59e: 89 44 24 04 mov %eax,0x4(%esp)
5a2: 8b 45 08 mov 0x8(%ebp),%eax
5a5: 89 04 24 mov %eax,(%esp)
5a8: e8 b3 fe ff ff call 460 <printint>
ap++;
5ad: 83 45 e8 04 addl $0x4,-0x18(%ebp)
5b1: e9 ed 00 00 00 jmp 6a3 <printf+0x194>
} else if(c == 'x' || c == 'p'){
5b6: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp)
5ba: 74 06 je 5c2 <printf+0xb3>
5bc: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp)
5c0: 75 2d jne 5ef <printf+0xe0>
printint(fd, *ap, 16, 0);
5c2: 8b 45 e8 mov -0x18(%ebp),%eax
5c5: 8b 00 mov (%eax),%eax
5c7: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp)
5ce: 00
5cf: c7 44 24 08 10 00 00 movl $0x10,0x8(%esp)
5d6: 00
5d7: 89 44 24 04 mov %eax,0x4(%esp)
5db: 8b 45 08 mov 0x8(%ebp),%eax
5de: 89 04 24 mov %eax,(%esp)
5e1: e8 7a fe ff ff call 460 <printint>
ap++;
5e6: 83 45 e8 04 addl $0x4,-0x18(%ebp)
5ea: e9 b4 00 00 00 jmp 6a3 <printf+0x194>
} else if(c == 's'){
5ef: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp)
5f3: 75 46 jne 63b <printf+0x12c>
s = (char*)*ap;
5f5: 8b 45 e8 mov -0x18(%ebp),%eax
5f8: 8b 00 mov (%eax),%eax
5fa: 89 45 f4 mov %eax,-0xc(%ebp)
ap++;
5fd: 83 45 e8 04 addl $0x4,-0x18(%ebp)
if(s == 0)
601: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
605: 75 27 jne 62e <printf+0x11f>
s = "(null)";
607: c7 45 f4 24 09 00 00 movl $0x924,-0xc(%ebp)
while(*s != 0){
60e: eb 1e jmp 62e <printf+0x11f>
putc(fd, *s);
610: 8b 45 f4 mov -0xc(%ebp),%eax
613: 0f b6 00 movzbl (%eax),%eax
616: 0f be c0 movsbl %al,%eax
619: 89 44 24 04 mov %eax,0x4(%esp)
61d: 8b 45 08 mov 0x8(%ebp),%eax
620: 89 04 24 mov %eax,(%esp)
623: e8 10 fe ff ff call 438 <putc>
s++;
628: 83 45 f4 01 addl $0x1,-0xc(%ebp)
62c: eb 01 jmp 62f <printf+0x120>
} else if(c == 's'){
s = (char*)*ap;
ap++;
if(s == 0)
s = "(null)";
while(*s != 0){
62e: 90 nop
62f: 8b 45 f4 mov -0xc(%ebp),%eax
632: 0f b6 00 movzbl (%eax),%eax
635: 84 c0 test %al,%al
637: 75 d7 jne 610 <printf+0x101>
639: eb 68 jmp 6a3 <printf+0x194>
putc(fd, *s);
s++;
}
} else if(c == 'c'){
63b: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp)
63f: 75 1d jne 65e <printf+0x14f>
putc(fd, *ap);
641: 8b 45 e8 mov -0x18(%ebp),%eax
644: 8b 00 mov (%eax),%eax
646: 0f be c0 movsbl %al,%eax
649: 89 44 24 04 mov %eax,0x4(%esp)
64d: 8b 45 08 mov 0x8(%ebp),%eax
650: 89 04 24 mov %eax,(%esp)
653: e8 e0 fd ff ff call 438 <putc>
ap++;
658: 83 45 e8 04 addl $0x4,-0x18(%ebp)
65c: eb 45 jmp 6a3 <printf+0x194>
} else if(c == '%'){
65e: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp)
662: 75 17 jne 67b <printf+0x16c>
putc(fd, c);
664: 8b 45 e4 mov -0x1c(%ebp),%eax
667: 0f be c0 movsbl %al,%eax
66a: 89 44 24 04 mov %eax,0x4(%esp)
66e: 8b 45 08 mov 0x8(%ebp),%eax
671: 89 04 24 mov %eax,(%esp)
674: e8 bf fd ff ff call 438 <putc>
679: eb 28 jmp 6a3 <printf+0x194>
} else {
// Unknown % sequence. Print it to draw attention.
putc(fd, '%');
67b: c7 44 24 04 25 00 00 movl $0x25,0x4(%esp)
682: 00
683: 8b 45 08 mov 0x8(%ebp),%eax
686: 89 04 24 mov %eax,(%esp)
689: e8 aa fd ff ff call 438 <putc>
putc(fd, c);
68e: 8b 45 e4 mov -0x1c(%ebp),%eax
691: 0f be c0 movsbl %al,%eax
694: 89 44 24 04 mov %eax,0x4(%esp)
698: 8b 45 08 mov 0x8(%ebp),%eax
69b: 89 04 24 mov %eax,(%esp)
69e: e8 95 fd ff ff call 438 <putc>
}
state = 0;
6a3: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp)
int c, i, state;
uint *ap;
state = 0;
ap = (uint*)(void*)&fmt + 1;
for(i = 0; fmt[i]; i++){
6aa: 83 45 f0 01 addl $0x1,-0x10(%ebp)
6ae: 8b 55 0c mov 0xc(%ebp),%edx
6b1: 8b 45 f0 mov -0x10(%ebp),%eax
6b4: 01 d0 add %edx,%eax
6b6: 0f b6 00 movzbl (%eax),%eax
6b9: 84 c0 test %al,%al
6bb: 0f 85 70 fe ff ff jne 531 <printf+0x22>
putc(fd, c);
}
state = 0;
}
}
}
6c1: c9 leave
6c2: c3 ret
6c3: 90 nop
000006c4 <free>:
static Header base;
static Header *freep;
void
free(void *ap)
{
6c4: 55 push %ebp
6c5: 89 e5 mov %esp,%ebp
6c7: 83 ec 10 sub $0x10,%esp
Header *bp, *p;
bp = (Header*)ap - 1;
6ca: 8b 45 08 mov 0x8(%ebp),%eax
6cd: 83 e8 08 sub $0x8,%eax
6d0: 89 45 f8 mov %eax,-0x8(%ebp)
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
6d3: a1 8c 0b 00 00 mov 0xb8c,%eax
6d8: 89 45 fc mov %eax,-0x4(%ebp)
6db: eb 24 jmp 701 <free+0x3d>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
6dd: 8b 45 fc mov -0x4(%ebp),%eax
6e0: 8b 00 mov (%eax),%eax
6e2: 3b 45 fc cmp -0x4(%ebp),%eax
6e5: 77 12 ja 6f9 <free+0x35>
6e7: 8b 45 f8 mov -0x8(%ebp),%eax
6ea: 3b 45 fc cmp -0x4(%ebp),%eax
6ed: 77 24 ja 713 <free+0x4f>
6ef: 8b 45 fc mov -0x4(%ebp),%eax
6f2: 8b 00 mov (%eax),%eax
6f4: 3b 45 f8 cmp -0x8(%ebp),%eax
6f7: 77 1a ja 713 <free+0x4f>
free(void *ap)
{
Header *bp, *p;
bp = (Header*)ap - 1;
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
6f9: 8b 45 fc mov -0x4(%ebp),%eax
6fc: 8b 00 mov (%eax),%eax
6fe: 89 45 fc mov %eax,-0x4(%ebp)
701: 8b 45 f8 mov -0x8(%ebp),%eax
704: 3b 45 fc cmp -0x4(%ebp),%eax
707: 76 d4 jbe 6dd <free+0x19>
709: 8b 45 fc mov -0x4(%ebp),%eax
70c: 8b 00 mov (%eax),%eax
70e: 3b 45 f8 cmp -0x8(%ebp),%eax
711: 76 ca jbe 6dd <free+0x19>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
break;
if(bp + bp->s.size == p->s.ptr){
713: 8b 45 f8 mov -0x8(%ebp),%eax
716: 8b 40 04 mov 0x4(%eax),%eax
719: c1 e0 03 shl $0x3,%eax
71c: 89 c2 mov %eax,%edx
71e: 03 55 f8 add -0x8(%ebp),%edx
721: 8b 45 fc mov -0x4(%ebp),%eax
724: 8b 00 mov (%eax),%eax
726: 39 c2 cmp %eax,%edx
728: 75 24 jne 74e <free+0x8a>
bp->s.size += p->s.ptr->s.size;
72a: 8b 45 f8 mov -0x8(%ebp),%eax
72d: 8b 50 04 mov 0x4(%eax),%edx
730: 8b 45 fc mov -0x4(%ebp),%eax
733: 8b 00 mov (%eax),%eax
735: 8b 40 04 mov 0x4(%eax),%eax
738: 01 c2 add %eax,%edx
73a: 8b 45 f8 mov -0x8(%ebp),%eax
73d: 89 50 04 mov %edx,0x4(%eax)
bp->s.ptr = p->s.ptr->s.ptr;
740: 8b 45 fc mov -0x4(%ebp),%eax
743: 8b 00 mov (%eax),%eax
745: 8b 10 mov (%eax),%edx
747: 8b 45 f8 mov -0x8(%ebp),%eax
74a: 89 10 mov %edx,(%eax)
74c: eb 0a jmp 758 <free+0x94>
} else
bp->s.ptr = p->s.ptr;
74e: 8b 45 fc mov -0x4(%ebp),%eax
751: 8b 10 mov (%eax),%edx
753: 8b 45 f8 mov -0x8(%ebp),%eax
756: 89 10 mov %edx,(%eax)
if(p + p->s.size == bp){
758: 8b 45 fc mov -0x4(%ebp),%eax
75b: 8b 40 04 mov 0x4(%eax),%eax
75e: c1 e0 03 shl $0x3,%eax
761: 03 45 fc add -0x4(%ebp),%eax
764: 3b 45 f8 cmp -0x8(%ebp),%eax
767: 75 20 jne 789 <free+0xc5>
p->s.size += bp->s.size;
769: 8b 45 fc mov -0x4(%ebp),%eax
76c: 8b 50 04 mov 0x4(%eax),%edx
76f: 8b 45 f8 mov -0x8(%ebp),%eax
772: 8b 40 04 mov 0x4(%eax),%eax
775: 01 c2 add %eax,%edx
777: 8b 45 fc mov -0x4(%ebp),%eax
77a: 89 50 04 mov %edx,0x4(%eax)
p->s.ptr = bp->s.ptr;
77d: 8b 45 f8 mov -0x8(%ebp),%eax
780: 8b 10 mov (%eax),%edx
782: 8b 45 fc mov -0x4(%ebp),%eax
785: 89 10 mov %edx,(%eax)
787: eb 08 jmp 791 <free+0xcd>
} else
p->s.ptr = bp;
789: 8b 45 fc mov -0x4(%ebp),%eax
78c: 8b 55 f8 mov -0x8(%ebp),%edx
78f: 89 10 mov %edx,(%eax)
freep = p;
791: 8b 45 fc mov -0x4(%ebp),%eax
794: a3 8c 0b 00 00 mov %eax,0xb8c
}
799: c9 leave
79a: c3 ret
0000079b <morecore>:
static Header*
morecore(uint nu)
{
79b: 55 push %ebp
79c: 89 e5 mov %esp,%ebp
79e: 83 ec 28 sub $0x28,%esp
char *p;
Header *hp;
if(nu < 4096)
7a1: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp)
7a8: 77 07 ja 7b1 <morecore+0x16>
nu = 4096;
7aa: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp)
p = sbrk(nu * sizeof(Header));
7b1: 8b 45 08 mov 0x8(%ebp),%eax
7b4: c1 e0 03 shl $0x3,%eax
7b7: 89 04 24 mov %eax,(%esp)
7ba: e8 41 fc ff ff call 400 <sbrk>
7bf: 89 45 f4 mov %eax,-0xc(%ebp)
if(p == (char*)-1)
7c2: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp)
7c6: 75 07 jne 7cf <morecore+0x34>
return 0;
7c8: b8 00 00 00 00 mov $0x0,%eax
7cd: eb 22 jmp 7f1 <morecore+0x56>
hp = (Header*)p;
7cf: 8b 45 f4 mov -0xc(%ebp),%eax
7d2: 89 45 f0 mov %eax,-0x10(%ebp)
hp->s.size = nu;
7d5: 8b 45 f0 mov -0x10(%ebp),%eax
7d8: 8b 55 08 mov 0x8(%ebp),%edx
7db: 89 50 04 mov %edx,0x4(%eax)
free((void*)(hp + 1));
7de: 8b 45 f0 mov -0x10(%ebp),%eax
7e1: 83 c0 08 add $0x8,%eax
7e4: 89 04 24 mov %eax,(%esp)
7e7: e8 d8 fe ff ff call 6c4 <free>
return freep;
7ec: a1 8c 0b 00 00 mov 0xb8c,%eax
}
7f1: c9 leave
7f2: c3 ret
000007f3 <malloc>:
void*
malloc(uint nbytes)
{
7f3: 55 push %ebp
7f4: 89 e5 mov %esp,%ebp
7f6: 83 ec 28 sub $0x28,%esp
Header *p, *prevp;
uint nunits;
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
7f9: 8b 45 08 mov 0x8(%ebp),%eax
7fc: 83 c0 07 add $0x7,%eax
7ff: c1 e8 03 shr $0x3,%eax
802: 83 c0 01 add $0x1,%eax
805: 89 45 ec mov %eax,-0x14(%ebp)
if((prevp = freep) == 0){
808: a1 8c 0b 00 00 mov 0xb8c,%eax
80d: 89 45 f0 mov %eax,-0x10(%ebp)
810: 83 7d f0 00 cmpl $0x0,-0x10(%ebp)
814: 75 23 jne 839 <malloc+0x46>
base.s.ptr = freep = prevp = &base;
816: c7 45 f0 84 0b 00 00 movl $0xb84,-0x10(%ebp)
81d: 8b 45 f0 mov -0x10(%ebp),%eax
820: a3 8c 0b 00 00 mov %eax,0xb8c
825: a1 8c 0b 00 00 mov 0xb8c,%eax
82a: a3 84 0b 00 00 mov %eax,0xb84
base.s.size = 0;
82f: c7 05 88 0b 00 00 00 movl $0x0,0xb88
836: 00 00 00
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
839: 8b 45 f0 mov -0x10(%ebp),%eax
83c: 8b 00 mov (%eax),%eax
83e: 89 45 f4 mov %eax,-0xc(%ebp)
if(p->s.size >= nunits){
841: 8b 45 f4 mov -0xc(%ebp),%eax
844: 8b 40 04 mov 0x4(%eax),%eax
847: 3b 45 ec cmp -0x14(%ebp),%eax
84a: 72 4d jb 899 <malloc+0xa6>
if(p->s.size == nunits)
84c: 8b 45 f4 mov -0xc(%ebp),%eax
84f: 8b 40 04 mov 0x4(%eax),%eax
852: 3b 45 ec cmp -0x14(%ebp),%eax
855: 75 0c jne 863 <malloc+0x70>
prevp->s.ptr = p->s.ptr;
857: 8b 45 f4 mov -0xc(%ebp),%eax
85a: 8b 10 mov (%eax),%edx
85c: 8b 45 f0 mov -0x10(%ebp),%eax
85f: 89 10 mov %edx,(%eax)
861: eb 26 jmp 889 <malloc+0x96>
else {
p->s.size -= nunits;
863: 8b 45 f4 mov -0xc(%ebp),%eax
866: 8b 40 04 mov 0x4(%eax),%eax
869: 89 c2 mov %eax,%edx
86b: 2b 55 ec sub -0x14(%ebp),%edx
86e: 8b 45 f4 mov -0xc(%ebp),%eax
871: 89 50 04 mov %edx,0x4(%eax)
p += p->s.size;
874: 8b 45 f4 mov -0xc(%ebp),%eax
877: 8b 40 04 mov 0x4(%eax),%eax
87a: c1 e0 03 shl $0x3,%eax
87d: 01 45 f4 add %eax,-0xc(%ebp)
p->s.size = nunits;
880: 8b 45 f4 mov -0xc(%ebp),%eax
883: 8b 55 ec mov -0x14(%ebp),%edx
886: 89 50 04 mov %edx,0x4(%eax)
}
freep = prevp;
889: 8b 45 f0 mov -0x10(%ebp),%eax
88c: a3 8c 0b 00 00 mov %eax,0xb8c
return (void*)(p + 1);
891: 8b 45 f4 mov -0xc(%ebp),%eax
894: 83 c0 08 add $0x8,%eax
897: eb 38 jmp 8d1 <malloc+0xde>
}
if(p == freep)
899: a1 8c 0b 00 00 mov 0xb8c,%eax
89e: 39 45 f4 cmp %eax,-0xc(%ebp)
8a1: 75 1b jne 8be <malloc+0xcb>
if((p = morecore(nunits)) == 0)
8a3: 8b 45 ec mov -0x14(%ebp),%eax
8a6: 89 04 24 mov %eax,(%esp)
8a9: e8 ed fe ff ff call 79b <morecore>
8ae: 89 45 f4 mov %eax,-0xc(%ebp)
8b1: 83 7d f4 00 cmpl $0x0,-0xc(%ebp)
8b5: 75 07 jne 8be <malloc+0xcb>
return 0;
8b7: b8 00 00 00 00 mov $0x0,%eax
8bc: eb 13 jmp 8d1 <malloc+0xde>
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
if((prevp = freep) == 0){
base.s.ptr = freep = prevp = &base;
base.s.size = 0;
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
8be: 8b 45 f4 mov -0xc(%ebp),%eax
8c1: 89 45 f0 mov %eax,-0x10(%ebp)
8c4: 8b 45 f4 mov -0xc(%ebp),%eax
8c7: 8b 00 mov (%eax),%eax
8c9: 89 45 f4 mov %eax,-0xc(%ebp)
return (void*)(p + 1);
}
if(p == freep)
if((p = morecore(nunits)) == 0)
return 0;
}
8cc: e9 70 ff ff ff jmp 841 <malloc+0x4e>
}
8d1: c9 leave
8d2: c3 ret
8d3: 90 nop
| 33.742063 | 60 | 0.432059 |
c4b58bc0f189eefcb05ed9c32acf31da0fdad61c | 21,594 | asm | Assembly | v2.0/source/msdos/mscode.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | 7 | 2018-09-29T16:03:48.000Z | 2021-04-06T20:08:57.000Z | v2.0/source/msdos/mscode.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | null | null | null | v2.0/source/msdos/mscode.asm | neozeed/MS-DOS | 1cb8b96cd347b7eb150922eeb4924ec92911dc31 | [
"MIT"
] | null | null | null | ;
; MSCODE.ASM -- MSDOS code
;
INCLUDE DOSSEG.ASM
INCLUDE STDSW.ASM
CODE SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:DOSGROUP,DS:NOTHING,ES:NOTHING,SS:NOTHING
.xcref
INCLUDE DOSSYM.ASM
INCLUDE DEVSYM.ASM
.cref
.list
IFNDEF KANJI
KANJI EQU 0 ; FALSE
ENDIF
IFNDEF IBM
IBM EQU 0
ENDIF
IFNDEF HIGHMEM
HIGHMEM EQU 0
ENDIF
i_need USER_SP,WORD
i_need USER_SS,WORD
i_need SAVEDS,WORD
i_need SAVEBX,WORD
i_need INDOS,BYTE
i_need NSP,WORD
i_need NSS,WORD
i_need CURRENTPDB,WORD
i_need AUXSTACK,BYTE
i_need CONSWAP,BYTE
i_need IDLEINT,BYTE
i_need NOSETDIR,BYTE
i_need ERRORMODE,BYTE
i_need IOSTACK,BYTE
i_need WPERR,BYTE
i_need DSKSTACK,BYTE
i_need CNTCFLAG,BYTE
i_need LEAVEADDR,WORD
i_need NULLDEVPT,DWORD
IF NOT IBM
i_need OEM_HANDLER,DWORD
ENDIF
EXTRN DSKSTATCHK:NEAR,GETBP:NEAR,DSKREAD:NEAR,DSKWRITE:NEAR
BREAK <Copyright notice and version>
CODSTRT EQU $
IF NOT IBM
IF NOT KANJI
PUBLIC HEADER
HEADER DB 13,10,"Microsoft MS-DOS version "
DB DOS_MAJOR_VERSION + "0"
DB "."
DB (DOS_MINOR_VERSION / 10) + "0"
DB (DOS_MINOR_VERSION MOD 10) + "0"
IF HIGHMEM
DB "H"
ENDIF
ENDIF
IF KANJI
PUBLIC HEADER
HEADER DB 13,10,82h,"M"+1fh,82h,"i"+20h,82h,"c"+20h,82h,"r"+20h,82h,"o"+20h
DB 82h,"s"+20h,82h,"o"+20h,82h,"f"+20h,82h,"t"+20h
DB 81h,40h,82h,"M"+1fh,82h,"S"+1fh,81h,5dh+1fh
DB 82h,"D"+1fh,82h,"O"+1fh,82h,"S"+1fh,81h,40h
DB 82h,DOS_MAJOR_VERSION+"0"+1fh
DB 81h,25h+1fh
DB 82h,(DOS_MINOR_VERSION / 10)+"0"+1fh
DB 82h,(DOS_MINOR_VERSION MOD 10)+"0"+1fh
DB 94h,0c5h
ENDIF
DB 13,10
DB "Copyright 1981,82,83 Microsoft Corp.",13,10,"$"
ENDIF
BREAK <System call entry points and dispatcher>
ASSUME CS:DOSGROUP,DS:NOTHING,ES:NOTHING,SS:NOTHING
procedure SYSTEM_CALL,NEAR
entry QUIT ; INT 20H entry point
MOV AH,0
JMP SHORT SAVREGS
entry COMMAND ; Interrupt call entry point (INT 21H)
IF NOT IBM
CMP AH,SET_OEM_HANDLER
JB NOTOEM
JMP $SET_OEM_HANDLER
NOTOEM:
ENDIF
CMP AH,MAXCOM
JBE SAVREGS
BADCALL:
MOV AL,0
entry IRET
IRET
entry CALL_ENTRY ; System call entry point and dispatcher
POP AX ; IP from the long call at 5
POP AX ; Segment from the long call at 5
POP [User_SP] ; IP from the CALL 5
PUSHF ; Start re-ordering the stack
CLI
PUSH AX ; Save segment
PUSH [User_SP] ; Stack now ordered as if INT had been used
CMP CL,MAXCALL ; This entry point doesn't get as many calls
JA BADCALL
MOV AH,CL
SAVREGS:
CALL save_world
MOV [SaveDS],DS
MOV [SaveBX],BX
MOV BX,CS
MOV DS,BX
ASSUME DS:DOSGROUP
INC [INDOS] ; Flag that we're in the DOS
MOV AX,[user_SP]
MOV [NSP],AX
MOV AX,[user_SS]
MOV [NSS],AX
POP AX
PUSH AX
MOV [user_SP],SP
MOV [user_SS],SS
;
; save user stack in his area for later returns (possibly from EXEC)
; Here comes multitasking!!!
;
MOV DS,[CurrentPDB]
MOV WORD PTR DS:[PDB_User_stack],SP
MOV WORD PTR DS:[PDB_User_stack+2],SS
MOV BX,CS ; no holes here.
MOV SS,BX
ASSUME SS:DOSGROUP
entry REDISP
MOV SP,OFFSET DOSGROUP:AUXSTACK ; Enough stack for interrupts
STI ; Stack OK now
PUSH CS
POP DS
XOR BH,BH
MOV [CONSWAP],BH
MOV [IDLEINT],1
MOV BYTE PTR [NoSetDir],0 ; set directories on search
MOV BL,AH
SHL BX,1
CLD
OR AH,AH
JZ DSKROUT ; ABORT
CMP AH,12
JBE IOROUT ; Character I/O
CMP AH,GET_CURRENT_PDB ; INT 24 needs GET,SET PDB
JZ IOROUT
CMP AH,SET_CURRENT_PDB
JNZ DSKROUT
IOROUT:
CMP [ERRORMODE],0
JNZ DISPCALL ; Stay on AUXSTACK if INT 24
MOV SP,OFFSET DOSGROUP:IOSTACK
JMP SHORT DISPCALL
DSKROUT:
MOV [ERRORMODE],0 ; Cannot make non 1-12 calls in
MOV [WPERR],-1 ; error mode, so good place to
; make sure flags are reset
MOV SP,OFFSET DOSGROUP:DSKSTACK
TEST [CNTCFLAG],-1
JZ DISPCALL
PUSH AX
invoke DSKSTATCHK
POP AX
DISPCALL:
PUSH [LEAVEADDR]
PUSH CS:[BX+DISPATCH]
MOV BX,[SaveBX]
MOV DS,[SaveDS]
ASSUME DS:NOTHING
return
entry LEAVE
ASSUME SS:NOTHING ; User routines may misbehave
CLI
DEC [INDOS]
MOV SP,[user_SP]
MOV SS,[user_SS]
MOV BP,SP
MOV BYTE PTR [BP.user_AX],AL
MOV AX,[NSP]
MOV [user_SP],AX
MOV AX,[NSS]
MOV [user_SS],AX
CALL restore_world
IRET
SYSTEM_CALL ENDP
;
; restore_world restores all registers ('cept SS:SP, CS:IP, flags) from
; the stack prior to giving the user control
;
ASSUME DS:NOTHING,ES:NOTHING
restore_tmp DW ?
procedure restore_world,NEAR
POP restore_tmp ; POP restore_tmp
POP AX ; PUSH ES
POP BX ; PUSH DS
POP CX ; PUSH BP
POP DX ; PUSH DI
POP SI ; PUSH SI
POP DI ; PUSH DX
POP BP ; PUSH CX
POP DS ; PUSH BX
POP ES ; PUSH AX
world_ret:
PUSH restore_tmp ; PUSH restore_tmp
return
restore_world ENDP
;
; save_world saves complete registers on the stack
;
procedure save_world,NEAR
POP restore_tmp
PUSH ES
PUSH DS
PUSH BP
PUSH DI
PUSH SI
PUSH DX
PUSH CX
PUSH BX
PUSH AX
JMP SHORT world_ret
save_world ENDP
;
; get_user_stack returns the user's stack (and hence registers) in DS:SI
;
procedure get_user_stack,NEAR
LDS SI,DWORD PTR [user_SP]
return
get_user_stack ENDP
; Standard Functions
DISPATCH LABEL WORD
.lall
short_addr $ABORT ; 0 0
.xall
short_addr $STD_CON_INPUT ; 1 1
short_addr $STD_CON_OUTPUT ; 2 2
short_addr $STD_AUX_INPUT ; 3 3
short_addr $STD_AUX_OUTPUT ; 4 4
short_addr $STD_PRINTER_OUTPUT ; 5 5
short_addr $RAW_CON_IO ; 6 6
short_addr $RAW_CON_INPUT ; 7 7
short_addr $STD_CON_INPUT_NO_ECHO ; 8 8
short_addr $STD_CON_STRING_OUTPUT ; 9 9
short_addr $STD_CON_STRING_INPUT ; 10 A
short_addr $STD_CON_INPUT_STATUS ; 11 B
short_addr $STD_CON_INPUT_FLUSH ; 12 C
short_addr $DISK_RESET ; 13 D
short_addr $SET_DEFAULT_DRIVE ; 14 E
short_addr $FCB_OPEN ; 15 F
short_addr $FCB_CLOSE ; 16 10
short_addr $DIR_SEARCH_FIRST ; 17 11
short_addr $DIR_SEARCH_NEXT ; 18 12
short_addr $FCB_DELETE ; 19 13
short_addr $FCB_SEQ_READ ; 20 14
short_addr $FCB_SEQ_WRITE ; 21 15
short_addr $FCB_CREATE ; 22 16
short_addr $FCB_RENAME ; 23 17
short_addr CPMFUNC ; 24 18
short_addr $GET_DEFAULT_DRIVE ; 25 19
short_addr $SET_DMA ; 26 1A
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $SLEAZEFUNC ; 27 1B
short_addr $SLEAZEFUNCDL ; 28 1C
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr CPMFUNC ; 29 1D
short_addr CPMFUNC ; 30 1E
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $GET_DEFAULT_DPB ; 31 1F
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr CPMFUNC ; 32 20
short_addr $FCB_RANDOM_READ ; 33 21
short_addr $FCB_RANDOM_WRITE ; 34 22
short_addr $GET_FCB_FILE_LENGTH ; 35 23
short_addr $GET_FCB_POSITION ; 36 24
MAXCALL = ($-DISPATCH)/2 - 1
; Extended Functions
short_addr $SET_INTERRUPT_VECTOR ; 37 25
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $CREATE_PROCESS_DATA_BLOCK ; 38 26
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr $FCB_RANDOM_READ_BLOCK ; 39 27
short_addr $FCB_RANDOM_WRITE_BLOCK ; 40 28
short_addr $PARSE_FILE_DESCRIPTOR ; 41 29
short_addr $GET_DATE ; 42 2A
short_addr $SET_DATE ; 43 2B
short_addr $GET_TIME ; 44 2C
short_addr $SET_TIME ; 45 2D
short_addr $SET_VERIFY_ON_WRITE ; 46 2E
; Extended functionality group
short_addr $GET_DMA ; 47 2F
short_addr $GET_VERSION ; 48 30
short_addr $Keep_Process ; 49 31
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $GET_DPB ; 50 32
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr $SET_CTRL_C_TRAPPING ; 51 33
short_addr $GET_INDOS_FLAG ; 52 34
short_addr $GET_INTERRUPT_VECTOR ; 53 35
short_addr $GET_DRIVE_FREESPACE ; 54 36
short_addr $CHAR_OPER ; 55 37
short_addr $INTERNATIONAL ; 56 38
; XENIX CALLS
; Directory Group
short_addr $MKDIR ; 57 39
short_addr $RMDIR ; 58 3A
short_addr $CHDIR ; 59 3B
; File Group
short_addr $CREAT ; 60 3C
short_addr $OPEN ; 61 3D
short_addr $CLOSE ; 62 3E
short_addr $READ ; 63 3F
short_addr $WRITE ; 64 40
short_addr $UNLINK ; 65 41
short_addr $LSEEK ; 66 42
short_addr $CHMOD ; 67 43
short_addr $IOCTL ; 68 44
short_addr $DUP ; 69 45
short_addr $DUP2 ; 70 46
short_addr $CURRENT_DIR ; 71 47
; Memory Group
short_addr $ALLOC ; 72 48
short_addr $DEALLOC ; 73 49
short_addr $SETBLOCK ; 74 4A
; Process Group
short_addr $EXEC ; 75 4B
short_addr $EXIT ; 76 4C
short_addr $WAIT ; 77 4D
short_addr $FIND_FIRST ; 78 4E
; Special Group
short_addr $FIND_NEXT ; 79 4F
; SPECIAL SYSTEM GROUP
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $SET_CURRENT_PDB ; 80 50
short_addr $GET_CURRENT_PDB ; 81 51
short_addr $GET_IN_VARS ; 82 52
short_addr $SETDPB ; 83 53
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr $GET_VERIFY_ON_WRITE ; 84 54
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
; C A V E A T P R O G R A M M E R ;
; ;
short_addr $DUP_PDB ; 85 55
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
short_addr $RENAME ; 86 56
short_addr $FILE_TIMES ; 87 57
short_addr $AllocOper ; 88 58
MAXCOM = ($-DISPATCH)/2 - 1
CPMFUNC:
XOR AL,AL
return
IF NOT IBM
BREAK <Set_OEM_Handler -- Set OEM sys call address and handle OEM Calls>
$SET_OEM_HANDLER:
ASSUME DS:NOTHING,ES:NOTHING
; Inputs:
; User registers, User Stack, INTS disabled
; If CALL F8, DS:DX is new handler address
; Function:
; Process OEM INT 21 extensions
; Outputs:
; Jumps to OEM_HANDLER if appropriate
JNE DO_OEM_FUNC ; If above F8 try to jump to handler
MOV WORD PTR [OEM_HANDLER],DX ; Set Handler
MOV WORD PTR [OEM_HANDLER+2],DS
IRET ; Quick return, Have altered no registers
DO_OEM_FUNC:
CMP WORD PTR [OEM_HANDLER],-1
JNZ OEM_JMP
JMP BADCALL ; Handler not initialized
OEM_JMP:
JMP [OEM_HANDLER]
ENDIF
ASSUME SS:DOSGROUP
;
; $Set_current_PDB takes BX and sets it to be the current process
; *** THIS FUNCTION CALL IS SUBJECT TO CHANGE!!! ***
;
procedure $SET_CURRENT_PDB,NEAR
ASSUME DS:NOTHING,SS:NOTHING
MOV [CurrentPDB],BX
return
$SET_CURRENT_PDB ENDP
;
; $get_current_PDB returns in BX the current process
; *** THIS FUNCTION CALL IS SUBJECT TO CHANGE!!! ***
;
procedure $GET_CURRENT_PDB,NEAR
ASSUME DS:NOTHING,SS:NOTHING
invoke get_user_stack
PUSH [CurrentPDB]
POP [SI.user_BX]
return
$GET_CURRENT_PDB ENDP
; ;
; C A V E A T P R O G R A M M E R ;
;----+----+----+----+----+----+----+----+----+----+----+----+----+----+----;
BREAK <NullDev -- Driver for null device>
procedure SNULDEV,FAR
ASSUME DS:NOTHING,ES:NOTHING,SS:NOTHING
MOV WORD PTR [NULLDEVPT],BX
MOV WORD PTR [NULLDEVPT+2],ES
return
SNULDEV ENDP
procedure INULDEV,FAR
PUSH ES
PUSH BX
LES BX,[NULLDEVPT]
OR ES:[BX.REQSTAT],STDON ; Set done bit
POP BX
POP ES
return
INULDEV ENDP
BREAK <AbsDRD, AbsDWRT -- INT int_disk_read, int_disk_write handlers>>
IF IBM
ERRIN: ; Codes returned by BIOS
DB 2 ; NO RESPONSE
DB 6 ; SEEK FAILURE
DB 12 ; GENERAL ERROR
DB 4 ; BAD CRC
DB 8 ; SECTOR NOT FOUND
DB 0 ; WRITE ATTEMPT ON WRITE-PROTECT DISK
ERROUT: ; DISK ERRORS RETURNED FROM INT 25 and 26
DB 80H ; NO RESPONSE
DB 40H ; Seek failure
DB 2 ; Address Mark not found
DB 8 ; DMA OVERRUN
DB 4 ; SECTOR NOT FOUND
DB 3 ; WRITE ATTEMPT TO WRITE-PROTECT DISK
NUMERR EQU $-ERROUT
ENDIF
procedure ABSDRD,FAR
ASSUME DS:NOTHING,ES:NOTHING,SS:NOTHING
CLI
MOV [user_SS],SS
MOV [user_SP],SP
PUSH CS
POP SS
ASSUME SS:DOSGROUP
MOV SP,OFFSET DOSGROUP:DSKSTACK
INC BYTE PTR [INDOS]
STI
CLD
PUSH ES
PUSH DS
PUSH SS
POP DS
ASSUME DS:DOSGROUP
invoke GETBP
POP DS
ASSUME DS:NOTHING
JC ILEAVE
invoke DSKREAD
TLEAVE:
JZ ILEAVE
IF IBM
; Translate the error code to ancient 1.1 codes
PUSH ES
PUSH CS
POP ES
XOR AH,AH ; Nul error code
MOV CX,NUMERR ; Number of possible error conditions
MOV DI,OFFSET DOSGROUP:ERRIN ; Point to error conditions
REPNE SCASB
JNZ LEAVECODE ; Not found
MOV AH,ES:[DI+NUMERR-1] ; Get translation
LEAVECODE:
POP ES
ENDIF
STC
ILEAVE:
POP ES
CLI
DEC BYTE PTR [INDOS]
MOV SP,[user_SP]
MOV SS,[user_SS]
ASSUME SS:NOTHING
STI
return
ABSDRD ENDP
procedure ABSDWRT,FAR
ASSUME DS:NOTHING,ES:NOTHING,SS:NOTHING
CLI
MOV [user_SS],SS
MOV [user_SP],SP
PUSH CS
POP SS
ASSUME SS:DOSGROUP
MOV SP,OFFSET DOSGROUP:DSKSTACK
INC BYTE PTR [INDOS]
STI
CLD
PUSH ES
PUSH DS
PUSH SS
POP DS
ASSUME DS:DOSGROUP
invoke GETBP
POP DS
ASSUME DS:NOTHING
JC ILEAVE
invoke DSKWRITE
JMP TLEAVE
ABSDWRT ENDP
procedure SYS_RETURN,NEAR
ASSUME DS:NOTHING,ES:NOTHING
entry SYS_RET_OK
call get_user_stack
PUSH [SI.user_F]
POPF
CLC
JMP SHORT DO_RET
entry SYS_RET_ERR
XOR AH,AH ; hack to allow for smaller error rets
call get_user_stack
PUSH [SI.user_F]
POPF
STC
DO_RET:
MOV [SI.user_AX],AX ; Really only sets AH
PUSHF
POP [SI.user_F] ; dump on his flags
return
SYS_RETURN ENDP
do_ext
CODE ENDS
END
| 35.112195 | 84 | 0.410623 |
97527d60e4db11d54cc953a0c69172743e022897 | 506 | asm | Assembly | oeis/235/A235509.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/235/A235509.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/235/A235509.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A235509: Decimal expansion of arccos(4/5).
; Submitted by Jon Maiga
; 6,4,3,5,0,1,1,0,8,7,9,3,2,8,4,3,8,6,8,0,2,8,0,9,2,2,8,7,1,7,3,2,2,6,3,8,0,4,1,5,1,0,5,9,1,1,1,5,3,1,2,3,8,2,8,6,5,6,0,6,1,1,8,7,1,3,5,1,2,4,7,4,8,1,1,6,2,1,0,8,8,7,1,2,8,1,6,8,4,4,7,0,1,2,8,2,7,4,8,8
mov $1,1
mov $2,1
mov $3,$0
mul $3,4
lpb $3
mul $1,$3
mov $5,$3
mul $5,2
add $5,1
mul $2,$5
mul $2,5
add $1,$2
div $1,$5
div $2,$5
sub $3,1
lpe
mul $1,6
mov $4,10
pow $4,$0
div $2,$4
div $1,$2
mov $0,$1
mod $0,10
| 18.071429 | 201 | 0.525692 |
b3dec857340b2a498c602968c0faf56e0cf544ed | 298 | asm | Assembly | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_DrawUpdateStructAlways.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_DrawUpdateStructAlways.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_DrawUpdateStructAlways.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; sp1_DrawUpdateStructAlways(struct sp1_update *u)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_DrawUpdateStructAlways
EXTERN _sp1_DrawUpdateStructAlways_fastcall
_sp1_DrawUpdateStructAlways:
pop af
pop hl
push hl
push af
jp _sp1_DrawUpdateStructAlways_fastcall
| 14.9 | 50 | 0.808725 |
f1bcc7671db5e42da9d6f51b804921cead868ce7 | 46,691 | asm | Assembly | Library/Trans/SSheet/Lotus123/Import/importPostfixToInfix.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Library/Trans/SSheet/Lotus123/Import/importPostfixToInfix.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Library/Trans/SSheet/Lotus123/Import/importPostfixToInfix.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z |
COMMENT @-----------------------------------------------------------------------
Copyright (c) Geoworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: exportPostfixToInfix.asm
AUTHOR: Cheng, 10/91
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial revision
DESCRIPTION:
Code that converts Lotus' postfix formulas into GeoCalc's infix
formulas.
GOALS:
Hopefully, stuff will be written in a generic enough manner that
getting this code to work with formulas other than Lotus' will
be easy.
TERMINOLOGY:
EXPRESSION TREE:
In the course of our translation, we will build an
expression tree such that:
* binary operators will have 2 expression trees as children
* unary operators will have an expression tree as a child
* operands will have no children
* close paren will have an expression tree as a child
* functions will have their arguments chained together as children
PROBLEMS:
$Id: importPostfixToInfix.asm,v 1.1 97/04/07 11:41:43 newdeal Exp $
-------------------------------------------------------------------------------@
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaLotusPostfixToCalcInfix
DESCRIPTION: Translate a Lotus formula into GeoCalc parser tokens. The
task is complicated by the fact that Lotus stores formulas
in postorder whereas GeoCalc stores stuff in infix.
CALLED BY: INTERNAL ()
PASS: ImportStackFrame
ds:si - Lotus data stream
es:di - GeoCalc output stream
RETURN: ds:si - updated
es:di - updated
carry set if error
ax - TransError
DESTROYED:
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
FIRST SHOT AT ALGORITHM:
------------------------
repeat
t <- GetToken
save di
if (t in {range,cell,number,string}) then begin ; name=range
PushToken(t) ; save operand
end else if (t = operator) then begin
if (t is unary) then ; t is unary
PutToken(t) ; put operator
PopToken(x) ; retrieve operand
PutToken(x) ; put operand
else ; t is binary
x <- GetStackItem(2) ; retrieve first operand
PutToken(x) ; put first operand
PutToken(t) ; put operator
PopToken(x) ; retrieve 2nd operand
PutToken(x) ; put 2nd operand
DropToken(1) ; lose first operand
end else if (t = function) then begin
n <- GetNumArgs
PutToken(t) ; put function
for (i = n downto 1) do begin
x <- GetStackItem(i)
PutToken(x)
DropToken(n) ; lose n items
end
end else if (t = parenthesis) then begin
; parenthesize the last expression...
PutToken(right paren)
retrieve di
shift stuff down
PutToken(left paren)
end
until (t = return)
won't work because of inability to resolve parentheses
can I get by without building a tree?
SECOND ATTEMPT:
---------------
2 step process:
BuildTree();
TraverseTree();
BuildTree(expr)
;
; encodes an expression tree in a node array
;
begin
repeat
GetToken(t); ; get token and create a node
if (t in {range,cell,number,string}) then begin
PushNode(t);
end else if (t = UNARY_OPERATOR) then begin
PopNode(x) ; get node
AddChild(t,x)
PushNode(t)
end else if (t = BINARY_OPERATOR) then begin
PopNode(x)
AddChild(t,x)
PopNode(x)
AddChild(t,x)
PushNode(t)
end else if (t = CLOSE_PAREN) then begin
PopNode(x)
AddChild(t,x)
PushNode(t)
end else if (t = FUNCTION) then begin
a <- GetNumArgs()
for x = 1 to a do begin
PopNode(y)
AddChild(t,y)
endfor
end else if ((t = END_OF_FORMULA) then begin
PopNode(x)
x = root of expression tree
endif
until (t = END_OF_FORMULA)
end
TraverseTree(node)
begin
t <- GetToken(node);
if (t = CLOSE_PAREN) then begin
TranslateNode(OPEN_PAREN);
TraverseTree(Child(node));
TranslateNode(t);
end else if (t = UNARY_OPERATOR) then begin
TranslateNode(t);
TraverseTree(Child(node));
end else if (t = BINARY_OPERATOR) then begin
TraverseTree(Child1(node));
TranslateNode(t);
TraverseTree(Child2(node);
end else if (t = operand) then begin
TranslateNode(t);
end else if (t = FUNCTION) then begin
TranslateNode(t);
n <- num children
for x = 1 to n do
TraverseTree(ChildX(node))
endfor
end else if (t = END_OF_EXPR) then begin
TraverseTree(Child(node));
TranslateNode(t);
endif
end; {Translate}
TERMINOLOGY:
------------
EXPRESSION TREE:
Orgainized such that each node has a child pointer and a sibling
pointer. Multiple siblings form a chain. This is necessary because
functions can have multiple arguments.
NODE STRUCTURE:
Contains info about the node's token, its child and its sibling.
Frame nodes:
FRAME NODE:
A temporary node contained in the stack frame. We will have 2 frame
nodes. By giving an frame node offset, we can operate on either node.
FRAME NODE OFFSET:
An offset into the stack frame to a frame node.
Node array:
NODE ARRAY:
An array of node structures. This array will encode the expression
tree. Pointers to other nodes will actually be offsets into this
array.
NODE ARRAY OFFSET:
An offset into the node array to a node structure (possibly 0).
NODE ARRAY FREE POINTER:
Pointer to the next available location in the node array.
Node stack:
NODE STACK:
Stack used for node offsets.
NODE STACK POINTER:
Pointer to the top of the node stack.
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaLotusPostfixToCalcInfix proc near uses bx
locals local ImportStackFrame
SSM_local local SSMetaStruc
.enter inherit near
call ImportFormulaInit ; destroys ax
jc exit ; out of memory
call ImportFormulaBuildTree
jc exit
push ds,si
mov ds, locals.ISF_nodeArraySeg
mov si, locals.ISF_nodeArrayRoot ; ds:bx <- root of expr tree
call ImportFormulaTraverseTree
pop ds,si
call ImportFormulaExit
clc
exit:
.leave
ret
ImportFormulaLotusPostfixToCalcInfix endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaBuildTree
DESCRIPTION:
CALLED BY: INTERNAL (ImportFormulaLotusPostfixToCalcInfix)
PASS: ImportStackFrame
ds:si - Lotus data stream
RETURN: ds:si - updated
CF set on error
ax = TransError
DESTROYED: ax
REGISTER/STACK USAGE:
es:di - current node in the node array
PSEUDO CODE/STRATEGY:
BuildTree(expr)
;
; encodes an expression tree in a node array
;
begin
repeat
GetToken(t); ; get token and create a node
if (t in {range,cell,number,string}) then begin
PushNode(t);
end else if (t = UNARY_OPERATOR) then begin
PopNode(x) ; get node
AddChild(t,x)
PushNode(t)
end else if (t = BINARY_OPERATOR) then begin
PopNode(x)
AddChild(t,x)
PopNode(x)
AddChild(t,x)
PushNode(t)
end else if (t = CLOSE_PAREN) then begin
PopNode(x)
AddChild(t,x)
PushNode(t)
end else if (t = FUNCTION) then begin
a <- GetNumArgs()
for x = 1 to a do begin
PopNode(y)
AddChild(t,y)
endfor
end else if ((t = END_OF_FORMULA) then begin
PopNode(x)
x = root of expression tree
endif
until (t = END_OF_FORMULA)
end
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportBuildTreeRoutineLookup nptr \
offset ImportBuildTreeProcessOperand,
offset ImportBuildTreeProcessUnaryOp,
offset ImportBuildTreeProcessBinaryOp,
offset ImportBuildTreeProcessParentheses,
offset ImportBuildTreeProcessFunction,
offset ImportBuildTreeProcessEndOfExpr
if PZ_PCGEOS
BuildTreeClassificationLookup byte \
IMPORT_OPERAND, ; LOTUS_FUNCTION_CONSTANT 0h
IMPORT_OPERAND, ; LOTUS_FUNCTION_VARIABLE 1h
IMPORT_OPERAND, ; LOTUS_FUNCTION_RANGE 2h
IMPORT_END_OF_EXPR, ; LOTUS_FUNCTION_RETURN 3h
IMPORT_PARENTHESES, ; LOTUS_FUNCTION_PARENTHESES 4h
IMPORT_OPERAND, ; LOTUS_FUNCTION_2BYTE_INT 5h
IMPORT_OPERAND, ; LOTUS_FUNCTION_STR_CONST 6h
-1, ; 7h
IMPORT_UNARY_OP, ; LOTUS_FUNCTION_UMINUS 8h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_PLUS 9h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_SUB 0ah
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_MULTIPLY 0bh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_DIVIDE 0ch
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_EXPONENT 0dh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_EQUAL 0eh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_NOT_EQUAL 0fh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_LT_OR_EQUAL 10h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_GT_OR_EQUAL 11h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_LT 12h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_GT 13h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_AND 14h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_OR 15h
IMPORT_UNARY_OP, ; LOTUS_FUNCTION_NOT 16h
;1994-08-29(Mon)TOK ----------------
IMPORT_UNARY_OP, ; LOTUS_FUNCTION_UPLUS 17h
IMPORT_BINARY_OP ;'&'(Concatenation)
;----------------
else
BuildTreeClassificationLookup byte \
IMPORT_OPERAND, ; LOTUS_FUNCTION_CONSTANT 0h
IMPORT_OPERAND, ; LOTUS_FUNCTION_VARIABLE 1h
IMPORT_OPERAND, ; LOTUS_FUNCTION_RANGE 2h
IMPORT_END_OF_EXPR, ; LOTUS_FUNCTION_RETURN 3h
IMPORT_PARENTHESES, ; LOTUS_FUNCTION_PARENTHESES 4h
IMPORT_OPERAND, ; LOTUS_FUNCTION_2BYTE_INT 5h
IMPORT_OPERAND, ; LOTUS_FUNCTION_STR_CONST 6h
-1, ; 7h
IMPORT_UNARY_OP, ; LOTUS_FUNCTION_UMINUS 8h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_PLUS 9h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_SUB 0ah
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_MULTIPLY 0bh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_DIVIDE 0ch
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_EXPONENT 0dh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_EQUAL 0eh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_NOT_EQUAL 0fh
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_LT_OR_EQUAL 10h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_GT_OR_EQUAL 11h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_LT 12h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_GT 13h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_AND 14h
IMPORT_BINARY_OP, ; LOTUS_FUNCTION_OR 15h
IMPORT_UNARY_OP, ; LOTUS_FUNCTION_NOT 16h
IMPORT_UNARY_OP ; LOTUS_FUNCTION_UPLUS 17h
endif
if 0 ;** OUT ****************************************************************
;
; we will perform checks instead of doing lookup for these
;
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_NA 1fh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ERR 20h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ABS 21h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_INT 22h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SQRT 23h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_LOG 24h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_LN 25h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_PI 26h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SIN 27h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_COS 28h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TAN 29h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ATAN2 2ah
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ATAN 2bh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ASIN 2ch
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ACOS 2dh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_EXP 2eh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MOD 2fh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CHOOSE 30h,
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ISNA 31h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ISERR 32h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_FALSE 33h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TRUE 34h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_RAND 35h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DATE 36h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TODAY 37h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_PMT 38h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_PV 39h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_FV 3ah
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_IF 3bh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DAY 3ch
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MONTH 3dh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_YEAR 3eh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ROUND 3fh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TIME 40h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_HOUR 41h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MINUTE 42h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SECOND 43h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ISNUMBER 44h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ISSTRING 45h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_LENGTH 46h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_VALUE 47h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_FIXED 48h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MID 49h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CHR 4ah
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ASCII 4bh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_FIND 4ch
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DATEVALUE 4dh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TIMEVALUE 4eh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CELLPOINTER 4fh
;
; multiple argument opcodes follow
;
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SUM 50h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_AVG 51h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CNT 52h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MIN 53h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_MAX 54h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_VLOOKUP 55h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_NPV 56h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_VAR 57h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_STD 58h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_IRR 59h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_HLOOKUP 5ah
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DSUM 5bh ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DAVG 5ch ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DCNT 5dh ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DMIN 5eh ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DMAX 5fh ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DVAR 60h ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DSTD 61h ; dbase
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_INDEX 62h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_COLS 63h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_ROWS 64h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_REPEAT 65h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_UPPER 66h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_LOWER 67h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_LEFT 68h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_RIGHT 69h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_REPLACE 6ah
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_PROPER 6bh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CELL 6ch
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TRIM 6dh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CLEAN 6eh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_S 6fh
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_V 70h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_REQ 71h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CALL 72h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_APP 73h Symphony 1.0
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_RATE 74h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_TERM 75h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_CTERM 76h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SLN 77h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_SOY 78h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_DDB 79h
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_AAF_START 9ch
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_AAF_UNKNOWN 0ceh 123/2
byte IMPORT_FUNCTION ; LOTUS_FUNCTION_AAF_END 0ffh 123/2
endif ;***********************************************************************
LOTUS_MULT_ARG_FUNCTION = -128
LOTUS_SPECIAL_FUNCTION = -127
;
; (value >= 0) => number of arguments
; (value == LOTUS_MULT_ARG_FUNCTION) => variable number of arguments
; (-value (other than LOTUS_MULT_ARG_FUNCTION)) => function is not supported
; but value is the number of args the function takes
;
if PZ_PCGEOS
BuildTreeFixedArgFunctionNumArgsLookupTable byte \
0, ; LOTUS_FUNCTION_NA 1fh
0, ; LOTUS_FUNCTION_ERR 20h
1, ; LOTUS_FUNCTION_ABS 21h
1, ; LOTUS_FUNCTION_INT 22h
1, ; LOTUS_FUNCTION_SQRT 23h
1, ; LOTUS_FUNCTION_LOG 24h
1, ; LOTUS_FUNCTION_LN 25h
0, ; LOTUS_FUNCTION_PI 26h
1, ; LOTUS_FUNCTION_SIN 27h
1, ; LOTUS_FUNCTION_COS 28h
1, ; LOTUS_FUNCTION_TAN 29h
2, ; LOTUS_FUNCTION_ATAN2 2ah
1, ; LOTUS_FUNCTION_ATAN 2bh
1, ; LOTUS_FUNCTION_ASIN 2ch
1, ; LOTUS_FUNCTION_ACOS 2dh
1, ; LOTUS_FUNCTION_EXP 2eh
2, ; LOTUS_FUNCTION_MOD 2fh
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CHOOSE 30h
1, ; LOTUS_FUNCTION_ISNA 31h
1, ; LOTUS_FUNCTION_ISERR 32h
0, ; LOTUS_FUNCTION_FALSE 33h
0, ; LOTUS_FUNCTION_TRUE 34h
0, ; LOTUS_FUNCTION_RAND 35h
3, ; LOTUS_FUNCTION_DATE 36h
0, ; LOTUS_FUNCTION_TODAY 37h
3, ; LOTUS_FUNCTION_PMT 38h
3, ; LOTUS_FUNCTION_PV 39h
3, ; LOTUS_FUNCTION_FV 3ah
3, ; LOTUS_FUNCTION_IF 3bh
1, ; LOTUS_FUNCTION_DAY 3ch
1, ; LOTUS_FUNCTION_MONTH 3dh
1, ; LOTUS_FUNCTION_YEAR 3eh
2, ; LOTUS_FUNCTION_ROUND 3fh
3, ; LOTUS_FUNCTION_TIME 40h
1, ; LOTUS_FUNCTION_HOUR 41h
1, ; LOTUS_FUNCTION_MINUTE 42h
1, ; LOTUS_FUNCTION_SECOND 43h
1, ; LOTUS_FUNCTION_ISNUMBER 44h
1, ; LOTUS_FUNCTION_ISSTRING 45h
1, ; LOTUS_FUNCTION_LENGTH 46h
1, ; LOTUS_FUNCTION_VALUE 47h
2, ; LOTUS_FUNCTION_STRING 48h
3, ; LOTUS_FUNCTION_MID 49h
1, ; LOTUS_FUNCTION_CHR 4ah
1, ; LOTUS_FUNCTION_ASCII 4bh
3, ; LOTUS_FUNCTION_FIND 4ch
1, ; LOTUS_FUNCTION_DATEVALUE 4dh
1, ; LOTUS_FUNCTION_TIMEVALUE 4eh
1, ; LOTUS_FUNCTION_CELLPOINTER 4fh
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_SUM 50h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_AVG 51h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CNT 52h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_MIN 53h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_MAX 54h
3, ; LOTUS_FUNCTION_VLOOKUP 55h
2, ; LOTUS_FUNCTION_NPV 56h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_VAR 57h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_STD 58h
2, ; LOTUS_FUNCTION_IRR 59h
3, ; LOTUS_FUNCTION_HLOOKUP 5ah
3, ; LOTUS_FUNCTION_DSUM 5bh ; dbase
3, ; LOTUS_FUNCTION_DAVG 5ch ; dbase
3, ; LOTUS_FUNCTION_DCNT 5dh ; dbase
3, ; LOTUS_FUNCTION_DMIN 5eh ; dbase
3, ; LOTUS_FUNCTION_DMAX 5fh ; dbase
3, ; LOTUS_FUNCTION_DVAR 60h ; dbase
3, ; LOTUS_FUNCTION_DSTD 61h ; dbase
3, ; LOTUS_FUNCTION_INDEX 62h
1, ; LOTUS_FUNCTION_COLS 63h
1, ; LOTUS_FUNCTION_ROWS 64h
2, ; LOTUS_FUNCTION_REPEAT 65h
1, ; LOTUS_FUNCTION_UPPER 66h
1, ; LOTUS_FUNCTION_LOWER 67h
2, ; LOTUS_FUNCTION_LEFT 68h
2, ; LOTUS_FUNCTION_RIGHT 69h
4, ; LOTUS_FUNCTION_REPLACE 6ah
1, ; LOTUS_FUNCTION_PROPER 6bh
2, ; LOTUS_FUNCTION_CELL 6ch
1, ; LOTUS_FUNCTION_TRIM 6dh
1, ; LOTUS_FUNCTION_CLEAN 6eh
1, ; LOTUS_FUNCTION_S 6fh
1, ; LOTUS_FUNCTION_N 70h
2, ; LOTUS_FUNCTION_EXACT 71h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CALL 72h
1, ; LOTUS_FUNCTION_APP 73h Sym 1.0
3, ; LOTUS_FUNCTION_RATE 74h
3, ; LOTUS_FUNCTION_TERM 75h
3, ; LOTUS_FUNCTION_CTERM 76h
3, ; LOTUS_FUNCTION_SLN 77h
4, ; LOTUS_FUNCTION_SOY 78h
4, ; LOTUS_FUNCTION_DDB 79h
;1994-08-04(Thu)TOK ----------------
-1, ;7ah = @FULLP is Japanese only.
-1, ;7bh = @HALFP is Japanese only.
-1, ;dummy
-2, ;7dh = @SUUJI is Japanese only.
-1, ;7eh = @NENGO is Japanese only.
-1, ;7fh = @DECIMAL is Japanese only.
-1, ;80h = @HEX is Japanese only.
4, ;81h = @DB is Japanese only.
-2, ;82h = @RANK is Japanese only.
-1, ;83h = @PUREAVG is Japanese only.
-1, ;84h = @PURECOUNT is Japanese only.
-1, ;85h = @PUREMAX is Japanese only.
-1, ;86h = @PUREMIN is Japanese only.
-1, ;87h = @PURESTD is Japanese only.
-1, ;88h = @PUREVAR is Japanese only.
-3, ;89h = @DATEDIF is Japanese only.
-1, ;8ah = @AYOUBI is Japanese only.
-4, ;8bh = @GANRI is Japanese only.
-4, ;8ch = @GANKIN is Japanese only.
LOTUS_SPECIAL_FUNCTION, ; LOTUS_FUNCTION_AAF_START 9ch
LOTUS_SPECIAL_FUNCTION, ; LOTUS_FUNCTION_AAF_UNKNOWN 0ceh 123/2
LOTUS_SPECIAL_FUNCTION ; LOTUS_FUNCTION_AAF_END 0ffh 123/2
else
BuildTreeFixedArgFunctionNumArgsLookupTable byte \
0, ; LOTUS_FUNCTION_NA 1fh
0, ; LOTUS_FUNCTION_ERR 20h
1, ; LOTUS_FUNCTION_ABS 21h
1, ; LOTUS_FUNCTION_INT 22h
1, ; LOTUS_FUNCTION_SQRT 23h
1, ; LOTUS_FUNCTION_LOG 24h
1, ; LOTUS_FUNCTION_LN 25h
0, ; LOTUS_FUNCTION_PI 26h
1, ; LOTUS_FUNCTION_SIN 27h
1, ; LOTUS_FUNCTION_COS 28h
1, ; LOTUS_FUNCTION_TAN 29h
2, ; LOTUS_FUNCTION_ATAN2 2ah
1, ; LOTUS_FUNCTION_ATAN 2bh
1, ; LOTUS_FUNCTION_ASIN 2ch
1, ; LOTUS_FUNCTION_ACOS 2dh
1, ; LOTUS_FUNCTION_EXP 2eh
2, ; LOTUS_FUNCTION_MOD 2fh
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CHOOSE 30h
1, ; LOTUS_FUNCTION_ISNA 31h
1, ; LOTUS_FUNCTION_ISERR 32h
0, ; LOTUS_FUNCTION_FALSE 33h
0, ; LOTUS_FUNCTION_TRUE 34h
0, ; LOTUS_FUNCTION_RAND 35h
3, ; LOTUS_FUNCTION_DATE 36h
0, ; LOTUS_FUNCTION_TODAY 37h
3, ; LOTUS_FUNCTION_PMT 38h
3, ; LOTUS_FUNCTION_PV 39h
3, ; LOTUS_FUNCTION_FV 3ah
3, ; LOTUS_FUNCTION_IF 3bh
1, ; LOTUS_FUNCTION_DAY 3ch
1, ; LOTUS_FUNCTION_MONTH 3dh
1, ; LOTUS_FUNCTION_YEAR 3eh
2, ; LOTUS_FUNCTION_ROUND 3fh
3, ; LOTUS_FUNCTION_TIME 40h
1, ; LOTUS_FUNCTION_HOUR 41h
1, ; LOTUS_FUNCTION_MINUTE 42h
1, ; LOTUS_FUNCTION_SECOND 43h
1, ; LOTUS_FUNCTION_ISNUMBER 44h
1, ; LOTUS_FUNCTION_ISSTRING 45h
1, ; LOTUS_FUNCTION_LENGTH 46h
1, ; LOTUS_FUNCTION_VALUE 47h
2, ; LOTUS_FUNCTION_STRING 48h
3, ; LOTUS_FUNCTION_MID 49h
1, ; LOTUS_FUNCTION_CHR 4ah
1, ; LOTUS_FUNCTION_ASCII 4bh
3, ; LOTUS_FUNCTION_FIND 4ch
1, ; LOTUS_FUNCTION_DATEVALUE 4dh
1, ; LOTUS_FUNCTION_TIMEVALUE 4eh
1, ; LOTUS_FUNCTION_CELLPOINTER 4fh
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_SUM 50h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_AVG 51h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CNT 52h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_MIN 53h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_MAX 54h
3, ; LOTUS_FUNCTION_VLOOKUP 55h
2, ; LOTUS_FUNCTION_NPV 56h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_VAR 57h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_STD 58h
2, ; LOTUS_FUNCTION_IRR 59h
3, ; LOTUS_FUNCTION_HLOOKUP 5ah
3, ; LOTUS_FUNCTION_DSUM 5bh ; dbase
3, ; LOTUS_FUNCTION_DAVG 5ch ; dbase
3, ; LOTUS_FUNCTION_DCNT 5dh ; dbase
3, ; LOTUS_FUNCTION_DMIN 5eh ; dbase
3, ; LOTUS_FUNCTION_DMAX 5fh ; dbase
3, ; LOTUS_FUNCTION_DVAR 60h ; dbase
3, ; LOTUS_FUNCTION_DSTD 61h ; dbase
3, ; LOTUS_FUNCTION_INDEX 62h
1, ; LOTUS_FUNCTION_COLS 63h
1, ; LOTUS_FUNCTION_ROWS 64h
2, ; LOTUS_FUNCTION_REPEAT 65h
1, ; LOTUS_FUNCTION_UPPER 66h
1, ; LOTUS_FUNCTION_LOWER 67h
2, ; LOTUS_FUNCTION_LEFT 68h
2, ; LOTUS_FUNCTION_RIGHT 69h
4, ; LOTUS_FUNCTION_REPLACE 6ah
1, ; LOTUS_FUNCTION_PROPER 6bh
2, ; LOTUS_FUNCTION_CELL 6ch
1, ; LOTUS_FUNCTION_TRIM 6dh
1, ; LOTUS_FUNCTION_CLEAN 6eh
1, ; LOTUS_FUNCTION_S 6fh
1, ; LOTUS_FUNCTION_N 70h
2, ; LOTUS_FUNCTION_EXACT 71h
LOTUS_MULT_ARG_FUNCTION,; LOTUS_FUNCTION_CALL 72h
1, ; LOTUS_FUNCTION_APP 73h Sym 1.0
3, ; LOTUS_FUNCTION_RATE 74h
3, ; LOTUS_FUNCTION_TERM 75h
3, ; LOTUS_FUNCTION_CTERM 76h
3, ; LOTUS_FUNCTION_SLN 77h
4, ; LOTUS_FUNCTION_SOY 78h
4, ; LOTUS_FUNCTION_DDB 79h
LOTUS_SPECIAL_FUNCTION, ; LOTUS_FUNCTION_AAF_START 9ch
LOTUS_SPECIAL_FUNCTION, ; LOTUS_FUNCTION_AAF_UNKNOWN 0ceh 123/2
LOTUS_SPECIAL_FUNCTION ; LOTUS_FUNCTION_AAF_END 0ffh 123/2
endif
if DBCS_PCGEOS ;1994-08-29(Mon)TOK ----------------
IMPORT_END_OPERATORS_AND_OPERANDS = 18h ;18h = '&'(Concatenation)
else ;----------------
IMPORT_END_OPERATORS_AND_OPERANDS = LOTUS_FUNCTION_UPLUS
endif ;----------------
IMPORT_START_FUNCTIONS = LOTUS_FUNCTION_NA
IMPORT_END_FUNCTIONS = LOTUS_FUNCTION_DDB
IMPORT_MISC_FUNC1 = LOTUS_FUNCTION_AAF_START
IMPORT_MISC_FUNC2 = LOTUS_FUNCTION_AAF_UNKNOWN
IMPORT_MISC_FUNC3 = LOTUS_FUNCTION_AAF_END
ImportFormulaBuildTree proc near uses bx,es,di
locals local ImportStackFrame
.enter inherit near
mov es, locals.ISF_nodeArraySeg
processLoop:
call ImportFormulaGetToken ; al <- token type, bx <- offset
jc done ; return CF set on error
cmp al, IMPORT_FUNCTION
jne doNonFunction
;-----------------------------------------------------------------------
; functions
mov al, es:[bx].IFN_token
if DBCS_PCGEOS ;1994-08-04(Thu)TOK ----------------
cmp al, 7ch
je NextCheck
cmp al, 8dh
jae NextCheck
jmp short DoneCheck ;@function is assigned in Japanese 1-2-3.
NextCheck:
endif ;----------------
cmp al, IMPORT_END_FUNCTIONS
jg processSpecialFunction
if DBCS_PCGEOS ;1994-08-04(Thu)TOK ----------------
DoneCheck:
endif ;----------------
;
; get number of args the function takes
;
clr ah
mov di, ax
sub di, LOTUS_FUNCTION_NA ; di <- offset into table
mov al, cs:[BuildTreeFixedArgFunctionNumArgsLookupTable][di]
cmp al, LOTUS_MULT_ARG_FUNCTION
je processMultArgFunction
; cmp al, LOTUS_SPECIAL_FUNCTION
; je processSpecialFunction
tst al
jns processFunction
;processUnsupportedFunction:
; pop args off node stack
; substitute function with error function
neg al ; al <- num args
call ImportBuildTreeIgnoreFunction
jmp short processLoop
processSpecialFunction:
; fatal error for now
EC< ERROR IMPEX_ASSERTION_FAILED >
; jmp short processLoop
processMultArgFunction:
lodsb ; al <- num args
processFunction:
call ImportBuildTreeProcessFunction
jmp short processLoop
;-----------------------------------------------------------------------
; non-functions
doNonFunction:
;
; retrieve routine offset from lookup table
;
clr ah
mov di, ax
shl di, 1 ; di <- offset into table
mov di, cs:[ImportBuildTreeRoutineLookup][di]
call di ; pass bx = node array offset
cmp es:[bx].IFN_token, LOTUS_FUNCTION_RETURN ; end?
jne processLoop ; loop if not
;
; make sure that nothing is left on the node stack
;
EC< cmp locals.ISF_nodeStackTopOff, 0 >
EC< ERROR_NE IMPEX_NODE_STACK_NOT_EMPTY >
;
; NOTE: carry *IS* already clear at this point in both EC and non-EC
;
done:
; return carry flag
.leave
ret
ImportFormulaBuildTree endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportBuildTreeProcess...
DESCRIPTION: Add to the structure of the tree by processing the current token
and making the necessary child and sibling links.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
bx - node array offset of current token
RETURN: nothing
DESTROYED: ax
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportBuildTreeProcessOperand proc near
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeProcessOperand endp
ImportBuildTreeProcessUnaryOp proc near uses di
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
if DBCS_PCGEOS ;1994-08-31(Wed)TOK ----------------
cmp es:[bx].IFN_token, LOTUS_FUNCTION_NOT
jne NotNOT
mov es:[bx].IFN_token, LOTUS_FUNCTION_ERR
mov es:[bx].IFN_tokenType, IMPORT_FUNCTION
NotNOT:
endif ;----------------
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeProcessUnaryOp endp
ImportBuildTreeProcessBinaryOp proc near uses di
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeProcessBinaryOp endp
ImportBuildTreeProcessParentheses proc near
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeProcessParentheses endp
ImportBuildTreeProcessEndOfExpr proc near
locals local ImportStackFrame
.enter inherit near
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
mov locals.ISF_nodeArrayRoot, di ; store root
.leave
ret
ImportBuildTreeProcessEndOfExpr endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportBuildTreeProcessFunction
DESCRIPTION: Add to the structure of the tree by processing the current
function and making the necessary child and sibling links.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
al - number of arguments
ds:si - Lotus data stream
bx - node array offset of function token
RETURN: nothing
DESTROYED: ax,di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportBuildTreeProcessFunction proc near
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportBuildTreeProcessFunctionAddChildren
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeProcessFunction endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportBuildTreeIgnoreFunction
DESCRIPTION: The current function is not supported. Add to the structure of
the tree by processing the current function and making the
necessary child and sibling links but substitute ERR for the
function.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
al - number of arguments
ds:si - Lotus data stream
bx - node array offset of function token
RETURN: nothing
DESTROYED: ax,di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportBuildTreeIgnoreFunction proc near uses ch
locals local ImportStackFrame
ForceRef locals
.enter inherit near
call ImportBuildTreeProcessFunctionAddChildren
;
; Alternatively, I could have copied much of function
; ImportBuildTreeProcessFunctionAddChildren and not have built
; the child and sibling links but using the function seems to allow
; more possibilities for now...
; This probably should be changed as an optimization.
;
mov es:[bx].IFN_token, LOTUS_FUNCTION_ERR
; mov es:[bx].IFN_numChildren, 0
; mov es:[bx].IFN_childOffset, NULL_PTR
; mov es:[bx].IFN_siblingOffset, NULL_PTR
call ImportFormulaPushNode ; pass bx=node array offset
.leave
ret
ImportBuildTreeIgnoreFunction endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportBuildTreeProcessFunctionAddChildren
DESCRIPTION: Add to the structure of the tree by processing the current
function and making the necessary child and sibling links.
CALLED BY: INTERNAL (ImportBuildTreeProcessFunction,
ImportBuildTreeIgnoreFunction)
PASS: ImportStackFrame
al - number of arguments
ds:si - Lotus data stream
bx - node array offset of function token
RETURN: nothing
DESTROYED: ax,di
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportBuildTreeProcessFunctionAddChildren proc near uses cx
locals local ImportStackFrame
ForceRef locals
.enter inherit near
;
; a == num args
; for x = 1 to a do begin
; PopNode()
; AddChild()
; endfor
; note top of stack
;
tst al
je done
mov cl, al
clr ch ; cx <- num args
popLoop:
call ImportFormulaPopNode ; di <- node array offset
call ImportFormulaAddChild ; pass bx=parent, di=child
loop popLoop
done:
.leave
ret
ImportBuildTreeProcessFunctionAddChildren endp
;*******************************************************************************
;
; SUPPORT ROUTINES
;
;*******************************************************************************
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaInit
DESCRIPTION: Allocate the mem blocks that will be used as the node array
and the node stack.
CALLED BY: INTERNAL (ImportFormulaLotusPostfixToCalcInfix)
PASS: ImportStackFrame
ds:si - Lotus data stream
es:di - GeoCalc output stream
RETURN: carry set if error
ax - TransError
DESTROYED: ax
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaInit proc near uses bx,cx
locals local ImportStackFrame
.enter inherit near
;
; save addresses
;
mov locals.ISF_lotusDataStream.offset, si
mov locals.ISF_lotusDataStream.segment, ds
mov locals.ISF_geocalcOutputStream.offset, di
mov locals.ISF_geocalcOutputStream.segment, es
;
; allocate space
;
mov ax, size ImportFormulaNode * IMPORT_FORMULA_MAX_NODES
mov cx, (mask HAF_ZERO_INIT or mask HAF_LOCK) shl 8 or \
mask HF_SWAPABLE
call MemAlloc
jc error
mov locals.ISF_nodeArrayHan, bx
clr locals.ISF_nodeArrayFreeOff
mov locals.ISF_nodeArraySeg, ax
mov ax, IMPORT_FORMULA_MAX_TOKENS * 2 ; we're using words
mov cx, (mask HAF_ZERO_INIT or mask HAF_LOCK) shl 8 or \
mask HF_SWAPABLE
call MemAlloc
jc error
mov locals.ISF_nodeStackHan, bx
clr locals.ISF_nodeStackTopOff
mov locals.ISF_nodeStackSeg, ax
done:
.leave
ret
error:
mov ax, TE_OUT_OF_MEMORY
jmp done
ImportFormulaInit endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaExit
DESCRIPTION: Clean up.
CALLED BY: INTERNAL (ImportFormulaLotusPostfixToCalcInfix)
PASS: ImportStackFrame
RETURN: nothing
DESTROYED: nothing
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaExit proc near uses bx
locals local ImportStackFrame
.enter inherit near
mov bx, locals.ISF_nodeStackHan
call MemFree
mov bx, locals.ISF_nodeArrayHan
call MemFree
.leave
ret
ImportFormulaExit endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaGetToken
DESCRIPTION: Retrieves a token from the Lotus data stream and create a
node for it. This node will then be added to the token
stack array.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ds:si - Lotus data stream
RETURN: ds:si - updated to point to next token
al - token type (ImportFunctionTokenType)
bx - node array offset
CF set if error
ax = TransError
DESTROYED: ah
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
if PZ_PCGEOS
ImportLotusTokenDataSizeLookup byte \
8, ; constant 0
4, ; variable
8, ; range
0, ; return
0, ; parentheses
2, ; 2 byte int 5
-2, ; string constant
-1, ; illegal
0, ; unary minus
0, ; plus
0, ; minus 10
0, ; multiplication
0, ; division
0, ; exponentiation
0, ; =
0, ; <> 15
0, ; <=
0, ; >=
0, ; <
0, ; >
0, ; AND 20
0, ; OR
0, ; NOT
;1994-08-29(Mon)TOK ----------------
0, ; unary plus
0 ;'&'(Concatenation)
;----------------
else
ImportLotusTokenDataSizeLookup byte \
8, ; constant 0
4, ; variable
8, ; range
0, ; return
0, ; parentheses
2, ; 2 byte int 5
-2, ; string constant
-1, ; illegal
0, ; unary minus
0, ; plus
0, ; minus 10
0, ; multiplication
0, ; division
0, ; exponentiation
0, ; =
0, ; <> 15
0, ; <=
0, ; >=
0, ; <
0, ; >
0, ; AND 20
0, ; OR
0, ; NOT
0 ; unary plus
endif
ImportFormulaGetToken proc near uses es,di
locals local ImportStackFrame
.enter inherit near
;-----------------------------------------------------------------------
; create a node
; we assume that the array has been zero-initialized
les di, locals.ISF_nodeArrayFreePtr
mov es:[di].IFN_tokenOffset, si
lodsb
mov es:[di].IFN_token, al
EC< cmp es:[di].IFN_numChildren, 0 >
EC< ERROR_NE IMPEX_INVALID_DATA_IN_NODE_ARRAY >
EC< cmp es:[di].IFN_childOffset, 0
EC< ERROR_NE IMPEX_INVALID_DATA_IN_NODE_ARRAY >
EC< cmp es:[di].IFN_siblingOffset, 0
EC< ERROR_NE IMPEX_INVALID_DATA_IN_NODE_ARRAY >
mov {word} es:[di].IFN_childOffset, NULL_PTR
mov {word} es:[di].IFN_siblingOffset, NULL_PTR
add locals.ISF_nodeArrayFreeOff, size ImportFormulaNode
cmp locals.ISF_nodeArrayFreeOff, \
size ImportFormulaNode * IMPORT_FORMULA_MAX_NODES
EC < WARNING_GE IMPEX_NODE_ARRAY_OVERFLOW >
jge error
;-----------------------------------------------------------------------
; al = Lotus token
; store token type
clr ah
mov bx, ax
cmp al, IMPORT_END_OPERATORS_AND_OPERANDS
ja doFunction
;
; put ImportFunctionTokenType in al
;
mov al, cs:[BuildTreeClassificationLookup][bx]
mov es:[di].IFN_tokenType, al ; store token type
jmp short doneTokenType
doFunction:
;
; ensure valid function
; check for garbage
; take care of special functions first
;
cmp al, IMPORT_MISC_FUNC1
je checkDone
cmp al, IMPORT_MISC_FUNC2
je checkDone
cmp al, IMPORT_MISC_FUNC3
je checkDone
cmp al, IMPORT_START_FUNCTIONS
EC < WARNING_B IMPEX_IMPORTING_INVALID_DATA >
jb error
if DBCS_PCGEOS ;1994-08-04(Thu)TOK ----------------
cmp al, 7ch
je NextCheck
cmp al, 8dh
jae NextCheck
jmp short checkDone ;@function is assigned in Japanese 1-2-3.
NextCheck:
endif ;----------------
cmp al, IMPORT_END_FUNCTIONS
EC < WARNING_A IMPEX_IMPORTING_INVALID_DATA >
ja error
checkDone:
mov al, IMPORT_FUNCTION
mov es:[di].IFN_tokenType, al
clr al ; al <- length of token data
jmp short incSI
doneTokenType:
;-----------------------------------------------------------------------
; inc si depending on token
mov al, cs:[ImportLotusTokenDataSizeLookup][bx] ; al <- size
cmp al, -2
jne incSI
;
; string constant => need to skip past null terminator
;
locateLoop:
lodsb
tst al
jne locateLoop
jmp short done
incSI:
add si, ax ; update si
if DBCS_PCGEOS ;1994-09-01(Thu)TOK ----------------
cmp bl, 38h ;38h = @PMT
je IsNumberArgument3
cmp bl, 39h ;39h = @PV
je IsNumberArgument3
cmp bl, 3ah ;3ah = @FV
je IsNumberArgument3
cmp bl, 46h ;46h = @LENGTH
je IsNumberArgument1
cmp bl, 49h ;49h = @MID
je IsNumberArgument3
cmp bl, 4ch ;4ch = @FIND
je IsNumberArgument3
cmp bl, 68h ;68h = @LEFT
je IsNumberArgument2
cmp bl, 69h ;69h = @RIGHT
je IsNumberArgument2
cmp bl, 6ah ;6ah = @REPLACE
je IsNumberArgument4
cmp bl, 75h ;75h = @TERM
je IsNumberArgument3
cmp bl, 82h ;82h = @RANK is Japanese only.
je IsNumberArgument2
jmp short CheckNext
IsNumberArgument1:
lodsb
cmp al, 1
jne SetNumberArgument
jmp short done
IsNumberArgument2:
lodsb
cmp al, 2
jne SetNumberArgument
jmp short done
IsNumberArgument3:
lodsb
cmp al, 3
jne SetNumberArgument
jmp short done
IsNumberArgument4:
lodsb
cmp al, 4
jne SetNumberArgument
jmp short done
SetNumberArgument:
neg al
push di
mov di, bx
sub di, LOTUS_FUNCTION_NA
mov cs:[BuildTreeFixedArgFunctionNumArgsLookupTable][di], al
pop di
jmp short done
CheckNext:
cmp bl, 00h ;00h = constant, floating point
je SkipOver
cmp bl, 83h ;83h = @PUREAVG is Japanese only.
je SkipOver
cmp bl, 84h ;84h = @PURECOUNT is Japanese only.
je SkipOver
cmp bl, 85h ;85h = @PUREMAX is Japanese only.
je SkipOver
cmp bl, 86h ;86h = @PUREMIN is Japanese only.
je SkipOver
cmp bl, 87h ;87h = @PURESTD is Japanese only.
je SkipOver
cmp bl, 88h ;88h = @PUREVAR is Japanese only.
je SkipOver
jmp short done
SkipOver:
inc si ;for Japanese 1-2-3 worksheet file format
endif ;----------------
done:
mov al, es:[di].IFN_tokenType
mov bx, di ; bx <- node array offset
clc
exit:
.leave
ret
error:
mov ax, TE_IMPORT_ERROR
stc
jmp exit
ImportFormulaGetToken endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaPushNode
DESCRIPTION: Push the node array offset onto the node stack.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
bx - node array offset
RETURN: nothing
DESTROYED: ax
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaPushNode proc near uses es,di
locals local ImportStackFrame
.enter inherit near
les di, locals.ISF_nodeStackTopAddr ; es:di <- top of stk
mov ax, bx
stosw ; store offset
mov locals.ISF_nodeStackTopOff, di ; update top of stk
EC< cmp di, IMPORT_FORMULA_MAX_TOKENS * 2 >
EC< ERROR_AE IMPEX_NODE_STACK_OVERFLOW >
.leave
ret
ImportFormulaPushNode endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaPopNode
DESCRIPTION: Pop an node array offset off of the node stack.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
RETURN: ax,di - node array offset
DESTROYED: nothing
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaPopNode proc near uses ds,si
locals local ImportStackFrame
.enter inherit near
sub locals.ISF_nodeStackTopOff, 2 ; dec top of stk
lds si, locals.ISF_nodeStackTopAddr ; ds:si <- top of stk
EC< cmp si, 0 >
EC< ERROR_L IMPEX_NODE_STACK_UNDERFLOW >
lodsw ; ax <- offset
mov di, ax
.leave
ret
ImportFormulaPopNode endp
COMMENT @-----------------------------------------------------------------------
FUNCTION: ImportFormulaAddChild
DESCRIPTION: Make the given node a child of another.
CALLED BY: INTERNAL (ImportFormulaBuildTree)
PASS: ImportStackFrame
es - ISF_nodeArraySeg
bx - node array offset of parent
di - node array offset of child
RETURN: nothing
DESTROYED: ax
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Cheng 10/91 Initial version
-------------------------------------------------------------------------------@
ImportFormulaAddChild proc near uses bx,di
locals local ImportStackFrame
.enter inherit near
inc es:[bx].IFN_numChildren ; up child count
push di ; save new child
xchg es:[bx].IFN_childOffset, di ; di<-old child,new child stored
pop bx ; retrieve new child
mov es:[bx].IFN_siblingOffset, di ; make old child the sibling
if 0 ; LIFO addition, unwanted **********************************************
xchg bx, di ; di <- parent, bx <- child
cmp es:[di].IFN_numChildren, 0
jne notFirstChild
;-----------------------------------------------------------------------
; tack on child as 1st child
EC< cmp es:[di].IFN_childOffset, NULL_PTR >
EC< ERROR_NE IMPEX_INVALID_DATA_IN_NODE_ARRAY >
mov es:[di].IFN_childOffset, bx ; store child's offset
jmp short doneAdding
notFirstChild:
;-----------------------------------------------------------------------
; locate end of child chain
; tack on child as sibling
push bx ; save child ptr
mov bx, es:[di].IFN_childOffset ; es:bx <- 1st child
locateLastChildLoop:
cmp {word} es:[bx].IFN_siblingOffset, NULL_PTR
je lastChildFound
mov bx, es:[bx].IFN_siblingOffset ; es:bx <- next child
jmp short locateLastChildLoop
lastChildFound:
pop es:[bx].IFN_siblingOffset
doneAdding:
;
; inc child count
;
inc es:[di].IFN_numChildren ; up child count
endif ;***********************************************************************
.leave
ret
ImportFormulaAddChild endp
| 27.726247 | 81 | 0.664668 |
77a2c67bedf268e3f0e3cd05c067efbccc298bd7 | 1,714 | a51 | Assembly | source/EzUsb_Firmware_v19/USBJmpTb.a51 | waveidea/bs3x | baba680be0302f8fd7307716f11967e5dd5f2408 | [
"Xnet",
"X11"
] | 22 | 2015-02-01T11:50:28.000Z | 2021-11-25T23:18:54.000Z | source/EzUsb_Firmware_v19/USBJmpTb.a51 | waveidea/bs3x | baba680be0302f8fd7307716f11967e5dd5f2408 | [
"Xnet",
"X11"
] | null | null | null | source/EzUsb_Firmware_v19/USBJmpTb.a51 | waveidea/bs3x | baba680be0302f8fd7307716f11967e5dd5f2408 | [
"Xnet",
"X11"
] | 8 | 2015-02-01T11:53:24.000Z | 2022-01-25T06:15:33.000Z | NAME USBJmpTbl
extrn code (ISR_Sudav, ISR_Sof, ISR_Sutok, ISR_Susp, ISR_Ures, ISR_IBN, ISR_Ep0in, ISR_Ep0out, ISR_Ep1in, ISR_Ep1out, ISR_Ep2in, ISR_Ep2out, ISR_Ep3in, ISR_Ep3out, ISR_Ep4in, ISR_Ep4out, ISR_Ep5in, ISR_Ep5out, ISR_Ep6in, ISR_Ep6out, ISR_Ep7in, ISR_Ep7out)
public USB_AutoVector, USB_Jump_Table
;------------------------------------------------------------------------------
; Interrupt Vectors
;------------------------------------------------------------------------------
CSEG AT 43H
USB_AutoVector equ $ + 2
ljmp USB_Jump_Table ; Autovector will replace byte 45
;------------------------------------------------------------------------------
; USB Jump Table
;------------------------------------------------------------------------------
?PR?USB_JUMP_TABLE?USBJT segment code page ; Place jump table on a page boundary
RSEG ?PR?USB_JUMP_TABLE?USBJT ; autovector jump table
USB_Jump_Table:
ljmp ISR_Sudav ; Setup Data Available
db 0
ljmp ISR_Sof ; Start of Frame
db 0
ljmp ISR_Sutok ; Setup Data Loading
db 0
ljmp ISR_Susp ; Global Suspend
db 0
ljmp ISR_Ures ; USB Reset
db 0
ljmp ISR_IBN ; IN Bulk NAK interrupt
db 0
ljmp ISR_Ep0in ; End Point 0 In
db 0
ljmp ISR_Ep0out ; End Point 0 Out
db 0
ljmp ISR_Ep1in ; End Point 1 In
db 0
ljmp ISR_Ep1out ; End Point 1 Out
db 0
ljmp ISR_Ep2in
db 0
ljmp ISR_Ep2out
db 0
ljmp ISR_Ep3in
db 0
ljmp ISR_Ep3out
db 0
ljmp ISR_Ep4in
db 0
ljmp ISR_Ep4out
db 0
ljmp ISR_Ep5in
db 0
ljmp ISR_Ep5out
db 0
ljmp ISR_Ep6in
db 0
ljmp ISR_Ep6out
db 0
ljmp ISR_Ep7in
db 0
ljmp ISR_Ep7out
db 0
;
end
| 27.206349 | 257 | 0.564177 |
13e07e55ef7c8aab935ccfe53c7cae25b3656512 | 12,305 | asm | Assembly | Driver/Task/NonTS/nontsShutdown.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Task/NonTS/nontsShutdown.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Task/NonTS/nontsShutdown.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: nontsShutdown.asm
AUTHOR: Adam de Boor, May 11, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Adam 5/11/92 Initial revision
DESCRIPTION:
Code to handle the two shutdown calls.
$Id: nontsShutdown.asm,v 1.1 97/04/18 11:58:18 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
NTSMovableCode segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NTSShutdownAborted
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Deal with a shutdown having been aborted.
CALLED BY: NTSStart, NTSShutdownComplete
PASS: cx = 0 if called from outside the driver
= non-zero if called from NTSStart
RETURN: nothing
DESTROYED:
PSEUDO CODE/STRATEGY:
Resize NTSExecCode to its resource size, so it can be
read in from the file safely.
Call MemDiscard on the beast to throw its memory away.
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 5/11/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
NTSShutdownAborted proc far
uses ds
.enter
;
; Make sure we actually started a task. Unless we were called from
; NTSStart, in which case EF_RUN_DOS won't have been set, but we still
; need to clean up.
;
segmov ds, dgroup, ax
PSem ds, ntsStartSem, TRASH_AX_BX
tst cx
jnz cleanUp
clr bx ; set/clear nothing
call SysSetExitFlags
test bl, mask EF_RUN_DOS
jz done
cleanUp:
;
; Shrink the block to its original size. If we don't do this, then the
; kernel will get royally warped when trying to read the thing back
; from our executable file.
;
mov ax, size NTSExecCode
mov bx, handle NTSExecCode
clr cx
call MemReAlloc
;
; Now throw the thing away.
;
call MemDiscard
; Free the fixed block we allocated. Dunno if we're guarenteed to
; have allocated a block when we reach this, so put in a check.
mov bx, ds:[ntsExecCodeHandle]
tst bx
jz noBlockAllocated
call MemFree
clr ds:[ntsExecCodeHandle]
noBlockAllocated:
;
; Clear the EF_RUN_DOS flag, since we won't be doing so...
;
mov bx, mask EF_RUN_DOS shl 8
call SysSetExitFlags
done:
VSem ds, ntsStartSem, TRASH_AX_BX
.leave
ret
NTSShutdownAborted endp
NTSMovableCode ends
idata segment
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NTSAppsShutdown
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Take note that all applications are now gone and the
shutdown of devices is about to take place.
CALLED BY: DR_TASK_APPS_SHUTDOWN
PASS: nothing
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
We've got a few things to do here:
lock down this code resource an extra time, so the
DR_TASK_SHUTDOWN_COMPLETE code is accessible. Set
up ntsShutdownCompleteVector with this segment
lock down the NTSExecCode block, forcing it in from
swap, if that's where it ended up in all the shutdown
frenzy
lock the disk for the working directory
lock the disk for the program
NOTES:
Changed to use segment returned by MemLock for
ntsShutdownCompleteVector so that the segment value
will still be valid if the code resource gets mapped
out. -- 4/18/94
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 5/11/92 Initial version
jwu 4/18/94 Changed to make XIP-enabled
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
NTSAppsShutdown proc far
uses ds, bx, ax, si, bp, es, cx, di
.enter
; edigeron 12/15/00 - Moving this function and the next into fixed
; code. This is needed when EMS is enabled, or else this resource
; will most likely get loaded into the EMS page frame. This is very
; bad, as shortly after this function exits, GEOS will unload the EMS
; driver. Part of its shutdown process is to set the page frame to
; point back to the last thing it pointed at before GEOS started,
; which isn't going to be our code. So if we put this in fixed code,
; we're guarenteed to be near the bottom of the heap, instead of in
; the page frame.
segmov ds, dgroup, ax
if 0
;
; Give our block an extra lock so it stays around.
;
mov bx, handle NTSShutdownComplete
call MemLock
CheckHack <segment NTSShutdownComplete eq @CurSeg>
mov ds:[ntsShutdownCompleteVector].segment, ax
else
mov ds:[ntsShutdownCompleteVector].segment, cs
endif
mov ds:[ntsShutdownCompleteVector].offset,
offset NTSShutdownComplete
; edigeron 12/15/00 -
; Due to the EMS page frame stuff, we gotta allocate a fixed block,
; and then copy the code into it. Not pretty, but gets the job done.
; Don't wanna know what complications HAF_CODE will or won't cause,
; so simply not worrying about it. We don't care about errors, as
; there is no way in hell we're going to not have enough memory free
; here. This hack is needed because we have *too much* free memory
; at the time this code gets called.
;
; Lock down the NTSExecCode block.
;
push ds
mov bx, handle NTSExecCode
call MemLock
mov ds, ax
mov ax, MGIT_SIZE
call MemGetInfo
push ax
mov cx, mask HF_FIXED or (mask HAF_NO_ERR shl 8)
call MemAlloc
push bx
mov es, ax
clr di, si
pop cx
shr cx
rep movsw ; Memory blocks are multiples of 16, right?
mov bx, handle NTSExecCode
call MemUnlock
pop bx
pop ds
mov ds:[ntsExecCodeVector].segment, es
mov ds:[ntsExecCodeVector].offset, offset NTSExecRunIt
mov ds:[ntsExecCodeHandle], bx
;
; Now lock the two disks involved in this operation.
;
mov ds, ax ; segment still in ax
call FSDLockInfoShared
mov es, ax ; es:si <- cwd disk
mov si, ds:[ntsExecFrame].NTSEF_args.DEA_cwd.DEDAP_disk
mov al, FILE_NO_ERRORS ; aborting this lock is not
; allowed
call DiskLock
mov si, ds:[ntsExecFrame].NTSEF_args.DEA_prog.DEDAP_disk
mov al, FILE_NO_ERRORS
call DiskLock
call FSDUnlockInfoShared
.leave
ret
NTSAppsShutdown endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
NTSShutdownComplete
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Shutdown is now complete or has been aborted. Finish
preparations for running the program, or clean up, whichever
is appropriate.
CALLED BY: DR_TASK_SHUTDOWN_COMPLETE
PASS: cx = non-zero if switch has been confirmed. zero if
something as refused permission to switch, and the
switch has therefore been aborted. (WILL ALWAYS BE
NON-ZERO: NTSShutdownCompleteStub checks and calls
NTSShutdownAborted if cx is 0 on entry)
RETURN: nothing
DESTROYED:
PSEUDO CODE/STRATEGY:
Change to program's working directory
if kdata == PSP+16:
copy NTSExecCode to kdata & shrink PSP block to fit
else
copy stub code/data to PSP+16 & free kdata
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
ardeb 5/11/92 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
NTSShutdownComplete proc far
; We assume that ss is passed in a kdata - check that assumption
EC < mov bx, ss:[TPD_blockHandle] >
EC < mov ax, ss >
EC < cmp ax, ss:[bx].HM_addr >
EC < ERROR_NZ SHUTDOWN_NOT_CALLED_FROM_KERNEL_THREAD >
; If we are running on an XIP system, kcode will have been copied
; to RAM, so we cannot do a direct call to routines in kcode, because
; it will not be at the location it was at when the calls were
; relocated.
mov bx, handle SysGetConfig
mov ax, ss:[bx].HM_addr
mov ss:[TPD_callVector].segment, ax
segmov ds, dgroup, ax
mov ds, ds:[ntsExecCodeVector].segment
;
; Add a /r to the PSP_cmdTail so SCF_RESTARTED gets set on restart.
;
; call SysGetConfig
mov ss:[TPD_callVector].offset, offset SysGetConfig
call ss:[TPD_callVector] ; ax <- SysConfigFlags
; dx <- processor & mach type
test al, mask SCF_RESTARTED
jnz restartFlagSet ; => /r already in command tail,
; so don't mess with it.
push ds
mov ax, ds:[ntsExecFrame].NTSEF_args.DEA_psp
mov ds, ax
mov es, ax
mov al, ds:[PSP_cmdTail][0] ; al <- tail length
clr ah
;
; Move the command tail bytes up 2 to make room for /r
; (must be at the front b/c first non-/ arg indicates geodes to
; load...)
;
mov si, ax
mov_tr cx, ax
add si, offset PSP_cmdTail+1; si <- c.r. after tail
lea di, ds:[si+2] ; di <- move up by 2
std ; move from the end, please
inc cx ; move the \r too
rep movsb
cld
mov {word}ds:[PSP_cmdTail][1], '/' or ('r' shl 8)
add ds:[PSP_cmdTail][0], 2
pop ds
restartFlagSet:
;
; Switch to the cwd.
;
mov dl, ds:[ntsExecFrame].NTSEF_args.DEA_cwd.DEDAP_path[0]
sub dl, 'A' ; dl <- drive number
mov ah, MSDOS_SET_DEFAULT_DRIVE
int 21h
lea dx, ds:[ntsExecFrame].NTSEF_args.DEA_cwd.DEDAP_path[2]
mov ah, MSDOS_SET_CURRENT_DIR
int 21h
;
; Figure where we should copy the thing.
;
mov ax, ds:[ntsExecFrame].NTSEF_args.DEA_heapStart
mov bx, ds:[ntsExecFrame].NTSEF_args.DEA_psp
mov dx, bx ; dx <- segment affected by DOS op --
; assume it'll be the PSP
add bx, size ProgramSegmentPrefix shr 4
mov ch, MSDOS_RESIZE_MEM_BLK
cmp ax, bx
je copyToAX
xchg ax, bx ; copy above PSP
mov dx, bx ; dx <- segment affected by DOS op
mov ch, MSDOS_FREE_MEM_BLK
copyToAX:
; ax = segment to which to copy the NTSExecCode
; ch = DOS op to perform
; dx = segment to which apply that op
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_cmdTail.segment,
ax
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_cmdTail.offset,
offset ntsExecFrame.NTSEF_args.DEA_argLen
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_fcb1.segment, ax
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_fcb1.offset,
offset ntsExecFrame.NTSEF_fcb1
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_fcb2.segment, ax
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_fcb2.offset,
offset ntsExecFrame.NTSEF_fcb2
;
; Set the segment of the environment the child should receive. Either
; 0 (our own) if not interactive, or the mangled one with our adorable
; message in it, if it is interactive.
;
clr bx
test ds:[ntsExecFrame].NTSEF_args.DEA_flags,
mask DEF_INTERACTIVE
jz setEnvBlock
mov bx, offset ntsEnvKindaStart+15
shr bx
shr bx
shr bx
shr bx
add bx, ax
setEnvBlock:
mov ds:[ntsExecFrame].NTSEF_execBlock.DEA_envBlk, bx
;
; Move the NTSExecFrame down to its proper location (ax)
;
mov es, ax
clr si
mov di, si
mov bx, handle NTSExecCode
mov ax, MGIT_SIZE
mov ss:[TPD_callVector].offset, offset MemGetInfo
call ss:[TPD_callVector]
; call MemGetInfo
push cx ; save DOS operation
mov_tr cx, ax
shr cx ; convert to words (always even b/c
; heap allocates in paragraphs)
rep movsw
pop ax ; ah <- operation to perform
;
; Switch to the stack in the NTSExecFrame
;
segmov ss, es
mov sp, offset ntsExecFrame.NTSEF_stack + size NTSEF_stack
;
; Set up stack frame for DOS to return to NTSExecRunIt in its
; new location.
;
pushf
push es
mov bx, offset NTSExecRunIt
push bx
mov es, dx ; es <- affected operation
;
; Calculate the number of paragraphs in the NTSExecCode block, plus the
; PSP itself, in case we're shrinking it.
;
mov bx, di
add bx, 15+size ProgramSegmentPrefix
shr bx
shr bx
shr bx
shr bx
;
; Jump to the DOS handler.
;
segmov ds, 0, dx
jmp {fptr.far}ds:[21h*fptr]
NTSShutdownComplete endp
idata ends
| 27.902494 | 79 | 0.638033 |
dcdb0a655bad8e71de6e6645d7e32c158f1b19b6 | 87 | asm | Assembly | gfx/pokemon/blissey/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 28 | 2019-11-08T07:19:00.000Z | 2021-12-20T10:17:54.000Z | gfx/pokemon/blissey/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 13 | 2020-01-11T17:00:40.000Z | 2021-09-14T01:27:38.000Z | gfx/pokemon/blissey/anim.asm | Dev727/ancientplatinum | 8b212a1728cc32a95743e1538b9eaa0827d013a7 | [
"blessing"
] | 22 | 2020-05-28T17:31:38.000Z | 2022-03-07T20:49:35.000Z | frame 1, 12
frame 2, 14
frame 1, 10
frame 3, 04
frame 0, 06
frame 3, 08
endanim
| 10.875 | 12 | 0.632184 |
68f4433c7301d730bbbd221d2adbceb52cd08440 | 140 | asm | Assembly | sum.asm | agusalex/AssemblyC | 057ab5664dd868a6c058538b6974cf5a0e2cfd04 | [
"MIT"
] | 1 | 2021-03-28T02:02:51.000Z | 2021-03-28T02:02:51.000Z | sum.asm | agusalex/AssemblyC | 057ab5664dd868a6c058538b6974cf5a0e2cfd04 | [
"MIT"
] | null | null | null | sum.asm | agusalex/AssemblyC | 057ab5664dd868a6c058538b6974cf5a0e2cfd04 | [
"MIT"
] | null | null | null | segment .text
global sum
sum:
push B
push A
call test
enter 0,0
mov EAX,[EBP+8]
add EAX,[EBP+12]
leave
ret | 12.727273 | 20 | 0.55 |
a2cb28632c2a8d291c9b88b0dca5941789c7cbe6 | 1,352 | asm | Assembly | programs/oeis/239/A239128.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/239/A239128.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/239/A239128.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A239128: a(n) = 32*n - 1, n >= 1. Fourth column of triangle A239126, related to the Collatz problem.
; 31,63,95,127,159,191,223,255,287,319,351,383,415,447,479,511,543,575,607,639,671,703,735,767,799,831,863,895,927,959,991,1023,1055,1087,1119,1151,1183,1215,1247,1279,1311,1343,1375,1407,1439,1471,1503,1535,1567,1599,1631,1663,1695,1727,1759,1791,1823,1855,1887,1919,1951,1983,2015,2047,2079,2111,2143,2175,2207,2239,2271,2303,2335,2367,2399,2431,2463,2495,2527,2559,2591,2623,2655,2687,2719,2751,2783,2815,2847,2879,2911,2943,2975,3007,3039,3071,3103,3135,3167,3199,3231,3263,3295,3327,3359,3391,3423,3455,3487,3519,3551,3583,3615,3647,3679,3711,3743,3775,3807,3839,3871,3903,3935,3967,3999,4031,4063,4095,4127,4159,4191,4223,4255,4287,4319,4351,4383,4415,4447,4479,4511,4543,4575,4607,4639,4671,4703,4735,4767,4799,4831,4863,4895,4927,4959,4991,5023,5055,5087,5119,5151,5183,5215,5247,5279,5311,5343,5375,5407,5439,5471,5503,5535,5567,5599,5631,5663,5695,5727,5759,5791,5823,5855,5887,5919,5951,5983,6015,6047,6079,6111,6143,6175,6207,6239,6271,6303,6335,6367,6399,6431,6463,6495,6527,6559,6591,6623,6655,6687,6719,6751,6783,6815,6847,6879,6911,6943,6975,7007,7039,7071,7103,7135,7167,7199,7231,7263,7295,7327,7359,7391,7423,7455,7487,7519,7551,7583,7615,7647,7679,7711,7743,7775,7807,7839,7871,7903,7935,7967,7999
mov $1,$0
mul $1,32
add $1,31
| 193.142857 | 1,217 | 0.778846 |
93c1b458a8682e89ffe305a24458c03feff9b2ec | 124 | asm | Assembly | src/main/fragment/mos6502-common/vdum1=vdum2_plus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vdum1=vdum2_plus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vdum1=vdum2_plus_vwuc1.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | clc
lda {m2}
adc #<{c1}
sta {m1}
lda {m2}+1
adc #>{c1}
sta {m1}+1
lda {m2}+2
adc #0
sta {m1}+2
lda {m2}+3
adc #0
sta {m1}+3
| 8.857143 | 10 | 0.540323 |
f56955c43ddb1c7f5a7749d51aa60bb906e2cec2 | 676 | asm | Assembly | oeis/234/A234870.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/234/A234870.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/234/A234870.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A234870: 4*binomial(11*n+4,n)/(11*n+4).
; Submitted by Jamie Morken(s1)
; 1,4,50,840,16215,339416,7492342,171714400,4046995095,97464474800,2388021782916,59337354111464,1491714713034000,37872300445759440,969656048236053850,25008097347083474496,649098691321081570855,16942574600154870074100,444440234572506308182200,11710699377498934396784200,309808090886827350392224221,8225762506571712148020271440,219123535106331460656927864450,5854721072334546717417663936000,156862212233180218901984047018000,4213366417199890688752424546737536,113436777100088477994615693557932824
mov $2,$0
add $2,$0
mul $2,5
add $2,3
add $0,$2
bin $0,$2
mul $0,12
mov $1,$2
add $1,1
div $0,$1
div $0,3
| 42.25 | 494 | 0.844675 |
81c566c6c4626c23b2ac21ae7e4aea197976c700 | 137,725 | asm | Assembly | project/ntstub/i386/6_0_6002_sp2_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | 372 | 2017-06-05T06:58:29.000Z | 2022-03-31T08:26:53.000Z | project/ntstub/i386/6_0_6002_sp2_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | null | null | null | project/ntstub/i386/6_0_6002_sp2_ssdt_sysenter.asm | mehrdad-shokri/windows-syscall-table | 16542bdcf0add03960a7b0a379af7a59ceb0b822 | [
"BSD-3-Clause"
] | 105 | 2017-06-05T08:34:18.000Z | 2022-03-11T06:15:58.000Z | ; DO NOT MODIFY THIS FILE DIRECTLY!
; author: @TinySecEx
; ssdt asm stub for 6.0.6002-sp2-windows-vista i386
.686
.mmx
.xmm
.model flat,stdcall
option casemap:none
option prologue:none
option epilogue:none
.code
; ULONG __stdcall NtAcceptConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAcceptConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 0
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAcceptConnectPort ENDP
; ULONG __stdcall NtAccessCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtAccessCheck PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 1
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtAccessCheck ENDP
; ULONG __stdcall NtAccessCheckAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtAccessCheckAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 2
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtAccessCheckAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheckByType( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtAccessCheckByType PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 3
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtAccessCheckByType ENDP
; ULONG __stdcall NtAccessCheckByTypeAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 );
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD
mov eax , 4
mov edx , 7FFE0300h
call dword ptr [edx]
ret 64
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheckByTypeResultList( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultList PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 5
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultList ENDP
; ULONG __stdcall NtAccessCheckByTypeResultListAndAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 );
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultListAndAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD
mov eax , 6
mov edx , 7FFE0300h
call dword ptr [edx]
ret 64
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultListAndAuditAlarm ENDP
; ULONG __stdcall NtAccessCheckByTypeResultListAndAuditAlarmByHandle( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 , ULONG arg_15 , ULONG arg_16 , ULONG arg_17 );
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultListAndAuditAlarmByHandle PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD , arg_15:DWORD , arg_16:DWORD , arg_17:DWORD
mov eax , 7
mov edx , 7FFE0300h
call dword ptr [edx]
ret 68
_6_0_6002_sp2_windows_vista_NtAccessCheckByTypeResultListAndAuditAlarmByHandle ENDP
; ULONG __stdcall NtAddAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAddAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 8
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAddAtom ENDP
; ULONG __stdcall NtAddBootEntry( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAddBootEntry PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 9
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAddBootEntry ENDP
; ULONG __stdcall NtAddDriverEntry( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAddDriverEntry PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 10
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAddDriverEntry ENDP
; ULONG __stdcall NtAdjustGroupsToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAdjustGroupsToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 11
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAdjustGroupsToken ENDP
; ULONG __stdcall NtAdjustPrivilegesToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAdjustPrivilegesToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 12
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAdjustPrivilegesToken ENDP
; ULONG __stdcall NtAlertResumeThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAlertResumeThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 13
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAlertResumeThread ENDP
; ULONG __stdcall NtAlertThread( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtAlertThread PROC STDCALL arg_01:DWORD
mov eax , 14
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtAlertThread ENDP
; ULONG __stdcall NtAllocateLocallyUniqueId( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtAllocateLocallyUniqueId PROC STDCALL arg_01:DWORD
mov eax , 15
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtAllocateLocallyUniqueId ENDP
; ULONG __stdcall NtAllocateUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAllocateUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 16
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAllocateUserPhysicalPages ENDP
; ULONG __stdcall NtAllocateUuids( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtAllocateUuids PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 17
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtAllocateUuids ENDP
; ULONG __stdcall NtAllocateVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAllocateVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 18
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAllocateVirtualMemory ENDP
; ULONG __stdcall NtAlpcAcceptConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtAlpcAcceptConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 19
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtAlpcAcceptConnectPort ENDP
; ULONG __stdcall NtAlpcCancelMessage( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcCancelMessage PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 20
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcCancelMessage ENDP
; ULONG __stdcall NtAlpcConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtAlpcConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 21
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtAlpcConnectPort ENDP
; ULONG __stdcall NtAlpcCreatePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcCreatePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 22
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcCreatePort ENDP
; ULONG __stdcall NtAlpcCreatePortSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAlpcCreatePortSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 23
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAlpcCreatePortSection ENDP
; ULONG __stdcall NtAlpcCreateResourceReserve( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtAlpcCreateResourceReserve PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 24
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtAlpcCreateResourceReserve ENDP
; ULONG __stdcall NtAlpcCreateSectionView( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcCreateSectionView PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 25
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcCreateSectionView ENDP
; ULONG __stdcall NtAlpcCreateSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcCreateSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 26
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcCreateSecurityContext ENDP
; ULONG __stdcall NtAlpcDeletePortSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcDeletePortSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 27
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcDeletePortSection ENDP
; ULONG __stdcall NtAlpcDeleteResourceReserve( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcDeleteResourceReserve PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 28
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcDeleteResourceReserve ENDP
; ULONG __stdcall NtAlpcDeleteSectionView( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcDeleteSectionView PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 29
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcDeleteSectionView ENDP
; ULONG __stdcall NtAlpcDeleteSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcDeleteSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 30
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcDeleteSecurityContext ENDP
; ULONG __stdcall NtAlpcDisconnectPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAlpcDisconnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 31
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAlpcDisconnectPort ENDP
; ULONG __stdcall NtAlpcImpersonateClientOfPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcImpersonateClientOfPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 32
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcImpersonateClientOfPort ENDP
; ULONG __stdcall NtAlpcOpenSenderProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAlpcOpenSenderProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 33
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAlpcOpenSenderProcess ENDP
; ULONG __stdcall NtAlpcOpenSenderThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAlpcOpenSenderThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 34
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAlpcOpenSenderThread ENDP
; ULONG __stdcall NtAlpcQueryInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtAlpcQueryInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 35
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtAlpcQueryInformation ENDP
; ULONG __stdcall NtAlpcQueryInformationMessage( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtAlpcQueryInformationMessage PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 36
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtAlpcQueryInformationMessage ENDP
; ULONG __stdcall NtAlpcRevokeSecurityContext( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAlpcRevokeSecurityContext PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 37
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAlpcRevokeSecurityContext ENDP
; ULONG __stdcall NtAlpcSendWaitReceivePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtAlpcSendWaitReceivePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 38
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtAlpcSendWaitReceivePort ENDP
; ULONG __stdcall NtAlpcSetInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtAlpcSetInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 39
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtAlpcSetInformation ENDP
; ULONG __stdcall NtApphelpCacheControl( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtApphelpCacheControl PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 40
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtApphelpCacheControl ENDP
; ULONG __stdcall NtAreMappedFilesTheSame( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAreMappedFilesTheSame PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 41
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAreMappedFilesTheSame ENDP
; ULONG __stdcall NtAssignProcessToJobObject( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtAssignProcessToJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 42
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtAssignProcessToJobObject ENDP
; ULONG __stdcall NtCallbackReturn( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCallbackReturn PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 43
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCallbackReturn ENDP
; ULONG __stdcall NtCancelDeviceWakeupRequest( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtCancelDeviceWakeupRequest PROC STDCALL arg_01:DWORD
mov eax , 44
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtCancelDeviceWakeupRequest ENDP
; ULONG __stdcall NtCancelIoFile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCancelIoFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 45
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCancelIoFile ENDP
; ULONG __stdcall NtCancelTimer( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCancelTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 46
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCancelTimer ENDP
; ULONG __stdcall NtClearEvent( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtClearEvent PROC STDCALL arg_01:DWORD
mov eax , 47
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtClearEvent ENDP
; ULONG __stdcall NtClose( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtClose PROC STDCALL arg_01:DWORD
mov eax , 48
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtClose ENDP
; ULONG __stdcall NtCloseObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCloseObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 49
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCloseObjectAuditAlarm ENDP
; ULONG __stdcall NtCompactKeys( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCompactKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 50
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCompactKeys ENDP
; ULONG __stdcall NtCompareTokens( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCompareTokens PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 51
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCompareTokens ENDP
; ULONG __stdcall NtCompleteConnectPort( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtCompleteConnectPort PROC STDCALL arg_01:DWORD
mov eax , 52
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtCompleteConnectPort ENDP
; ULONG __stdcall NtCompressKey( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtCompressKey PROC STDCALL arg_01:DWORD
mov eax , 53
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtCompressKey ENDP
; ULONG __stdcall NtConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 54
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtConnectPort ENDP
; ULONG __stdcall NtContinue( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtContinue PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 55
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtContinue ENDP
; ULONG __stdcall NtCreateDebugObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateDebugObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 56
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateDebugObject ENDP
; ULONG __stdcall NtCreateDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCreateDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 57
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCreateDirectoryObject ENDP
; ULONG __stdcall NtCreateEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtCreateEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 58
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtCreateEvent ENDP
; ULONG __stdcall NtCreateEventPair( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCreateEventPair PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 59
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCreateEventPair ENDP
; ULONG __stdcall NtCreateFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtCreateFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 60
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtCreateFile ENDP
; ULONG __stdcall NtCreateIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 61
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateIoCompletion ENDP
; ULONG __stdcall NtCreateJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCreateJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 62
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCreateJobObject ENDP
; ULONG __stdcall NtCreateJobSet( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCreateJobSet PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 63
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCreateJobSet ENDP
; ULONG __stdcall NtCreateKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtCreateKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 64
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtCreateKey ENDP
; ULONG __stdcall NtCreateKeyTransacted( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtCreateKeyTransacted PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 65
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtCreateKeyTransacted ENDP
; ULONG __stdcall NtCreateMailslotFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtCreateMailslotFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 66
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtCreateMailslotFile ENDP
; ULONG __stdcall NtCreateMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 67
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateMutant ENDP
; ULONG __stdcall NtCreateNamedPipeFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 , ULONG arg_14 );
_6_0_6002_sp2_windows_vista_NtCreateNamedPipeFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD , arg_14:DWORD
mov eax , 68
mov edx , 7FFE0300h
call dword ptr [edx]
ret 56
_6_0_6002_sp2_windows_vista_NtCreateNamedPipeFile ENDP
; ULONG __stdcall NtCreatePrivateNamespace( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreatePrivateNamespace PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 69
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreatePrivateNamespace ENDP
; ULONG __stdcall NtCreatePagingFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreatePagingFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 70
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreatePagingFile ENDP
; ULONG __stdcall NtCreatePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtCreatePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 71
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtCreatePort ENDP
; ULONG __stdcall NtCreateProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtCreateProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 72
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtCreateProcess ENDP
; ULONG __stdcall NtCreateProcessEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtCreateProcessEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 73
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtCreateProcessEx ENDP
; ULONG __stdcall NtCreateProfile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtCreateProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 74
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtCreateProfile ENDP
; ULONG __stdcall NtCreateSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtCreateSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 75
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtCreateSection ENDP
; ULONG __stdcall NtCreateSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtCreateSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 76
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtCreateSemaphore ENDP
; ULONG __stdcall NtCreateSymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateSymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 77
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateSymbolicLinkObject ENDP
; ULONG __stdcall NtCreateThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtCreateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 78
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtCreateThread ENDP
; ULONG __stdcall NtCreateTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 79
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateTimer ENDP
; ULONG __stdcall NtCreateToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 , ULONG arg_13 );
_6_0_6002_sp2_windows_vista_NtCreateToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD , arg_13:DWORD
mov eax , 80
mov edx , 7FFE0300h
call dword ptr [edx]
ret 52
_6_0_6002_sp2_windows_vista_NtCreateToken ENDP
; ULONG __stdcall NtCreateTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtCreateTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 81
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtCreateTransaction ENDP
; ULONG __stdcall NtOpenTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtOpenTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 82
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtOpenTransaction ENDP
; ULONG __stdcall NtQueryInformationTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 83
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationTransaction ENDP
; ULONG __stdcall NtQueryInformationTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 84
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationTransactionManager ENDP
; ULONG __stdcall NtPrePrepareEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtPrePrepareEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 85
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtPrePrepareEnlistment ENDP
; ULONG __stdcall NtPrepareEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtPrepareEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 86
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtPrepareEnlistment ENDP
; ULONG __stdcall NtCommitEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCommitEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 87
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCommitEnlistment ENDP
; ULONG __stdcall NtReadOnlyEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtReadOnlyEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 88
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtReadOnlyEnlistment ENDP
; ULONG __stdcall NtRollbackComplete( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRollbackComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 89
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRollbackComplete ENDP
; ULONG __stdcall NtRollbackEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRollbackEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 90
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRollbackEnlistment ENDP
; ULONG __stdcall NtCommitTransaction( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCommitTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 91
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCommitTransaction ENDP
; ULONG __stdcall NtRollbackTransaction( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRollbackTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 92
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRollbackTransaction ENDP
; ULONG __stdcall NtPrePrepareComplete( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtPrePrepareComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 93
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtPrePrepareComplete ENDP
; ULONG __stdcall NtPrepareComplete( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtPrepareComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 94
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtPrepareComplete ENDP
; ULONG __stdcall NtCommitComplete( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtCommitComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 95
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtCommitComplete ENDP
; ULONG __stdcall NtSinglePhaseReject( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSinglePhaseReject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 96
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSinglePhaseReject ENDP
; ULONG __stdcall NtSetInformationTransaction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationTransaction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 97
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationTransaction ENDP
; ULONG __stdcall NtSetInformationTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 98
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationTransactionManager ENDP
; ULONG __stdcall NtSetInformationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 99
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationResourceManager ENDP
; ULONG __stdcall NtCreateTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtCreateTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 100
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtCreateTransactionManager ENDP
; ULONG __stdcall NtOpenTransactionManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtOpenTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 101
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtOpenTransactionManager ENDP
; ULONG __stdcall NtRenameTransactionManager( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRenameTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 102
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRenameTransactionManager ENDP
; ULONG __stdcall NtRollforwardTransactionManager( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRollforwardTransactionManager PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 103
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRollforwardTransactionManager ENDP
; ULONG __stdcall NtRecoverEnlistment( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRecoverEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 104
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRecoverEnlistment ENDP
; ULONG __stdcall NtRecoverResourceManager( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtRecoverResourceManager PROC STDCALL arg_01:DWORD
mov eax , 105
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtRecoverResourceManager ENDP
; ULONG __stdcall NtRecoverTransactionManager( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtRecoverTransactionManager PROC STDCALL arg_01:DWORD
mov eax , 106
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtRecoverTransactionManager ENDP
; ULONG __stdcall NtCreateResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtCreateResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 107
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtCreateResourceManager ENDP
; ULONG __stdcall NtOpenResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtOpenResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 108
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtOpenResourceManager ENDP
; ULONG __stdcall NtGetNotificationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtGetNotificationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 109
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtGetNotificationResourceManager ENDP
; ULONG __stdcall NtQueryInformationResourceManager( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationResourceManager PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 110
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationResourceManager ENDP
; ULONG __stdcall NtCreateEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtCreateEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 111
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtCreateEnlistment ENDP
; ULONG __stdcall NtOpenEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtOpenEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 112
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtOpenEnlistment ENDP
; ULONG __stdcall NtSetInformationEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 113
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationEnlistment ENDP
; ULONG __stdcall NtQueryInformationEnlistment( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationEnlistment PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 114
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationEnlistment ENDP
; ULONG __stdcall NtCreateWaitablePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtCreateWaitablePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 115
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtCreateWaitablePort ENDP
; ULONG __stdcall NtDebugActiveProcess( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtDebugActiveProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 116
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtDebugActiveProcess ENDP
; ULONG __stdcall NtDebugContinue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtDebugContinue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 117
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtDebugContinue ENDP
; ULONG __stdcall NtDelayExecution( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtDelayExecution PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 118
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtDelayExecution ENDP
; ULONG __stdcall NtDeleteAtom( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeleteAtom PROC STDCALL arg_01:DWORD
mov eax , 119
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeleteAtom ENDP
; ULONG __stdcall NtDeleteBootEntry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeleteBootEntry PROC STDCALL arg_01:DWORD
mov eax , 120
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeleteBootEntry ENDP
; ULONG __stdcall NtDeleteDriverEntry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeleteDriverEntry PROC STDCALL arg_01:DWORD
mov eax , 121
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeleteDriverEntry ENDP
; ULONG __stdcall NtDeleteFile( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeleteFile PROC STDCALL arg_01:DWORD
mov eax , 122
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeleteFile ENDP
; ULONG __stdcall NtDeleteKey( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeleteKey PROC STDCALL arg_01:DWORD
mov eax , 123
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeleteKey ENDP
; ULONG __stdcall NtDeletePrivateNamespace( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDeletePrivateNamespace PROC STDCALL arg_01:DWORD
mov eax , 124
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDeletePrivateNamespace ENDP
; ULONG __stdcall NtDeleteObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtDeleteObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 125
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtDeleteObjectAuditAlarm ENDP
; ULONG __stdcall NtDeleteValueKey( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtDeleteValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 126
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtDeleteValueKey ENDP
; ULONG __stdcall NtDeviceIoControlFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtDeviceIoControlFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 127
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtDeviceIoControlFile ENDP
; ULONG __stdcall NtDisplayString( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtDisplayString PROC STDCALL arg_01:DWORD
mov eax , 128
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtDisplayString ENDP
; ULONG __stdcall NtDuplicateObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtDuplicateObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 129
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtDuplicateObject ENDP
; ULONG __stdcall NtDuplicateToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtDuplicateToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 130
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtDuplicateToken ENDP
; ULONG __stdcall NtEnumerateBootEntries( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtEnumerateBootEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 131
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtEnumerateBootEntries ENDP
; ULONG __stdcall NtEnumerateDriverEntries( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtEnumerateDriverEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 132
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtEnumerateDriverEntries ENDP
; ULONG __stdcall NtEnumerateKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtEnumerateKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 133
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtEnumerateKey ENDP
; ULONG __stdcall NtEnumerateSystemEnvironmentValuesEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtEnumerateSystemEnvironmentValuesEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 134
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtEnumerateSystemEnvironmentValuesEx ENDP
; ULONG __stdcall NtEnumerateTransactionObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtEnumerateTransactionObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 135
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtEnumerateTransactionObject ENDP
; ULONG __stdcall NtEnumerateValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtEnumerateValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 136
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtEnumerateValueKey ENDP
; ULONG __stdcall NtExtendSection( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtExtendSection PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 137
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtExtendSection ENDP
; ULONG __stdcall NtFilterToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtFilterToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 138
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtFilterToken ENDP
; ULONG __stdcall NtFindAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtFindAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 139
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtFindAtom ENDP
; ULONG __stdcall NtFlushBuffersFile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtFlushBuffersFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 140
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtFlushBuffersFile ENDP
; ULONG __stdcall NtFlushInstructionCache( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtFlushInstructionCache PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 141
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtFlushInstructionCache ENDP
; ULONG __stdcall NtFlushKey( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtFlushKey PROC STDCALL arg_01:DWORD
mov eax , 142
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtFlushKey ENDP
; ULONG __stdcall NtFlushProcessWriteBuffers( );
_6_0_6002_sp2_windows_vista_NtFlushProcessWriteBuffers PROC STDCALL
mov eax , 143
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtFlushProcessWriteBuffers ENDP
; ULONG __stdcall NtFlushVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtFlushVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 144
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtFlushVirtualMemory ENDP
; ULONG __stdcall NtFlushWriteBuffer( );
_6_0_6002_sp2_windows_vista_NtFlushWriteBuffer PROC STDCALL
mov eax , 145
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtFlushWriteBuffer ENDP
; ULONG __stdcall NtFreeUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtFreeUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 146
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtFreeUserPhysicalPages ENDP
; ULONG __stdcall NtFreeVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtFreeVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 147
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtFreeVirtualMemory ENDP
; ULONG __stdcall NtFreezeRegistry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtFreezeRegistry PROC STDCALL arg_01:DWORD
mov eax , 148
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtFreezeRegistry ENDP
; ULONG __stdcall NtFreezeTransactions( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtFreezeTransactions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 149
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtFreezeTransactions ENDP
; ULONG __stdcall NtFsControlFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtFsControlFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 150
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtFsControlFile ENDP
; ULONG __stdcall NtGetContextThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtGetContextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 151
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtGetContextThread ENDP
; ULONG __stdcall NtGetDevicePowerState( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtGetDevicePowerState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 152
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtGetDevicePowerState ENDP
; ULONG __stdcall NtGetNlsSectionPtr( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtGetNlsSectionPtr PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 153
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtGetNlsSectionPtr ENDP
; ULONG __stdcall NtGetPlugPlayEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtGetPlugPlayEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 154
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtGetPlugPlayEvent ENDP
; ULONG __stdcall NtGetWriteWatch( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtGetWriteWatch PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 155
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtGetWriteWatch ENDP
; ULONG __stdcall NtImpersonateAnonymousToken( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtImpersonateAnonymousToken PROC STDCALL arg_01:DWORD
mov eax , 156
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtImpersonateAnonymousToken ENDP
; ULONG __stdcall NtImpersonateClientOfPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtImpersonateClientOfPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 157
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtImpersonateClientOfPort ENDP
; ULONG __stdcall NtImpersonateThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtImpersonateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 158
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtImpersonateThread ENDP
; ULONG __stdcall NtInitializeNlsFiles( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtInitializeNlsFiles PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 159
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtInitializeNlsFiles ENDP
; ULONG __stdcall NtInitializeRegistry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtInitializeRegistry PROC STDCALL arg_01:DWORD
mov eax , 160
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtInitializeRegistry ENDP
; ULONG __stdcall NtInitiatePowerAction( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtInitiatePowerAction PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 161
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtInitiatePowerAction ENDP
; ULONG __stdcall NtIsProcessInJob( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtIsProcessInJob PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 162
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtIsProcessInJob ENDP
; ULONG __stdcall NtIsSystemResumeAutomatic( );
_6_0_6002_sp2_windows_vista_NtIsSystemResumeAutomatic PROC STDCALL
mov eax , 163
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtIsSystemResumeAutomatic ENDP
; ULONG __stdcall NtListenPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtListenPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 164
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtListenPort ENDP
; ULONG __stdcall NtLoadDriver( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtLoadDriver PROC STDCALL arg_01:DWORD
mov eax , 165
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtLoadDriver ENDP
; ULONG __stdcall NtLoadKey( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtLoadKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 166
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtLoadKey ENDP
; ULONG __stdcall NtLoadKey2( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtLoadKey2 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 167
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtLoadKey2 ENDP
; ULONG __stdcall NtLoadKeyEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 );
_6_0_6002_sp2_windows_vista_NtLoadKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD
mov eax , 168
mov edx , 7FFE0300h
call dword ptr [edx]
ret 32
_6_0_6002_sp2_windows_vista_NtLoadKeyEx ENDP
; ULONG __stdcall NtLockFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtLockFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 169
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtLockFile ENDP
; ULONG __stdcall NtLockProductActivationKeys( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtLockProductActivationKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 170
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtLockProductActivationKeys ENDP
; ULONG __stdcall NtLockRegistryKey( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtLockRegistryKey PROC STDCALL arg_01:DWORD
mov eax , 171
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtLockRegistryKey ENDP
; ULONG __stdcall NtLockVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtLockVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 172
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtLockVirtualMemory ENDP
; ULONG __stdcall NtMakePermanentObject( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtMakePermanentObject PROC STDCALL arg_01:DWORD
mov eax , 173
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtMakePermanentObject ENDP
; ULONG __stdcall NtMakeTemporaryObject( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtMakeTemporaryObject PROC STDCALL arg_01:DWORD
mov eax , 174
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtMakeTemporaryObject ENDP
; ULONG __stdcall NtMapUserPhysicalPages( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtMapUserPhysicalPages PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 175
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtMapUserPhysicalPages ENDP
; ULONG __stdcall NtMapUserPhysicalPagesScatter( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtMapUserPhysicalPagesScatter PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 176
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtMapUserPhysicalPagesScatter ENDP
; ULONG __stdcall NtMapViewOfSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtMapViewOfSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 177
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtMapViewOfSection ENDP
; ULONG __stdcall NtModifyBootEntry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtModifyBootEntry PROC STDCALL arg_01:DWORD
mov eax , 178
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtModifyBootEntry ENDP
; ULONG __stdcall NtModifyDriverEntry( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtModifyDriverEntry PROC STDCALL arg_01:DWORD
mov eax , 179
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtModifyDriverEntry ENDP
; ULONG __stdcall NtNotifyChangeDirectoryFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtNotifyChangeDirectoryFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 180
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtNotifyChangeDirectoryFile ENDP
; ULONG __stdcall NtNotifyChangeKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtNotifyChangeKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 181
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtNotifyChangeKey ENDP
; ULONG __stdcall NtNotifyChangeMultipleKeys( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 );
_6_0_6002_sp2_windows_vista_NtNotifyChangeMultipleKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD
mov eax , 182
mov edx , 7FFE0300h
call dword ptr [edx]
ret 48
_6_0_6002_sp2_windows_vista_NtNotifyChangeMultipleKeys ENDP
; ULONG __stdcall NtOpenDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 183
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenDirectoryObject ENDP
; ULONG __stdcall NtOpenEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 184
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenEvent ENDP
; ULONG __stdcall NtOpenEventPair( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenEventPair PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 185
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenEventPair ENDP
; ULONG __stdcall NtOpenFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtOpenFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 186
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtOpenFile ENDP
; ULONG __stdcall NtOpenIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 187
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenIoCompletion ENDP
; ULONG __stdcall NtOpenJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 188
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenJobObject ENDP
; ULONG __stdcall NtOpenKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 189
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenKey ENDP
; ULONG __stdcall NtOpenKeyTransacted( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenKeyTransacted PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 190
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenKeyTransacted ENDP
; ULONG __stdcall NtOpenMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 191
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenMutant ENDP
; ULONG __stdcall NtOpenPrivateNamespace( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenPrivateNamespace PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 192
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenPrivateNamespace ENDP
; ULONG __stdcall NtOpenObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 , ULONG arg_12 );
_6_0_6002_sp2_windows_vista_NtOpenObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD , arg_12:DWORD
mov eax , 193
mov edx , 7FFE0300h
call dword ptr [edx]
ret 48
_6_0_6002_sp2_windows_vista_NtOpenObjectAuditAlarm ENDP
; ULONG __stdcall NtOpenProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 194
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenProcess ENDP
; ULONG __stdcall NtOpenProcessToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenProcessToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 195
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenProcessToken ENDP
; ULONG __stdcall NtOpenProcessTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenProcessTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 196
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenProcessTokenEx ENDP
; ULONG __stdcall NtOpenSection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenSection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 197
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenSection ENDP
; ULONG __stdcall NtOpenSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 198
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenSemaphore ENDP
; ULONG __stdcall NtOpenSession( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenSession PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 199
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenSession ENDP
; ULONG __stdcall NtOpenSymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenSymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 200
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenSymbolicLinkObject ENDP
; ULONG __stdcall NtOpenThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 201
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenThread ENDP
; ULONG __stdcall NtOpenThreadToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtOpenThreadToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 202
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtOpenThreadToken ENDP
; ULONG __stdcall NtOpenThreadTokenEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtOpenThreadTokenEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 203
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtOpenThreadTokenEx ENDP
; ULONG __stdcall NtOpenTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 204
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenTimer ENDP
; ULONG __stdcall NtPlugPlayControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtPlugPlayControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 205
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtPlugPlayControl ENDP
; ULONG __stdcall NtPowerInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtPowerInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 206
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtPowerInformation ENDP
; ULONG __stdcall NtPrivilegeCheck( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtPrivilegeCheck PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 207
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtPrivilegeCheck ENDP
; ULONG __stdcall NtPrivilegeObjectAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtPrivilegeObjectAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 208
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtPrivilegeObjectAuditAlarm ENDP
; ULONG __stdcall NtPrivilegedServiceAuditAlarm( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtPrivilegedServiceAuditAlarm PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 209
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtPrivilegedServiceAuditAlarm ENDP
; ULONG __stdcall NtProtectVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtProtectVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 210
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtProtectVirtualMemory ENDP
; ULONG __stdcall NtPulseEvent( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtPulseEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 211
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtPulseEvent ENDP
; ULONG __stdcall NtQueryAttributesFile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryAttributesFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 212
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryAttributesFile ENDP
; ULONG __stdcall NtQueryBootEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryBootEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 213
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryBootEntryOrder ENDP
; ULONG __stdcall NtQueryBootOptions( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryBootOptions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 214
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryBootOptions ENDP
; ULONG __stdcall NtQueryDebugFilterState( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryDebugFilterState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 215
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryDebugFilterState ENDP
; ULONG __stdcall NtQueryDefaultLocale( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryDefaultLocale PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 216
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryDefaultLocale ENDP
; ULONG __stdcall NtQueryDefaultUILanguage( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtQueryDefaultUILanguage PROC STDCALL arg_01:DWORD
mov eax , 217
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtQueryDefaultUILanguage ENDP
; ULONG __stdcall NtQueryDirectoryFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtQueryDirectoryFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 218
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtQueryDirectoryFile ENDP
; ULONG __stdcall NtQueryDirectoryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtQueryDirectoryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 219
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtQueryDirectoryObject ENDP
; ULONG __stdcall NtQueryDriverEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryDriverEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 220
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryDriverEntryOrder ENDP
; ULONG __stdcall NtQueryEaFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtQueryEaFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 221
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtQueryEaFile ENDP
; ULONG __stdcall NtQueryEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 222
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryEvent ENDP
; ULONG __stdcall NtQueryFullAttributesFile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryFullAttributesFile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 223
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryFullAttributesFile ENDP
; ULONG __stdcall NtQueryInformationAtom( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationAtom PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 224
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationAtom ENDP
; ULONG __stdcall NtQueryInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 225
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationFile ENDP
; ULONG __stdcall NtQueryInformationJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 226
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationJobObject ENDP
; ULONG __stdcall NtQueryInformationPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 227
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationPort ENDP
; ULONG __stdcall NtQueryInformationProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 228
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationProcess ENDP
; ULONG __stdcall NtQueryInformationThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 229
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationThread ENDP
; ULONG __stdcall NtQueryInformationToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 230
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationToken ENDP
; ULONG __stdcall NtQueryInstallUILanguage( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtQueryInstallUILanguage PROC STDCALL arg_01:DWORD
mov eax , 231
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtQueryInstallUILanguage ENDP
; ULONG __stdcall NtQueryIntervalProfile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryIntervalProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 232
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryIntervalProfile ENDP
; ULONG __stdcall NtQueryIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 233
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryIoCompletion ENDP
; ULONG __stdcall NtQueryKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 234
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryKey ENDP
; ULONG __stdcall NtQueryMultipleValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtQueryMultipleValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 235
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtQueryMultipleValueKey ENDP
; ULONG __stdcall NtQueryMutant( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 236
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryMutant ENDP
; ULONG __stdcall NtQueryObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 237
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryObject ENDP
; ULONG __stdcall NtQueryOpenSubKeys( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryOpenSubKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 238
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryOpenSubKeys ENDP
; ULONG __stdcall NtQueryOpenSubKeysEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtQueryOpenSubKeysEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 239
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtQueryOpenSubKeysEx ENDP
; ULONG __stdcall NtQueryPerformanceCounter( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtQueryPerformanceCounter PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 240
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtQueryPerformanceCounter ENDP
; ULONG __stdcall NtQueryQuotaInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtQueryQuotaInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 241
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtQueryQuotaInformationFile ENDP
; ULONG __stdcall NtQuerySection( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQuerySection PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 242
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQuerySection ENDP
; ULONG __stdcall NtQuerySecurityObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQuerySecurityObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 243
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQuerySecurityObject ENDP
; ULONG __stdcall NtQuerySemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQuerySemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 244
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQuerySemaphore ENDP
; ULONG __stdcall NtQuerySymbolicLinkObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtQuerySymbolicLinkObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 245
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtQuerySymbolicLinkObject ENDP
; ULONG __stdcall NtQuerySystemEnvironmentValue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtQuerySystemEnvironmentValue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 246
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtQuerySystemEnvironmentValue ENDP
; ULONG __stdcall NtQuerySystemEnvironmentValueEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQuerySystemEnvironmentValueEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 247
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQuerySystemEnvironmentValueEx ENDP
; ULONG __stdcall NtQuerySystemInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtQuerySystemInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 248
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtQuerySystemInformation ENDP
; ULONG __stdcall NtQuerySystemTime( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtQuerySystemTime PROC STDCALL arg_01:DWORD
mov eax , 249
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtQuerySystemTime ENDP
; ULONG __stdcall NtQueryTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 250
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryTimer ENDP
; ULONG __stdcall NtQueryTimerResolution( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtQueryTimerResolution PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 251
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtQueryTimerResolution ENDP
; ULONG __stdcall NtQueryValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtQueryValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 252
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtQueryValueKey ENDP
; ULONG __stdcall NtQueryVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtQueryVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 253
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtQueryVirtualMemory ENDP
; ULONG __stdcall NtQueryVolumeInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryVolumeInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 254
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryVolumeInformationFile ENDP
; ULONG __stdcall NtQueueApcThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueueApcThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 255
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueueApcThread ENDP
; ULONG __stdcall NtRaiseException( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtRaiseException PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 256
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtRaiseException ENDP
; ULONG __stdcall NtRaiseHardError( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtRaiseHardError PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 257
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtRaiseHardError ENDP
; ULONG __stdcall NtReadFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtReadFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 258
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtReadFile ENDP
; ULONG __stdcall NtReadFileScatter( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtReadFileScatter PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 259
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtReadFileScatter ENDP
; ULONG __stdcall NtReadRequestData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtReadRequestData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 260
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtReadRequestData ENDP
; ULONG __stdcall NtReadVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtReadVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 261
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtReadVirtualMemory ENDP
; ULONG __stdcall NtRegisterThreadTerminatePort( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtRegisterThreadTerminatePort PROC STDCALL arg_01:DWORD
mov eax , 262
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtRegisterThreadTerminatePort ENDP
; ULONG __stdcall NtReleaseMutant( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtReleaseMutant PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 263
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtReleaseMutant ENDP
; ULONG __stdcall NtReleaseSemaphore( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtReleaseSemaphore PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 264
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtReleaseSemaphore ENDP
; ULONG __stdcall NtRemoveIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtRemoveIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 265
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtRemoveIoCompletion ENDP
; ULONG __stdcall NtRemoveProcessDebug( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRemoveProcessDebug PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 266
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRemoveProcessDebug ENDP
; ULONG __stdcall NtRenameKey( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRenameKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 267
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRenameKey ENDP
; ULONG __stdcall NtReplaceKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtReplaceKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 268
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtReplaceKey ENDP
; ULONG __stdcall NtReplacePartitionUnit( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtReplacePartitionUnit PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 269
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtReplacePartitionUnit ENDP
; ULONG __stdcall NtReplyPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 270
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtReplyPort ENDP
; ULONG __stdcall NtReplyWaitReceivePort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtReplyWaitReceivePort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 271
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtReplyWaitReceivePort ENDP
; ULONG __stdcall NtReplyWaitReceivePortEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtReplyWaitReceivePortEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 272
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtReplyWaitReceivePortEx ENDP
; ULONG __stdcall NtReplyWaitReplyPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtReplyWaitReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 273
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtReplyWaitReplyPort ENDP
; ULONG __stdcall NtRequestDeviceWakeup( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtRequestDeviceWakeup PROC STDCALL arg_01:DWORD
mov eax , 274
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtRequestDeviceWakeup ENDP
; ULONG __stdcall NtRequestPort( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtRequestPort PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 275
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtRequestPort ENDP
; ULONG __stdcall NtRequestWaitReplyPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtRequestWaitReplyPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 276
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtRequestWaitReplyPort ENDP
; ULONG __stdcall NtRequestWakeupLatency( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtRequestWakeupLatency PROC STDCALL arg_01:DWORD
mov eax , 277
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtRequestWakeupLatency ENDP
; ULONG __stdcall NtResetEvent( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtResetEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 278
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtResetEvent ENDP
; ULONG __stdcall NtResetWriteWatch( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtResetWriteWatch PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 279
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtResetWriteWatch ENDP
; ULONG __stdcall NtRestoreKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtRestoreKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 280
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtRestoreKey ENDP
; ULONG __stdcall NtResumeProcess( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtResumeProcess PROC STDCALL arg_01:DWORD
mov eax , 281
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtResumeProcess ENDP
; ULONG __stdcall NtResumeThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtResumeThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 282
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtResumeThread ENDP
; ULONG __stdcall NtSaveKey( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSaveKey PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 283
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSaveKey ENDP
; ULONG __stdcall NtSaveKeyEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSaveKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 284
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSaveKeyEx ENDP
; ULONG __stdcall NtSaveMergedKeys( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSaveMergedKeys PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 285
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSaveMergedKeys ENDP
; ULONG __stdcall NtSecureConnectPort( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtSecureConnectPort PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 286
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtSecureConnectPort ENDP
; ULONG __stdcall NtSetBootEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetBootEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 287
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetBootEntryOrder ENDP
; ULONG __stdcall NtSetBootOptions( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetBootOptions PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 288
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetBootOptions ENDP
; ULONG __stdcall NtSetContextThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetContextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 289
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetContextThread ENDP
; ULONG __stdcall NtSetDebugFilterState( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSetDebugFilterState PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 290
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSetDebugFilterState ENDP
; ULONG __stdcall NtSetDefaultHardErrorPort( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetDefaultHardErrorPort PROC STDCALL arg_01:DWORD
mov eax , 291
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetDefaultHardErrorPort ENDP
; ULONG __stdcall NtSetDefaultLocale( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetDefaultLocale PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 292
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetDefaultLocale ENDP
; ULONG __stdcall NtSetDefaultUILanguage( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetDefaultUILanguage PROC STDCALL arg_01:DWORD
mov eax , 293
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetDefaultUILanguage ENDP
; ULONG __stdcall NtSetDriverEntryOrder( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetDriverEntryOrder PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 294
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetDriverEntryOrder ENDP
; ULONG __stdcall NtSetEaFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetEaFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 295
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetEaFile ENDP
; ULONG __stdcall NtSetEvent( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 296
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetEvent ENDP
; ULONG __stdcall NtSetEventBoostPriority( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetEventBoostPriority PROC STDCALL arg_01:DWORD
mov eax , 297
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetEventBoostPriority ENDP
; ULONG __stdcall NtSetHighEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 298
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetHighEventPair ENDP
; ULONG __stdcall NtSetHighWaitLowEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetHighWaitLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 299
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetHighWaitLowEventPair ENDP
; ULONG __stdcall NtSetInformationDebugObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtSetInformationDebugObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 300
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtSetInformationDebugObject ENDP
; ULONG __stdcall NtSetInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtSetInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 301
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtSetInformationFile ENDP
; ULONG __stdcall NtSetInformationJobObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 302
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationJobObject ENDP
; ULONG __stdcall NtSetInformationKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 303
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationKey ENDP
; ULONG __stdcall NtSetInformationObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 304
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationObject ENDP
; ULONG __stdcall NtSetInformationProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 305
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationProcess ENDP
; ULONG __stdcall NtSetInformationThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 306
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationThread ENDP
; ULONG __stdcall NtSetInformationToken( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationToken PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 307
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationToken ENDP
; ULONG __stdcall NtSetIntervalProfile( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetIntervalProfile PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 308
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetIntervalProfile ENDP
; ULONG __stdcall NtSetIoCompletion( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtSetIoCompletion PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 309
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtSetIoCompletion ENDP
; ULONG __stdcall NtSetLdtEntries( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtSetLdtEntries PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 310
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtSetLdtEntries ENDP
; ULONG __stdcall NtSetLowEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 311
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetLowEventPair ENDP
; ULONG __stdcall NtSetLowWaitHighEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetLowWaitHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 312
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetLowWaitHighEventPair ENDP
; ULONG __stdcall NtSetQuotaInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetQuotaInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 313
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetQuotaInformationFile ENDP
; ULONG __stdcall NtSetSecurityObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSetSecurityObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 314
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSetSecurityObject ENDP
; ULONG __stdcall NtSetSystemEnvironmentValue( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetSystemEnvironmentValue PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 315
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetSystemEnvironmentValue ENDP
; ULONG __stdcall NtSetSystemEnvironmentValueEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtSetSystemEnvironmentValueEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 316
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtSetSystemEnvironmentValueEx ENDP
; ULONG __stdcall NtSetSystemInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSetSystemInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 317
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSetSystemInformation ENDP
; ULONG __stdcall NtSetSystemPowerState( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSetSystemPowerState PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 318
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSetSystemPowerState ENDP
; ULONG __stdcall NtSetSystemTime( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetSystemTime PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 319
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetSystemTime ENDP
; ULONG __stdcall NtSetThreadExecutionState( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSetThreadExecutionState PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 320
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSetThreadExecutionState ENDP
; ULONG __stdcall NtSetTimer( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 );
_6_0_6002_sp2_windows_vista_NtSetTimer PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD
mov eax , 321
mov edx , 7FFE0300h
call dword ptr [edx]
ret 28
_6_0_6002_sp2_windows_vista_NtSetTimer ENDP
; ULONG __stdcall NtSetTimerResolution( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtSetTimerResolution PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 322
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtSetTimerResolution ENDP
; ULONG __stdcall NtSetUuidSeed( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSetUuidSeed PROC STDCALL arg_01:DWORD
mov eax , 323
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSetUuidSeed ENDP
; ULONG __stdcall NtSetValueKey( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtSetValueKey PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 324
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtSetValueKey ENDP
; ULONG __stdcall NtSetVolumeInformationFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtSetVolumeInformationFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 325
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtSetVolumeInformationFile ENDP
; ULONG __stdcall NtShutdownSystem( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtShutdownSystem PROC STDCALL arg_01:DWORD
mov eax , 326
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtShutdownSystem ENDP
; ULONG __stdcall NtSignalAndWaitForSingleObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSignalAndWaitForSingleObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 327
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSignalAndWaitForSingleObject ENDP
; ULONG __stdcall NtStartProfile( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtStartProfile PROC STDCALL arg_01:DWORD
mov eax , 328
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtStartProfile ENDP
; ULONG __stdcall NtStopProfile( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtStopProfile PROC STDCALL arg_01:DWORD
mov eax , 329
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtStopProfile ENDP
; ULONG __stdcall NtSuspendProcess( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtSuspendProcess PROC STDCALL arg_01:DWORD
mov eax , 330
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtSuspendProcess ENDP
; ULONG __stdcall NtSuspendThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtSuspendThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 331
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtSuspendThread ENDP
; ULONG __stdcall NtSystemDebugControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtSystemDebugControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 332
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtSystemDebugControl ENDP
; ULONG __stdcall NtTerminateJobObject( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtTerminateJobObject PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 333
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtTerminateJobObject ENDP
; ULONG __stdcall NtTerminateProcess( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtTerminateProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 334
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtTerminateProcess ENDP
; ULONG __stdcall NtTerminateThread( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtTerminateThread PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 335
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtTerminateThread ENDP
; ULONG __stdcall NtTestAlert( );
_6_0_6002_sp2_windows_vista_NtTestAlert PROC STDCALL
mov eax , 336
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtTestAlert ENDP
; ULONG __stdcall NtThawRegistry( );
_6_0_6002_sp2_windows_vista_NtThawRegistry PROC STDCALL
mov eax , 337
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtThawRegistry ENDP
; ULONG __stdcall NtThawTransactions( );
_6_0_6002_sp2_windows_vista_NtThawTransactions PROC STDCALL
mov eax , 338
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtThawTransactions ENDP
; ULONG __stdcall NtTraceEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtTraceEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 339
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtTraceEvent ENDP
; ULONG __stdcall NtTraceControl( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtTraceControl PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 340
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtTraceControl ENDP
; ULONG __stdcall NtTranslateFilePath( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtTranslateFilePath PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 341
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtTranslateFilePath ENDP
; ULONG __stdcall NtUnloadDriver( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtUnloadDriver PROC STDCALL arg_01:DWORD
mov eax , 342
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtUnloadDriver ENDP
; ULONG __stdcall NtUnloadKey( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtUnloadKey PROC STDCALL arg_01:DWORD
mov eax , 343
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtUnloadKey ENDP
; ULONG __stdcall NtUnloadKey2( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtUnloadKey2 PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 344
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtUnloadKey2 ENDP
; ULONG __stdcall NtUnloadKeyEx( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtUnloadKeyEx PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 345
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtUnloadKeyEx ENDP
; ULONG __stdcall NtUnlockFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtUnlockFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 346
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtUnlockFile ENDP
; ULONG __stdcall NtUnlockVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtUnlockVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 347
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtUnlockVirtualMemory ENDP
; ULONG __stdcall NtUnmapViewOfSection( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtUnmapViewOfSection PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 348
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtUnmapViewOfSection ENDP
; ULONG __stdcall NtVdmControl( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtVdmControl PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 349
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtVdmControl ENDP
; ULONG __stdcall NtWaitForDebugEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtWaitForDebugEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 350
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtWaitForDebugEvent ENDP
; ULONG __stdcall NtWaitForMultipleObjects( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtWaitForMultipleObjects PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 351
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtWaitForMultipleObjects ENDP
; ULONG __stdcall NtWaitForSingleObject( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtWaitForSingleObject PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 352
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtWaitForSingleObject ENDP
; ULONG __stdcall NtWaitHighEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtWaitHighEventPair PROC STDCALL arg_01:DWORD
mov eax , 353
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtWaitHighEventPair ENDP
; ULONG __stdcall NtWaitLowEventPair( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtWaitLowEventPair PROC STDCALL arg_01:DWORD
mov eax , 354
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtWaitLowEventPair ENDP
; ULONG __stdcall NtWriteFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtWriteFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 355
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtWriteFile ENDP
; ULONG __stdcall NtWriteFileGather( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 );
_6_0_6002_sp2_windows_vista_NtWriteFileGather PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD
mov eax , 356
mov edx , 7FFE0300h
call dword ptr [edx]
ret 36
_6_0_6002_sp2_windows_vista_NtWriteFileGather ENDP
; ULONG __stdcall NtWriteRequestData( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtWriteRequestData PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 357
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtWriteRequestData ENDP
; ULONG __stdcall NtWriteVirtualMemory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtWriteVirtualMemory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 358
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtWriteVirtualMemory ENDP
; ULONG __stdcall NtYieldExecution( );
_6_0_6002_sp2_windows_vista_NtYieldExecution PROC STDCALL
mov eax , 359
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtYieldExecution ENDP
; ULONG __stdcall NtCreateKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtCreateKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 360
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtCreateKeyedEvent ENDP
; ULONG __stdcall NtOpenKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtOpenKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 361
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtOpenKeyedEvent ENDP
; ULONG __stdcall NtReleaseKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtReleaseKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 362
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtReleaseKeyedEvent ENDP
; ULONG __stdcall NtWaitForKeyedEvent( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtWaitForKeyedEvent PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 363
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtWaitForKeyedEvent ENDP
; ULONG __stdcall NtQueryPortInformationProcess( );
_6_0_6002_sp2_windows_vista_NtQueryPortInformationProcess PROC STDCALL
mov eax , 364
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtQueryPortInformationProcess ENDP
; ULONG __stdcall NtGetCurrentProcessorNumber( );
_6_0_6002_sp2_windows_vista_NtGetCurrentProcessorNumber PROC STDCALL
mov eax , 365
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtGetCurrentProcessorNumber ENDP
; ULONG __stdcall NtWaitForMultipleObjects32( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtWaitForMultipleObjects32 PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 366
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtWaitForMultipleObjects32 ENDP
; ULONG __stdcall NtGetNextProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtGetNextProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 367
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtGetNextProcess ENDP
; ULONG __stdcall NtGetNextThread( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtGetNextThread PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 368
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtGetNextThread ENDP
; ULONG __stdcall NtCancelIoFileEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCancelIoFileEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 369
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCancelIoFileEx ENDP
; ULONG __stdcall NtCancelSynchronousIoFile( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtCancelSynchronousIoFile PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 370
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtCancelSynchronousIoFile ENDP
; ULONG __stdcall NtRemoveIoCompletionEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtRemoveIoCompletionEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 371
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtRemoveIoCompletionEx ENDP
; ULONG __stdcall NtRegisterProtocolAddressInformation( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtRegisterProtocolAddressInformation PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 372
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtRegisterProtocolAddressInformation ENDP
; ULONG __stdcall NtPropagationComplete( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtPropagationComplete PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 373
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtPropagationComplete ENDP
; ULONG __stdcall NtPropagationFailed( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtPropagationFailed PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 374
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtPropagationFailed ENDP
; ULONG __stdcall NtCreateWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 );
_6_0_6002_sp2_windows_vista_NtCreateWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD
mov eax , 375
mov edx , 7FFE0300h
call dword ptr [edx]
ret 40
_6_0_6002_sp2_windows_vista_NtCreateWorkerFactory ENDP
; ULONG __stdcall NtReleaseWorkerFactoryWorker( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtReleaseWorkerFactoryWorker PROC STDCALL arg_01:DWORD
mov eax , 376
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtReleaseWorkerFactoryWorker ENDP
; ULONG __stdcall NtWaitForWorkViaWorkerFactory( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtWaitForWorkViaWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 377
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtWaitForWorkViaWorkerFactory ENDP
; ULONG __stdcall NtSetInformationWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 );
_6_0_6002_sp2_windows_vista_NtSetInformationWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD
mov eax , 378
mov edx , 7FFE0300h
call dword ptr [edx]
ret 16
_6_0_6002_sp2_windows_vista_NtSetInformationWorkerFactory ENDP
; ULONG __stdcall NtQueryInformationWorkerFactory( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryInformationWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 379
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryInformationWorkerFactory ENDP
; ULONG __stdcall NtWorkerFactoryWorkerReady( ULONG arg_01 );
_6_0_6002_sp2_windows_vista_NtWorkerFactoryWorkerReady PROC STDCALL arg_01:DWORD
mov eax , 380
mov edx , 7FFE0300h
call dword ptr [edx]
ret 4
_6_0_6002_sp2_windows_vista_NtWorkerFactoryWorkerReady ENDP
; ULONG __stdcall NtShutdownWorkerFactory( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtShutdownWorkerFactory PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 381
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtShutdownWorkerFactory ENDP
; ULONG __stdcall NtCreateThreadEx( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtCreateThreadEx PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 382
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtCreateThreadEx ENDP
; ULONG __stdcall NtCreateUserProcess( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 , ULONG arg_07 , ULONG arg_08 , ULONG arg_09 , ULONG arg_10 , ULONG arg_11 );
_6_0_6002_sp2_windows_vista_NtCreateUserProcess PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD , arg_07:DWORD , arg_08:DWORD , arg_09:DWORD , arg_10:DWORD , arg_11:DWORD
mov eax , 383
mov edx , 7FFE0300h
call dword ptr [edx]
ret 44
_6_0_6002_sp2_windows_vista_NtCreateUserProcess ENDP
; ULONG __stdcall NtQueryLicenseValue( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 );
_6_0_6002_sp2_windows_vista_NtQueryLicenseValue PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD
mov eax , 384
mov edx , 7FFE0300h
call dword ptr [edx]
ret 20
_6_0_6002_sp2_windows_vista_NtQueryLicenseValue ENDP
; ULONG __stdcall NtMapCMFModule( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 , ULONG arg_04 , ULONG arg_05 , ULONG arg_06 );
_6_0_6002_sp2_windows_vista_NtMapCMFModule PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD , arg_04:DWORD , arg_05:DWORD , arg_06:DWORD
mov eax , 385
mov edx , 7FFE0300h
call dword ptr [edx]
ret 24
_6_0_6002_sp2_windows_vista_NtMapCMFModule ENDP
; ULONG __stdcall NtIsUILanguageComitted( );
_6_0_6002_sp2_windows_vista_NtIsUILanguageComitted PROC STDCALL
mov eax , 386
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtIsUILanguageComitted ENDP
; ULONG __stdcall NtFlushInstallUILanguage( ULONG arg_01 , ULONG arg_02 );
_6_0_6002_sp2_windows_vista_NtFlushInstallUILanguage PROC STDCALL arg_01:DWORD , arg_02:DWORD
mov eax , 387
mov edx , 7FFE0300h
call dword ptr [edx]
ret 8
_6_0_6002_sp2_windows_vista_NtFlushInstallUILanguage ENDP
; ULONG __stdcall NtGetMUIRegistryInfo( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtGetMUIRegistryInfo PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 388
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtGetMUIRegistryInfo ENDP
; ULONG __stdcall NtAcquireCMFViewOwnership( ULONG arg_01 , ULONG arg_02 , ULONG arg_03 );
_6_0_6002_sp2_windows_vista_NtAcquireCMFViewOwnership PROC STDCALL arg_01:DWORD , arg_02:DWORD , arg_03:DWORD
mov eax , 389
mov edx , 7FFE0300h
call dword ptr [edx]
ret 12
_6_0_6002_sp2_windows_vista_NtAcquireCMFViewOwnership ENDP
; ULONG __stdcall NtReleaseCMFViewOwnership( );
_6_0_6002_sp2_windows_vista_NtReleaseCMFViewOwnership PROC STDCALL
mov eax , 390
mov edx , 7FFE0300h
call dword ptr [edx]
ret
_6_0_6002_sp2_windows_vista_NtReleaseCMFViewOwnership ENDP
| 31.880787 | 345 | 0.776802 |
37d4e8e38112214a978ebab2f4f1ee1531485db2 | 265 | asm | Assembly | libsrc/osca/get_device_list.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/osca/get_device_list.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | libsrc/osca/get_device_list.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | ;
; Old School Computer Architecture - interfacing FLOS
; Stefano Bodrato, 2011
;
; Get current volume
;
; $Id: get_device_list.asm,v 1.1 2011/08/03 08:13:40 stefano Exp $
;
INCLUDE "flos.def"
XLIB get_device_list
get_device_list:
jp kjt_get_device_info
| 16.5625 | 66 | 0.732075 |
e150043969c24b31cff5086801f06fce080a80b8 | 4,242 | asm | Assembly | src/drivers/emulations/DCSGOnPSG.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | 6 | 2020-04-21T17:26:27.000Z | 2021-09-25T18:41:01.000Z | src/drivers/emulations/DCSGOnPSG.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | null | null | null | src/drivers/emulations/DCSGOnPSG.asm | sharksym/vgmplay-sharksym | d7763b87a379da4e6dadcc55026969d310957952 | [
"BSD-2-Clause"
] | null | null | null | ;
; DCSG on PSG driver
;
DCSGOnPSG_CLOCK: equ 3579545
DCSGOnPSG: MACRO
super: Driver Device_noName, DCSGOnPSG_CLOCK, DCSGOnPSG_PrintInfoImpl
psgDriver:
dw 0
MapAttenuation:
ld a,d
and 0FH
add a,DCSGOnPSG_volumeMap & 0FFH
ld l,a
ld h,DCSGOnPSG_volumeMap >> 8
ld a,(hl)
ret
; a = value
SafeWriteRegister:
ld d,a
add a,a
jr nc,Register0
Register1:
ld (latch),a
add a,a
jr c,Register11
Register10:
add a,a
jr c,Register101
Register100:
add a,a
jr nc,Tone1FrequencyLow
Tone1Attenuation:
call MapAttenuation
ld e,8
jr WriteRegisterA
Register101:
add a,a
jr nc,Tone2FrequencyLow
Tone2Attenuation:
call MapAttenuation
ld e,9
jr WriteRegisterA
Register11:
add a,a
jr c,Register111
Register110:
add a,a
jr nc,Tone3FrequencyLow
Tone3Attenuation:
call MapAttenuation
ld (WriteMixAndTone3Volume.tone3Volume),a
jr WriteMixAndTone3Volume
Register111:
add a,a
jr nc,NoiseControl
NoiseAttenuation:
call MapAttenuation
ld (WriteMixAndTone3Volume.noiseVolume),a
jr WriteMixAndTone3Volume
;
WriteMixAndTone3Volume: PROC
ld hl,10111100B << 8 | 7
ld a,0
tone3Volume: equ $ - 1
and 0FH
ld d,a
jr z,NoTone2
res 2,h
NoTone2:
ld a,0
noiseVolume: equ $ - 1
and 0FH
jr z,NoNoise
res 5,h
NoNoise:
cp d
jr c,PickAttenuation2
ld d,a
PickAttenuation2:
push hl
ld e,10
call WriteRegisterD
pop de
jr WriteRegisterD
ENDP
; a = value << 4
; d = value
Tone1FrequencyLow: PROC
ld de,0
highAndRegister: equ $ - 2
jr WriteToneFrequency
ENDP
; a = value << 4
; d = value
Tone2FrequencyLow: PROC
ld de,2
highAndRegister: equ $ - 2
jr WriteToneFrequency
ENDP
; a = value << 4
; d = value
Tone3FrequencyLow: PROC
ld hl,WriteNoiseFrequency.tone3FrequencyLow
ld (hl),d
ld de,4
highAndRegister: equ $ - 2
high: equ $ - 1
call WriteToneFrequency
jr WriteNoiseFrequency
ENDP
; a = value << 4
; d = value
NoiseControl:
ld a,d
ld (WriteNoiseFrequency.noiseControl),a
jr WriteNoiseFrequency
; a = value
; e = register
WriteRegisterA:
ld d,a
; d = value
; e = register
WriteRegisterD:
jp System_Return
writeRegister: equ $ - 2
; a = value << 1
Register0:
ld a,0
latch: equ $ - 1
add a,a
jr c,Register01
Register00:
add a,a
jr c,Register001
Register000:
add a,a
jr c,Tone1Attenuation
Tone1FrequencyHigh:
ld e,0
ld (Tone1FrequencyLow.highAndRegister),de
jr WriteToneFrequency
Register001:
add a,a
jr c,Tone2Attenuation
Tone2FrequencyHigh:
ld e,2
ld (Tone2FrequencyLow.highAndRegister),de
jr WriteToneFrequency
Register01:
add a,a
jr c,Register111
Register010:
add a,a
jr c,Tone3Attenuation
Tone3FrequencyHigh:
ld e,4
ld (Tone3FrequencyLow.highAndRegister),de
call WriteToneFrequency
jr WriteNoiseFrequency
;
WriteNoiseFrequency: PROC
ld e,6
ld a,0
noiseControl: equ $ - 1
and 03H
jr z,Noise00
sub 3
jr z,Noise11
Noise01:
Noise10:
ld a,1FH
jr WriteRegisterA
Noise00:
ld a,10H
jr WriteRegisterA
Noise11:
ld a,(Tone3FrequencyLow.high)
and 3FH
rr a
jr nz,Noise01
sbc a,a
and 10H
;or 0C0H ; no need to clear bits 5-7
xor 0
tone3FrequencyLow: equ $ - 1
jr WriteRegisterA
ENDP
; a = frequency low * 16
; d = frequency high
; e = PSG register
WriteToneFrequency:
add a,a
rl d
add a,a
rl d
add a,a
rl d
adc a,a
rl d
rla
push de
inc e
call WriteRegisterA
pop de
jr WriteRegisterD
ENDM
; ix = this
; iy = drivers
DCSGOnPSG_Construct:
call Driver_Construct
call DCSGOnPSG_TryCreatePSG
jp nc,Driver_NotFound
ld (ix + DCSGOnPSG.psgDriver),e
ld (ix + DCSGOnPSG.psgDriver + 1),d
ld bc,DCSGOnPSG.writeRegister
jp Device_ConnectInterface
; ix = this
DCSGOnPSG_Destruct: equ System_Return
; ret
; iy = drivers
; ix = this
; de <- driver
; hl <- device interface
; f <- c: succeeded
DCSGOnPSG_TryCreatePSG: equ AY8910_TryCreate
; jp AY8910_TryCreate
; ix = this
DCSGOnPSG_PrintInfoImpl:
ld de,DCSGOnPSG.psgDriver
jp Driver_PrintInfoIXOffset
;
SECTION RAM
DCSGOnPSG_instance: DCSGOnPSG
ENDS
DCSGOnPSG_interface:
InterfaceOffset DCSGOnPSG.SafeWriteRegister
ALIGN_FIT8 16
DCSGOnPSG_volumeMap:
db 15, 14, 14, 13, 12, 12, 11, 10, 10, 9, 8, 8, 7, 6, 6, 0
| 16.252874 | 70 | 0.707214 |
8d6220fb26f13e1a71efb248cf5ec91e8bafeea3 | 425 | asm | Assembly | oeis/161/A161916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/161/A161916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/161/A161916.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A161916: The smallest k such that A010060(n+k)=A010060(n).
; Submitted by Christian Krause
; 3,1,2,2,3,1,3,1,3,1,2,2,3,1,2,2,3,1,2,2,3,1,3,1,3,1,2,2,3,1,3,1,3,1,2,2,3,1,3,1,3,1,2,2,3,1,2,2,3,1,2,2,3,1,3,1,3,1,2,2,3,1,2,2,3,1,2,2,3,1,3,1,3,1,2,2,3,1,2,2,3,1,2,2,3,1,3,1,3,1,2,2,3,1,3,1,3,1,2,2
mov $2,$0
mod $0,2
mul $0,2
seq $2,39963 ; The period-doubling sequence A035263 repeated.
bin $0,$2
sub $1,$0
mov $0,$1
add $0,3
| 32.692308 | 201 | 0.597647 |
dd311be55d2000be231d2620affbbf9e0209dbde | 2,328 | asm | Assembly | programs/oeis/016/A016977.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/016/A016977.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/016/A016977.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A016977: a(n) = (6*n + 5)^9.
; 1953125,2357947691,118587876497,1801152661463,14507145975869,78815638671875,327381934393961,1119130473102767,3299763591802133,8662995818654939,20711912837890625,45848500718449031,95151694449171437,186940255267540403,350356403707485209,630249409724609375,1093685272684360901,1838459212420154507,3004041937984268273,4785448563124474679,7450580596923828125,11361656654439817571,17001416405572203977,25004854810776297743,36197319879620191349,51639887032560546875,72683006647681947041,101029508532509551847,138808137876363860813,188658891711079763219,253831523037259765625,338298681559573317311,446885265417950510117,585415667401849109483,760880711892098878289,981626195189146484375,1257565061957837936381,1600415374247183470787,2023966356928852115753,2544374934440439784559,3180495308418845703125,3954244264165377252251,4891005035897482905857,6020072706412286871623,7375144266114367290029,8994856609344482421875,10923375902587206152921,13211041919433685367327,15915071101130977289093,19100322269161664762699,22840129087566681640625,27217203547650508966391,32324614926291125487197,38266848851317313200163,45160951293313130130569,53137762492763568359375,62343246024666615460661,72939918399605131977467,85108384800797146356833,99048986760825351881639,114983567789585767578125,133157363176491696843731,153841020405122283630137,177332756837315126431103,203960661546169565063909,234085148403551404296875,268101567757470981763601,306442984268144625317207,349583128708644677014973,398039531776795387285379,452376848209381103515625,513210379737799292308271,581209805676014043990677,657103130187045811620443,741680855533270234714049,835800390878492990234375,940390706476118700005741,1056457243347740004682547,1185087088830137989679513,1327454428646007218077919,1484826286434697689453125,1658568561963902101824011,1850152379531509846504817,2061160758358799212544183,2293295617071746318664989,2548385124666493326171875,2828391410657939516171081,3135418647416996838649487,3471721518012286559486453,3839714083185945644323259,4241979061410760525390625,4681277536297051898894951,5160559105942597196388557,5682972489147397363698323,6251876603747271565460729,6870852132656097412109375,7543713593546005279283621,8274521928437983257074027,9067597629822154228291793,9927534420277448531045399
mul $0,6
add $0,5
pow $0,9
| 332.571429 | 2,268 | 0.942869 |
5fcf2dcfe0f859868588e6290cbe031c0679cede | 8,454 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_643.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_0xa0_notsx.log_21829_643.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_0xa0_notsx.log_21829_643.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 %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x6248, %rax
cmp %rsi, %rsi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm4
vmovups %ymm4, (%rax)
nop
dec %rax
lea addresses_A_ht+0x5ccd, %rdx
nop
nop
nop
cmp %rbp, %rbp
movl $0x61626364, (%rdx)
nop
nop
nop
nop
dec %rdi
lea addresses_A_ht+0xcce8, %rsi
lea addresses_UC_ht+0x15008, %rdi
nop
nop
nop
sub %r10, %r10
mov $7, %rcx
rep movsb
nop
and %rbp, %rbp
lea addresses_WC_ht+0xc5d0, %rcx
clflush (%rcx)
nop
nop
nop
nop
xor $7741, %rsi
and $0xffffffffffffffc0, %rcx
movntdqa (%rcx), %xmm4
vpextrq $1, %xmm4, %r10
nop
nop
xor %r10, %r10
lea addresses_WC_ht+0x1e7e6, %rsi
lea addresses_UC_ht+0x19b48, %rdi
nop
nop
nop
nop
nop
add $15541, %r14
mov $111, %rcx
rep movsq
nop
nop
nop
add $25508, %rdx
lea addresses_normal_ht+0x2414, %rcx
nop
nop
nop
nop
sub $37444, %rdi
movl $0x61626364, (%rcx)
nop
nop
nop
nop
nop
and $40288, %rax
lea addresses_D_ht+0x1157e, %rsi
lea addresses_WC_ht+0x13508, %rdi
nop
nop
xor %rbp, %rbp
mov $50, %rcx
rep movsw
nop
nop
nop
nop
nop
sub $43261, %rdx
lea addresses_WT_ht+0xbb28, %rax
sub $25407, %rdx
vmovups (%rax), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $0, %xmm0, %r14
nop
nop
nop
nop
nop
sub $3719, %r14
lea addresses_WT_ht+0x948, %rcx
nop
nop
nop
nop
nop
dec %rax
movb $0x61, (%rcx)
nop
and %r14, %r14
lea addresses_D_ht+0x1c608, %rsi
lea addresses_WC_ht+0x3c8, %rdi
nop
nop
nop
nop
nop
add %rdx, %rdx
mov $64, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $59847, %r14
lea addresses_UC_ht+0x1d708, %rsi
lea addresses_WC_ht+0xe210, %rdi
nop
nop
nop
nop
nop
xor %r14, %r14
mov $7, %rcx
rep movsq
nop
nop
nop
nop
sub $1977, %rbp
lea addresses_normal_ht+0x75f0, %rsi
and $54459, %r10
movb $0x61, (%rsi)
nop
dec %rsi
lea addresses_WC_ht+0x16748, %rbp
nop
nop
nop
nop
nop
sub $25149, %rdx
mov $0x6162636465666768, %r14
movq %r14, %xmm1
vmovups %ymm1, (%rbp)
nop
nop
nop
nop
nop
cmp %rax, %rax
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r8
push %rax
push %rbx
push %rcx
push %rdi
// Store
lea addresses_WC+0x1d148, %rbx
nop
nop
nop
nop
nop
add $51232, %rdi
movl $0x51525354, (%rbx)
nop
nop
nop
sub %rdi, %rdi
// Store
lea addresses_RW+0x4848, %r11
nop
cmp $5484, %rax
movw $0x5152, (%r11)
nop
sub $28193, %r11
// Store
lea addresses_WC+0x1c6a0, %rbx
nop
nop
add %r10, %r10
mov $0x5152535455565758, %rax
movq %rax, %xmm2
movntdq %xmm2, (%rbx)
and $60592, %rbx
// Store
lea addresses_D+0x1ca08, %rdi
nop
and %rax, %rax
mov $0x5152535455565758, %rcx
movq %rcx, %xmm3
movups %xmm3, (%rdi)
nop
add %r8, %r8
// Faulty Load
lea addresses_RW+0x1e148, %rcx
sub $65432, %r8
mov (%rcx), %r11
lea oracles, %rdi
and $0xff, %r11
shlq $12, %r11
mov (%rdi,%r11,1), %r11
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_RW', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 16, 'NT': True, 'same': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 5}}
[Faulty Load]
{'src': {'type': 'addresses_RW', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': True, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}}
{'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16, 'NT': True, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4, 'NT': True, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 9}}
{'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
*/
| 31.195572 | 2,999 | 0.657204 |
b8b9c4c344aea51ce9ff2791a69596c1552d397c | 570 | asm | Assembly | programs/oeis/079/A079498.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/079/A079498.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/079/A079498.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A079498: Numbers whose sum of digits in base b gives 0 (mod b), for b = 3.
; 0,5,7,11,13,15,19,21,26,29,31,33,37,39,44,45,50,52,55,57,62,63,68,70,74,76,78,83,85,87,91,93,98,99,104,106,109,111,116,117,122,124,128,130,132,135,140,142,146,148,150,154,156,161,163,165,170,171,176,178,182,184,186,189,194,196,200,202,204,208,210,215,218,220,222,226,228,233,234,239,241,245,247,249,253,255,260,261,266,268,271,273,278,279,284,286,290,292,294,297
mov $4,$0
lpb $0
add $2,$0
add $2,$0
div $0,3
lpe
lpb $2
mod $2,3
lpe
mov $1,$2
mov $3,$4
mul $3,3
add $1,$3
mov $0,$1
| 31.666667 | 364 | 0.664912 |
5877805b3b5f9d84045222d1286462e8de3e3f50 | 726 | asm | Assembly | libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/c/sdcc/i2c_interrupt_attach.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/c/sdcc/i2c_interrupt_attach.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/c/sdcc/i2c_interrupt_attach.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | SECTION code_driver
EXTERN asm_i2c_interrupt_attach
PUBLIC _i2c_interrupt_attach
;------------------------------------------------------------------------------
; Attach a PCA9665 device interrupt
;
; attach an interrupt relevant for the specific device
; input HL = address of the interrupt service routine
; input A = device address, __IO_I2C1_PORT_MSB or __IO_I2C2_PORT_MSB
;
; void i2c_interrupt_attach( uint8_t device, uint8_t *isr )
._i2c_interrupt_attach
pop af ;ret
dec sp
pop bc ;device address
pop hl ;*isr
push hl
push bc
inc sp
push af
ld a,b
jp asm_i2c_interrupt_attach
| 25.928571 | 79 | 0.561983 |
664a99d4d1d8f1165d05d710ce3d2bcea4731634 | 5,685 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_3860_710.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_3860_710.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_3860_710.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 %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x7dcb, %rax
nop
and $4745, %rsi
mov (%rax), %r15d
add %r10, %r10
lea addresses_A_ht+0x199cb, %r9
nop
cmp $2420, %rcx
mov $0x6162636465666768, %rbx
movq %rbx, (%r9)
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_WT_ht+0x1038b, %rsi
clflush (%rsi)
nop
lfence
mov $0x6162636465666768, %r10
movq %r10, %xmm0
vmovups %ymm0, (%rsi)
nop
sub $4969, %rbx
lea addresses_A_ht+0x10bcb, %rsi
lea addresses_UC_ht+0xe2b3, %rdi
clflush (%rsi)
nop
nop
nop
and %rbx, %rbx
mov $117, %rcx
rep movsq
xor %r9, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %r9
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_normal+0xd90b, %rsi
lea addresses_UC+0x1c3cb, %rdi
nop
nop
cmp $1055, %r8
mov $66, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $38311, %r9
// Store
lea addresses_normal+0x7b97, %rdi
nop
nop
nop
xor $19430, %rsi
movw $0x5152, (%rdi)
nop
sub $16892, %rdi
// Store
lea addresses_PSE+0x1b5cb, %r13
nop
nop
add %r8, %r8
movl $0x51525354, (%r13)
nop
nop
add $43976, %r10
// Faulty Load
lea addresses_normal+0x1fbcb, %r10
nop
nop
nop
cmp %r9, %r9
movb (%r10), %cl
lea oracles, %rsi
and $0xff, %rcx
shlq $12, %rcx
mov (%rsi,%rcx,1), %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC', 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 9, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}}
{'34': 3860}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 41.49635 | 2,999 | 0.658399 |
4e62f541a24227d8c8f2e59862ffa20895026630 | 16,728 | asm | Assembly | Tests/yasm-regression/ssewidth.asm | 13xforever/x86-assembly-textmate-bundle | f1bb62f77b776d87d0fd85b0276d4237ff72c43c | [
"MIT"
] | 69 | 2015-04-16T18:01:22.000Z | 2022-02-15T07:54:26.000Z | Tests/yasm-regression/ssewidth.asm | javiercbk/x86-assembly-textmate-bundle | 62d700e0196f62ef4353a9b95c2e64beb0a6afda | [
"MIT"
] | 17 | 2016-09-20T08:49:09.000Z | 2021-02-19T15:01:04.000Z | Tests/yasm-regression/ssewidth.asm | javiercbk/x86-assembly-textmate-bundle | 62d700e0196f62ef4353a9b95c2e64beb0a6afda | [
"MIT"
] | 19 | 2016-05-31T07:11:14.000Z | 2021-07-19T10:17:12.000Z | [bits 64]
addpd xmm1, xmm2 ; out: 66 0f 58 ca
addpd xmm1, dqword [rbx] ; out: 66 0f 58 0b
addps xmm1, xmm2 ; out: 0f 58 ca
addps xmm1, dqword [rbx] ; out: 0f 58 0b
addsd xmm1, xmm2 ; out: f2 0f 58 ca
addsd xmm1, qword [rbx] ; out: f2 0f 58 0b
addss xmm1, xmm2 ; out: f3 0f 58 ca
addss xmm1, dword [rbx] ; out: f3 0f 58 0b
addsubpd xmm1, xmm2 ; out: 66 0f d0 ca
addsubpd xmm1, dqword [rbx] ; out: 66 0f d0 0b
addsubps xmm1, xmm2 ; out: f2 0f d0 ca
addsubps xmm1, dqword [rbx] ; out: f2 0f d0 0b
andnpd xmm1, xmm2 ; out: 66 0f 55 ca
andnpd xmm1, dqword [rbx] ; out: 66 0f 55 0b
andnps xmm1, xmm2 ; out: 0f 55 ca
andnps xmm1, dqword [rbx] ; out: 0f 55 0b
andpd xmm1, xmm2 ; out: 66 0f 54 ca
andpd xmm1, dqword [rbx] ; out: 66 0f 54 0b
andps xmm1, xmm2 ; out: 0f 54 ca
andps xmm1, dqword [rbx] ; out: 0f 54 0b
cmppd xmm1, xmm2, 0 ; out: 66 0f c2 ca 00
cmppd xmm1, dqword [rbx], 0 ; out: 66 0f c2 0b 00
cmpeqpd xmm1, xmm2 ; out: 66 0f c2 ca 00
cmpeqpd xmm1, dqword [rbx] ; out: 66 0f c2 0b 00
cmpps xmm1, xmm2, 0 ; out: 0f c2 ca 00
cmpps xmm1, dqword [rbx], 0 ; out: 0f c2 0b 00
cmpeqps xmm1, xmm2 ; out: 0f c2 ca 00
cmpeqps xmm1, dqword [rbx] ; out: 0f c2 0b 00
cmpsd xmm1, xmm2, 0 ; out: f2 0f c2 ca 00
cmpsd xmm1, qword [rbx], 0 ; out: f2 0f c2 0b 00
cmpeqsd xmm1, xmm2 ; out: f2 0f c2 ca 00
cmpeqsd xmm1, qword [rbx] ; out: f2 0f c2 0b 00
cmpss xmm1, xmm2, 0 ; out: f3 0f c2 ca 00
cmpss xmm1, dword [rbx], 0 ; out: f3 0f c2 0b 00
cmpeqss xmm1, xmm2 ; out: f3 0f c2 ca 00
cmpeqss xmm1, dword [rbx] ; out: f3 0f c2 0b 00
comisd xmm1, xmm2 ; out: 66 0f 2f ca
comisd xmm1, qword [rbx] ; out: 66 0f 2f 0b
comiss xmm1, xmm2 ; out: 0f 2f ca
comiss xmm1, dword [rbx] ; out: 0f 2f 0b
cvtdq2pd xmm1, xmm2 ; out: f3 0f e6 ca
cvtdq2pd xmm1, qword [rbx] ; out: f3 0f e6 0b
cvtdq2ps xmm1, xmm2 ; out: 0f 5b ca
cvtdq2ps xmm1, dqword [rbx] ; out: 0f 5b 0b
cvtpd2dq xmm1, xmm2 ; out: f2 0f e6 ca
cvtpd2dq xmm1, dqword [rbx] ; out: f2 0f e6 0b
cvtpd2pi mm1, xmm2 ; out: 66 0f 2d ca - mmx
cvtpd2pi mm1, dqword [rbx] ; out: 66 0f 2d 0b
cvtpd2ps xmm1, xmm2 ; out: 66 0f 5a ca
cvtpd2ps xmm1, dqword [rbx] ; out: 66 0f 5a 0b
cvtpi2pd xmm1, mm2 ; out: 66 0f 2a ca - mmx
cvtpi2pd xmm1, qword [rbx] ; out: 66 0f 2a 0b
cvtpi2ps xmm1, mm2 ; out: 0f 2a ca - mmx
cvtpi2ps xmm1, qword [rbx] ; out: 0f 2a 0b
cvtps2dq xmm1, xmm2 ; out: 66 0f 5b ca
cvtps2dq xmm1, dqword [rbx] ; out: 66 0f 5b 0b
cvtps2pd xmm1, xmm2 ; out: 0f 5a ca
cvtps2pd xmm1, qword [rbx] ; out: 0f 5a 0b
cvtps2pi mm1, xmm2 ; out: 0f 2d ca
cvtps2pi mm1, qword [rbx] ; out: 0f 2d 0b
cvtsd2si rbx, xmm2 ; out: f2 48 0f 2d da
cvtsd2si rbx, qword [rbx] ; out: f2 48 0f 2d 1b
cvtsd2ss xmm1, xmm2 ; out: f2 0f 5a ca
cvtsd2ss xmm1, qword [rbx] ; out: f2 0f 5a 0b
cvtsi2sd xmm1, ebx ; out: f2 0f 2a cb
cvtsi2sd xmm1, dword [rbx] ; out: f2 0f 2a 0b
cvtsi2sd xmm1, rbx ; out: f2 48 0f 2a cb
cvtsi2sd xmm1, qword [rbx] ; out: f2 48 0f 2a 0b
cvtsi2ss xmm1, ebx ; out: f3 0f 2a cb
cvtsi2ss xmm1, dword [rbx] ; out: f3 0f 2a 0b
cvtsi2ss xmm1, rbx ; out: f3 48 0f 2a cb
cvtsi2ss xmm1, qword [rbx] ; out: f3 48 0f 2a 0b
cvtss2sd xmm1, xmm2 ; out: f3 0f 5a ca
cvtss2sd xmm1, dword [rbx] ; out: f3 0f 5a 0b
cvtss2si ebx, xmm2 ; out: f3 0f 2d da
cvtss2si ebx, dword [rbx] ; out: f3 0f 2d 1b
cvtss2si rbx, xmm2 ; out: f3 48 0f 2d da
cvtss2si rbx, dword [rbx] ; out: f3 48 0f 2d 1b
cvttpd2dq xmm1, xmm2 ; out: 66 0f e6 ca
cvttpd2dq xmm1, dqword [rbx] ; out: 66 0f e6 0b
cvttpd2pi mm1, xmm2 ; out: 66 0f 2c ca
cvttpd2pi mm1, dqword [rbx] ; out: 66 0f 2c 0b
cvttps2dq xmm1, xmm2 ; out: f3 0f 5b ca
cvttps2dq xmm1, dqword [rbx] ; out: f3 0f 5b 0b
cvttps2pi mm1, xmm2 ; out: 0f 2c ca
cvttps2pi mm1, qword [rbx] ; out: 0f 2c 0b
cvttsd2si eax, xmm1 ; out: f2 0f 2c c1
cvttsd2si eax, qword [rbx] ; out: f2 0f 2c 03
cvttsd2si rax, xmm1 ; out: f2 48 0f 2c c1
cvttsd2si rax, qword [rbx] ; out: f2 48 0f 2c 03
cvttss2si eax, xmm1 ; out: f3 0f 2c c1
cvttss2si eax, dword [rbx] ; out: f3 0f 2c 03
cvttss2si rax, xmm1 ; out: f3 48 0f 2c c1
cvttss2si rax, dword [rbx] ; out: f3 48 0f 2c 03
divpd xmm1, xmm2 ; out: 66 0f 5e ca
divpd xmm1, dqword [rbx] ; out: 66 0f 5e 0b
divps xmm1, xmm2 ; out: 0f 5e ca
divps xmm1, dqword [rbx] ; out: 0f 5e 0b
divsd xmm1, xmm2 ; out: f2 0f 5e ca
divsd xmm1, qword [rbx] ; out: f2 0f 5e 0b
divss xmm1, xmm2 ; out: f3 0f 5e ca
divss xmm1, dword [rbx] ; out: f3 0f 5e 0b
extrq xmm1, 0, 1 ; out: 66 0f 78 c1 00 01
extrq xmm1, byte 0, byte 1 ; out: 66 0f 78 c1 00 01
extrq xmm1, xmm2 ; out: 66 0f 79 ca
haddpd xmm1, xmm2 ; out: 66 0f 7c ca
haddpd xmm1, dqword [rbx] ; out: 66 0f 7c 0b
haddps xmm1, xmm2 ; out: f2 0f 7c ca
haddps xmm1, dqword [rbx] ; out: f2 0f 7c 0b
hsubpd xmm1, xmm2 ; out: 66 0f 7d ca
hsubpd xmm1, dqword [rbx] ; out: 66 0f 7d 0b
hsubps xmm1, xmm2 ; out: f2 0f 7d ca
hsubps xmm1, dqword [rbx] ; out: f2 0f 7d 0b
insertq xmm1, xmm2, 0, 1 ; out: f2 0f 78 ca 00 01
insertq xmm1, xmm2, byte 0, byte 1 ; out: f2 0f 78 ca 00 01
insertq xmm1, xmm2 ; out: f2 0f 79 ca
lddqu xmm1, dqword [rbx] ; out: f2 0f f0 0b
ldmxcsr dword [rbx] ; out: 0f ae 13
maskmovdqu xmm1, xmm2 ; out: 66 0f f7 ca
maxpd xmm1, xmm2 ; out: 66 0f 5f ca
maxpd xmm1, dqword [rbx] ; out: 66 0f 5f 0b
maxps xmm1, xmm2 ; out: 0f 5f ca
maxps xmm1, dqword [rbx] ; out: 0f 5f 0b
maxsd xmm1, xmm2 ; out: f2 0f 5f ca
maxsd xmm1, qword [rbx] ; out: f2 0f 5f 0b
maxss xmm1, xmm2 ; out: f3 0f 5f ca
maxss xmm1, dword [rbx] ; out: f3 0f 5f 0b
minpd xmm1, xmm2 ; out: 66 0f 5d ca
minpd xmm1, dqword [rbx] ; out: 66 0f 5d 0b
minps xmm1, xmm2 ; out: 0f 5d ca
minps xmm1, dqword [rbx] ; out: 0f 5d 0b
minsd xmm1, xmm2 ; out: f2 0f 5d ca
minsd xmm1, qword [rbx] ; out: f2 0f 5d 0b
minss xmm1, xmm2 ; out: f3 0f 5d ca
minss xmm1, dword [rbx] ; out: f3 0f 5d 0b
movapd xmm1, xmm2 ; out: 66 0f 28 ca
movapd xmm1, dqword [rbx] ; out: 66 0f 28 0b
movapd dqword [rbx], xmm2 ; out: 66 0f 29 13
movaps xmm1, xmm2 ; out: 0f 28 ca
movaps xmm1, dqword [rbx] ; out: 0f 28 0b
movaps dqword [rbx], xmm2 ; out: 0f 29 13
movd xmm1, ebx ; out: 66 0f 6e cb
movd xmm1, dword [rbx] ; out: 66 0f 6e 0b
movd xmm1, rbx ; out: 66 48 0f 6e cb
movd xmm1, qword [rbx] ; out: 66 48 0f 6e 0b
movd dword [rbx], xmm2 ; out: 66 0f 7e 13
movd qword [rbx], xmm2 ; out: 66 48 0f 7e 13
movddup xmm1, xmm2 ; out: f2 0f 12 ca
movddup xmm1, qword [rbx] ; out: f2 0f 12 0b
movdq2q mm1, xmm2 ; out: f2 0f d6 ca
movdqa xmm1, xmm2 ; out: 66 0f 6f ca
movdqa xmm1, dqword [rbx] ; out: 66 0f 6f 0b
movdqa dqword [rbx], xmm2 ; out: 66 0f 7f 13
movdqu xmm1, xmm2 ; out: f3 0f 6f ca
movdqu xmm1, dqword [rbx] ; out: f3 0f 6f 0b
movdqu dqword [rbx], xmm2 ; out: f3 0f 7f 13
movhlps xmm1, xmm2 ; out: 0f 12 ca
movhpd xmm1, qword [rbx] ; out: 66 0f 16 0b
movhpd qword [rbx], xmm2 ; out: 66 0f 17 13
movhps xmm1, qword [rbx] ; out: 0f 16 0b
movhps qword [rbx], xmm2 ; out: 0f 17 13
movlhps xmm1, xmm2 ; out: 0f 16 ca
movlpd xmm1, qword [rbx] ; out: 66 0f 12 0b
movlpd qword [rbx], xmm2 ; out: 66 0f 13 13
movlps xmm1, qword [rbx] ; out: 0f 12 0b
movlps qword [rbx], xmm2 ; out: 0f 13 13
movmskpd ebx, xmm2 ; out: 66 0f 50 da
movmskps ebx, xmm2 ; out: 0f 50 da
movntdq dqword [rbx], xmm2 ; out: 66 0f e7 13
movntpd dqword [rbx], xmm2 ; out: 66 0f 2b 13
movntps dqword [rbx], xmm2 ; out: 0f 2b 13
movntsd qword [rbx], xmm2 ; out: f2 0f 2b 13
movntss dword [rbx], xmm2 ; out: f3 0f 2b 13
movq xmm1, xmm2 ; out: f3 0f 7e ca
movq xmm1, qword [rbx] ; out: f3 0f 7e 0b
movq qword [rbx], xmm2 ; out: 66 0f d6 13
movq2dq xmm1, mm2 ; out: f3 0f d6 ca
movsd xmm1, xmm2 ; out: f2 0f 10 ca
movsd xmm1, qword [rbx] ; out: f2 0f 10 0b
movsd qword [rbx], xmm2 ; out: f2 0f 11 13
movshdup xmm1, xmm2 ; out: f3 0f 16 ca
movshdup xmm1, dqword [rbx] ; out: f3 0f 16 0b
movsldup xmm1, xmm2 ; out: f3 0f 12 ca
movsldup xmm1, dqword [rbx] ; out: f3 0f 12 0b
movss xmm1, xmm2 ; out: f3 0f 10 ca
movss xmm1, dword [rbx] ; out: f3 0f 10 0b
movss dword [rbx], xmm2 ; out: f3 0f 11 13
movupd xmm1, xmm2 ; out: 66 0f 10 ca
movupd xmm1, dqword [rbx] ; out: 66 0f 10 0b
movupd dqword [rbx], xmm2 ; out: 66 0f 11 13
movups xmm1, xmm2 ; out: 0f 10 ca
movups xmm1, dqword [rbx] ; out: 0f 10 0b
movups dqword [rbx], xmm2 ; out: 0f 11 13
mulpd xmm1, xmm2 ; out: 66 0f 59 ca
mulpd xmm1, dqword [rbx] ; out: 66 0f 59 0b
mulps xmm1, xmm2 ; out: 0f 59 ca
mulps xmm1, dqword [rbx] ; out: 0f 59 0b
mulsd xmm1, xmm2 ; out: f2 0f 59 ca
mulsd xmm1, qword [rbx] ; out: f2 0f 59 0b
mulss xmm1, xmm2 ; out: f3 0f 59 ca
mulss xmm1, dword [rbx] ; out: f3 0f 59 0b
orpd xmm1, xmm2 ; out: 66 0f 56 ca
orpd xmm1, dqword [rbx] ; out: 66 0f 56 0b
orps xmm1, xmm2 ; out: 0f 56 ca
orps xmm1, dqword [rbx] ; out: 0f 56 0b
packssdw xmm1, xmm2 ; out: 66 0f 6b ca
packssdw xmm1, dqword [rbx] ; out: 66 0f 6b 0b
packsswb xmm1, xmm2 ; out: 66 0f 63 ca
packsswb xmm1, dqword [rbx] ; out: 66 0f 63 0b
packuswb xmm1, xmm2 ; out: 66 0f 67 ca
packuswb xmm1, dqword [rbx] ; out: 66 0f 67 0b
paddb xmm1, xmm2 ; out: 66 0f fc ca
paddb xmm1, dqword [rbx] ; out: 66 0f fc 0b
paddd xmm1, xmm2 ; out: 66 0f fe ca
paddd xmm1, dqword [rbx] ; out: 66 0f fe 0b
paddq xmm1, xmm2 ; out: 66 0f d4 ca
paddq xmm1, dqword [rbx] ; out: 66 0f d4 0b
paddsb xmm1, xmm2 ; out: 66 0f ec ca
paddsb xmm1, dqword [rbx] ; out: 66 0f ec 0b
paddsw xmm1, xmm2 ; out: 66 0f ed ca
paddsw xmm1, dqword [rbx] ; out: 66 0f ed 0b
paddusb xmm1, xmm2 ; out: 66 0f dc ca
paddusb xmm1, dqword [rbx] ; out: 66 0f dc 0b
paddusw xmm1, xmm2 ; out: 66 0f dd ca
paddusw xmm1, dqword [rbx] ; out: 66 0f dd 0b
paddw xmm1, xmm2 ; out: 66 0f fd ca
paddw xmm1, dqword [rbx] ; out: 66 0f fd 0b
pand xmm1, xmm2 ; out: 66 0f db ca
pand xmm1, dqword [rbx] ; out: 66 0f db 0b
pandn xmm1, xmm2 ; out: 66 0f df ca
pandn xmm1, dqword [rbx] ; out: 66 0f df 0b
pavgb xmm1, xmm2 ; out: 66 0f e0 ca
pavgb xmm1, dqword [rbx] ; out: 66 0f e0 0b
pavgw xmm1, xmm2 ; out: 66 0f e3 ca
pavgw xmm1, dqword [rbx] ; out: 66 0f e3 0b
pcmpeqb xmm1, xmm2 ; out: 66 0f 74 ca
pcmpeqb xmm1, dqword [rbx] ; out: 66 0f 74 0b
pcmpeqd xmm1, xmm2 ; out: 66 0f 76 ca
pcmpeqd xmm1, dqword [rbx] ; out: 66 0f 76 0b
pcmpeqw xmm1, xmm2 ; out: 66 0f 75 ca
pcmpeqw xmm1, dqword [rbx] ; out: 66 0f 75 0b
pcmpgtb xmm1, xmm2 ; out: 66 0f 64 ca
pcmpgtb xmm1, dqword [rbx] ; out: 66 0f 64 0b
pcmpgtd xmm1, xmm2 ; out: 66 0f 66 ca
pcmpgtd xmm1, dqword [rbx] ; out: 66 0f 66 0b
pcmpgtw xmm1, xmm2 ; out: 66 0f 65 ca
pcmpgtw xmm1, dqword [rbx] ; out: 66 0f 65 0b
pextrw ebx, xmm2, byte 0 ; out: 66 0f c5 da 00
pinsrw xmm1, ebx, byte 0 ; out: 66 0f c4 cb 00
pinsrw xmm1, word [rbx], byte 0 ; out: 66 0f c4 0b 00
pmaddwd xmm1, xmm2 ; out: 66 0f f5 ca
pmaddwd xmm1, dqword [rbx] ; out: 66 0f f5 0b
pmaxsw xmm1, xmm2 ; out: 66 0f ee ca
pmaxsw xmm1, dqword [rbx] ; out: 66 0f ee 0b
pmaxub xmm1, xmm2 ; out: 66 0f de ca
pmaxub xmm1, dqword [rbx] ; out: 66 0f de 0b
pminsw xmm1, xmm2 ; out: 66 0f ea ca
pminsw xmm1, dqword [rbx] ; out: 66 0f ea 0b
pminub xmm1, xmm2 ; out: 66 0f da ca
pminub xmm1, dqword [rbx] ; out: 66 0f da 0b
pmovmskb eax, xmm2 ; out: 66 0f d7 c2
pmulhuw xmm1, xmm2 ; out: 66 0f e4 ca
pmulhuw xmm1, dqword [rbx] ; out: 66 0f e4 0b
pmulhw xmm1, xmm2 ; out: 66 0f e5 ca
pmulhw xmm1, dqword [rbx] ; out: 66 0f e5 0b
pmullw xmm1, xmm2 ; out: 66 0f d5 ca
pmullw xmm1, dqword [rbx] ; out: 66 0f d5 0b
pmuludq xmm1, xmm2 ; out: 66 0f f4 ca
pmuludq xmm1, dqword [rbx] ; out: 66 0f f4 0b
por xmm1, xmm2 ; out: 66 0f eb ca
por xmm1, dqword [rbx] ; out: 66 0f eb 0b
psadbw xmm1, xmm2 ; out: 66 0f f6 ca
psadbw xmm1, dqword [rbx] ; out: 66 0f f6 0b
pshufd xmm1, xmm2, byte 0 ; out: 66 0f 70 ca 00
pshufd xmm1, dqword [rbx], byte 0 ; out: 66 0f 70 0b 00
pshufhw xmm1, xmm2, byte 0 ; out: f3 0f 70 ca 00
pshufhw xmm1, dqword [rbx], byte 0 ; out: f3 0f 70 0b 00
pshuflw xmm1, xmm2, byte 0 ; out: f2 0f 70 ca 00
pshuflw xmm1, dqword [rbx], byte 0 ; out: f2 0f 70 0b 00
pslld xmm1, xmm2 ; out: 66 0f f2 ca
pslld xmm1, dqword [rbx] ; out: 66 0f f2 0b
pslld xmm1, byte 5 ; out: 66 0f 72 f1 05
pslldq xmm1, byte 5 ; out: 66 0f 73 f9 05
psllq xmm1, xmm2 ; out: 66 0f f3 ca
psllq xmm1, dqword [rbx] ; out: 66 0f f3 0b
psllq xmm1, byte 5 ; out: 66 0f 73 f1 05
psllw xmm1, xmm2 ; out: 66 0f f1 ca
psllw xmm1, dqword [rbx] ; out: 66 0f f1 0b
psllw xmm1, byte 5 ; out: 66 0f 71 f1 05
psrad xmm1, xmm2 ; out: 66 0f e2 ca
psrad xmm1, dqword [rbx] ; out: 66 0f e2 0b
psrad xmm1, byte 5 ; out: 66 0f 72 e1 05
psraw xmm1, xmm2 ; out: 66 0f e1 ca
psraw xmm1, dqword [rbx] ; out: 66 0f e1 0b
psraw xmm1, byte 5 ; out: 66 0f 71 e1 05
psrld xmm1, xmm2 ; out: 66 0f d2 ca
psrld xmm1, dqword [rbx] ; out: 66 0f d2 0b
psrld xmm1, byte 5 ; out: 66 0f 72 d1 05
psrldq xmm1, byte 5 ; out: 66 0f 73 d9 05
psrlq xmm1, xmm2 ; out: 66 0f d3 ca
psrlq xmm1, dqword [rbx] ; out: 66 0f d3 0b
psrlq xmm1, byte 5 ; out: 66 0f 73 d1 05
psrlw xmm1, xmm2 ; out: 66 0f d1 ca
psrlw xmm1, dqword [rbx] ; out: 66 0f d1 0b
psrlw xmm1, byte 5 ; out: 66 0f 71 d1 05
psubb xmm1, xmm2 ; out: 66 0f f8 ca
psubb xmm1, dqword [rbx] ; out: 66 0f f8 0b
psubd xmm1, xmm2 ; out: 66 0f fa ca
psubd xmm1, dqword [rbx] ; out: 66 0f fa 0b
psubq xmm1, xmm2 ; out: 66 0f fb ca
psubq xmm1, dqword [rbx] ; out: 66 0f fb 0b
psubsb xmm1, xmm2 ; out: 66 0f e8 ca
psubsb xmm1, dqword [rbx] ; out: 66 0f e8 0b
psubsw xmm1, xmm2 ; out: 66 0f e9 ca
psubsw xmm1, dqword [rbx] ; out: 66 0f e9 0b
psubusb xmm1, xmm2 ; out: 66 0f d8 ca
psubusb xmm1, dqword [rbx] ; out: 66 0f d8 0b
psubusw xmm1, xmm2 ; out: 66 0f d9 ca
psubusw xmm1, dqword [rbx] ; out: 66 0f d9 0b
psubw xmm1, xmm2 ; out: 66 0f f9 ca
psubw xmm1, dqword [rbx] ; out: 66 0f f9 0b
punpckhbw xmm1, xmm2 ; out: 66 0f 68 ca
punpckhbw xmm1, dqword [rbx] ; out: 66 0f 68 0b
punpckhdq xmm1, xmm2 ; out: 66 0f 6a ca
punpckhdq xmm1, dqword [rbx] ; out: 66 0f 6a 0b
punpckhqdq xmm1, xmm2 ; out: 66 0f 6d ca
punpckhqdq xmm1, dqword [rbx] ; out: 66 0f 6d 0b
punpckhwd xmm1, xmm2 ; out: 66 0f 69 ca
punpckhwd xmm1, dqword [rbx] ; out: 66 0f 69 0b
punpcklbw xmm1, xmm2 ; out: 66 0f 60 ca
punpcklbw xmm1, dqword [rbx] ; out: 66 0f 60 0b
punpckldq xmm1, xmm2 ; out: 66 0f 62 ca
punpckldq xmm1, dqword [rbx] ; out: 66 0f 62 0b
punpcklqdq xmm1, xmm2 ; out: 66 0f 6c ca
punpcklqdq xmm1, dqword [rbx] ; out: 66 0f 6c 0b
punpcklwd xmm1, xmm2 ; out: 66 0f 61 ca
punpcklwd xmm1, dqword [rbx] ; out: 66 0f 61 0b
pxor xmm1, xmm2 ; out: 66 0f ef ca
pxor xmm1, dqword [rbx] ; out: 66 0f ef 0b
rcpps xmm1, xmm2 ; out: 0f 53 ca
rcpps xmm1, dqword [rbx] ; out: 0f 53 0b
rcpss xmm1, xmm2 ; out: f3 0f 53 ca
rcpss xmm1, dword [rbx] ; out: f3 0f 53 0b
rsqrtps xmm1, xmm2 ; out: 0f 52 ca
rsqrtps xmm1, dqword [rbx] ; out: 0f 52 0b
rsqrtss xmm1, xmm2 ; out: f3 0f 52 ca
rsqrtss xmm1, dword [rbx] ; out: f3 0f 52 0b
shufpd xmm1, xmm2, 0 ; out: 66 0f c6 ca 00
shufpd xmm1, dqword [rbx], byte 0 ; out: 66 0f c6 0b 00
shufps xmm1, xmm2, 0 ; out: 0f c6 ca 00
shufps xmm1, dqword [rbx], byte 0 ; out: 0f c6 0b 00
sqrtpd xmm1, xmm2 ; out: 66 0f 51 ca
sqrtpd xmm1, dqword [rbx] ; out: 66 0f 51 0b
sqrtps xmm1, xmm2 ; out: 0f 51 ca
sqrtps xmm1, dqword [rbx] ; out: 0f 51 0b
sqrtsd xmm1, xmm2 ; out: f2 0f 51 ca
sqrtsd xmm1, qword [rbx] ; out: f2 0f 51 0b
sqrtss xmm1, xmm2 ; out: f3 0f 51 ca
sqrtss xmm1, dword [rbx] ; out: f3 0f 51 0b
stmxcsr dword [rbx] ; out: 0f ae 1b
subpd xmm1, xmm2 ; out: 66 0f 5c ca
subpd xmm1, dqword [rbx] ; out: 66 0f 5c 0b
subps xmm1, xmm2 ; out: 0f 5c ca
subps xmm1, dqword [rbx] ; out: 0f 5c 0b
subsd xmm1, xmm2 ; out: f2 0f 5c ca
subsd xmm1, qword [rbx] ; out: f2 0f 5c 0b
subss xmm1, xmm2 ; out: f3 0f 5c ca
subss xmm1, dword [rbx] ; out: f3 0f 5c 0b
ucomisd xmm1, xmm2 ; out: 66 0f 2e ca
ucomisd xmm1, qword [rbx] ; out: 66 0f 2e 0b
ucomiss xmm1, xmm2 ; out: 0f 2e ca
ucomiss xmm1, dword [rbx] ; out: 0f 2e 0b
unpckhpd xmm1, xmm2 ; out: 66 0f 15 ca
unpckhpd xmm1, dqword [rbx] ; out: 66 0f 15 0b
unpckhps xmm1, xmm2 ; out: 0f 15 ca
unpckhps xmm1, dqword [rbx] ; out: 0f 15 0b
unpcklpd xmm1, xmm2 ; out: 66 0f 14 ca
unpcklpd xmm1, dqword [rbx] ; out: 66 0f 14 0b
unpcklps xmm1, xmm2 ; out: 0f 14 ca
unpcklps xmm1, dqword [rbx] ; out: 0f 14 0b
xorpd xmm1, xmm2 ; out: 66 0f 57 ca
xorpd xmm1, dqword [rbx] ; out: 66 0f 57 0b
xorps xmm1, xmm2 ; out: 0f 57 ca
xorps xmm1, dqword [rbx] ; out: 0f 57 0b
| 29.55477 | 59 | 0.638331 |
7cf63de418f059f43f1e0db356c51f7a9503e734 | 432 | asm | Assembly | compiler/examples/i-type-2.asm | stark-dev/dlx-processor | 607ba09d0cd83c053fedce2994cb2b7de4fc14a6 | [
"MIT"
] | null | null | null | compiler/examples/i-type-2.asm | stark-dev/dlx-processor | 607ba09d0cd83c053fedce2994cb2b7de4fc14a6 | [
"MIT"
] | null | null | null | compiler/examples/i-type-2.asm | stark-dev/dlx-processor | 607ba09d0cd83c053fedce2994cb2b7de4fc14a6 | [
"MIT"
] | null | null | null | .mode dbg
.text
seqi r5,r1,#1
seqi r5,r1,#2
snei r5,r1,#2
snei r5,r1,#1
slti r6,r2,#256
slti r6,r2,#255
slti r6,r2,#254
sltui r6,r3,#1
sltui r6,r1,#1
sltui r6,r1,#4
sgti r7,r1,#0
sgti r7,r1,#1
sgti r7,r1,#2
sgtui r7,r3,#0
sgtui r7,r2,#0
sgtui r7,r2,#255
slei r8,r1,#1
slei r8,r1,#0
slei r8,r1,#-1
sleui r8,r1,#1
sleui r8,r1,#2
sleui r8,r1,#0
sgei r9,r1,#2
sgei r9,r1,#1
sgei r9,r1,#0
sgeui r9,r24,#1
sgeui r9,r24,#0
sgeui r9,r1,#0
| 13.5 | 16 | 0.659722 |
0fc99bc64a89b4f05c463ef89dfe9b1863a7fc77 | 116 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/inv_fastcall.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/inv_fastcall.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sdcc/inv_fastcall.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_fp_math32
PUBLIC _inv_fastcall
EXTERN m32_fsinv_fastcall
defc _inv_fastcall = m32_fsinv_fastcall
| 16.571429 | 40 | 0.853448 |
dcb2fe6cfa92c025111bf1d1ca30e3406fa18155 | 487 | asm | Assembly | text/maps/safari_zone_west.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | text/maps/SafariZoneWest.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | text/maps/SafariZoneWest.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | _SafariZoneWestText5::
text "REST HOUSE"
done
_SafariZoneWestText6::
text "REQUEST NOTICE"
para "Please find the"
line "SAFARI WARDEN's"
cont "lost GOLD TEETH."
cont "They're around"
cont "here somewhere."
para "Reward offered!"
line "Contact: WARDEN"
done
_SafariZoneWestText7::
text "TRAINER TIPS"
para "Zone Exploration"
line "Campaign!"
para "The Search for"
line "the SECRET HOUSE!"
done
_SafariZoneWestText8::
text "AREA 3"
line "EAST: CENTER AREA"
done
| 15.21875 | 25 | 0.720739 |
b898bdef7a2c7f1d0514dd0a473d150f72d4d7eb | 141 | asm | Assembly | src/main/fragment/mos6502-common/_deref_pvoc1=_memset_vwuc2.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/_deref_pvoc1=_memset_vwuc2.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/_deref_pvoc1=_memset_vwuc2.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | lda #<{c1}
sta $fe
lda #>{c1}
sta $ff
lda #0
tay
tax
!n:
sta ($fe),y
iny
cpy #$ff
bne !+
inc $ff
inx
!:
cpy #<{c2}
bne !n-
cpx #>{c2}
bne !n- | 7.421053 | 11 | 0.524823 |
78a4d57306a8650d09e59bf4a51f844d5b93a9e1 | 687 | asm | Assembly | data/mapObjects/route24.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapObjects/route24.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapObjects/route24.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | Route24Object:
db $2c ; border block
db $0 ; warps
db $0 ; signs
db $9 ; objects
object SPRITE_BLACK_HAIR_BOY_1, $b, $f, STAY, LEFT, $1, OPP_ROCKET, $6
object SPRITE_BLACK_HAIR_BOY_1, $5, $14, STAY, UP, $2, OPP_JR_TRAINER_M, $2
object SPRITE_BLACK_HAIR_BOY_1, $b, $13, STAY, LEFT, $3, OPP_JR_TRAINER_M, $3
object SPRITE_LASS, $a, $16, STAY, RIGHT, $4, OPP_LASS, $7
object SPRITE_BUG_CATCHER, $b, $19, STAY, LEFT, $5, OPP_YOUNGSTER, $4
object SPRITE_LASS, $a, $1c, STAY, RIGHT, $6, OPP_LASS, $8
object SPRITE_BUG_CATCHER, $b, $1f, STAY, LEFT, $7, OPP_BUG_CATCHER, $9
object SPRITE_BALL, $a, $5, STAY, NONE, $8, TM_45
object SPRITE_BLACK_HAIR_BOY_1, $6, $5, STAY, DOWN, $9
| 38.166667 | 78 | 0.687045 |
b80b9208605e49d30899e5e27723ecb8892077d8 | 330 | asm | Assembly | Miei-sorgenti/new/Quinta lezione/Versione 2/SubsetEq/main.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | 1 | 2019-03-06T13:26:10.000Z | 2019-03-06T13:26:10.000Z | Miei-sorgenti/new/Quinta lezione/Versione 2/SubsetEq/main.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | null | null | null | Miei-sorgenti/new/Quinta lezione/Versione 2/SubsetEq/main.asm | DigiOhhh/LabArchitettura2-2017-2018 | da34b9a75ab2945ac70d5cbf69395d0db5172f6f | [
"MIT"
] | 1 | 2019-03-06T13:25:28.000Z | 2019-03-06T13:25:28.000Z | # Si implementi infine il main che acquisisca i dati, chiami subseteq e raccolga i risultati
.data
A1: .word 0 14 2 3 4 5 6 7 7 9
A2: .word 0 1 2 3 4 5 6 7 7 9 10 11 12 13
.text
.globl main
main:
la $a0, A1
la $a1, A2
li $a2, 10
li $a3, 14
jal subseteq
move $a0, $v0
li $v0, 1
syscall
li $v0, 10
syscall | 14.347826 | 92 | 0.621212 |
36cbe20d4bda10fb5f416980c928e67f5bd405b5 | 553 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80p_dcallee1.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80p_dcallee1.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80p_dcallee1.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 cm48_sccz80p_dcallee1, cm48_sccz80p_dcallee1_0
cm48_sccz80p_dcallee1:
; collect one sccz80 double parameter from the stack.
;
; enter : stack = double x, return_0, return_1
;
; exit : AC'= x
; stack = return_0
;
; uses : ix, af', bc', de', hl'
exx
cm48_sccz80p_dcallee1_0:
pop ix
pop af
ex af,af'
dec sp ; AC'= x
pop hl
pop de
pop bc
dec sp
pop af
ld l,a
ex af,af'
exx
push af
jp (ix)
| 13.825 | 56 | 0.571429 |
02148ae2a2a60a9f7f8626696fbab00242a4aa1c | 396 | asm | Assembly | src/hello.asm | shikshan/low-level | 838860074c3d59f2fa9a24d0e7e16addacdd9acf | [
"MIT"
] | null | null | null | src/hello.asm | shikshan/low-level | 838860074c3d59f2fa9a24d0e7e16addacdd9acf | [
"MIT"
] | null | null | null | src/hello.asm | shikshan/low-level | 838860074c3d59f2fa9a24d0e7e16addacdd9acf | [
"MIT"
] | null | null | null | ; nasm -f elf64 -o out/hello.o src/hello.asm && ld -o out/hello out/hello.o && ./out/hello
; making "size_t sys_write(unsigned int fd, const char * buf, size_t count)" call
section .data
msg db "Hello, world!"
section .text
global _start
_start:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, 13
syscall
mov rax, 60
mov rdi, 0
syscall
| 22 | 90 | 0.593434 |
071db3f3a6068ba31e16ebfff33f67e894d51ca6 | 103 | asm | Assembly | code/storage.asm | jakiki6/my-bytecode | d9182d0e6944529037b7f713b2903d417a2af6ab | [
"MIT"
] | 2 | 2021-09-04T13:18:25.000Z | 2021-11-06T19:01:24.000Z | code/storage.asm | jakiki6/my-bytecode | d9182d0e6944529037b7f713b2903d417a2af6ab | [
"MIT"
] | null | null | null | code/storage.asm | jakiki6/my-bytecode | d9182d0e6944529037b7f713b2903d417a2af6ab | [
"MIT"
] | null | null | null | _start: 0x0000
loop: dup 0x41 deo 1 add
0x30 dei 0x40 deo
dup 0x41 dei lth jmpc loop
drop
stop: brk
| 14.714286 | 27 | 0.737864 |
d2b0eee6079c59c4e44fb66b6bdabf751d6d568a | 1,250 | asm | Assembly | programs/oeis/030/A030054.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/030/A030054.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/030/A030054.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A030054: a(n) = binomial(2n+1,n-4).
; 1,11,78,455,2380,11628,54264,245157,1081575,4686825,20030010,84672315,354817320,1476337800,6107086800,25140840660,103077446706,421171648758,1715884494940,6973199770790,28277527346376,114456658306760,462525733568080,1866442158555975,7522327487513475,30284005485024837,121801604478231762,489462003181042451,1965407271460556560,7886597962249166160,31627280033224861216,126764178842844806648,507829667681396572974,2033517067555375887450,8139631928409069557700,32569098664192653645810,130276394656770614583240,520952492381892363603720,2082643222624138564462800,8323897751962502531683050,33261615914984857055174310,132884211874988282576525658,530792398133706697350491844,2119846205426655101672581470,8464840422355494128119673520,33796659167774898778196326128,134919469404951176940625649760,538550131294991286070749649080,2149476401221237150545535880100,8578241148012410894260192805100,34231543998102407134654572780216,136590572619879212782396187466156,544984327577929166763558054404688,2174298397610058239887475986988880,8674185141788274671297126424283680,34603098795736066174532457173236203,138032141350024088146761340152579579,550587536708788268668341485999364477
mov $1,9
add $1,$0
add $1,$0
bin $1,$0
mov $0,$1
| 138.888889 | 1,161 | 0.9192 |
9bfe93adc3a05c68ea1c7fba17121bc504b3bddc | 262 | asm | Assembly | libsrc/_DEVELOPMENT/arch/hbios/c/sdcc/hbios_e_dehl_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/hbios/c/sdcc/hbios_e_dehl_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/hbios/c/sdcc/hbios_e_dehl_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; uint8_t hbios_e_dehl(uint16_t func_device, uint32_t arg) __z88dk_callee
SECTION code_clib
SECTION code_arch
PUBLIC _hbios_e_dehl_callee
EXTERN asm_hbios_e
._hbios_e_dehl_callee
pop af
pop bc
pop hl
pop de
push af
jp asm_hbios_e
| 12.47619 | 73 | 0.751908 |
4fb9999c5277f81f3494caa9d7912e7f4eec7cae | 7,540 | asm | Assembly | MasmEd/MasmEd/Debug/Math.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 11 | 2016-12-03T16:35:42.000Z | 2022-03-26T06:02:53.000Z | Code/CustomControl/RADebug/RADebug/Math.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 1 | 2018-02-24T20:17:46.000Z | 2018-03-02T08:57:40.000Z | MasmEd/MasmEd/Debug/Math.asm | CherryDT/FbEditMOD | beb0eb22cae1b8f7203d55bd6b293d8ec88231ca | [
"Unlicense"
] | 4 | 2018-10-19T01:14:55.000Z | 2021-09-11T18:51:48.000Z |
FUNCSHL equ 1
FUNCSHR equ 2
FUNCAND equ 3
FUNCOR equ 4
FUNCXOR equ 5
FUNCADDR equ 6
FUNCSIZEOF equ 7
.const
szFUNC db 'SHL',0,
'SHR',0,
'AND',0,
'OR',0,
'XOR',0,
'ADDR',0,
'SIZEOF',0,0
.code
GetFunc proc uses ebx esi edi
LOCAL buffer[256]:BYTE
LOCAL nFunc:DWORD
LOCAL nLen:DWORD
xor ecx,ecx
mov al,[esi]
.if (al<'A' || al>'z') || (al>'Z' && al<'a')
jmp Ex
.endif
lea edi,buffer
mov nFunc,ecx
.while TRUE
mov al,[esi+ecx]
.if (al>='A' && al<='Z') || (al>='a' && al<='z')
mov [edi+ecx],al
.else
xor eax,eax
.break
.endif
inc ecx
.endw
mov [edi+ecx],al
mov ebx,offset szFUNC
lea edi,buffer
.while byte ptr [ebx]
inc nFunc
push ecx
invoke strcmpi,ebx,edi
pop ecx
.if !eax
mov eax,nFunc
jmp Ex
.endif
push ecx
invoke strlen,ebx
pop ecx
lea ebx,[ebx+eax+1]
.endw
xor ecx,ecx
mov al,[esi]
Ex:
ret
GetFunc endp
; esi is a pointer to the value
GetValue proc uses ebx edi
LOCAL buffer[256]:BYTE
LOCAL nLen:DWORD
push esi
mov nLen,0
lea edi,buffer
.while TRUE
mov al,[esi]
.if (al>='0' && al<='9') || (al>='A' && al<='Z') || (al>='a' && al<='z') || al=='_'
mov [edi],al
inc edi
inc esi
inc nLen
.else
.break
.endif
.endw
mov byte ptr [edi],0
lea edi,buffer
mov al,[edi]
.if al>='0' && al<='9'
; Hex or Decimal
invoke IsDec,edi
.if eax
mov mFunc,'H'
invoke DecToBin,edi
jmp Ex
.else
invoke IsHex,edi
.if eax
mov mFunc,'H'
invoke HexToBin,edi
jmp Ex
.endif
.endif
mov nError,ERR_SYNTAX
invoke strcpy,addr szError,addr buffer
xor eax,eax
jmp Ex
.else
; Variable
.while byte ptr [esi]==VK_SPACE || byte ptr [esi]==VK_TAB
inc esi
inc nLen
.endw
.if byte ptr [esi]=='('
lea edi,buffer
invoke strlen,edi
lea edi,[edi+eax]
xor ecx,ecx
.while byte ptr [esi]
mov al,[esi]
.if al!=VK_SPACE && al!=VK_TAB
mov [edi],al
inc edi
.endif
inc esi
inc nLen
.if al=='('
inc ecx
.elseif al==')'
dec ecx
.break .if ZERO?
.endif
.endw
mov byte ptr [edi],0
.endif
push mFunc
invoke GetVarVal,addr buffer,dbg.prevline,FALSE
pop mFunc
.if eax
.if !mFunc
mov mFunc,eax
.endif
mov eax,var.Value
jmp Ex
.else
invoke FindTypeSize,addr buffer
.if !edx
.if var.nErr
mov eax,var.nErr
mov nError,eax
.else
mov nError,ERR_NOTFOUND
.endif
invoke strcpy,addr szError,addr buffer
xor eax,eax
jmp Ex
.endif
mov var.nErr,0
mov mFunc,'H'
.endif
.endif
Ex:
pop esi
add esi,nLen
ret
GetValue endp
; esi is a pointer to the math
CalculateIt proc uses ebx edi,PrevFunc:DWORD
Nxt:
.if nError || byte ptr [esi]==';' || !byte ptr [esi]
ret
.endif
.while byte ptr [esi]==VK_SPACE || byte ptr [esi]==VK_TAB
inc esi
.endw
push eax
invoke GetFunc
mov edx,ecx
movzx ecx,al
pop eax
mov ebx,PrevFunc
.if !ecx
ret
.elseif ecx==FUNCSHL
mov mFunc,'H'
lea esi,[esi+edx]
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
shl eax,cl
.elseif ecx==FUNCSHR
mov mFunc,'H'
lea esi,[esi+edx]
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
shr eax,cl
.elseif ecx==FUNCADDR
mov mFunc,'H'
lea esi,[esi+edx]
.while byte ptr [esi]==VK_SPACE || byte ptr [esi]==VK_TAB
inc esi
.endw
.if byte ptr [esi]=='('
inc esi
mov var.Address,0
invoke CalculateIt,ecx
.if byte ptr [esi]==')' && !nError
mov eax,var.Address
.else
mov nError,ERR_SYNTAX
ret
.endif
.else
mov nError,ERR_SYNTAX
ret
.endif
.elseif ecx==FUNCSIZEOF
mov mFunc,'H'
lea esi,[esi+edx]
.while byte ptr [esi]==VK_SPACE || byte ptr [esi]==VK_TAB
inc esi
.endw
.if byte ptr [esi]=='('
inc esi
mov var.nArray,0
mov var.nSize,0
mov var.nInx,0
invoke CalculateIt,ecx
.if byte ptr [esi]==')' && !nError
inc esi
.if var.nArray
mov eax,var.nArray
sub eax,var.nInx
mov edx,var.nSize
mul edx
.endif
.else
mov nError,ERR_SYNTAX
ret
.endif
.else
mov var.nArray,0
mov var.nSize,0
mov var.nInx,0
invoke CalculateIt,ecx
.if !nError
.if var.nArray
mov eax,var.nArray
sub eax,var.nInx
mov edx,var.nSize
mul edx
.endif
.else
mov nError,ERR_SYNTAX
ret
.endif
.endif
.elseif ecx==FUNCAND
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx=='+' || ebx=='-' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCSIZEOF
ret
.endif
lea esi,[esi+edx]
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
and eax,ecx
.elseif ecx==FUNCOR
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx=='+' || ebx=='-' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCAND || ebx==FUNCSIZEOF
ret
.endif
lea esi,[esi+edx]
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
or eax,ecx
.elseif ecx==FUNCXOR
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx=='+' || ebx=='-' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCAND || ebx==FUNCOR || ebx==FUNCSIZEOF
ret
.endif
lea esi,[esi+edx]
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
xor eax,ecx
.elseif ecx=='('
mov mFunc,'H'
inc esi
invoke CalculateIt,ecx
.elseif ecx==')'
mov mFunc,'H'
.if ebx==FUNCSIZEOF || ebx==FUNCADDR
ret
.endif
inc esi
ret
.elseif ecx=='+'
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCSIZEOF
ret
.endif
inc esi
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
add eax,ecx
.if CARRY?
mov nError,ERR_OVERFLOW
.endif
.elseif ecx=='-'
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCSIZEOF
ret
.endif
inc esi
push eax
invoke CalculateIt,ecx
pop ecx
xchg eax,ecx
sub eax,ecx
.if CARRY?
mov nError,ERR_OVERFLOW
.endif
.elseif ecx=='*'
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCSIZEOF
ret
.endif
inc esi
push eax
invoke CalculateIt,ecx
pop ecx
mul ecx
.if edx
mov nError,ERR_OVERFLOW
.endif
.elseif ecx=='/'
mov mFunc,'H'
.if ebx=='*' || ebx=='/' || ebx==FUNCSHL || ebx==FUNCSHR || ebx==FUNCSIZEOF
ret
.endif
inc esi
push eax
invoke CalculateIt,ecx
pop ecx
xor edx,edx
xchg eax,ecx
.if !ecx
mov nError,ERR_DIV0
.else
div ecx
.endif
.elseif word ptr [esi]=='..'
; Array 1..2
add esi,2
push eax
invoke CalculateIt,ecx
pop ecx
sub eax,ecx
.else
push esi
invoke GetValue
pop edx
.if esi==edx
mov nError,ERR_SYNTAX
.endif
.endif
jmp Nxt
CalculateIt endp
DoMath proc uses ebx esi edi,lpMath:DWORD
mov nError,0
mov mFunc,0
mov esi,lpMath
xor eax,eax
invoke CalculateIt,0
.if !nError
mov var.Value,eax
mov eax,esi
sub eax,lpMath
.if !eax
mov nError,ERR_SYNTAX
.endif
jmp Ex
.endif
xor eax,eax
Ex:
ret
DoMath endp
| 18.571429 | 133 | 0.553316 |
6e4dc8263c4eb67b5c2761a94bb862266c40711d | 1,571 | asm | Assembly | programs/oeis/032/A032525.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/032/A032525.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/032/A032525.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A032525: Floor( 7*n^2/2 ).
; 0,3,14,31,56,87,126,171,224,283,350,423,504,591,686,787,896,1011,1134,1263,1400,1543,1694,1851,2016,2187,2366,2551,2744,2943,3150,3363,3584,3811,4046,4287,4536,4791,5054,5323,5600,5883,6174,6471,6776,7087,7406,7731,8064,8403,8750,9103,9464,9831,10206,10587,10976,11371,11774,12183,12600,13023,13454,13891,14336,14787,15246,15711,16184,16663,17150,17643,18144,18651,19166,19687,20216,20751,21294,21843,22400,22963,23534,24111,24696,25287,25886,26491,27104,27723,28350,28983,29624,30271,30926,31587,32256,32931,33614,34303,35000,35703,36414,37131,37856,38587,39326,40071,40824,41583,42350,43123,43904,44691,45486,46287,47096,47911,48734,49563,50400,51243,52094,52951,53816,54687,55566,56451,57344,58243,59150,60063,60984,61911,62846,63787,64736,65691,66654,67623,68600,69583,70574,71571,72576,73587,74606,75631,76664,77703,78750,79803,80864,81931,83006,84087,85176,86271,87374,88483,89600,90723,91854,92991,94136,95287,96446,97611,98784,99963,101150,102343,103544,104751,105966,107187,108416,109651,110894,112143,113400,114663,115934,117211,118496,119787,121086,122391,123704,125023,126350,127683,129024,130371,131726,133087,134456,135831,137214,138603,140000,141403,142814,144231,145656,147087,148526,149971,151424,152883,154350,155823,157304,158791,160286,161787,163296,164811,166334,167863,169400,170943,172494,174051,175616,177187,178766,180351,181944,183543,185150,186763,188384,190011,191646,193287,194936,196591,198254,199923,201600,203283,204974,206671,208376,210087,211806,213531,215264,217003
mov $1,7
mul $1,$0
mul $1,$0
div $1,2
| 196.375 | 1,502 | 0.819223 |
f55e7f5bf50b0436c2c3e6205a5d8447d2047e7b | 429 | asm | Assembly | programs/oeis/257/A257023.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/257/A257023.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/257/A257023.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A257023: Number of terms in the quarter-sum representation of n.
; 1,1,1,2,1,2,1,2,2,1,2,2,1,2,2,3,1,2,2,3,1,2,2,3,2,1,2,2,3,2,1,2,2,3,2,3,1,2,2,3,2,3,1,2,2,3,2,3,2,1,2,2,3,2,3,2,1,2,2,3,2,3,2,3,1,2,2,3,2,3,2,3,1,2,2,3,2,3,2,3,3,1,2,2,3,2,3,2,3,3,1,2,2,3,2,3,2,3,3,2
lpb $0
mov $2,$0
seq $2,55087 ; Integers 0..n then 0..n then 0..n+1 then 0..n+1 etc.
mov $0,$2
mov $3,$2
min $3,1
add $1,$3
lpe
add $1,1
mov $0,$1
| 30.642857 | 201 | 0.550117 |
c36418d989190157b46ea0a72528a940a7063fba | 812 | asm | Assembly | test/e2e/data/thm0.asm | matanlurey/armv4t.dart | 06235938d16cb1f2b09d26f564b985854e4155c0 | [
"MIT"
] | 8 | 2020-06-21T22:05:00.000Z | 2021-10-06T19:59:20.000Z | test/e2e/data/thm0.asm | matanlurey/armv4t.dart | 06235938d16cb1f2b09d26f564b985854e4155c0 | [
"MIT"
] | 82 | 2020-06-21T22:02:00.000Z | 2020-08-04T01:48:42.000Z | test/e2e/data/thm0.asm | matanlurey/armv4t.dart | 06235938d16cb1f2b09d26f564b985854e4155c0 | [
"MIT"
] | 1 | 2020-06-22T15:16:02.000Z | 2020-06-22T15:16:02.000Z | ; expected result: 0x1ec = 10, 0x1f0 = 15, 0x1f4 = 5, 0x1f8 = 60, 0x1fc = 0x200
; ARM MODE (Entrypoint)
processor CPU32_V1
code32
mov sp, 0x200
mov r0, main - 1
processor CPU32_V4T
BX r0
code16
main:
mov r0, #10 ; r0 = 10
mov r1, #15 ; r1 = 15
mov r2, r1 ; r2 = 15
eor r2, r2, r0 ; r2 = r2 XOR r0
; r2 = 15 XOR 10
; r2 = 5
lsl r3, r1, #2 ; r3 = r1 << 2
; r3 = 15 << 2
; r3 = 60
mov r4, r13 ; r4 = 200
push {r0, r1, r2, r3, r4} ; stmfd r13!, {r0-r4}
; this is a pre-decrement store i.e. STMDB
;
| 31.230769 | 79 | 0.366995 |
b858a65a2f4ab1ee5c296b0e93e05d6f451c0664 | 1,497 | asm | Assembly | programs/oeis/236/A236257.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/236/A236257.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/236/A236257.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A236257: a(n) = 2*n^2 - 7*n + 9.
; 9,4,3,6,13,24,39,58,81,108,139,174,213,256,303,354,409,468,531,598,669,744,823,906,993,1084,1179,1278,1381,1488,1599,1714,1833,1956,2083,2214,2349,2488,2631,2778,2929,3084,3243,3406,3573,3744,3919,4098,4281,4468,4659,4854,5053,5256,5463,5674,5889,6108,6331,6558,6789,7024,7263,7506,7753,8004,8259,8518,8781,9048,9319,9594,9873,10156,10443,10734,11029,11328,11631,11938,12249,12564,12883,13206,13533,13864,14199,14538,14881,15228,15579,15934,16293,16656,17023,17394,17769,18148,18531,18918,19309,19704,20103,20506,20913,21324,21739,22158,22581,23008,23439,23874,24313,24756,25203,25654,26109,26568,27031,27498,27969,28444,28923,29406,29893,30384,30879,31378,31881,32388,32899,33414,33933,34456,34983,35514,36049,36588,37131,37678,38229,38784,39343,39906,40473,41044,41619,42198,42781,43368,43959,44554,45153,45756,46363,46974,47589,48208,48831,49458,50089,50724,51363,52006,52653,53304,53959,54618,55281,55948,56619,57294,57973,58656,59343,60034,60729,61428,62131,62838,63549,64264,64983,65706,66433,67164,67899,68638,69381,70128,70879,71634,72393,73156,73923,74694,75469,76248,77031,77818,78609,79404,80203,81006,81813,82624,83439,84258,85081,85908,86739,87574,88413,89256,90103,90954,91809,92668,93531,94398,95269,96144,97023,97906,98793,99684,100579,101478,102381,103288,104199,105114,106033,106956,107883,108814,109749,110688,111631,112578,113529,114484,115443,116406,117373,118344,119319,120298,121281,122268
mul $0,2
sub $0,3
bin $0,2
mov $1,$0
add $1,3
| 166.333333 | 1,414 | 0.803607 |
ba390395a1acd56d40e1092944125b2de883de9e | 1,258 | asm | Assembly | programs/oeis/322/A322490.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/322/A322490.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/322/A322490.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A322490: Numbers k such that k^k ends with 7.
; 3,17,23,37,43,57,63,77,83,97,103,117,123,137,143,157,163,177,183,197,203,217,223,237,243,257,263,277,283,297,303,317,323,337,343,357,363,377,383,397,403,417,423,437,443,457,463,477,483,497,503,517,523,537,543,557,563,577,583,597,603,617,623,637,643,657,663,677,683,697,703,717,723,737,743,757,763,777,783,797,803,817,823,837,843,857,863,877,883,897,903,917,923,937,943,957,963,977,983,997,1003,1017,1023,1037,1043,1057,1063,1077,1083,1097,1103,1117,1123,1137,1143,1157,1163,1177,1183,1197,1203,1217,1223,1237,1243,1257,1263,1277,1283,1297,1303,1317,1323,1337,1343,1357,1363,1377,1383,1397,1403,1417,1423,1437,1443,1457,1463,1477,1483,1497,1503,1517,1523,1537,1543,1557,1563,1577,1583,1597,1603,1617,1623,1637,1643,1657,1663,1677,1683,1697,1703,1717,1723,1737,1743,1757,1763,1777,1783,1797,1803,1817,1823,1837,1843,1857,1863,1877,1883,1897,1903,1917,1923,1937,1943,1957,1963,1977,1983,1997,2003,2017,2023,2037,2043,2057,2063,2077,2083,2097,2103,2117,2123,2137,2143,2157,2163,2177,2183,2197,2203,2217,2223,2237,2243,2257,2263,2277,2283,2297,2303,2317,2323,2337,2343,2357,2363,2377,2383,2397,2403,2417,2423,2437,2443,2457,2463,2477,2483,2497
mov $1,7
mov $3,$0
gcd $0,2
div $1,$0
mov $2,$3
mul $2,10
add $1,$2
| 114.363636 | 1,140 | 0.762321 |
f650a396ff284b76d665bab289afa9195bb38638 | 263 | asm | Assembly | programs/oeis/256/A256101.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/256/A256101.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/256/A256101.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A256101: The broken eggs problem.
; 301,721,1141,1561,1981,2401,2821,3241,3661,4081,4501,4921,5341,5761,6181,6601,7021,7441,7861,8281,8701,9121,9541,9961,10381,10801,11221,11641,12061,12481,12901,13321,13741,14161,14581,15001,15421,15841
mul $0,420
add $0,301
| 43.833333 | 203 | 0.779468 |
53b69dd5bb66bed324f81742c9f943ec93c0bfbf | 740 | asm | Assembly | asm3.asm | motazsaad/assembly | 50dd1838bbc06785fa3b09e4240cd5420ab8790f | [
"Apache-2.0"
] | 1 | 2019-04-26T18:05:46.000Z | 2019-04-26T18:05:46.000Z | asm3.asm | motazsaad/assembly | 50dd1838bbc06785fa3b09e4240cd5420ab8790f | [
"Apache-2.0"
] | null | null | null | asm3.asm | motazsaad/assembly | 50dd1838bbc06785fa3b09e4240cd5420ab8790f | [
"Apache-2.0"
] | 1 | 2019-04-26T18:05:48.000Z | 2019-04-26T18:05:48.000Z |
TITLE asm3 : An AL Program to display a string.
.MODEL SMALL
.STACK 100H
.DATA
STRING_1 DB 'I am learning Assembly!$'
STRING_2 DB 'Welcome to details world!$'
.CODE
MAIN PROC
MOV AX, @DATA ; initialize DS
MOV DS, AX
LEA DX, STRING_1 ; load & display the STRING_1
MOV AH, 9
INT 21H
MOV AH, 2 ; carriage return
MOV DL, 0DH
INT 21H
MOV DL, 0AH ; line feed
INT 21H
LEA DX, STRING_2 ; load & display the STRING_2
MOV AH, 9
INT 21H
MOV AH, 4CH ; return control to DOS
INT 21H
MAIN ENDP
END MAIN
| 21.142857 | 66 | 0.481081 |
d40560d63eed094ebaeb3f82cda3c4122a741a39 | 873 | asm | Assembly | non_regression/clang1001_x86_macosx.s.asm | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | 1 | 2021-02-28T21:31:18.000Z | 2021-02-28T21:31:18.000Z | non_regression/clang1001_x86_macosx.s.asm | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | null | null | null | non_regression/clang1001_x86_macosx.s.asm | LRGH/plasmasm | 4cd50546c3dc895763d72dd60b7c46179c1916bc | [
"Apache-2.0"
] | null | null | null | .build_version macos, 10, 14 sdk_version 10, 14
.section __TEXT,__text,regular,pure_instructions
.p2align 4, 0x90
# ----------------------
.globl _main
_main:
pushl %ebp
movl %esp, %ebp
subl $12, %esp
movl 12(%ebp), %eax
movl 8(%ebp), %ecx
movl $0, -4(%ebp)
movl %eax, -8(%ebp)
movl %ecx, -12(%ebp)
LBB0_1:
cmpl $1, 8(%ebp)
jle LBB0_6
movl 8(%ebp), %eax
cltd
movl $2, %ecx
idivl %ecx
cmpl $0, %edx
je LBB0_4
movl 8(%ebp), %eax
cltd
movl $2, %ecx
idivl %ecx
movl %eax, 8(%ebp)
jmp LBB0_5
LBB0_4:
imull $3, 8(%ebp), %eax
addl $1, %eax
movl %eax, 8(%ebp)
LBB0_5:
jmp LBB0_1
LBB0_6:
movl 8(%ebp), %eax
addl $12, %esp
popl %ebp
ret
# ----------------------
.subsections_via_symbols
| 19.840909 | 55 | 0.484536 |
f527ec68e878fc7a929cb93e2fe4bd580081bf91 | 315 | asm | Assembly | start.asm | jrt05/lemmalang | 7b3f5ea974c0004d0f49ad9e4563cb155f50a2ad | [
"MIT"
] | null | null | null | start.asm | jrt05/lemmalang | 7b3f5ea974c0004d0f49ad9e4563cb155f50a2ad | [
"MIT"
] | null | null | null | start.asm | jrt05/lemmalang | 7b3f5ea974c0004d0f49ad9e4563cb155f50a2ad | [
"MIT"
] | null | null | null | ; nasm -f elf64 print.asm
; ld print.o
section .data
section .text
extern main
; ----- Main ----- ;
global _start
_start:
call main ; print string1
mov rdi,rax ; Get RC
mov rax,60 ; exit syscall
syscall ; call exit
; ----- End Main ----- ;
| 17.5 | 43 | 0.492063 |
409f5feee3a475cbc2eb768d7b772ee5cf395637 | 130,854 | asm | Assembly | examples/huge.asm | clayne/asm2cfg | 4d9089185ec8efb0bf82aa525762f5af84cc0c6d | [
"MIT"
] | 24 | 2021-02-08T17:27:40.000Z | 2022-03-29T11:29:03.000Z | examples/huge.asm | clayne/asm2cfg | 4d9089185ec8efb0bf82aa525762f5af84cc0c6d | [
"MIT"
] | 23 | 2021-03-02T18:18:18.000Z | 2022-03-27T15:13:04.000Z | examples/huge.asm | clayne/asm2cfg | 4d9089185ec8efb0bf82aa525762f5af84cc0c6d | [
"MIT"
] | 2 | 2021-11-14T11:14:43.000Z | 2022-01-27T21:54:30.000Z | Dump of assembler code for function main:
=> 0x000055555556f950 <+0>: push %r15
0x000055555556f952 <+2>: mov $0x1,%ecx
0x000055555556f957 <+7>: push %r14
0x000055555556f959 <+9>: push %r13
0x000055555556f95b <+11>: push %r12
0x000055555556f95d <+13>: push %rbp
0x000055555556f95e <+14>: push %rbx
0x000055555556f95f <+15>: sub $0x688,%rsp
0x000055555556f966 <+22>: mov %edi,0xbc(%rsp)
0x000055555556f96d <+29>: lea 0xb0(%rsp),%rdx
0x000055555556f975 <+37>: lea 0xd0(%rsp),%r15
0x000055555556f97d <+45>: mov %rsi,0xb0(%rsp)
0x000055555556f985 <+53>: lea 0xbc(%rsp),%rsi
0x000055555556f98d <+61>: mov %fs:0x28,%rax
0x000055555556f996 <+70>: mov %rax,0x678(%rsp)
0x000055555556f99e <+78>: xor %eax,%eax
0x000055555556f9a0 <+80>: lea 0x2b0(%rsp),%rax
0x000055555556f9a8 <+88>: mov %rax,0x8(%rsp)
0x000055555556f9ad <+93>: mov %rax,%rdi
0x000055555556f9b0 <+96>: call *0x2731a(%rip) # 0x555555596cd0
0x000055555556f9b6 <+102>: mov 0x266f3(%rip),%rax # 0x5555555960b0
0x000055555556f9bd <+109>: mov %r15,%rdi
0x000055555556f9c0 <+112>: movb $0x1,(%rax)
0x000055555556f9c3 <+115>: call *0x268ff(%rip) # 0x5555555962c8
0x000055555556f9c9 <+121>: call 0x555555588c40
0x000055555556f9ce <+126>: call *0x26cbc(%rip) # 0x555555596690
0x000055555556f9d4 <+132>: call *0x2710e(%rip) # 0x555555596ae8
0x000055555556f9da <+138>: call *0x26790(%rip) # 0x555555596170
0x000055555556f9e0 <+144>: call *0x267a2(%rip) # 0x555555596188
0x000055555556f9e6 <+150>: call *0x275dc(%rip) # 0x555555596fc8
0x000055555556f9ec <+156>: call *0x27256(%rip) # 0x555555596c48
0x000055555556f9f2 <+162>: call *0x27370(%rip) # 0x555555596d68
0x000055555556f9f8 <+168>: call *0x275ba(%rip) # 0x555555596fb8
0x000055555556f9fe <+174>: call *0x26dd4(%rip) # 0x5555555967d8
0x000055555556fa04 <+180>: call *0x26a26(%rip) # 0x555555596430
0x000055555556fa0a <+186>: call *0x266b0(%rip) # 0x5555555960c0
0x000055555556fa10 <+192>: call *0x2734a(%rip) # 0x555555596d60
0x000055555556fa16 <+198>: call *0x26a84(%rip) # 0x5555555964a0
0x000055555556fa1c <+204>: call *0x273de(%rip) # 0x555555596e00
0x000055555556fa22 <+210>: call *0x26b38(%rip) # 0x555555596560
0x000055555556fa28 <+216>: call *0x266ba(%rip) # 0x5555555960e8
0x000055555556fa2e <+222>: call *0x26614(%rip) # 0x555555596048
0x000055555556fa34 <+228>: call *0x26c16(%rip) # 0x555555596650
0x000055555556fa3a <+234>: call *0x27348(%rip) # 0x555555596d88
0x000055555556fa40 <+240>: call *0x273ea(%rip) # 0x555555596e30
0x000055555556fa46 <+246>: call *0x269cc(%rip) # 0x555555596418
0x000055555556fa4c <+252>: call *0x2733e(%rip) # 0x555555596d90
0x000055555556fa52 <+258>: call *0x26e08(%rip) # 0x555555596860
0x000055555556fa58 <+264>: call *0x2728a(%rip) # 0x555555596ce8
0x000055555556fa5e <+270>: call *0x26e84(%rip) # 0x5555555968e8
0x000055555556fa64 <+276>: call *0x27426(%rip) # 0x555555596e90
0x000055555556fa6a <+282>: call *0x26d58(%rip) # 0x5555555967c8
0x000055555556fa70 <+288>: call *0x274f2(%rip) # 0x555555596f68
0x000055555556fa76 <+294>: call *0x26fec(%rip) # 0x555555596a68
0x000055555556fa7c <+300>: call *0x26ede(%rip) # 0x555555596960
0x000055555556fa82 <+306>: call *0x27200(%rip) # 0x555555596c88
0x000055555556fa88 <+312>: call *0x26cc2(%rip) # 0x555555596750
0x000055555556fa8e <+318>: call *0x26ad4(%rip) # 0x555555596568
0x000055555556fa94 <+324>: call *0x269b6(%rip) # 0x555555596450
0x000055555556fa9a <+330>: call *0x27028(%rip) # 0x555555596ac8
0x000055555556faa0 <+336>: call *0x2657a(%rip) # 0x555555596020
0x000055555556faa6 <+342>: call *0x26f04(%rip) # 0x5555555969b0
0x000055555556faac <+348>: call *0x27136(%rip) # 0x555555596be8
0x000055555556fab2 <+354>: call *0x26830(%rip) # 0x5555555962e8
0x000055555556fab8 <+360>: call *0x26f2a(%rip) # 0x5555555969e8
0x000055555556fabe <+366>: call *0x267bc(%rip) # 0x555555596280
0x000055555556fac4 <+372>: call *0x2712e(%rip) # 0x555555596bf8
0x000055555556faca <+378>: call *0x270c8(%rip) # 0x555555596b98
0x000055555556fad0 <+384>: call *0x26bd2(%rip) # 0x5555555966a8
0x000055555556fad6 <+390>: call *0x26ce4(%rip) # 0x5555555967c0
0x000055555556fadc <+396>: call *0x26986(%rip) # 0x555555596468
0x000055555556fae2 <+402>: call *0x26f48(%rip) # 0x555555596a30
0x000055555556fae8 <+408>: call *0x269c2(%rip) # 0x5555555964b0
0x000055555556faee <+414>: call *0x27024(%rip) # 0x555555596b18
0x000055555556faf4 <+420>: call *0x26f7e(%rip) # 0x555555596a78
0x000055555556fafa <+426>: mov %rax,%rbp
0x000055555556fafd <+429>: mov %rax,%rdi
0x000055555556fb00 <+432>: call *0x27492(%rip) # 0x555555596f98
0x000055555556fb06 <+438>: mov %rbp,%rdi
0x000055555556fb09 <+441>: call *0x26f89(%rip) # 0x555555596a98
0x000055555556fb0f <+447>: mov %rbp,%rdi
0x000055555556fb12 <+450>: call *0x267a0(%rip) # 0x5555555962b8
0x000055555556fb18 <+456>: mov %rbp,%rdi
0x000055555556fb1b <+459>: call *0x27407(%rip) # 0x555555596f28
0x000055555556fb21 <+465>: mov %rbp,%rdi
0x000055555556fb24 <+468>: call *0x274be(%rip) # 0x555555596fe8
0x000055555556fb2a <+474>: mov %rbp,%rdi
0x000055555556fb2d <+477>: call *0x26a0d(%rip) # 0x555555596540
0x000055555556fb33 <+483>: mov %rbp,%rdi
0x000055555556fb36 <+486>: call *0x2668c(%rip) # 0x5555555961c8
0x000055555556fb3c <+492>: mov %rbp,%rdi
0x000055555556fb3f <+495>: call *0x26ee3(%rip) # 0x555555596a28
0x000055555556fb45 <+501>: mov %rbp,%rdi
0x000055555556fb48 <+504>: call *0x2668a(%rip) # 0x5555555961d8
0x000055555556fb4e <+510>: mov %rbp,%rdi
0x000055555556fb51 <+513>: call *0x26659(%rip) # 0x5555555961b0
0x000055555556fb57 <+519>: mov %rbp,%rdi
0x000055555556fb5a <+522>: call *0x26e70(%rip) # 0x5555555969d0
0x000055555556fb60 <+528>: mov %rbp,%rdi
0x000055555556fb63 <+531>: call *0x270c7(%rip) # 0x555555596c30
0x000055555556fb69 <+537>: mov %rbp,%rdi
0x000055555556fb6c <+540>: call *0x268b6(%rip) # 0x555555596428
0x000055555556fb72 <+546>: mov %rbp,%rdi
0x000055555556fb75 <+549>: call *0x2696d(%rip) # 0x5555555964e8
0x000055555556fb7b <+555>: mov %rbp,%rdi
0x000055555556fb7e <+558>: call *0x26584(%rip) # 0x555555596108
0x000055555556fb84 <+564>: mov %rbp,%rdi
0x000055555556fb87 <+567>: call *0x26dab(%rip) # 0x555555596938
0x000055555556fb8d <+573>: mov %rbp,%rdi
0x000055555556fb90 <+576>: call *0x26b22(%rip) # 0x5555555966b8
0x000055555556fb96 <+582>: mov %rbp,%rdi
0x000055555556fb99 <+585>: call *0x27181(%rip) # 0x555555596d20
0x000055555556fb9f <+591>: mov %rbp,%rdi
0x000055555556fba2 <+594>: call *0x26c98(%rip) # 0x555555596840
0x000055555556fba8 <+600>: mov %rbp,%rdi
0x000055555556fbab <+603>: call *0x26507(%rip) # 0x5555555960b8
0x000055555556fbb1 <+609>: mov %rbp,%rdi
0x000055555556fbb4 <+612>: call *0x2655e(%rip) # 0x555555596118
0x000055555556fbba <+618>: mov %rbp,%rdi
0x000055555556fbbd <+621>: call *0x2693d(%rip) # 0x555555596500
0x000055555556fbc3 <+627>: mov %rbp,%rdi
0x000055555556fbc6 <+630>: call *0x273ac(%rip) # 0x555555596f78
0x000055555556fbcc <+636>: mov %rbp,%rdi
0x000055555556fbcf <+639>: call *0x26653(%rip) # 0x555555596228
0x000055555556fbd5 <+645>: mov %rbp,%rdi
0x000055555556fbd8 <+648>: call *0x269e2(%rip) # 0x5555555965c0
0x000055555556fbde <+654>: mov %rbp,%rdi
0x000055555556fbe1 <+657>: call *0x26ce1(%rip) # 0x5555555968c8
0x000055555556fbe7 <+663>: mov %rbp,%rdi
0x000055555556fbea <+666>: call *0x273a0(%rip) # 0x555555596f90
0x000055555556fbf0 <+672>: mov %rbp,%rdi
0x000055555556fbf3 <+675>: call *0x26447(%rip) # 0x555555596040
0x000055555556fbf9 <+681>: mov %rbp,%rdi
0x000055555556fbfc <+684>: call *0x2720e(%rip) # 0x555555596e10
0x000055555556fc02 <+690>: mov %rbp,%rdi
0x000055555556fc05 <+693>: call *0x271ed(%rip) # 0x555555596df8
0x000055555556fc0b <+699>: mov %rbp,%rdi
0x000055555556fc0e <+702>: call *0x26bd4(%rip) # 0x5555555967e8
0x000055555556fc14 <+708>: mov %rbp,%rdi
0x000055555556fc17 <+711>: call *0x26d7b(%rip) # 0x555555596998
0x000055555556fc1d <+717>: mov %rbp,%rdi
0x000055555556fc20 <+720>: call *0x26722(%rip) # 0x555555596348
0x000055555556fc26 <+726>: mov %rbp,%rdi
0x000055555556fc29 <+729>: call *0x273b1(%rip) # 0x555555596fe0
0x000055555556fc2f <+735>: sub $0x8,%rsp
0x000055555556fc33 <+739>: xor %r9d,%r9d
0x000055555556fc36 <+742>: xor %r8d,%r8d
0x000055555556fc39 <+745>: push $0x0
0x000055555556fc3b <+747>: lea 0x1f32e(%rip),%rdx # 0x55555558ef70
0x000055555556fc42 <+754>: mov 0xcc(%rsp),%edi
0x000055555556fc49 <+761>: mov $0x37,%ecx
0x000055555556fc4e <+766>: mov 0xc0(%rsp),%rsi
0x000055555556fc56 <+774>: call *0x26614(%rip) # 0x555555596270
0x000055555556fc5c <+780>: cmpb $0x0,0x2985d(%rip) # 0x5555555994c0
0x000055555556fc63 <+787>: pop %r9
0x000055555556fc65 <+789>: pop %r10
0x000055555556fc67 <+791>: je 0x55555556fc76 <main+806>
0x000055555556fc69 <+793>: cmpb $0x0,0x2ad30(%rip) # 0x55555559a9a0
0x000055555556fc70 <+800>: jne 0x555555570adf <main+4495>
0x000055555556fc76 <+806>: mov 0xb0(%rsp),%rax
0x000055555556fc7e <+814>: xor %edx,%edx
0x000055555556fc80 <+816>: mov (%rax),%rbp
0x000055555556fc83 <+819>: test %rbp,%rbp
0x000055555556fc86 <+822>: je 0x55555556fc94 <main+836>
0x000055555556fc88 <+824>: mov %rbp,%rdi
0x000055555556fc8b <+827>: call *0x265d7(%rip) # 0x555555596268
0x000055555556fc91 <+833>: mov %rax,%rdx
0x000055555556fc94 <+836>: cmpb $0x0,0x28f65(%rip) # 0x555555598c00
0x000055555556fc9b <+843>: jne 0x5555555708e3 <main+3987>
0x000055555556fca1 <+849>: lea 0x530(%rsp),%rax
0x000055555556fca9 <+857>: mov %r15,%rdi
0x000055555556fcac <+860>: movq $0x0,0x510(%rsp)
0x000055555556fcb8 <+872>: movzbl 0x290c1(%rip),%esi # 0x555555598d80
0x000055555556fcbf <+879>: mov %rax,0x520(%rsp)
0x000055555556fcc7 <+887>: lea 0x560(%rsp),%rax
0x000055555556fccf <+895>: mov %rax,0x550(%rsp)
0x000055555556fcd7 <+903>: lea 0x580(%rsp),%rax
0x000055555556fcdf <+911>: mov %rax,0x570(%rsp)
0x000055555556fce7 <+919>: lea 0x5b8(%rsp),%rax
0x000055555556fcef <+927>: mov %rax,0x5a8(%rsp)
0x000055555556fcf7 <+935>: movabs $0x400000000,%rax
0x000055555556fd01 <+945>: movq $0x0,0x518(%rsp)
0x000055555556fd0d <+957>: movq $0x0,0x528(%rsp)
0x000055555556fd19 <+969>: movb $0x0,0x530(%rsp)
0x000055555556fd21 <+977>: movq $0x0,0x540(%rsp)
0x000055555556fd2d <+989>: movl $0x0,0x548(%rsp)
0x000055555556fd38 <+1000>: movq $0x0,0x558(%rsp)
0x000055555556fd44 <+1012>: movb $0x0,0x560(%rsp)
0x000055555556fd4c <+1020>: movq $0x0,0x578(%rsp)
0x000055555556fd58 <+1032>: movb $0x0,0x580(%rsp)
0x000055555556fd60 <+1040>: movq $0x0,0x590(%rsp)
0x000055555556fd6c <+1052>: movq $0x0,0x598(%rsp)
0x000055555556fd78 <+1064>: movq $0x0,0x5a0(%rsp)
0x000055555556fd84 <+1076>: mov %rax,0x5b0(%rsp)
0x000055555556fd8c <+1084>: call *0x26a16(%rip) # 0x5555555967a8
0x000055555556fd92 <+1090>: cmpb $0x0,0x2a5c7(%rip) # 0x55555559a360
0x000055555556fd99 <+1097>: je 0x5555555708f7 <main+4007>
0x000055555556fd9f <+1103>: movzbl 0x28bda(%rip),%ecx # 0x555555598980
0x000055555556fda6 <+1110>: mov 0x2881b(%rip),%rdx # 0x5555555985c8
0x000055555556fdad <+1117>: lea 0x180(%rsp),%rbx
0x000055555556fdb5 <+1125>: mov 0x28b05(%rip),%esi # 0x5555555988c0
0x000055555556fdbb <+1131>: mov %rbx,0x20(%rsp)
0x000055555556fdc0 <+1136>: mov %rbx,%rdi
0x000055555556fdc3 <+1139>: mov 0x287f6(%rip),%rax # 0x5555555985c0
0x000055555556fdca <+1146>: mov 0x288ef(%rip),%r8 # 0x5555555986c0
0x000055555556fdd1 <+1153>: push %rsi
0x000055555556fdd2 <+1154>: mov 0x288ef(%rip),%r9 # 0x5555555986c8
0x000055555556fdd9 <+1161>: mov %r15,%rsi
0x000055555556fddc <+1164>: push %rcx
0x000055555556fddd <+1165>: mov 0x289e4(%rip),%rcx # 0x5555555987c8
0x000055555556fde4 <+1172>: push %rdx
0x000055555556fde5 <+1173>: mov 0x289d4(%rip),%rdx # 0x5555555987c0
0x000055555556fdec <+1180>: push %rax
0x000055555556fded <+1181>: call *0x26715(%rip) # 0x555555596508
0x000055555556fdf3 <+1187>: add $0x20,%rsp
0x000055555556fdf7 <+1191>: testb $0x1,0x188(%rsp)
0x000055555556fdff <+1199>: je 0x55555556ff29 <main+1497>
0x000055555556fe05 <+1205>: mov 0x180(%rsp),%rbx
0x000055555556fe0d <+1213>: movq $0x0,0x180(%rsp)
0x000055555556fe19 <+1225>: test %rbx,%rbx
0x000055555556fe1c <+1228>: je 0x55555556ff29 <main+1497>
0x000055555556fe22 <+1234>: call *0x265b0(%rip) # 0x5555555963d8
0x000055555556fe28 <+1240>: lea 0x140(%rsp),%r14
0x000055555556fe30 <+1248>: lea 0x420(%rsp),%rdi
0x000055555556fe38 <+1256>: mov %rbx,0x140(%rsp)
0x000055555556fe40 <+1264>: mov %rax,%rbp
0x000055555556fe43 <+1267>: mov %r14,%rsi
0x000055555556fe46 <+1270>: call 0x555555578a40
0x000055555556fe4b <+1275>: mov %rbp,%rdi
0x000055555556fe4e <+1278>: mov 0x428(%rsp),%rdx
0x000055555556fe56 <+1286>: mov 0x420(%rsp),%rsi
0x000055555556fe5e <+1294>: call *0x26c6c(%rip) # 0x555555596ad0
0x000055555556fe64 <+1300>: mov %rax,%rdi
0x000055555556fe67 <+1303>: mov 0x18(%rax),%rax
0x000055555556fe6b <+1307>: cmp %rax,0x10(%rdi)
0x000055555556fe6f <+1311>: jbe 0x555555570d74 <main+5156>
0x000055555556fe75 <+1317>: lea 0x1(%rax),%rdx
0x000055555556fe79 <+1321>: mov %rdx,0x18(%rdi)
0x000055555556fe7d <+1325>: movb $0xa,(%rax)
0x000055555556fe80 <+1328>: mov 0x420(%rsp),%rdi
0x000055555556fe88 <+1336>: lea 0x430(%rsp),%rax
0x000055555556fe90 <+1344>: cmp %rax,%rdi
0x000055555556fe93 <+1347>: je 0x55555556fea7 <main+1367>
0x000055555556fe95 <+1349>: mov 0x430(%rsp),%rax
0x000055555556fe9d <+1357>: lea 0x1(%rax),%rsi
0x000055555556fea1 <+1361>: call *0x261e9(%rip) # 0x555555596090
0x000055555556fea7 <+1367>: mov 0x140(%rsp),%rdi
0x000055555556feaf <+1375>: test %rdi,%rdi
0x000055555556feb2 <+1378>: je 0x55555556feba <main+1386>
0x000055555556feb4 <+1380>: mov (%rdi),%rax
0x000055555556feb7 <+1383>: call *0x8(%rax)
0x000055555556feba <+1386>: lea 0x510(%rsp),%rax
0x000055555556fec2 <+1394>: mov $0x1,%r12d
0x000055555556fec8 <+1400>: mov %rax,0x10(%rsp)
0x000055555556fecd <+1405>: mov 0x20(%rsp),%rdi
0x000055555556fed2 <+1410>: call 0x55555558b590
0x000055555556fed7 <+1415>: mov 0x10(%rsp),%rdi
0x000055555556fedc <+1420>: call 0x555555588d20
0x000055555556fee1 <+1425>: mov %r14,%rdi
0x000055555556fee4 <+1428>: call 0x55555558a710
0x000055555556fee9 <+1433>: mov %r15,%rdi
0x000055555556feec <+1436>: call *0x26c36(%rip) # 0x555555596b28
0x000055555556fef2 <+1442>: mov 0x8(%rsp),%rdi
0x000055555556fef7 <+1447>: call *0x26633(%rip) # 0x555555596530
0x000055555556fefd <+1453>: mov 0x678(%rsp),%rax
0x000055555556ff05 <+1461>: sub %fs:0x28,%rax
0x000055555556ff0e <+1470>: jne 0x5555555726a4 <main+11604>
0x000055555556ff14 <+1476>: add $0x688,%rsp
0x000055555556ff1b <+1483>: mov %r12d,%eax
0x000055555556ff1e <+1486>: pop %rbx
0x000055555556ff1f <+1487>: pop %rbp
0x000055555556ff20 <+1488>: pop %r12
0x000055555556ff22 <+1490>: pop %r13
0x000055555556ff24 <+1492>: pop %r14
0x000055555556ff26 <+1494>: pop %r15
0x000055555556ff28 <+1496>: ret
0x000055555556ff29 <+1497>: mov 0x180(%rsp),%rax
0x000055555556ff31 <+1505>: cmpb $0x0,0x2a5a8(%rip) # 0x55555559a4e0
0x000055555556ff38 <+1512>: movq $0x0,0x180(%rsp)
0x000055555556ff44 <+1524>: lea 0x188f5(%rip),%rcx # 0x555555588840
0x000055555556ff4b <+1531>: mov 0x2ad96(%rip),%rdx # 0x55555559ace8
0x000055555556ff52 <+1538>: mov 0x2ad87(%rip),%rsi # 0x55555559ace0
0x000055555556ff59 <+1545>: movq $0x0,0xe0(%rsp)
0x000055555556ff65 <+1557>: lea 0x140(%rsp),%r14
0x000055555556ff6d <+1565>: mov %rax,0xd8(%rsp)
0x000055555556ff75 <+1573>: lea 0xc8(%rsp),%rax
0x000055555556ff7d <+1581>: mov %rax,%rbx
0x000055555556ff80 <+1584>: lea 0x510(%rsp),%rax
0x000055555556ff88 <+1592>: mov %rax,0x10(%rsp)
0x000055555556ff8d <+1597>: je 0x55555556fffd <main+1709>
0x000055555556ff8f <+1599>: push %rbx
0x000055555556ff90 <+1600>: mov %r15,%r8
0x000055555556ff93 <+1603>: mov %r14,%rdi
0x000055555556ff96 <+1606>: xor %r9d,%r9d
0x000055555556ff99 <+1609>: push %rcx
0x000055555556ff9a <+1610>: mov %rax,%rcx
0x000055555556ff9d <+1613>: call *0x26795(%rip) # 0x555555596738
0x000055555556ffa3 <+1619>: mov 0x150(%rsp),%rax
0x000055555556ffab <+1627>: mov 0xf0(%rsp),%rbp
0x000055555556ffb3 <+1635>: movq $0x0,0x150(%rsp)
0x000055555556ffbf <+1647>: mov %rax,0xf0(%rsp)
0x000055555556ffc7 <+1655>: pop %rdi
0x000055555556ffc8 <+1656>: pop %r8
0x000055555556ffca <+1658>: test %rbp,%rbp
0x000055555556ffcd <+1661>: je 0x55555556ffe6 <main+1686>
0x000055555556ffcf <+1663>: mov %rbp,%rdi
0x000055555556ffd2 <+1666>: call *0x26260(%rip) # 0x555555596238
0x000055555556ffd8 <+1672>: mov $0x2e8,%esi
0x000055555556ffdd <+1677>: mov %rbp,%rdi
0x000055555556ffe0 <+1680>: call *0x260aa(%rip) # 0x555555596090
0x000055555556ffe6 <+1686>: lea 0x148(%rsp),%rdi
0x000055555556ffee <+1694>: call 0x55555558a1d0
0x000055555556fff3 <+1699>: mov %r14,%rdi
0x000055555556fff6 <+1702>: call 0x55555558a1a0
0x000055555556fffb <+1707>: jmp 0x555555570058 <main+1800>
0x000055555556fffd <+1709>: push %rbx
0x000055555556fffe <+1710>: mov %r15,%r8
0x0000555555570001 <+1713>: mov %r14,%rdi
0x0000555555570004 <+1716>: push %rcx
0x0000555555570005 <+1717>: mov %rax,%rcx
0x0000555555570008 <+1720>: call *0x261aa(%rip) # 0x5555555961b8
0x000055555557000e <+1726>: mov 0x150(%rsp),%rax
0x0000555555570016 <+1734>: mov 0xf0(%rsp),%rbp
0x000055555557001e <+1742>: movq $0x0,0x150(%rsp)
0x000055555557002a <+1754>: mov %rax,0xf0(%rsp)
0x0000555555570032 <+1762>: pop %rcx
0x0000555555570033 <+1763>: pop %rsi
0x0000555555570034 <+1764>: test %rbp,%rbp
0x0000555555570037 <+1767>: je 0x555555570050 <main+1792>
0x0000555555570039 <+1769>: mov %rbp,%rdi
0x000055555557003c <+1772>: call *0x261f6(%rip) # 0x555555596238
0x0000555555570042 <+1778>: mov $0x2e8,%esi
0x0000555555570047 <+1783>: mov %rbp,%rdi
0x000055555557004a <+1786>: call *0x26040(%rip) # 0x555555596090
0x0000555555570050 <+1792>: mov %r14,%rdi
0x0000555555570053 <+1795>: call 0x55555558a1a0
0x0000555555570058 <+1800>: mov 0xe0(%rsp),%rdi
0x0000555555570060 <+1808>: test %rdi,%rdi
0x0000555555570063 <+1811>: je 0x555555571529 <main+7129>
0x0000555555570069 <+1817>: cmpb $0x0,0x2a230(%rip) # 0x55555559a2a0
0x0000555555570070 <+1824>: jne 0x555555570d3d <main+5101>
0x0000555555570076 <+1830>: cmpb $0x0,0x2a163(%rip) # 0x55555559a1e0
0x000055555557007d <+1837>: je 0x5555555700b4 <main+1892>
0x000055555557007f <+1839>: mov 0xe0(%rsp),%rdi
0x0000555555570087 <+1847>: lea 0x48(%rdi),%rax
0x000055555557008b <+1851>: cmp %rax,0x48(%rdi)
0x000055555557008f <+1855>: je 0x5555555700b4 <main+1892>
0x0000555555570091 <+1857>: nopl 0x0(%rax)
0x0000555555570098 <+1864>: mov 0x50(%rdi),%rsi
0x000055555557009c <+1868>: call *0x269be(%rip) # 0x555555596a60
0x00005555555700a2 <+1874>: mov 0xe0(%rsp),%rdi
0x00005555555700aa <+1882>: lea 0x48(%rdi),%rax
0x00005555555700ae <+1886>: cmp %rax,0x48(%rdi)
0x00005555555700b2 <+1890>: jne 0x555555570098 <main+1864>
0x00005555555700b4 <+1892>: mov 0x298ad(%rip),%rdx # 0x555555599968
0x00005555555700bb <+1899>: test %rdx,%rdx
0x00005555555700be <+1902>: jne 0x555555570c32 <main+4834>
0x00005555555700c4 <+1908>: cmpb $0x0,0x2a4d5(%rip) # 0x55555559a5a0
0x00005555555700cb <+1915>: jne 0x5555555700ee <main+1950>
0x00005555555700cd <+1917>: call *0x26305(%rip) # 0x5555555963d8
0x00005555555700d3 <+1923>: xor %edx,%edx
0x00005555555700d5 <+1925>: mov 0xe0(%rsp),%rdi
0x00005555555700dd <+1933>: mov %rax,%rsi
0x00005555555700e0 <+1936>: call *0x26bda(%rip) # 0x555555596cc0
0x00005555555700e6 <+1942>: test %al,%al
0x00005555555700e8 <+1944>: jne 0x55555557155e <main+7182>
0x00005555555700ee <+1950>: xor %esi,%esi
0x00005555555700f0 <+1952>: mov 0xe0(%rsp),%rdi
0x00005555555700f8 <+1960>: call *0x26dea(%rip) # 0x555555596ee8
0x00005555555700fe <+1966>: cmpb $0x0,0x2a89b(%rip) # 0x55555559a9a0
0x0000555555570105 <+1973>: movq $0x0,0xe8(%rsp)
0x0000555555570111 <+1985>: movq $0x0,0xf0(%rsp)
0x000055555557011d <+1997>: je 0x555555570905 <main+4021>
0x0000555555570123 <+2003>: cmpq $0x0,0x2aabd(%rip) # 0x55555559abe8
0x000055555557012b <+2011>: jne 0x555555570b2a <main+4570>
0x0000555555570131 <+2017>: mov 0xe0(%rsp),%rax
0x0000555555570139 <+2025>: mov %r14,%rsi
0x000055555557013c <+2028>: lea 0x230(%rsp),%rbp
0x0000555555570144 <+2036>: movw $0x104,0x150(%rsp)
0x000055555557014e <+2046>: mov %rbp,%rdi
0x0000555555570151 <+2049>: lea 0x190(%rsp),%r12
0x0000555555570159 <+2057>: add $0xf0,%rax
0x000055555557015f <+2063>: mov %rax,0x140(%rsp)
0x0000555555570167 <+2071>: call *0x264fb(%rip) # 0x555555596668
0x000055555557016d <+2077>: lea 0x1a0(%rsp),%rax
0x0000555555570175 <+2085>: movq $0x0,0x198(%rsp)
0x0000555555570181 <+2097>: mov %rax,0x48(%rsp)
0x0000555555570186 <+2102>: mov %rax,0x190(%rsp)
0x000055555557018e <+2110>: lea 0x1c0(%rsp),%rax
0x0000555555570196 <+2118>: mov %rax,0x50(%rsp)
0x000055555557019b <+2123>: mov %rax,0x1b0(%rsp)
0x00005555555701a3 <+2131>: lea 0x420(%rsp),%rax
0x00005555555701ab <+2139>: movb $0x0,0x1a0(%rsp)
0x00005555555701b3 <+2147>: mov %rax,%rdi
0x00005555555701b6 <+2150>: movq $0x0,0x1b8(%rsp)
0x00005555555701c2 <+2162>: movb $0x0,0x1c0(%rsp)
0x00005555555701ca <+2170>: mov %rax,0x40(%rsp)
0x00005555555701cf <+2175>: call *0x26b33(%rip) # 0x555555596d08
0x00005555555701d5 <+2181>: cmpl $0x0,0x250(%rsp)
0x00005555555701dd <+2189>: je 0x555555570a59 <main+4361>
0x00005555555701e3 <+2195>: lea 0x350(%rsp),%rax
0x00005555555701eb <+2203>: mov %rax,%rbx
0x00005555555701ee <+2206>: mov %rax,%rdi
0x00005555555701f1 <+2209>: mov %rax,0x30(%rsp)
0x00005555555701f6 <+2214>: call *0x26744(%rip) # 0x555555596940
0x00005555555701fc <+2220>: mov %r12,%rdi
0x00005555555701ff <+2223>: mov %rbx,%rsi
0x0000555555570202 <+2226>: call 0x5555555861a0
0x0000555555570207 <+2231>: mov 0x350(%rsp),%rdi
0x000055555557020f <+2239>: lea 0x360(%rsp),%rax
0x0000555555570217 <+2247>: mov %rax,0x28(%rsp)
0x000055555557021c <+2252>: cmp %rax,%rdi
0x000055555557021f <+2255>: je 0x555555570233 <main+2275>
0x0000555555570221 <+2257>: mov 0x360(%rsp),%rax
0x0000555555570229 <+2265>: lea 0x1(%rax),%rsi
0x000055555557022d <+2269>: call *0x25e5d(%rip) # 0x555555596090
0x0000555555570233 <+2275>: mov 0x30(%rsp),%rbx
0x0000555555570238 <+2280>: mov %rbx,%rdi
0x000055555557023b <+2283>: call *0x266df(%rip) # 0x555555596920
0x0000555555570241 <+2289>: lea 0x1b0(%rsp),%rdi
0x0000555555570249 <+2297>: mov %rbx,%rsi
0x000055555557024c <+2300>: call 0x5555555861a0
0x0000555555570251 <+2305>: mov 0x350(%rsp),%rdi
0x0000555555570259 <+2313>: cmp 0x28(%rsp),%rdi
0x000055555557025e <+2318>: je 0x555555570272 <main+2338>
0x0000555555570260 <+2320>: mov 0x360(%rsp),%rax
0x0000555555570268 <+2328>: lea 0x1(%rax),%rsi
0x000055555557026c <+2332>: call *0x25e1e(%rip) # 0x555555596090
0x0000555555570272 <+2338>: mov 0x230(%rsp),%r13
0x000055555557027a <+2346>: mov 0x238(%rsp),%r12
0x0000555555570282 <+2354>: lea 0x280(%rsp),%rbx
0x000055555557028a <+2362>: mov %rbx,0x270(%rsp)
0x0000555555570292 <+2370>: mov %r13,%rax
0x0000555555570295 <+2373>: add %r12,%rax
0x0000555555570298 <+2376>: je 0x5555555702a3 <main+2387>
0x000055555557029a <+2378>: test %r13,%r13
0x000055555557029d <+2381>: je 0x5555555726aa <main+11610>
0x00005555555702a3 <+2387>: mov %r12,0x140(%rsp)
0x00005555555702ab <+2395>: cmp $0xf,%r12
0x00005555555702af <+2399>: ja 0x555555570f94 <main+5700>
0x00005555555702b5 <+2405>: cmp $0x1,%r12
0x00005555555702b9 <+2409>: jne 0x555555570f79 <main+5673>
0x00005555555702bf <+2415>: movzbl 0x0(%r13),%eax
0x00005555555702c4 <+2420>: mov %al,0x280(%rsp)
0x00005555555702cb <+2427>: lea 0x270(%rsp),%rax
0x00005555555702d3 <+2435>: mov %rax,0x38(%rsp)
0x00005555555702d8 <+2440>: mov 0x140(%rsp),%rax
0x00005555555702e0 <+2448>: mov 0x270(%rsp),%rdx
0x00005555555702e8 <+2456>: lea 0x1d0(%rsp),%r12
0x00005555555702f0 <+2464>: lea 0x1e0(%rsp),%r13
0x00005555555702f8 <+2472>: mov 0x30(%rsp),%rdi
0x00005555555702fd <+2477>: mov %rax,0x278(%rsp)
0x0000555555570305 <+2485>: movb $0x0,(%rdx,%rax,1)
0x0000555555570309 <+2489>: mov 0x260(%rsp),%rax
0x0000555555570311 <+2497>: movdqa 0x250(%rsp),%xmm1
0x000055555557031a <+2506>: mov %r13,0x1d0(%rsp)
0x0000555555570322 <+2514>: mov %rax,0x2a0(%rsp)
0x000055555557032a <+2522>: movaps %xmm1,0x290(%rsp)
0x0000555555570332 <+2530>: movq $0x0,0x1d8(%rsp)
0x000055555557033e <+2542>: movb $0x0,0x1e0(%rsp)
0x0000555555570346 <+2550>: call *0x2658c(%rip) # 0x5555555968d8
0x000055555557034c <+2556>: mov 0x30(%rsp),%rdi
0x0000555555570351 <+2561>: mov 0x38(%rsp),%rsi
0x0000555555570356 <+2566>: mov %r12,%rdx
0x0000555555570359 <+2569>: call *0x26751(%rip) # 0x555555596ab0
0x000055555557035f <+2575>: mov 0x350(%rsp),%rdi
0x0000555555570367 <+2583>: mov %rax,0x18(%rsp)
0x000055555557036c <+2588>: cmp 0x28(%rsp),%rdi
0x0000555555570371 <+2593>: je 0x555555570385 <main+2613>
0x0000555555570373 <+2595>: mov 0x360(%rsp),%rax
0x000055555557037b <+2603>: lea 0x1(%rax),%rsi
0x000055555557037f <+2607>: call *0x25d0b(%rip) # 0x555555596090
0x0000555555570385 <+2613>: cmpq $0x0,0x18(%rsp)
0x000055555557038b <+2619>: je 0x55555557052e <main+3038>
0x0000555555570391 <+2625>: cmpw $0x0,0x2964f(%rip) # 0x5555555999e8
0x0000555555570399 <+2633>: je 0x555555570d84 <main+5172>
0x000055555557039f <+2639>: mov 0x296ba(%rip),%r12d # 0x555555599a60
0x00005555555703a6 <+2646>: call *0x2685c(%rip) # 0x555555596c08
0x00005555555703ac <+2652>: mov %rax,0x68(%rsp)
0x00005555555703b1 <+2657>: call *0x26b81(%rip) # 0x555555596f38
0x00005555555703b7 <+2663>: lea 0x1f0(%rsp),%rdi
0x00005555555703bf <+2671>: mov %rax,0x60(%rsp)
0x00005555555703c4 <+2676>: call *0x26556(%rip) # 0x555555596920
0x00005555555703ca <+2682>: mov 0x1f0(%rsp),%rcx
0x00005555555703d2 <+2690>: mov 0x1f8(%rsp),%rdx
0x00005555555703da <+2698>: lea 0x210(%rsp),%rdi
0x00005555555703e2 <+2706>: mov %rcx,0x38(%rsp)
0x00005555555703e7 <+2711>: mov %rdx,0x58(%rsp)
0x00005555555703ec <+2716>: call *0x2654e(%rip) # 0x555555596940
0x00005555555703f2 <+2722>: mov 0x218(%rsp),%rcx
0x00005555555703fa <+2730>: mov 0x270(%rsp),%rax
0x0000555555570402 <+2738>: mov 0x210(%rsp),%rdx
0x000055555557040a <+2746>: mov %rcx,0x78(%rsp)
0x000055555557040f <+2751>: mov 0x18(%rsp),%rcx
0x0000555555570414 <+2756>: mov %rax,0x120(%rsp)
0x000055555557041c <+2764>: mov 0x278(%rsp),%rax
0x0000555555570424 <+2772>: mov %rdx,0x80(%rsp)
0x000055555557042c <+2780>: mov %rax,0x128(%rsp)
0x0000555555570434 <+2788>: mov 0x58(%rcx),%rax
0x0000555555570438 <+2792>: test %rax,%rax
0x000055555557043b <+2795>: mov %rax,0x70(%rsp)
0x0000555555570440 <+2800>: je 0x555555571f70 <main+9760>
0x0000555555570446 <+2806>: lea 0x120(%rsp),%rsi
0x000055555557044e <+2814>: mov 0x30(%rsp),%rdi
0x0000555555570453 <+2819>: movw $0x105,0x150(%rsp)
0x000055555557045d <+2829>: mov %rsi,0x140(%rsp)
0x0000555555570465 <+2837>: mov %r14,%rsi
0x0000555555570468 <+2840>: call *0x261fa(%rip) # 0x555555596668
0x000055555557046e <+2846>: push %rdx
0x000055555557046f <+2847>: push $0x0
0x0000555555570471 <+2849>: push %r12
0x0000555555570473 <+2851>: push 0x80(%rsp)
0x000055555557047a <+2858>: push 0x80(%rsp)
0x0000555555570481 <+2865>: push 0x68(%rsp)
0x0000555555570485 <+2869>: mov 0x48(%rsp),%rdi
0x000055555557048a <+2874>: mov 0x68(%rsp),%r8
0x000055555557048f <+2879>: mov 0x88(%rsp),%r9
0x0000555555570497 <+2887>: mov 0xb0(%rsp),%rdx
0x000055555557049f <+2895>: mov 0xa8(%rsp),%rcx
0x00005555555704a7 <+2903>: mov 0x60(%rsp),%rsi
0x00005555555704ac <+2908>: mov 0xa0(%rsp),%rax
0x00005555555704b4 <+2916>: call *%rax
0x00005555555704b6 <+2918>: mov 0x380(%rsp),%rdi
0x00005555555704be <+2926>: mov %rax,0x48(%rsp)
0x00005555555704c3 <+2931>: add $0x30,%rsp
0x00005555555704c7 <+2935>: cmp 0x28(%rsp),%rdi
0x00005555555704cc <+2940>: je 0x5555555704e0 <main+2960>
0x00005555555704ce <+2942>: mov 0x360(%rsp),%rax
0x00005555555704d6 <+2950>: lea 0x1(%rax),%rsi
0x00005555555704da <+2954>: call *0x25bb0(%rip) # 0x555555596090
0x00005555555704e0 <+2960>: mov 0x210(%rsp),%rdi
0x00005555555704e8 <+2968>: lea 0x220(%rsp),%rax
0x00005555555704f0 <+2976>: cmp %rax,%rdi
0x00005555555704f3 <+2979>: je 0x555555570507 <main+2999>
0x00005555555704f5 <+2981>: mov 0x220(%rsp),%rax
0x00005555555704fd <+2989>: lea 0x1(%rax),%rsi
0x0000555555570501 <+2993>: call *0x25b89(%rip) # 0x555555596090
0x0000555555570507 <+2999>: mov 0x1f0(%rsp),%rdi
0x000055555557050f <+3007>: lea 0x200(%rsp),%rax
0x0000555555570517 <+3015>: cmp %rax,%rdi
0x000055555557051a <+3018>: je 0x55555557052e <main+3038>
0x000055555557051c <+3020>: mov 0x200(%rsp),%rax
0x0000555555570524 <+3028>: lea 0x1(%rax),%rsi
0x0000555555570528 <+3032>: call *0x25b62(%rip) # 0x555555596090
0x000055555557052e <+3038>: mov 0x1d0(%rsp),%rdi
0x0000555555570536 <+3046>: cmp %r13,%rdi
0x0000555555570539 <+3049>: je 0x55555557054d <main+3069>
0x000055555557053b <+3051>: mov 0x1e0(%rsp),%rax
0x0000555555570543 <+3059>: lea 0x1(%rax),%rsi
0x0000555555570547 <+3063>: call *0x25b43(%rip) # 0x555555596090
0x000055555557054d <+3069>: mov 0x270(%rsp),%rdi
0x0000555555570555 <+3077>: cmp %rbx,%rdi
0x0000555555570558 <+3080>: je 0x55555557056c <main+3100>
0x000055555557055a <+3082>: mov 0x280(%rsp),%rax
0x0000555555570562 <+3090>: lea 0x1(%rax),%rsi
0x0000555555570566 <+3094>: call *0x25b24(%rip) # 0x555555596090
0x000055555557056c <+3100>: mov 0xe0(%rsp),%r8
0x0000555555570574 <+3108>: mov 0x1b0(%rsp),%rdx
0x000055555557057c <+3116>: mov 0x1b8(%rsp),%rcx
0x0000555555570584 <+3124>: mov 0x190(%rsp),%rdi
0x000055555557058c <+3132>: mov 0x198(%rsp),%rsi
0x0000555555570594 <+3140>: call *0x26606(%rip) # 0x555555596ba0
0x000055555557059a <+3146>: cmpb $0x0,0x2a57f(%rip) # 0x55555559ab20
0x00005555555705a1 <+3153>: jne 0x5555555705b9 <main+3177>
0x00005555555705a3 <+3155>: cmpb $0x0,0x2a3f6(%rip) # 0x55555559a9a0
0x00005555555705aa <+3162>: jne 0x5555555705b9 <main+3177>
0x00005555555705ac <+3164>: cmpb $0x0,0x28f0d(%rip) # 0x5555555994c0
0x00005555555705b3 <+3171>: je 0x5555555715b7 <main+7271>
0x00005555555705b9 <+3177>: cmpb $0x0,0x2a260(%rip) # 0x55555559a820
0x00005555555705c0 <+3184>: jne 0x555555570d48 <main+5112>
0x00005555555705c6 <+3190>: movzbl 0x2a913(%rip),%eax # 0x55555559aee0
0x00005555555705cd <+3197>: mov %eax,%ecx
0x00005555555705cf <+3199>: mov %al,0x60(%rsp)
0x00005555555705d3 <+3203>: movzwl 0x2a78e(%rip),%eax # 0x55555559ad68
0x00005555555705da <+3210>: test %cl,%cl
0x00005555555705dc <+3212>: jne 0x555555570b44 <main+4596>
0x00005555555705e2 <+3218>: test %ax,%ax
0x00005555555705e5 <+3221>: je 0x555555570fdb <main+5771>
0x00005555555705eb <+3227>: mov 0x2a9b6(%rip),%rax # 0x55555559afa8
0x00005555555705f2 <+3234>: cmp %rax,0x2a9a7(%rip) # 0x55555559afa0
0x00005555555705f9 <+3241>: jne 0x555555571501 <main+7089>
0x00005555555705ff <+3247>: lea 0x360(%rsp),%rax
0x0000555555570607 <+3255>: mov %rax,0x28(%rsp)
0x000055555557060c <+3260>: mov %rax,0x350(%rsp)
0x0000555555570614 <+3268>: mov 0x1d635(%rip),%rax # 0x55555558dc50
0x000055555557061b <+3275>: mov %rax,0x358(%rsp)
0x0000555555570623 <+3283>: cmpb $0x0,0x298b6(%rip) # 0x555555599ee0
0x000055555557062a <+3290>: jne 0x555555570db4 <main+5220>
0x0000555555570630 <+3296>: cmpb $0x0,0x297e9(%rip) # 0x555555599e20
0x0000555555570637 <+3303>: jne 0x555555570ea4 <main+5460>
0x000055555557063d <+3309>: cmpb $0x0,0x2971c(%rip) # 0x555555599d60
0x0000555555570644 <+3316>: jne 0x555555570e74 <main+5412>
0x000055555557064a <+3322>: cmpb $0x0,0x294cf(%rip) # 0x555555599b20
0x0000555555570651 <+3329>: jne 0x555555570e44 <main+5364>
0x0000555555570657 <+3335>: cmpb $0x0,0x29642(%rip) # 0x555555599ca0
0x000055555557065e <+3342>: jne 0x555555570e14 <main+5316>
0x0000555555570664 <+3348>: cmpb $0x0,0x29575(%rip) # 0x555555599be0
0x000055555557066b <+3355>: jne 0x555555570de4 <main+5268>
0x0000555555570671 <+3361>: xor %r12d,%r12d
0x0000555555570674 <+3364>: cmpb $0x0,0x2a325(%rip) # 0x55555559a9a0
0x000055555557067b <+3371>: jne 0x55555557069a <main+3402>
0x000055555557067d <+3373>: cmpb $0x0,0x2a25c(%rip) # 0x55555559a8e0
0x0000555555570684 <+3380>: mov $0x1,%r12d
0x000055555557068a <+3386>: jne 0x55555557069a <main+3402>
0x000055555557068c <+3388>: cmpb $0x1,0x2a18d(%rip) # 0x55555559a820
0x0000555555570693 <+3395>: sbb %r12d,%r12d
0x0000555555570696 <+3398>: add $0x3,%r12d
0x000055555557069a <+3402>: xor %ebx,%ebx
0x000055555557069c <+3404>: cmpb $0x0,0x29efd(%rip) # 0x55555559a5a0
0x00005555555706a3 <+3411>: jne 0x5555555706b1 <main+3425>
0x00005555555706a5 <+3413>: cmpb $0x1,0x29d74(%rip) # 0x55555559a420
0x00005555555706ac <+3420>: sbb %ebx,%ebx
0x00005555555706ae <+3422>: add $0x2,%ebx
0x00005555555706b1 <+3425>: movzbl 0x28608(%rip),%eax # 0x555555598cc0
0x00005555555706b8 <+3432>: mov 0x350(%rsp),%rdx
0x00005555555706c0 <+3440>: mov 0x358(%rsp),%ecx
0x00005555555706c7 <+3447>: mov 0x2a712(%rip),%r10 # 0x55555559ade0
0x00005555555706ce <+3454>: mov %eax,0x30(%rsp)
0x00005555555706d2 <+3458>: movzbl 0x28d27(%rip),%eax # 0x555555599400
0x00005555555706d9 <+3465>: mov 0x2a708(%rip),%r11 # 0x55555559ade8
0x00005555555706e0 <+3472>: mov 0xf0(%rsp),%r9
0x00005555555706e8 <+3480>: mov %eax,0x38(%rsp)
0x00005555555706ec <+3484>: movzbl 0x2902d(%rip),%eax # 0x555555599720
0x00005555555706f3 <+3491>: mov 0xe8(%rsp),%r8
0x00005555555706fb <+3499>: mov 0xe0(%rsp),%r13
0x0000555555570703 <+3507>: mov %eax,0x58(%rsp)
0x0000555555570707 <+3511>: movzbl 0x290d2(%rip),%eax # 0x5555555997e0
0x000055555557070e <+3518>: mov %eax,0x60(%rsp)
0x0000555555570712 <+3522>: movzbl 0x288a7(%rip),%eax # 0x555555598fc0
0x0000555555570719 <+3529>: mov %eax,0x68(%rsp)
0x000055555557071d <+3533>: movzbl 0x287dc(%rip),%eax # 0x555555598f00
0x0000555555570724 <+3540>: mov %eax,0x70(%rsp)
0x0000555555570728 <+3544>: mov 0xd8(%rsp),%rax
0x0000555555570730 <+3552>: mov %rax,0x78(%rsp)
0x0000555555570735 <+3557>: mov 0xb0(%rsp),%rax
0x000055555557073d <+3565>: mov (%rax),%rbp
0x0000555555570740 <+3568>: test %rbp,%rbp
0x0000555555570743 <+3571>: je 0x555555570ed4 <main+5508>
0x0000555555570749 <+3577>: mov %rdx,0xa0(%rsp)
0x0000555555570751 <+3585>: mov %rbp,%rdi
0x0000555555570754 <+3588>: mov %rcx,0xa8(%rsp)
0x000055555557075c <+3596>: mov %r10,0x90(%rsp)
0x0000555555570764 <+3604>: mov %r11,0x98(%rsp)
0x000055555557076c <+3612>: mov %r9,0x88(%rsp)
0x0000555555570774 <+3620>: mov %r8,0x80(%rsp)
0x000055555557077c <+3628>: call *0x25ae6(%rip) # 0x555555596268
0x0000555555570782 <+3634>: mov 0x80(%rsp),%r8
0x000055555557078a <+3642>: mov 0x88(%rsp),%r9
0x0000555555570792 <+3650>: mov 0x90(%rsp),%r10
0x000055555557079a <+3658>: mov 0x98(%rsp),%r11
0x00005555555707a2 <+3666>: mov %rax,%rsi
0x00005555555707a5 <+3669>: mov 0xa0(%rsp),%rdx
0x00005555555707ad <+3677>: mov 0xa8(%rsp),%rcx
0x00005555555707b5 <+3685>: push %rax
0x00005555555707b6 <+3686>: mov 0x38(%rsp),%eax
0x00005555555707ba <+3690>: mov %rbp,%rdi
0x00005555555707bd <+3693>: push %rax
0x00005555555707be <+3694>: mov 0x48(%rsp),%eax
0x00005555555707c2 <+3698>: push %rax
0x00005555555707c3 <+3699>: mov 0x70(%rsp),%eax
0x00005555555707c7 <+3703>: push %rax
0x00005555555707c8 <+3704>: mov 0x80(%rsp),%eax
0x00005555555707cf <+3711>: push %rax
0x00005555555707d0 <+3712>: mov 0x90(%rsp),%eax
0x00005555555707d7 <+3719>: push %rax
0x00005555555707d8 <+3720>: mov 0xa0(%rsp),%eax
0x00005555555707df <+3727>: push %rax
0x00005555555707e0 <+3728>: push %rbx
0x00005555555707e1 <+3729>: push %r12
0x00005555555707e3 <+3731>: push %rcx
0x00005555555707e4 <+3732>: push %rdx
0x00005555555707e5 <+3733>: mov %r13,%rdx
0x00005555555707e8 <+3736>: push %r11
0x00005555555707ea <+3738>: push %r10
0x00005555555707ec <+3740>: push 0xe0(%rsp)
0x00005555555707f3 <+3747>: mov 0x88(%rsp),%rcx
0x00005555555707fb <+3755>: addr32 call 0x55555557ad60 <_ZN4llvm15runPassPipelineENS_9StringRefERNS_6ModuleEPNS_13TargetMachineEPNS_14ToolOutputFileES6_S6_S0_NS_8ArrayRefIS0_EENS_8opt_tool10OutputKindENS9_12VerifierKindEbbbbbb>
0x0000555555570801 <+3761>: mov 0x3c0(%rsp),%rdi
0x0000555555570809 <+3769>: xor $0x1,%eax
0x000055555557080c <+3772>: add $0x70,%rsp
0x0000555555570810 <+3776>: movzbl %al,%r12d
0x0000555555570814 <+3780>: lea 0xe8(%rsp),%rbp
0x000055555557081c <+3788>: cmp 0x28(%rsp),%rdi
0x0000555555570821 <+3793>: je 0x555555570829 <main+3801>
0x0000555555570823 <+3795>: call *0x2607f(%rip) # 0x5555555968a8
0x0000555555570829 <+3801>: mov 0x18(%rsp),%rdi
0x000055555557082e <+3806>: test %rdi,%rdi
0x0000555555570831 <+3809>: je 0x555555570839 <main+3817>
0x0000555555570833 <+3811>: mov (%rdi),%rax
0x0000555555570836 <+3814>: call *0x8(%rax)
0x0000555555570839 <+3817>: mov 0x40(%rsp),%rdi
0x000055555557083e <+3822>: call 0x555555588e20
0x0000555555570843 <+3827>: mov 0x1b0(%rsp),%rdi
0x000055555557084b <+3835>: cmp 0x50(%rsp),%rdi
0x0000555555570850 <+3840>: je 0x555555570864 <main+3860>
0x0000555555570852 <+3842>: mov 0x1c0(%rsp),%rax
0x000055555557085a <+3850>: lea 0x1(%rax),%rsi
0x000055555557085e <+3854>: call *0x2582c(%rip) # 0x555555596090
0x0000555555570864 <+3860>: mov 0x190(%rsp),%rdi
0x000055555557086c <+3868>: cmp 0x48(%rsp),%rdi
0x0000555555570871 <+3873>: je 0x555555570885 <main+3893>
0x0000555555570873 <+3875>: mov 0x1a0(%rsp),%rax
0x000055555557087b <+3883>: lea 0x1(%rax),%rsi
0x000055555557087f <+3887>: call *0x2580b(%rip) # 0x555555596090
0x0000555555570885 <+3893>: mov 0x230(%rsp),%rdi
0x000055555557088d <+3901>: lea 0x240(%rsp),%rax
0x0000555555570895 <+3909>: lea 0xf0(%rsp),%r13
0x000055555557089d <+3917>: cmp %rax,%rdi
0x00005555555708a0 <+3920>: je 0x5555555708b4 <main+3940>
0x00005555555708a2 <+3922>: mov 0x240(%rsp),%rax
0x00005555555708aa <+3930>: lea 0x1(%rax),%rsi
0x00005555555708ae <+3934>: call *0x257dc(%rip) # 0x555555596090
0x00005555555708b4 <+3940>: mov %r13,%rdi
0x00005555555708b7 <+3943>: call 0x55555558b540
0x00005555555708bc <+3948>: mov %rbp,%rdi
0x00005555555708bf <+3951>: call 0x55555558b540
0x00005555555708c4 <+3956>: lea 0xe0(%rsp),%rdi
0x00005555555708cc <+3964>: call 0x55555558a1a0
0x00005555555708d1 <+3969>: lea 0xd8(%rsp),%rdi
0x00005555555708d9 <+3977>: call 0x55555558b540
0x00005555555708de <+3982>: jmp 0x55555556fecd <main+1405>
0x00005555555708e3 <+3987>: mov 0x28257(%rip),%edi # 0x555555598b40
0x00005555555708e9 <+3993>: mov %rbp,%rsi
0x00005555555708ec <+3996>: call *0x26666(%rip) # 0x555555596f58
0x00005555555708f2 <+4002>: jmp 0x55555556fca1 <main+849>
0x00005555555708f7 <+4007>: mov %r15,%rdi
0x00005555555708fa <+4010>: call *0x25840(%rip) # 0x555555596140
0x0000555555570900 <+4016>: jmp 0x55555556fd9f <main+1103>
0x0000555555570905 <+4021>: cmpq $0x0,0x2a2db(%rip) # 0x55555559abe8
0x000055555557090d <+4029>: je 0x555555570b12 <main+4546>
0x0000555555570913 <+4035>: movl $0x0,0x140(%rsp)
0x000055555557091e <+4046>: call *0x25bbc(%rip) # 0x5555555964e0
0x0000555555570924 <+4052>: mov 0x2a2b5(%rip),%rbp # 0x55555559abe0
0x000055555557092b <+4059>: mov $0x90,%edi
0x0000555555570930 <+4064>: movzbl 0x29fa9(%rip),%ebx # 0x55555559a8e0
0x0000555555570937 <+4071>: mov 0x2a2aa(%rip),%r13 # 0x55555559abe8
0x000055555557093e <+4078>: mov %rax,0x148(%rsp)
0x0000555555570946 <+4086>: call *0x25f24(%rip) # 0x555555596870
0x000055555557094c <+4092>: mov %rbp,%rsi
0x000055555557094f <+4095>: mov %ebx,%r8d
0x0000555555570952 <+4098>: mov %r14,%rcx
0x0000555555570955 <+4101>: mov %rax,%r12
0x0000555555570958 <+4104>: lea 0xe8(%rsp),%rbp
0x0000555555570960 <+4112>: mov %rax,%rdi
0x0000555555570963 <+4115>: mov %r13,%rdx
0x0000555555570966 <+4118>: call *0x25d9c(%rip) # 0x555555596708
0x000055555557096c <+4124>: mov %r12,%rsi
0x000055555557096f <+4127>: mov %rbp,%rdi
0x0000555555570972 <+4130>: call 0x55555558b4f0
0x0000555555570977 <+4135>: cmpl $0x0,0x140(%rsp)
0x000055555557097f <+4143>: jne 0x555555571618 <main+7368>
0x0000555555570985 <+4149>: mov 0x29cdc(%rip),%r12 # 0x55555559a668
0x000055555557098c <+4156>: test %r12,%r12
0x000055555557098f <+4159>: je 0x555555570131 <main+2017>
0x0000555555570995 <+4165>: mov 0x29cc4(%rip),%r13 # 0x55555559a660
0x000055555557099c <+4172>: mov $0x90,%edi
0x00005555555709a1 <+4177>: call *0x25ec9(%rip) # 0x555555596870
0x00005555555709a7 <+4183>: xor %r8d,%r8d
0x00005555555709aa <+4186>: mov %r14,%rcx
0x00005555555709ad <+4189>: mov %r12,%rdx
0x00005555555709b0 <+4192>: mov %rax,%rbx
0x00005555555709b3 <+4195>: mov %r13,%rsi
0x00005555555709b6 <+4198>: lea 0xf0(%rsp),%r13
0x00005555555709be <+4206>: mov %rax,%rdi
0x00005555555709c1 <+4209>: call *0x25d41(%rip) # 0x555555596708
0x00005555555709c7 <+4215>: mov %rbx,%rsi
0x00005555555709ca <+4218>: mov %r13,%rdi
0x00005555555709cd <+4221>: call 0x55555558b4f0
0x00005555555709d2 <+4226>: cmpl $0x0,0x140(%rsp)
0x00005555555709da <+4234>: je 0x555555570131 <main+2017>
0x00005555555709e0 <+4240>: call *0x259f2(%rip) # 0x5555555963d8
0x00005555555709e6 <+4246>: mov 0x148(%rsp),%rsi
0x00005555555709ee <+4254>: mov 0x140(%rsp),%edx
0x00005555555709f5 <+4261>: lea 0x420(%rsp),%rdi
0x00005555555709fd <+4269>: mov %rax,%r12
0x0000555555570a00 <+4272>: mov (%rsi),%rax
0x0000555555570a03 <+4275>: call *0x20(%rax)
0x0000555555570a06 <+4278>: mov %r12,%rdi
0x0000555555570a09 <+4281>: mov 0x428(%rsp),%rdx
0x0000555555570a11 <+4289>: mov 0x420(%rsp),%rsi
0x0000555555570a19 <+4297>: call *0x260b1(%rip) # 0x555555596ad0
0x0000555555570a1f <+4303>: mov %rax,%rdi
0x0000555555570a22 <+4306>: mov 0x18(%rax),%rax
0x0000555555570a26 <+4310>: cmp %rax,0x10(%rdi)
0x0000555555570a2a <+4314>: jbe 0x555555572612 <main+11458>
0x0000555555570a30 <+4320>: lea 0x1(%rax),%rdx
0x0000555555570a34 <+4324>: mov %rdx,0x18(%rdi)
0x0000555555570a38 <+4328>: movb $0xa,(%rax)
0x0000555555570a3b <+4331>: mov 0x420(%rsp),%rdi
0x0000555555570a43 <+4339>: lea 0x430(%rsp),%rax
0x0000555555570a4b <+4347>: cmp %rax,%rdi
0x0000555555570a4e <+4350>: jne 0x555555571690 <main+7488>
0x0000555555570a54 <+4356>: jmp 0x5555555716a2 <main+7506>
0x0000555555570a59 <+4361>: mov %rbp,%rdi
0x0000555555570a5c <+4364>: call *0x25fae(%rip) # 0x555555596a10
0x0000555555570a62 <+4370>: cmp $0x7,%rdx
0x0000555555570a66 <+4374>: je 0x555555571b68 <main+8728>
0x0000555555570a6c <+4380>: mov %rbp,%rdi
0x0000555555570a6f <+4383>: call *0x25f9b(%rip) # 0x555555596a10
0x0000555555570a75 <+4389>: test %rdx,%rdx
0x0000555555570a78 <+4392>: je 0x555555571b80 <main+8752>
0x0000555555570a7e <+4398>: call *0x25954(%rip) # 0x5555555963d8
0x0000555555570a84 <+4404>: mov %rax,%rdi
0x0000555555570a87 <+4407>: mov 0xb0(%rsp),%rax
0x0000555555570a8f <+4415>: mov (%rax),%rsi
0x0000555555570a92 <+4418>: call 0x555555576a00
0x0000555555570a97 <+4423>: lea 0x1e769(%rip),%rsi # 0x55555558f207
0x0000555555570a9e <+4430>: mov %rax,%rdi
0x0000555555570aa1 <+4433>: call 0x555555576a00
0x0000555555570aa6 <+4438>: mov %rbp,%rdi
0x0000555555570aa9 <+4441>: lea 0xe8(%rsp),%rbp
0x0000555555570ab1 <+4449>: mov %rax,%r12
0x0000555555570ab4 <+4452>: call *0x25f56(%rip) # 0x555555596a10
0x0000555555570aba <+4458>: mov %r12,%rdi
0x0000555555570abd <+4461>: mov $0x1,%r12d
0x0000555555570ac3 <+4467>: mov %rax,%rsi
0x0000555555570ac6 <+4470>: call 0x5555555769a0
0x0000555555570acb <+4475>: lea 0x1e753(%rip),%rsi # 0x55555558f225
0x0000555555570ad2 <+4482>: mov %rax,%rdi
0x0000555555570ad5 <+4485>: call 0x555555576a00
0x0000555555570ada <+4490>: jmp 0x555555570839 <main+3817>
0x0000555555570adf <+4495>: call *0x258f3(%rip) # 0x5555555963d8
0x0000555555570ae5 <+4501>: mov $0x1,%r12d
0x0000555555570aeb <+4507>: mov %rax,%rdi
0x0000555555570aee <+4510>: mov 0xb0(%rsp),%rax
0x0000555555570af6 <+4518>: mov (%rax),%rsi
0x0000555555570af9 <+4521>: call 0x555555576a00
0x0000555555570afe <+4526>: lea 0x1e4a3(%rip),%rsi # 0x55555558efa8
0x0000555555570b05 <+4533>: mov %rax,%rdi
0x0000555555570b08 <+4536>: call 0x555555576a00
0x0000555555570b0d <+4541>: jmp 0x55555556fee9 <main+1433>
0x0000555555570b12 <+4546>: lea 0x1bfd5(%rip),%rsi # 0x55555558caee
0x0000555555570b19 <+4553>: lea 0x2a040(%rip),%rdi # 0x55555559ab60
0x0000555555570b20 <+4560>: call 0x555555587f10
0x0000555555570b25 <+4565>: jmp 0x555555570913 <main+4035>
0x0000555555570b2a <+4570>: call *0x258a8(%rip) # 0x5555555963d8
0x0000555555570b30 <+4576>: lea 0x1e4c9(%rip),%rsi # 0x55555558f000
0x0000555555570b37 <+4583>: mov %rax,%rdi
0x0000555555570b3a <+4586>: call 0x555555576a00
0x0000555555570b3f <+4591>: jmp 0x555555570131 <main+2017>
0x0000555555570b44 <+4596>: mov 0x2a455(%rip),%rbx # 0x55555559afa0
0x0000555555570b4b <+4603>: mov 0x2a456(%rip),%r13 # 0x55555559afa8
0x0000555555570b52 <+4610>: test %ax,%ax
0x0000555555570b55 <+4613>: jne 0x5555555705eb <main+3227>
0x0000555555570b5b <+4619>: lea 0x360(%rsp),%rax
0x0000555555570b63 <+4627>: lea 0x350(%rsp),%rdi
0x0000555555570b6b <+4635>: mov %rax,0x28(%rsp)
0x0000555555570b70 <+4640>: mov %rax,0x350(%rsp)
0x0000555555570b78 <+4648>: mov 0x1d0d1(%rip),%rax # 0x55555558dc50
0x0000555555570b7f <+4655>: mov %rax,0x358(%rsp)
0x0000555555570b87 <+4663>: xor %eax,%eax
0x0000555555570b89 <+4665>: cmp %r13,%rbx
0x0000555555570b8c <+4668>: jne 0x555555570bc9 <main+4729>
0x0000555555570b8e <+4670>: jmp 0x555555570623 <main+3283>
0x0000555555570b93 <+4675>: nopl 0x0(%rax,%rax,1)
0x0000555555570b98 <+4680>: shl $0x4,%rax
0x0000555555570b9c <+4684>: add 0x350(%rsp),%rax
0x0000555555570ba4 <+4692>: add $0x8,%rbx
0x0000555555570ba8 <+4696>: mov %r12,(%rax)
0x0000555555570bab <+4699>: mov %rbp,0x8(%rax)
0x0000555555570baf <+4703>: mov 0x358(%rsp),%eax
0x0000555555570bb6 <+4710>: add $0x1,%eax
0x0000555555570bb9 <+4713>: mov %eax,0x358(%rsp)
0x0000555555570bc0 <+4720>: cmp %rbx,%r13
0x0000555555570bc3 <+4723>: je 0x555555570623 <main+3283>
0x0000555555570bc9 <+4729>: mov (%rbx),%rdx
0x0000555555570bcc <+4732>: mov 0x18(%rdx),%rbp
0x0000555555570bd0 <+4736>: mov 0x10(%rdx),%r12
0x0000555555570bd4 <+4740>: cmp %eax,0x35c(%rsp)
0x0000555555570bdb <+4747>: ja 0x555555570b98 <main+4680>
0x0000555555570bdd <+4749>: mov %rdi,0x30(%rsp)
0x0000555555570be2 <+4754>: xor %edx,%edx
0x0000555555570be4 <+4756>: mov 0x28(%rsp),%rsi
0x0000555555570be9 <+4761>: add $0x8,%rbx
0x0000555555570bed <+4765>: mov $0x10,%ecx
0x0000555555570bf2 <+4770>: call *0x25608(%rip) # 0x555555596200
0x0000555555570bf8 <+4776>: mov 0x358(%rsp),%eax
0x0000555555570bff <+4783>: mov 0x30(%rsp),%rdi
0x0000555555570c04 <+4788>: shl $0x4,%rax
0x0000555555570c08 <+4792>: add 0x350(%rsp),%rax
0x0000555555570c10 <+4800>: mov %r12,(%rax)
0x0000555555570c13 <+4803>: mov %rbp,0x8(%rax)
0x0000555555570c17 <+4807>: mov 0x358(%rsp),%eax
0x0000555555570c1e <+4814>: add $0x1,%eax
0x0000555555570c21 <+4817>: cmp %rbx,%r13
0x0000555555570c24 <+4820>: mov %eax,0x358(%rsp)
0x0000555555570c2b <+4827>: jne 0x555555570bc9 <main+4729>
0x0000555555570c2d <+4829>: jmp 0x555555570623 <main+3283>
0x0000555555570c32 <+4834>: mov 0xe0(%rsp),%rbx
0x0000555555570c3a <+4842>: mov 0x28d1f(%rip),%rsi # 0x555555599960
0x0000555555570c41 <+4849>: lea 0x350(%rsp),%rdi
0x0000555555570c49 <+4857>: call *0x25d51(%rip) # 0x5555555969a0
0x0000555555570c4f <+4863>: mov 0x350(%rsp),%r12
0x0000555555570c57 <+4871>: test %r12,%r12
0x0000555555570c5a <+4874>: je 0x555555570edb <main+5515>
0x0000555555570c60 <+4880>: mov 0x358(%rsp),%r13
0x0000555555570c68 <+4888>: lea 0x430(%rsp),%rbp
0x0000555555570c70 <+4896>: lea 0x420(%rsp),%rdi
0x0000555555570c78 <+4904>: mov %rbp,0x420(%rsp)
0x0000555555570c80 <+4912>: mov %r13,0x140(%rsp)
0x0000555555570c88 <+4920>: cmp $0xf,%r13
0x0000555555570c8c <+4924>: ja 0x555555571f45 <main+9717>
0x0000555555570c92 <+4930>: cmp $0x1,%r13
0x0000555555570c96 <+4934>: jne 0x5555555716ad <main+7517>
0x0000555555570c9c <+4940>: movzbl (%r12),%eax
0x0000555555570ca1 <+4945>: mov %al,0x430(%rsp)
0x0000555555570ca8 <+4952>: mov 0x140(%rsp),%rax
0x0000555555570cb0 <+4960>: mov 0x420(%rsp),%rdx
0x0000555555570cb8 <+4968>: lea 0x100(%rbx),%rcx
0x0000555555570cbf <+4975>: mov %rax,0x428(%rsp)
0x0000555555570cc7 <+4983>: movb $0x0,(%rdx,%rax,1)
0x0000555555570ccb <+4987>: mov 0x420(%rsp),%rdx
0x0000555555570cd3 <+4995>: mov 0xf0(%rbx),%rdi
0x0000555555570cda <+5002>: cmp %rbp,%rdx
0x0000555555570cdd <+5005>: je 0x555555571f7e <main+9774>
0x0000555555570ce3 <+5011>: mov 0x428(%rsp),%rax
0x0000555555570ceb <+5019>: mov 0x430(%rsp),%rsi
0x0000555555570cf3 <+5027>: cmp %rcx,%rdi
0x0000555555570cf6 <+5030>: je 0x555555571e96 <main+9542>
0x0000555555570cfc <+5036>: movq %rax,%xmm0
0x0000555555570d01 <+5041>: movq %rsi,%xmm2
0x0000555555570d06 <+5046>: mov 0x100(%rbx),%rcx
0x0000555555570d0d <+5053>: mov %rdx,0xf0(%rbx)
0x0000555555570d14 <+5060>: punpcklqdq %xmm2,%xmm0
0x0000555555570d18 <+5064>: movups %xmm0,0xf8(%rbx)
0x0000555555570d1f <+5071>: test %rdi,%rdi
0x0000555555570d22 <+5074>: je 0x555555571eb2 <main+9570>
0x0000555555570d28 <+5080>: mov %rdi,0x420(%rsp)
0x0000555555570d30 <+5088>: mov %rcx,0x430(%rsp)
0x0000555555570d38 <+5096>: jmp 0x555555570f13 <main+5571>
0x0000555555570d3d <+5101>: call *0x2583d(%rip) # 0x555555596580
0x0000555555570d43 <+5107>: jmp 0x555555570076 <main+1830>
0x0000555555570d48 <+5112>: movzbl 0x29a10(%rip),%r8d # 0x55555559a760
0x0000555555570d50 <+5120>: mov $0x12,%ecx
0x0000555555570d55 <+5125>: mov $0x1,%esi
0x0000555555570d5a <+5130>: mov 0xe0(%rsp),%rdi
0x0000555555570d62 <+5138>: lea 0x1e4c9(%rip),%rdx # 0x55555558f232
0x0000555555570d69 <+5145>: call *0x258d9(%rip) # 0x555555596648
0x0000555555570d6f <+5151>: jmp 0x5555555705c6 <main+3190>
0x0000555555570d74 <+5156>: mov $0xa,%esi
0x0000555555570d79 <+5161>: call *0x25629(%rip) # 0x5555555963a8
0x0000555555570d7f <+5167>: jmp 0x55555556fe80 <main+1328>
0x0000555555570d84 <+5172>: cmpb $0x0,0x29095(%rip) # 0x555555599e20
0x0000555555570d8b <+5179>: jne 0x555555571ebf <main+9583>
0x0000555555570d91 <+5185>: cmpb $0x0,0x28fc8(%rip) # 0x555555599d60
0x0000555555570d98 <+5192>: jne 0x5555555716da <main+7562>
0x0000555555570d9e <+5198>: cmpb $0x1,0x28d7b(%rip) # 0x555555599b20
0x0000555555570da5 <+5205>: sbb %r12d,%r12d
0x0000555555570da8 <+5208>: not %r12d
0x0000555555570dab <+5211>: and $0x3,%r12d
0x0000555555570daf <+5215>: jmp 0x5555555703a6 <main+2646>
0x0000555555570db4 <+5220>: lea 0x1e48a(%rip),%rax # 0x55555558f245
0x0000555555570dbb <+5227>: mov %r14,%rsi
0x0000555555570dbe <+5230>: lea 0x350(%rsp),%rdi
0x0000555555570dc6 <+5238>: movq $0xb,0x148(%rsp)
0x0000555555570dd2 <+5250>: mov %rax,0x140(%rsp)
0x0000555555570dda <+5258>: call 0x555555588f80
0x0000555555570ddf <+5263>: jmp 0x555555570630 <main+3296>
0x0000555555570de4 <+5268>: lea 0x1e496(%rip),%rax # 0x55555558f281
0x0000555555570deb <+5275>: mov %r14,%rsi
0x0000555555570dee <+5278>: lea 0x350(%rsp),%rdi
0x0000555555570df6 <+5286>: movq $0xb,0x148(%rsp)
0x0000555555570e02 <+5298>: mov %rax,0x140(%rsp)
0x0000555555570e0a <+5306>: call 0x555555588f80
0x0000555555570e0f <+5311>: jmp 0x555555570671 <main+3361>
0x0000555555570e14 <+5316>: lea 0x1e45a(%rip),%rax # 0x55555558f275
0x0000555555570e1b <+5323>: mov %r14,%rsi
0x0000555555570e1e <+5326>: lea 0x350(%rsp),%rdi
0x0000555555570e26 <+5334>: movq $0xb,0x148(%rsp)
0x0000555555570e32 <+5346>: mov %rax,0x140(%rsp)
0x0000555555570e3a <+5354>: call 0x555555588f80
0x0000555555570e3f <+5359>: jmp 0x555555570664 <main+3348>
0x0000555555570e44 <+5364>: lea 0x1e41e(%rip),%rax # 0x55555558f269
0x0000555555570e4b <+5371>: mov %r14,%rsi
0x0000555555570e4e <+5374>: lea 0x350(%rsp),%rdi
0x0000555555570e56 <+5382>: movq $0xb,0x148(%rsp)
0x0000555555570e62 <+5394>: mov %rax,0x140(%rsp)
0x0000555555570e6a <+5402>: call 0x555555588f80
0x0000555555570e6f <+5407>: jmp 0x555555570657 <main+3335>
0x0000555555570e74 <+5412>: lea 0x1e3e2(%rip),%rax # 0x55555558f25d
0x0000555555570e7b <+5419>: mov %r14,%rsi
0x0000555555570e7e <+5422>: lea 0x350(%rsp),%rdi
0x0000555555570e86 <+5430>: movq $0xb,0x148(%rsp)
0x0000555555570e92 <+5442>: mov %rax,0x140(%rsp)
0x0000555555570e9a <+5450>: call 0x555555588f80
0x0000555555570e9f <+5455>: jmp 0x55555557064a <main+3322>
0x0000555555570ea4 <+5460>: lea 0x1e3a6(%rip),%rax # 0x55555558f251
0x0000555555570eab <+5467>: mov %r14,%rsi
0x0000555555570eae <+5470>: lea 0x350(%rsp),%rdi
0x0000555555570eb6 <+5478>: movq $0xb,0x148(%rsp)
0x0000555555570ec2 <+5490>: mov %rax,0x140(%rsp)
0x0000555555570eca <+5498>: call 0x555555588f80
0x0000555555570ecf <+5503>: jmp 0x55555557063d <main+3309>
0x0000555555570ed4 <+5508>: xor %esi,%esi
0x0000555555570ed6 <+5510>: jmp 0x5555555707b5 <main+3685>
0x0000555555570edb <+5515>: lea 0x430(%rsp),%rbp
0x0000555555570ee3 <+5523>: movb $0x0,0x430(%rsp)
0x0000555555570eeb <+5531>: xor %edx,%edx
0x0000555555570eed <+5533>: movq $0x0,0x428(%rsp)
0x0000555555570ef9 <+5545>: mov %rbp,0x420(%rsp)
0x0000555555570f01 <+5553>: mov 0xf0(%rbx),%rdi
0x0000555555570f08 <+5560>: mov %rdx,0xf8(%rbx)
0x0000555555570f0f <+5567>: movb $0x0,(%rdi,%rdx,1)
0x0000555555570f13 <+5571>: mov 0x420(%rsp),%rax
0x0000555555570f1b <+5579>: movq $0x0,0x428(%rsp)
0x0000555555570f27 <+5591>: movb $0x0,(%rax)
0x0000555555570f2a <+5594>: mov 0x420(%rsp),%rdi
0x0000555555570f32 <+5602>: cmp %rbp,%rdi
0x0000555555570f35 <+5605>: je 0x555555570f49 <main+5625>
0x0000555555570f37 <+5607>: mov 0x430(%rsp),%rax
0x0000555555570f3f <+5615>: lea 0x1(%rax),%rsi
0x0000555555570f43 <+5619>: call *0x25147(%rip) # 0x555555596090
0x0000555555570f49 <+5625>: mov 0x350(%rsp),%rdi
0x0000555555570f51 <+5633>: lea 0x360(%rsp),%rax
0x0000555555570f59 <+5641>: cmp %rax,%rdi
0x0000555555570f5c <+5644>: je 0x5555555700c4 <main+1908>
0x0000555555570f62 <+5650>: mov 0x360(%rsp),%rax
0x0000555555570f6a <+5658>: lea 0x1(%rax),%rsi
0x0000555555570f6e <+5662>: call *0x2511c(%rip) # 0x555555596090
0x0000555555570f74 <+5668>: jmp 0x5555555700c4 <main+1908>
0x0000555555570f79 <+5673>: lea 0x270(%rsp),%rax
0x0000555555570f81 <+5681>: mov %rax,0x38(%rsp)
0x0000555555570f86 <+5686>: test %r12,%r12
0x0000555555570f89 <+5689>: je 0x5555555702d8 <main+2440>
0x0000555555570f8f <+5695>: mov %rbx,%rdi
0x0000555555570f92 <+5698>: jmp 0x555555570fca <main+5754>
0x0000555555570f94 <+5700>: lea 0x270(%rsp),%rax
0x0000555555570f9c <+5708>: xor %edx,%edx
0x0000555555570f9e <+5710>: mov %r14,%rsi
0x0000555555570fa1 <+5713>: mov %rax,%rdi
0x0000555555570fa4 <+5716>: mov %rax,0x38(%rsp)
0x0000555555570fa9 <+5721>: call *0x254b1(%rip) # 0x555555596460
0x0000555555570faf <+5727>: mov %rax,0x270(%rsp)
0x0000555555570fb7 <+5735>: mov %rax,%rdi
0x0000555555570fba <+5738>: mov 0x140(%rsp),%rax
0x0000555555570fc2 <+5746>: mov %rax,0x280(%rsp)
0x0000555555570fca <+5754>: mov %r12,%rdx
0x0000555555570fcd <+5757>: mov %r13,%rsi
0x0000555555570fd0 <+5760>: call *0x2584a(%rip) # 0x555555596820
0x0000555555570fd6 <+5766>: jmp 0x5555555702d8 <main+2440>
0x0000555555570fdb <+5771>: mov %r14,%rdi
0x0000555555570fde <+5774>: call *0x257d4(%rip) # 0x5555555967b8
0x0000555555570fe4 <+5780>: lea 0x24ddd(%rip),%rax # 0x555555595dc8 <_ZTV20OptCustomPassManager>
0x0000555555570feb <+5787>: pxor %xmm0,%xmm0
0x0000555555570fef <+5791>: movl $0x0,0x160(%rsp)
0x0000555555570ffa <+5802>: movq $0x0,0x150(%rsp)
0x0000555555571006 <+5814>: add $0x10,%rax
0x000055555557100a <+5818>: movups %xmm0,0x168(%rsp)
0x0000555555571012 <+5826>: mov %rax,0x140(%rsp)
0x000055555557101a <+5834>: movzbl 0x283df(%rip),%eax # 0x555555599400
0x0000555555571021 <+5841>: movq $0x0,0x158(%rsp)
0x000055555557102d <+5853>: movq $0x0,0x178(%rsp)
0x0000555555571039 <+5865>: mov %al,0x70(%rsp)
0x000055555557103d <+5869>: test %al,%al
0x000055555557103f <+5871>: je 0x55555557104f <main+5887>
0x0000555555571041 <+5873>: movzbl 0x282f8(%rip),%eax # 0x555555599340
0x0000555555571048 <+5880>: xor $0x1,%eax
0x000055555557104b <+5883>: mov %al,0x70(%rsp)
0x000055555557104f <+5887>: lea 0x350(%rsp),%rax
0x0000555555571057 <+5895>: mov %rbp,%rsi
0x000055555557105a <+5898>: mov %rax,0x30(%rsp)
0x000055555557105f <+5903>: mov %rax,%rdi
0x0000555555571062 <+5906>: call *0x25688(%rip) # 0x5555555966f0
0x0000555555571068 <+5912>: cmpb $0x0,0x285f1(%rip) # 0x555555599660
0x000055555557106f <+5919>: jne 0x5555555716ca <main+7546>
0x0000555555571075 <+5925>: mov 0x28504(%rip),%r13 # 0x555555599580
0x000055555557107c <+5932>: mov 0x30(%rsp),%rbp
0x0000555555571081 <+5937>: mov %r14,0x28(%rsp)
0x0000555555571086 <+5942>: lea 0x120(%rsp),%r12
0x000055555557108e <+5950>: mov 0x284f3(%rip),%rbx # 0x555555599588
0x0000555555571095 <+5957>: mov %r13,%r14
0x0000555555571098 <+5960>: jmp 0x5555555710da <main+6026>
0x000055555557109a <+5962>: mov (%r14),%rsi
0x000055555557109d <+5965>: mov 0x8(%r14),%rdx
0x00005555555710a1 <+5969>: mov %r12,%rcx
0x00005555555710a4 <+5972>: mov %rbp,%rdi
0x00005555555710a7 <+5975>: call *0x25ed3(%rip) # 0x555555596f80
0x00005555555710ad <+5981>: add $0x20,%r14
0x00005555555710b1 <+5985>: test %al,%al
0x00005555555710b3 <+5987>: je 0x555555572015 <main+9925>
0x00005555555710b9 <+5993>: mov 0x120(%rsp),%ecx
0x00005555555710c0 <+6000>: mov $0x3,%eax
0x00005555555710c5 <+6005>: mov %ecx,%edx
0x00005555555710c7 <+6007>: and $0x3,%ecx
0x00005555555710ca <+6010>: add %ecx,%ecx
0x00005555555710cc <+6012>: shr $0x2,%edx
0x00005555555710cf <+6015>: shl %cl,%eax
0x00005555555710d1 <+6017>: not %eax
0x00005555555710d3 <+6019>: and %al,0x350(%rsp,%rdx,1)
0x00005555555710da <+6026>: mov %r14,%r13
0x00005555555710dd <+6029>: cmp %r14,%rbx
0x00005555555710e0 <+6032>: jne 0x55555557109a <main+5962>
0x00005555555710e2 <+6034>: mov 0x28(%rsp),%r14
0x00005555555710e7 <+6039>: mov $0x118,%edi
0x00005555555710ec <+6044>: call *0x2577e(%rip) # 0x555555596870
0x00005555555710f2 <+6050>: mov 0x30(%rsp),%rsi
0x00005555555710f7 <+6055>: mov %rax,%rbp
0x00005555555710fa <+6058>: mov %rax,%rdi
0x00005555555710fd <+6061>: call *0x25bd5(%rip) # 0x555555596cd8
0x0000555555571103 <+6067>: mov %rbp,%rsi
0x0000555555571106 <+6070>: mov %r14,%rdi
0x0000555555571109 <+6073>: call 0x55555558b600
0x000055555557110e <+6078>: mov 0x18(%rsp),%rsi
0x0000555555571113 <+6083>: lea 0x270(%rsp),%rax
0x000055555557111b <+6091>: mov %rax,0x38(%rsp)
0x0000555555571120 <+6096>: mov %rax,%rdi
0x0000555555571123 <+6099>: test %rsi,%rsi
0x0000555555571126 <+6102>: je 0x5555555722e9 <main+10649>
0x000055555557112c <+6108>: call *0x2565e(%rip) # 0x555555596790
0x0000555555571132 <+6114>: mov 0x38(%rsp),%rbx
0x0000555555571137 <+6119>: mov %rbx,%rdi
0x000055555557113a <+6122>: call *0x24ed0(%rip) # 0x555555596010
0x0000555555571140 <+6128>: mov %r14,%rdi
0x0000555555571143 <+6131>: mov %rax,%rsi
0x0000555555571146 <+6134>: call 0x55555558b600
0x000055555557114b <+6139>: mov 0x280(%rsp),%rax
0x0000555555571153 <+6147>: test %rax,%rax
0x0000555555571156 <+6150>: je 0x555555571165 <main+6165>
0x0000555555571158 <+6152>: mov $0x3,%edx
0x000055555557115d <+6157>: mov %rbx,%rsi
0x0000555555571160 <+6160>: mov %rbx,%rdi
0x0000555555571163 <+6163>: call *%rax
0x0000555555571165 <+6165>: cmpb $0x0,0x70(%rsp)
0x000055555557116a <+6170>: jne 0x5555555721c0 <main+10352>
0x0000555555571170 <+6176>: cmpb $0x0,0x28d69(%rip) # 0x555555599ee0
0x0000555555571177 <+6183>: jne 0x5555555711a9 <main+6233>
0x0000555555571179 <+6185>: cmpb $0x0,0x28ca0(%rip) # 0x555555599e20
0x0000555555571180 <+6192>: jne 0x5555555711a9 <main+6233>
0x0000555555571182 <+6194>: cmpb $0x0,0x28bd7(%rip) # 0x555555599d60
0x0000555555571189 <+6201>: jne 0x5555555711a9 <main+6233>
0x000055555557118b <+6203>: cmpb $0x0,0x28b0e(%rip) # 0x555555599ca0
0x0000555555571192 <+6210>: jne 0x5555555711a9 <main+6233>
0x0000555555571194 <+6212>: cmpb $0x0,0x28a45(%rip) # 0x555555599be0
0x000055555557119b <+6219>: jne 0x5555555711a9 <main+6233>
0x000055555557119d <+6221>: xor %r13d,%r13d
0x00005555555711a0 <+6224>: cmpb $0x0,0x28979(%rip) # 0x555555599b20
0x00005555555711a7 <+6231>: je 0x555555571218 <main+6344>
0x00005555555711a9 <+6233>: mov 0xe0(%rsp),%rbp
0x00005555555711b1 <+6241>: mov $0x18,%edi
0x00005555555711b6 <+6246>: call *0x256b4(%rip) # 0x555555596870
0x00005555555711bc <+6252>: mov %rax,%rdi
0x00005555555711bf <+6255>: mov %rbp,%rsi
0x00005555555711c2 <+6258>: mov %rax,%r13
0x00005555555711c5 <+6261>: call *0x2584d(%rip) # 0x555555596a18
0x00005555555711cb <+6267>: mov 0x18(%rsp),%rsi
0x00005555555711d0 <+6272>: mov 0x38(%rsp),%rdi
0x00005555555711d5 <+6277>: test %rsi,%rsi
0x00005555555711d8 <+6280>: je 0x5555555722f4 <main+10660>
0x00005555555711de <+6286>: call *0x255ac(%rip) # 0x555555596790
0x00005555555711e4 <+6292>: mov 0x38(%rsp),%rbx
0x00005555555711e9 <+6297>: mov %rbx,%rdi
0x00005555555711ec <+6300>: call *0x24e1e(%rip) # 0x555555596010
0x00005555555711f2 <+6306>: mov %r13,%rdi
0x00005555555711f5 <+6309>: mov %rax,%rsi
0x00005555555711f8 <+6312>: call *0x257e2(%rip) # 0x5555555969e0
0x00005555555711fe <+6318>: mov 0x280(%rsp),%rax
0x0000555555571206 <+6326>: test %rax,%rax
0x0000555555571209 <+6329>: je 0x555555571218 <main+6344>
0x000055555557120b <+6331>: mov $0x3,%edx
0x0000555555571210 <+6336>: mov %rbx,%rsi
0x0000555555571213 <+6339>: mov %rbx,%rdi
0x0000555555571216 <+6342>: call *%rax
0x0000555555571218 <+6344>: cmpb $0x0,0x27f61(%rip) # 0x555555599180
0x000055555557121f <+6351>: je 0x555555571282 <main+6450>
0x0000555555571221 <+6353>: cmpq $0x0,0xe8(%rsp)
0x000055555557122a <+6362>: je 0x55555557237a <main+10794>
0x0000555555571230 <+6368>: mov 0xe8(%rsp),%rax
0x0000555555571238 <+6376>: mov 0x88(%rax),%rdi
0x000055555557123f <+6383>: addr32 call 0x5555555733e0 <_ZN4llvm23createBreakpointPrinterERNS_11raw_ostreamE>
0x0000555555571245 <+6389>: mov %r14,%rdi
0x0000555555571248 <+6392>: mov %rax,%rsi
0x000055555557124b <+6395>: call 0x55555558b600
0x0000555555571250 <+6400>: cmpq $0x0,0x29778(%rip) # 0x55555559a9d0
0x0000555555571258 <+6408>: movb $0x1,0xca(%rsp)
0x0000555555571260 <+6416>: movb $0x1,0x29739(%rip) # 0x55555559a9a0
0x0000555555571267 <+6423>: je 0x55555557268e <main+11582>
0x000055555557126d <+6429>: lea 0xca(%rsp),%rsi
0x0000555555571275 <+6437>: lea 0x29744(%rip),%rdi # 0x55555559a9c0
0x000055555557127c <+6444>: call *0x29756(%rip) # 0x55555559a9d8
0x0000555555571282 <+6450>: mov 0x18(%rsp),%rdi
0x0000555555571287 <+6455>: test %rdi,%rdi
0x000055555557128a <+6458>: je 0x5555555712a0 <main+6480>
0x000055555557128c <+6460>: mov (%rdi),%rax
0x000055555557128f <+6463>: mov %r14,%rsi
0x0000555555571292 <+6466>: call *0x70(%rax)
0x0000555555571295 <+6469>: mov %r14,%rdi
0x0000555555571298 <+6472>: mov %rax,%rsi
0x000055555557129b <+6475>: call 0x55555558b600
0x00005555555712a0 <+6480>: lea 0xcb(%rsp),%rax
0x00005555555712a8 <+6488>: xor %ebx,%ebx
0x00005555555712aa <+6490>: xor %ebp,%ebp
0x00005555555712ac <+6492>: mov %rax,0x68(%rsp)
0x00005555555712b1 <+6497>: mov 0x29ce8(%rip),%rax # 0x55555559afa0
0x00005555555712b8 <+6504>: cmp %rax,0x29ce9(%rip) # 0x55555559afa8
0x00005555555712bf <+6511>: je 0x555555571b93 <main+8771>
0x00005555555712c5 <+6517>: mov %r15,0x78(%rsp)
0x00005555555712ca <+6522>: mov 0x18(%rsp),%r15
0x00005555555712cf <+6527>: jmp 0x5555555712f9 <main+6569>
0x00005555555712d1 <+6529>: nopl 0x0(%rax)
0x00005555555712d8 <+6536>: mov 0x29cc9(%rip),%rax # 0x55555559afa8
0x00005555555712df <+6543>: sub 0x29cba(%rip),%rax # 0x55555559afa0
0x00005555555712e6 <+6550>: lea 0x1(%rbx),%ebp
0x00005555555712e9 <+6553>: sar $0x3,%rax
0x00005555555712ed <+6557>: mov %rbp,%rbx
0x00005555555712f0 <+6560>: cmp %rax,%rbp
0x00005555555712f3 <+6563>: jae 0x555555571b8e <main+8766>
0x00005555555712f9 <+6569>: cmpb $0x0,0x28ca0(%rip) # 0x555555599fa0
0x0000555555571300 <+6576>: je 0x555555571319 <main+6601>
0x0000555555571302 <+6578>: mov 0x29caf(%rip),%rdx # 0x55555559afb8
0x0000555555571309 <+6585>: movzwl 0x28c1c(%rip),%eax # 0x555555599f2c
0x0000555555571310 <+6592>: cmp %eax,(%rdx,%rbp,4)
0x0000555555571313 <+6595>: ja 0x555555571755 <main+7685>
0x0000555555571319 <+6601>: cmpb $0x0,0x28bc0(%rip) # 0x555555599ee0
0x0000555555571320 <+6608>: je 0x555555571339 <main+6633>
0x0000555555571322 <+6610>: mov 0x29c8f(%rip),%rdx # 0x55555559afb8
0x0000555555571329 <+6617>: movzwl 0x28b3c(%rip),%eax # 0x555555599e6c
0x0000555555571330 <+6624>: cmp %eax,(%rdx,%rbp,4)
0x0000555555571333 <+6627>: ja 0x555555571791 <main+7745>
0x0000555555571339 <+6633>: cmpb $0x0,0x28ae0(%rip) # 0x555555599e20
0x0000555555571340 <+6640>: je 0x555555571359 <main+6665>
0x0000555555571342 <+6642>: mov 0x29c6f(%rip),%rdx # 0x55555559afb8
0x0000555555571349 <+6649>: movzwl 0x28a5c(%rip),%eax # 0x555555599dac
0x0000555555571350 <+6656>: cmp %eax,(%rdx,%rbp,4)
0x0000555555571353 <+6659>: ja 0x5555555717db <main+7819>
0x0000555555571359 <+6665>: cmpb $0x0,0x28a00(%rip) # 0x555555599d60
0x0000555555571360 <+6672>: je 0x555555571379 <main+6697>
0x0000555555571362 <+6674>: mov 0x29c4f(%rip),%rdx # 0x55555559afb8
0x0000555555571369 <+6681>: movzwl 0x2897c(%rip),%eax # 0x555555599cec
0x0000555555571370 <+6688>: cmp %eax,(%rdx,%rbp,4)
0x0000555555571373 <+6691>: ja 0x555555571828 <main+7896>
0x0000555555571379 <+6697>: cmpb $0x0,0x28920(%rip) # 0x555555599ca0
0x0000555555571380 <+6704>: je 0x555555571399 <main+6729>
0x0000555555571382 <+6706>: mov 0x29c2f(%rip),%rdx # 0x55555559afb8
0x0000555555571389 <+6713>: movzwl 0x2889c(%rip),%eax # 0x555555599c2c
0x0000555555571390 <+6720>: cmp %eax,(%rdx,%rbp,4)
0x0000555555571393 <+6723>: ja 0x555555571875 <main+7973>
0x0000555555571399 <+6729>: cmpb $0x0,0x28840(%rip) # 0x555555599be0
0x00005555555713a0 <+6736>: je 0x5555555713b9 <main+6761>
0x00005555555713a2 <+6738>: mov 0x29c0f(%rip),%rdx # 0x55555559afb8
0x00005555555713a9 <+6745>: movzwl 0x287bc(%rip),%eax # 0x555555599b6c
0x00005555555713b0 <+6752>: cmp %eax,(%rdx,%rbp,4)
0x00005555555713b3 <+6755>: ja 0x5555555718c5 <main+8053>
0x00005555555713b9 <+6761>: cmpb $0x0,0x28760(%rip) # 0x555555599b20
0x00005555555713c0 <+6768>: je 0x5555555713d9 <main+6793>
0x00005555555713c2 <+6770>: mov 0x29bef(%rip),%rdx # 0x55555559afb8
0x00005555555713c9 <+6777>: movzwl 0x286dc(%rip),%eax # 0x555555599aac
0x00005555555713d0 <+6784>: cmp %eax,(%rdx,%rbp,4)
0x00005555555713d3 <+6787>: ja 0x555555571915 <main+8133>
0x00005555555713d9 <+6793>: mov 0x29bc0(%rip),%rax # 0x55555559afa0
0x00005555555713e0 <+6800>: mov (%rax,%rbp,8),%rbp
0x00005555555713e4 <+6804>: mov 0x48(%rbp),%rax
0x00005555555713e8 <+6808>: test %rax,%rax
0x00005555555713eb <+6811>: je 0x555555571709 <main+7609>
0x00005555555713f1 <+6817>: call *%rax
0x00005555555713f3 <+6819>: mov %rax,%r12
0x00005555555713f6 <+6822>: test %rax,%rax
0x00005555555713f9 <+6825>: je 0x555555571488 <main+6968>
0x00005555555713ff <+6831>: mov 0x18(%rax),%eax
0x0000555555571402 <+6834>: cmpb $0x0,0x27f37(%rip) # 0x555555599340
0x0000555555571409 <+6841>: mov %eax,0x28(%rsp)
0x000055555557140d <+6845>: je 0x555555571422 <main+6866>
0x000055555557140f <+6847>: mov (%r12),%rax
0x0000555555571413 <+6851>: mov %r12,%rdi
0x0000555555571416 <+6854>: call *0x68(%rax)
0x0000555555571419 <+6857>: test %rax,%rax
0x000055555557141c <+6860>: je 0x5555555719a6 <main+8278>
0x0000555555571422 <+6866>: mov %r12,%rsi
0x0000555555571425 <+6869>: mov %r14,%rdi
0x0000555555571428 <+6872>: call *0x24bea(%rip) # 0x555555596018
0x000055555557142e <+6878>: cmpb $0x0,0x28feb(%rip) # 0x55555559a420
0x0000555555571435 <+6885>: jne 0x555555571962 <main+8210>
0x000055555557143b <+6891>: cmpb $0x0,0x2807e(%rip) # 0x5555555994c0
0x0000555555571442 <+6898>: je 0x555555571488 <main+6968>
0x0000555555571444 <+6900>: mov 0xe8(%rsp),%rax
0x000055555557144c <+6908>: mov 0x88(%rax),%rsi
0x0000555555571453 <+6915>: mov 0x28(%rsp),%eax
0x0000555555571457 <+6919>: cmp $0x2,%eax
0x000055555557145a <+6922>: je 0x555555571a82 <main+8498>
0x0000555555571460 <+6928>: ja 0x5555555716e5 <main+7573>
0x0000555555571466 <+6934>: test %eax,%eax
0x0000555555571468 <+6936>: je 0x555555571a69 <main+8473>
0x000055555557146e <+6942>: mov %rbp,%rdi
0x0000555555571471 <+6945>: addr32 call 0x555555581430 <_ZN4llvm21createLoopPassPrinterEPKNS_8PassInfoERNS_11raw_ostreamE>
0x0000555555571477 <+6951>: mov %r14,%rdi
0x000055555557147a <+6954>: mov %rax,%rsi
0x000055555557147d <+6957>: call 0x55555558b600
0x0000555555571482 <+6962>: nopw 0x0(%rax,%rax,1)
0x0000555555571488 <+6968>: cmpb $0x0,0x295d1(%rip) # 0x55555559aa60
0x000055555557148f <+6975>: je 0x5555555712d8 <main+6536>
0x0000555555571495 <+6981>: mov 0x38(%rsp),%rbp
0x000055555557149a <+6986>: lea 0x1dd90(%rip),%rsi # 0x55555558f231
0x00005555555714a1 <+6993>: movzbl 0x27a57(%rip),%r12d # 0x555555598f00
0x00005555555714a9 <+7001>: mov %rbp,%rdi
0x00005555555714ac <+7004>: call 0x555555587e30
0x00005555555714b1 <+7009>: call *0x24f21(%rip) # 0x5555555963d8
0x00005555555714b7 <+7015>: mov %r12d,%edx
0x00005555555714ba <+7018>: mov %rbp,%rsi
0x00005555555714bd <+7021>: mov %rax,%rdi
0x00005555555714c0 <+7024>: call *0x24c9a(%rip) # 0x555555596160
0x00005555555714c6 <+7030>: mov %r14,%rdi
0x00005555555714c9 <+7033>: mov %rax,%rsi
0x00005555555714cc <+7036>: call 0x55555558b600
0x00005555555714d1 <+7041>: mov 0x270(%rsp),%rdi
0x00005555555714d9 <+7049>: lea 0x280(%rsp),%rax
0x00005555555714e1 <+7057>: cmp %rax,%rdi
0x00005555555714e4 <+7060>: je 0x5555555712d8 <main+6536>
0x00005555555714ea <+7066>: mov 0x280(%rsp),%rax
0x00005555555714f2 <+7074>: lea 0x1(%rax),%rsi
0x00005555555714f6 <+7078>: call *0x24b94(%rip) # 0x555555596090
0x00005555555714fc <+7084>: jmp 0x5555555712d8 <main+6536>
0x0000555555571501 <+7089>: call *0x24ed1(%rip) # 0x5555555963d8
0x0000555555571507 <+7095>: lea 0x1db52(%rip),%rsi # 0x55555558f060
0x000055555557150e <+7102>: mov $0x1,%r12d
0x0000555555571514 <+7108>: lea 0xe8(%rsp),%rbp
0x000055555557151c <+7116>: mov %rax,%rdi
0x000055555557151f <+7119>: call 0x555555576a00
0x0000555555571524 <+7124>: jmp 0x555555570829 <main+3801>
0x0000555555571529 <+7129>: call *0x24ea9(%rip) # 0x5555555963d8
0x000055555557152f <+7135>: mov $0x1,%r12d
0x0000555555571535 <+7141>: mov 0x10(%rsp),%rdi
0x000055555557153a <+7146>: mov $0x1,%r8d
0x0000555555571540 <+7152>: mov %rax,%rdx
0x0000555555571543 <+7155>: mov 0xb0(%rsp),%rax
0x000055555557154b <+7163>: mov $0x1,%ecx
0x0000555555571550 <+7168>: mov (%rax),%rsi
0x0000555555571553 <+7171>: call *0x25697(%rip) # 0x555555596bf0
0x0000555555571559 <+7177>: jmp 0x5555555708c4 <main+3956>
0x000055555557155e <+7182>: call *0x24e74(%rip) # 0x5555555963d8
0x0000555555571564 <+7188>: mov $0x1,%r12d
0x000055555557156a <+7194>: mov %rax,%rdi
0x000055555557156d <+7197>: mov 0xb0(%rsp),%rax
0x0000555555571575 <+7205>: mov (%rax),%rsi
0x0000555555571578 <+7208>: call 0x555555576a00
0x000055555557157d <+7213>: lea 0x1c916(%rip),%rsi # 0x55555558de9a
0x0000555555571584 <+7220>: mov %rax,%rdi
0x0000555555571587 <+7223>: call 0x555555576a00
0x000055555557158c <+7228>: mov 0x29755(%rip),%rdx # 0x55555559ace8
0x0000555555571593 <+7235>: mov 0x29746(%rip),%rsi # 0x55555559ace0
0x000055555557159a <+7242>: mov %rax,%rdi
0x000055555557159d <+7245>: call *0x2552d(%rip) # 0x555555596ad0
0x00005555555715a3 <+7251>: lea 0x1da2e(%rip),%rsi # 0x55555558efd8
0x00005555555715aa <+7258>: mov %rax,%rdi
0x00005555555715ad <+7261>: call 0x555555576a00
0x00005555555715b2 <+7266>: jmp 0x5555555708c4 <main+3956>
0x00005555555715b7 <+7271>: cmpb $0x0,0x29322(%rip) # 0x55555559a8e0
0x00005555555715be <+7278>: jne 0x5555555705b9 <main+3177>
0x00005555555715c4 <+7284>: mov 0xe8(%rsp),%rax
0x00005555555715cc <+7292>: mov 0x88(%rax),%rdi
0x00005555555715d3 <+7299>: call *0x24a5f(%rip) # 0x555555596038
0x00005555555715d9 <+7305>: test %al,%al
0x00005555555715db <+7307>: je 0x5555555705b9 <main+3177>
0x00005555555715e1 <+7313>: cmpq $0x0,0x293e7(%rip) # 0x55555559a9d0
0x00005555555715e9 <+7321>: movb $0x1,0xc9(%rsp)
0x00005555555715f1 <+7329>: movb $0x1,0x293a8(%rip) # 0x55555559a9a0
0x00005555555715f8 <+7336>: je 0x55555557268e <main+11582>
0x00005555555715fe <+7342>: lea 0xc9(%rsp),%rsi
0x0000555555571606 <+7350>: lea 0x293b3(%rip),%rdi # 0x55555559a9c0
0x000055555557160d <+7357>: call *0x293c5(%rip) # 0x55555559a9d8
0x0000555555571613 <+7363>: jmp 0x5555555705b9 <main+3177>
0x0000555555571618 <+7368>: call *0x24dba(%rip) # 0x5555555963d8
0x000055555557161e <+7374>: mov 0x148(%rsp),%rsi
0x0000555555571626 <+7382>: mov 0x140(%rsp),%edx
0x000055555557162d <+7389>: lea 0x420(%rsp),%rdi
0x0000555555571635 <+7397>: mov %rax,%r12
0x0000555555571638 <+7400>: mov (%rsi),%rax
0x000055555557163b <+7403>: call *0x20(%rax)
0x000055555557163e <+7406>: mov %r12,%rdi
0x0000555555571641 <+7409>: mov 0x428(%rsp),%rdx
0x0000555555571649 <+7417>: mov 0x420(%rsp),%rsi
0x0000555555571651 <+7425>: call *0x25479(%rip) # 0x555555596ad0
0x0000555555571657 <+7431>: mov %rax,%rdi
0x000055555557165a <+7434>: mov 0x18(%rax),%rax
0x000055555557165e <+7438>: cmp %rax,0x10(%rdi)
0x0000555555571662 <+7442>: jbe 0x5555555721b0 <main+10336>
0x0000555555571668 <+7448>: lea 0x1(%rax),%rdx
0x000055555557166c <+7452>: mov %rdx,0x18(%rdi)
0x0000555555571670 <+7456>: movb $0xa,(%rax)
0x0000555555571673 <+7459>: mov 0x420(%rsp),%rdi
0x000055555557167b <+7467>: lea 0x430(%rsp),%rax
0x0000555555571683 <+7475>: lea 0xf0(%rsp),%r13
0x000055555557168b <+7483>: cmp %rax,%rdi
0x000055555557168e <+7486>: je 0x5555555716a2 <main+7506>
0x0000555555571690 <+7488>: mov 0x430(%rsp),%rax
0x0000555555571698 <+7496>: lea 0x1(%rax),%rsi
0x000055555557169c <+7500>: call *0x249ee(%rip) # 0x555555596090
0x00005555555716a2 <+7506>: mov $0x1,%r12d
0x00005555555716a8 <+7512>: jmp 0x5555555708b4 <main+3940>
0x00005555555716ad <+7517>: test %r13,%r13
0x00005555555716b0 <+7520>: je 0x555555570ca8 <main+4952>
0x00005555555716b6 <+7526>: mov %rbp,%rdi
0x00005555555716b9 <+7529>: mov %r13,%rdx
0x00005555555716bc <+7532>: mov %r12,%rsi
0x00005555555716bf <+7535>: call *0x2515b(%rip) # 0x555555596820
0x00005555555716c5 <+7541>: jmp 0x555555570ca8 <main+4952>
0x00005555555716ca <+7546>: mov 0x30(%rsp),%rdi
0x00005555555716cf <+7551>: call *0x24ee3(%rip) # 0x5555555965b8
0x00005555555716d5 <+7557>: jmp 0x5555555710e7 <main+6039>
0x00005555555716da <+7562>: mov $0x2,%r12d
0x00005555555716e0 <+7568>: jmp 0x5555555703a6 <main+2646>
0x00005555555716e5 <+7573>: cmpl $0x3,0x28(%rsp)
0x00005555555716ea <+7578>: jne 0x555555571a50 <main+8448>
0x00005555555716f0 <+7584>: mov %rbp,%rdi
0x00005555555716f3 <+7587>: addr32 call 0x555555580df0 <_ZN4llvm26createCallGraphPassPrinterEPKNS_8PassInfoERNS_11raw_ostreamE>
0x00005555555716f9 <+7593>: mov %r14,%rdi
0x00005555555716fc <+7596>: mov %rax,%rsi
0x00005555555716ff <+7599>: call 0x55555558b600
0x0000555555571704 <+7604>: jmp 0x555555571488 <main+6968>
0x0000555555571709 <+7609>: call *0x24cc9(%rip) # 0x5555555963d8
0x000055555557170f <+7615>: mov %rax,%rdi
0x0000555555571712 <+7618>: mov 0xb0(%rsp),%rax
0x000055555557171a <+7626>: mov (%rax),%rsi
0x000055555557171d <+7629>: call 0x555555576a00
0x0000555555571722 <+7634>: lea 0x1db64(%rip),%rsi # 0x55555558f28d
0x0000555555571729 <+7641>: mov %rax,%rdi
0x000055555557172c <+7644>: call 0x555555576a00
0x0000555555571731 <+7649>: mov 0x0(%rbp),%rsi
0x0000555555571735 <+7653>: mov 0x8(%rbp),%rdx
0x0000555555571739 <+7657>: mov %rax,%rdi
0x000055555557173c <+7660>: call 0x5555555769a0
0x0000555555571741 <+7665>: lea 0x1dae8(%rip),%rsi # 0x55555558f230
0x0000555555571748 <+7672>: mov %rax,%rdi
0x000055555557174b <+7675>: call 0x555555576a00
0x0000555555571750 <+7680>: jmp 0x555555571488 <main+6968>
0x0000555555571755 <+7685>: mov %r14,%rdi
0x0000555555571758 <+7688>: call 0x555555585c00
0x000055555557175d <+7693>: cmpq $0x0,0x2886b(%rip) # 0x555555599fd0
0x0000555555571765 <+7701>: movb $0x0,0xcb(%rsp)
0x000055555557176d <+7709>: movb $0x0,0x2882c(%rip) # 0x555555599fa0
0x0000555555571774 <+7716>: je 0x55555557268e <main+11582>
0x000055555557177a <+7722>: mov 0x68(%rsp),%rsi
0x000055555557177f <+7727>: lea 0x2883a(%rip),%rdi # 0x555555599fc0
0x0000555555571786 <+7734>: call *0x2884c(%rip) # 0x555555599fd8
0x000055555557178c <+7740>: jmp 0x555555571319 <main+6601>
0x0000555555571791 <+7745>: xor %r8d,%r8d
0x0000555555571794 <+7748>: xor %ecx,%ecx
0x0000555555571796 <+7750>: mov %r15,%rdx
0x0000555555571799 <+7753>: mov %r13,%rsi
0x000055555557179c <+7756>: mov %r14,%rdi
0x000055555557179f <+7759>: call 0x555555585f20
0x00005555555717a4 <+7764>: cmpq $0x0,0x28764(%rip) # 0x555555599f10
0x00005555555717ac <+7772>: movb $0x0,0xcc(%rsp)
0x00005555555717b4 <+7780>: movb $0x0,0x28725(%rip) # 0x555555599ee0
0x00005555555717bb <+7787>: je 0x55555557268e <main+11582>
0x00005555555717c1 <+7793>: lea 0xcc(%rsp),%rsi
0x00005555555717c9 <+7801>: lea 0x28730(%rip),%rdi # 0x555555599f00
0x00005555555717d0 <+7808>: call *0x28742(%rip) # 0x555555599f18
0x00005555555717d6 <+7814>: jmp 0x555555571339 <main+6633>
0x00005555555717db <+7819>: xor %r8d,%r8d
0x00005555555717de <+7822>: mov $0x1,%ecx
0x00005555555717e3 <+7827>: mov %r15,%rdx
0x00005555555717e6 <+7830>: mov %r13,%rsi
0x00005555555717e9 <+7833>: mov %r14,%rdi
0x00005555555717ec <+7836>: call 0x555555585f20
0x00005555555717f1 <+7841>: cmpq $0x0,0x28657(%rip) # 0x555555599e50
0x00005555555717f9 <+7849>: movb $0x0,0xcd(%rsp)
0x0000555555571801 <+7857>: movb $0x0,0x28618(%rip) # 0x555555599e20
0x0000555555571808 <+7864>: je 0x55555557268e <main+11582>
0x000055555557180e <+7870>: lea 0xcd(%rsp),%rsi
0x0000555555571816 <+7878>: lea 0x28623(%rip),%rdi # 0x555555599e40
0x000055555557181d <+7885>: call *0x28635(%rip) # 0x555555599e58
0x0000555555571823 <+7891>: jmp 0x555555571359 <main+6665>
0x0000555555571828 <+7896>: xor %r8d,%r8d
0x000055555557182b <+7899>: mov $0x2,%ecx
0x0000555555571830 <+7904>: mov %r15,%rdx
0x0000555555571833 <+7907>: mov %r13,%rsi
0x0000555555571836 <+7910>: mov %r14,%rdi
0x0000555555571839 <+7913>: call 0x555555585f20
0x000055555557183e <+7918>: cmpq $0x0,0x2854a(%rip) # 0x555555599d90
0x0000555555571846 <+7926>: movb $0x0,0xce(%rsp)
0x000055555557184e <+7934>: movb $0x0,0x2850b(%rip) # 0x555555599d60
0x0000555555571855 <+7941>: je 0x55555557268e <main+11582>
0x000055555557185b <+7947>: lea 0xce(%rsp),%rsi
0x0000555555571863 <+7955>: lea 0x28516(%rip),%rdi # 0x555555599d80
0x000055555557186a <+7962>: call *0x28528(%rip) # 0x555555599d98
0x0000555555571870 <+7968>: jmp 0x555555571379 <main+6697>
0x0000555555571875 <+7973>: mov $0x1,%r8d
0x000055555557187b <+7979>: mov %r15,%rdx
0x000055555557187e <+7982>: mov %r13,%rsi
0x0000555555571881 <+7985>: mov %r14,%rdi
0x0000555555571884 <+7988>: mov $0x2,%ecx
0x0000555555571889 <+7993>: call 0x555555585f20
0x000055555557188e <+7998>: cmpq $0x0,0x2843a(%rip) # 0x555555599cd0
0x0000555555571896 <+8006>: movb $0x0,0xcf(%rsp)
0x000055555557189e <+8014>: movb $0x0,0x283fb(%rip) # 0x555555599ca0
0x00005555555718a5 <+8021>: je 0x55555557268e <main+11582>
0x00005555555718ab <+8027>: lea 0xcf(%rsp),%rsi
0x00005555555718b3 <+8035>: lea 0x28406(%rip),%rdi # 0x555555599cc0
0x00005555555718ba <+8042>: call *0x28418(%rip) # 0x555555599cd8
0x00005555555718c0 <+8048>: jmp 0x555555571399 <main+6729>
0x00005555555718c5 <+8053>: mov $0x2,%r8d
0x00005555555718cb <+8059>: mov %r15,%rdx
0x00005555555718ce <+8062>: mov %r13,%rsi
0x00005555555718d1 <+8065>: mov %r14,%rdi
0x00005555555718d4 <+8068>: mov $0x2,%ecx
0x00005555555718d9 <+8073>: call 0x555555585f20
0x00005555555718de <+8078>: cmpq $0x0,0x2832a(%rip) # 0x555555599c10
0x00005555555718e6 <+8086>: movb $0x0,0xf8(%rsp)
0x00005555555718ee <+8094>: movb $0x0,0x282eb(%rip) # 0x555555599be0
0x00005555555718f5 <+8101>: je 0x55555557268e <main+11582>
0x00005555555718fb <+8107>: lea 0xf8(%rsp),%rsi
0x0000555555571903 <+8115>: lea 0x282f6(%rip),%rdi # 0x555555599c00
0x000055555557190a <+8122>: call *0x28308(%rip) # 0x555555599c18
0x0000555555571910 <+8128>: jmp 0x5555555713b9 <main+6761>
0x0000555555571915 <+8133>: xor %r8d,%r8d
0x0000555555571918 <+8136>: mov $0x3,%ecx
0x000055555557191d <+8141>: mov %r15,%rdx
0x0000555555571920 <+8144>: mov %r13,%rsi
0x0000555555571923 <+8147>: mov %r14,%rdi
0x0000555555571926 <+8150>: call 0x555555585f20
0x000055555557192b <+8155>: cmpq $0x0,0x2821d(%rip) # 0x555555599b50
0x0000555555571933 <+8163>: movb $0x0,0x100(%rsp)
0x000055555557193b <+8171>: movb $0x0,0x281de(%rip) # 0x555555599b20
0x0000555555571942 <+8178>: je 0x55555557268e <main+11582>
0x0000555555571948 <+8184>: lea 0x100(%rsp),%rsi
0x0000555555571950 <+8192>: lea 0x281e9(%rip),%rdi # 0x555555599b40
0x0000555555571957 <+8199>: call *0x281fb(%rip) # 0x555555599b58
0x000055555557195d <+8205>: jmp 0x5555555713d9 <main+6793>
0x0000555555571962 <+8210>: mov $0x1,%edi
0x0000555555571967 <+8215>: call *0x25413(%rip) # 0x555555596d80
0x000055555557196d <+8221>: cmpb $0x0,0x279cc(%rip) # 0x555555599340
0x0000555555571974 <+8228>: mov %rax,%r8
0x0000555555571977 <+8231>: je 0x555555571995 <main+8261>
0x0000555555571979 <+8233>: mov (%rax),%rax
0x000055555557197c <+8236>: mov %r8,0x58(%rsp)
0x0000555555571981 <+8241>: mov %r8,%rdi
0x0000555555571984 <+8244>: call *0x68(%rax)
0x0000555555571987 <+8247>: mov 0x58(%rsp),%r8
0x000055555557198c <+8252>: test %rax,%rax
0x000055555557198f <+8255>: je 0x555555571a9b <main+8523>
0x0000555555571995 <+8261>: mov %r8,%rsi
0x0000555555571998 <+8264>: mov %r14,%rdi
0x000055555557199b <+8267>: call *0x24677(%rip) # 0x555555596018
0x00005555555719a1 <+8273>: jmp 0x55555557143b <main+6891>
0x00005555555719a6 <+8278>: mov %r12,%rdi
0x00005555555719a9 <+8281>: call *0x252b1(%rip) # 0x555555596c60
0x00005555555719af <+8287>: test %al,%al
0x00005555555719b1 <+8289>: jne 0x555555571422 <main+6866>
0x00005555555719b7 <+8295>: mov %r12,%rdi
0x00005555555719ba <+8298>: call *0x252d8(%rip) # 0x555555596c98
0x00005555555719c0 <+8304>: test %al,%al
0x00005555555719c2 <+8306>: jne 0x555555571422 <main+6866>
0x00005555555719c8 <+8312>: mov 0x18(%r12),%ecx
0x00005555555719cd <+8317>: mov (%r12),%rax
0x00005555555719d1 <+8321>: mov %r12,%rdi
0x00005555555719d4 <+8324>: mov %ecx,0x58(%rsp)
0x00005555555719d8 <+8328>: call *0x10(%rax)
0x00005555555719db <+8331>: mov 0x58(%rsp),%ecx
0x00005555555719df <+8335>: cmp $0x2,%ecx
0x00005555555719e2 <+8338>: je 0x555555571fb6 <main+9830>
0x00005555555719e8 <+8344>: cmp $0x4,%ecx
0x00005555555719eb <+8347>: jne 0x555555571422 <main+6866>
0x00005555555719f1 <+8353>: mov %rdx,0x80(%rsp)
0x00005555555719f9 <+8361>: mov %rax,0x58(%rsp)
0x00005555555719fe <+8366>: call *0x24684(%rip) # 0x555555596088
0x0000555555571a04 <+8372>: mov %r14,%rdi
0x0000555555571a07 <+8375>: mov %rax,%rsi
0x0000555555571a0a <+8378>: call *0x24608(%rip) # 0x555555596018
0x0000555555571a10 <+8384>: mov %r12,%rsi
0x0000555555571a13 <+8387>: mov %r14,%rdi
0x0000555555571a16 <+8390>: call *0x245fc(%rip) # 0x555555596018
0x0000555555571a1c <+8396>: mov 0x58(%rsp),%r9
0x0000555555571a21 <+8401>: mov $0x1,%edi
0x0000555555571a26 <+8406>: mov 0x80(%rsp),%rdx
0x0000555555571a2e <+8414>: lea 0x150(%rsp),%rcx
0x0000555555571a36 <+8422>: mov %r9,%rsi
0x0000555555571a39 <+8425>: call *0x24659(%rip) # 0x555555596098
0x0000555555571a3f <+8431>: mov %r14,%rdi
0x0000555555571a42 <+8434>: mov %rax,%rsi
0x0000555555571a45 <+8437>: call *0x245cd(%rip) # 0x555555596018
0x0000555555571a4b <+8443>: jmp 0x55555557142e <main+6878>
0x0000555555571a50 <+8448>: mov %rbp,%rdi
0x0000555555571a53 <+8451>: addr32 call 0x555555581110 <_ZN4llvm23createModulePassPrinterEPKNS_8PassInfoERNS_11raw_ostreamE>
0x0000555555571a59 <+8457>: mov %r14,%rdi
0x0000555555571a5c <+8460>: mov %rax,%rsi
0x0000555555571a5f <+8463>: call 0x55555558b600
0x0000555555571a64 <+8468>: jmp 0x555555571488 <main+6968>
0x0000555555571a69 <+8473>: mov %rbp,%rdi
0x0000555555571a6c <+8476>: addr32 call 0x555555581750 <_ZN4llvm23createRegionPassPrinterEPKNS_8PassInfoERNS_11raw_ostreamE>
0x0000555555571a72 <+8482>: mov %r14,%rdi
0x0000555555571a75 <+8485>: mov %rax,%rsi
0x0000555555571a78 <+8488>: call 0x55555558b600
0x0000555555571a7d <+8493>: jmp 0x555555571488 <main+6968>
0x0000555555571a82 <+8498>: mov %rbp,%rdi
0x0000555555571a85 <+8501>: addr32 call 0x555555580ad0 <_ZN4llvm25createFunctionPassPrinterEPKNS_8PassInfoERNS_11raw_ostreamE>
0x0000555555571a8b <+8507>: mov %r14,%rdi
0x0000555555571a8e <+8510>: mov %rax,%rsi
0x0000555555571a91 <+8513>: call 0x55555558b600
0x0000555555571a96 <+8518>: jmp 0x555555571488 <main+6968>
0x0000555555571a9b <+8523>: mov %r8,%rdi
0x0000555555571a9e <+8526>: call *0x251bc(%rip) # 0x555555596c60
0x0000555555571aa4 <+8532>: mov 0x58(%rsp),%r8
0x0000555555571aa9 <+8537>: test %al,%al
0x0000555555571aab <+8539>: jne 0x555555571995 <main+8261>
0x0000555555571ab1 <+8545>: mov %r8,%rdi
0x0000555555571ab4 <+8548>: call *0x251de(%rip) # 0x555555596c98
0x0000555555571aba <+8554>: mov 0x58(%rsp),%r8
0x0000555555571abf <+8559>: test %al,%al
0x0000555555571ac1 <+8561>: jne 0x555555571995 <main+8261>
0x0000555555571ac7 <+8567>: mov 0x18(%r8),%ecx
0x0000555555571acb <+8571>: mov (%r8),%rax
0x0000555555571ace <+8574>: mov %r8,%rdi
0x0000555555571ad1 <+8577>: mov %ecx,0x80(%rsp)
0x0000555555571ad8 <+8584>: call *0x10(%rax)
0x0000555555571adb <+8587>: mov 0x80(%rsp),%ecx
0x0000555555571ae2 <+8594>: mov 0x58(%rsp),%r8
0x0000555555571ae7 <+8599>: cmp $0x2,%ecx
0x0000555555571aea <+8602>: je 0x5555555724c1 <main+11121>
0x0000555555571af0 <+8608>: cmp $0x4,%ecx
0x0000555555571af3 <+8611>: jne 0x555555571995 <main+8261>
0x0000555555571af9 <+8617>: mov %rdx,0x88(%rsp)
0x0000555555571b01 <+8625>: mov %r8,0x58(%rsp)
0x0000555555571b06 <+8630>: mov %rax,0x80(%rsp)
0x0000555555571b0e <+8638>: call *0x24574(%rip) # 0x555555596088
0x0000555555571b14 <+8644>: mov %r14,%rdi
0x0000555555571b17 <+8647>: mov %rax,%rsi
0x0000555555571b1a <+8650>: call *0x244f8(%rip) # 0x555555596018
0x0000555555571b20 <+8656>: mov 0x58(%rsp),%r8
0x0000555555571b25 <+8661>: mov %r14,%rdi
0x0000555555571b28 <+8664>: mov %r8,%rsi
0x0000555555571b2b <+8667>: call *0x244e7(%rip) # 0x555555596018
0x0000555555571b31 <+8673>: mov 0x80(%rsp),%r9
0x0000555555571b39 <+8681>: mov $0x1,%edi
0x0000555555571b3e <+8686>: mov 0x88(%rsp),%rdx
0x0000555555571b46 <+8694>: lea 0x150(%rsp),%rcx
0x0000555555571b4e <+8702>: mov %r9,%rsi
0x0000555555571b51 <+8705>: call *0x24541(%rip) # 0x555555596098
0x0000555555571b57 <+8711>: mov %r14,%rdi
0x0000555555571b5a <+8714>: mov %rax,%rsi
0x0000555555571b5d <+8717>: call *0x244b5(%rip) # 0x555555596018
0x0000555555571b63 <+8723>: jmp 0x55555557143b <main+6891>
0x0000555555571b68 <+8728>: lea 0x1d690(%rip),%rsi # 0x55555558f1ff
0x0000555555571b6f <+8735>: mov %rax,%rdi
0x0000555555571b72 <+8738>: call *0x24b00(%rip) # 0x555555596678
0x0000555555571b78 <+8744>: test %eax,%eax
0x0000555555571b7a <+8746>: jne 0x555555570a6c <main+4380>
0x0000555555571b80 <+8752>: movq $0x0,0x18(%rsp)
0x0000555555571b89 <+8761>: jmp 0x55555557056c <main+3100>
0x0000555555571b8e <+8766>: mov 0x78(%rsp),%r15
0x0000555555571b93 <+8771>: cmpb $0x0,0x28406(%rip) # 0x555555599fa0
0x0000555555571b9a <+8778>: jne 0x5555555722aa <main+10586>
0x0000555555571ba0 <+8784>: cmpb $0x0,0x28339(%rip) # 0x555555599ee0
0x0000555555571ba7 <+8791>: jne 0x555555572290 <main+10560>
0x0000555555571bad <+8797>: cmpb $0x0,0x2826c(%rip) # 0x555555599e20
0x0000555555571bb4 <+8804>: jne 0x555555572273 <main+10531>
0x0000555555571bba <+8810>: cmpb $0x0,0x2819f(%rip) # 0x555555599d60
0x0000555555571bc1 <+8817>: jne 0x555555572256 <main+10502>
0x0000555555571bc7 <+8823>: cmpb $0x0,0x280d2(%rip) # 0x555555599ca0
0x0000555555571bce <+8830>: jne 0x555555572213 <main+10435>
0x0000555555571bd4 <+8836>: cmpb $0x0,0x28005(%rip) # 0x555555599be0
0x0000555555571bdb <+8843>: jne 0x5555555721f3 <main+10403>
0x0000555555571be1 <+8849>: cmpb $0x0,0x27f38(%rip) # 0x555555599b20
0x0000555555571be8 <+8856>: jne 0x5555555721d6 <main+10374>
0x0000555555571bee <+8862>: test %r13,%r13
0x0000555555571bf1 <+8865>: je 0x555555571c36 <main+8934>
0x0000555555571bf3 <+8867>: mov %r13,%rdi
0x0000555555571bf6 <+8870>: call *0x24404(%rip) # 0x555555596000
0x0000555555571bfc <+8876>: mov 0xe0(%rsp),%rbx
0x0000555555571c04 <+8884>: mov 0x20(%rbx),%rbp
0x0000555555571c08 <+8888>: add $0x18,%rbx
0x0000555555571c0c <+8892>: jmp 0x555555571c1f <main+8911>
0x0000555555571c0e <+8894>: lea -0x38(%rbp),%rsi
0x0000555555571c12 <+8898>: mov %r13,%rdi
0x0000555555571c15 <+8901>: call *0x249c5(%rip) # 0x5555555965e0
0x0000555555571c1b <+8907>: mov 0x8(%rbp),%rbp
0x0000555555571c1f <+8911>: cmp %rbp,%rbx
0x0000555555571c22 <+8914>: je 0x555555571c2d <main+8925>
0x0000555555571c24 <+8916>: test %rbp,%rbp
0x0000555555571c27 <+8919>: jne 0x555555571c0e <main+8894>
0x0000555555571c29 <+8921>: xor %esi,%esi
0x0000555555571c2b <+8923>: jmp 0x555555571c12 <main+8898>
0x0000555555571c2d <+8925>: mov %r13,%rdi
0x0000555555571c30 <+8928>: call *0x247ea(%rip) # 0x555555596420
0x0000555555571c36 <+8934>: cmpb $0x0,0x28963(%rip) # 0x55555559a5a0
0x0000555555571c3d <+8941>: jne 0x555555571c4c <main+8956>
0x0000555555571c3f <+8943>: cmpb $0x0,0x287da(%rip) # 0x55555559a420
0x0000555555571c46 <+8950>: je 0x555555572572 <main+11298>
0x0000555555571c4c <+8956>: cmpb $0x0,0x70(%rsp)
0x0000555555571c51 <+8961>: jne 0x555555572233 <main+10467>
0x0000555555571c57 <+8967>: lea 0x118(%rsp),%rax
0x0000555555571c5f <+8975>: pxor %xmm0,%xmm0
0x0000555555571c63 <+8979>: cmpb $0x0,0x28d36(%rip) # 0x55555559a9a0
0x0000555555571c6a <+8986>: movzbl 0x271cf(%rip),%ebx # 0x555555598e40
0x0000555555571c71 <+8993>: mov %rax,0x58(%rsp)
0x0000555555571c76 <+8998>: mov %rax,0x100(%rsp)
0x0000555555571c7e <+9006>: lea 0x138(%rsp),%rax
0x0000555555571c86 <+9014>: mov %rax,0x28(%rsp)
0x0000555555571c8b <+9019>: mov %rax,0x120(%rsp)
0x0000555555571c93 <+9027>: movups %xmm0,0x108(%rsp)
0x0000555555571c9b <+9035>: movups %xmm0,0x128(%rsp)
0x0000555555571ca3 <+9043>: jne 0x555555571eca <main+9594>
0x0000555555571ca9 <+9049>: cmpb $0x0,0x27810(%rip) # 0x5555555994c0
0x0000555555571cb0 <+9056>: jne 0x555555571eca <main+9594>
0x0000555555571cb6 <+9062>: mov 0xe8(%rsp),%rax
0x0000555555571cbe <+9070>: mov 0x88(%rax),%r12
0x0000555555571cc5 <+9077>: test %bl,%bl
0x0000555555571cc7 <+9079>: jne 0x5555555726db <main+11659>
0x0000555555571ccd <+9085>: mov $0x1,%ebx
0x0000555555571cd2 <+9090>: xor %ebp,%ebp
0x0000555555571cd4 <+9092>: cmpb $0x0,0x28c05(%rip) # 0x55555559a8e0
0x0000555555571cdb <+9099>: je 0x5555555722ff <main+10671>
0x0000555555571ce1 <+9105>: cmpb $0x0,0x27af8(%rip) # 0x5555555997e0
0x0000555555571ce8 <+9112>: jne 0x5555555726c9 <main+11641>
0x0000555555571cee <+9118>: cmpb $0x0,0x27a2b(%rip) # 0x555555599720
0x0000555555571cf5 <+9125>: jne 0x5555555726b7 <main+11623>
0x0000555555571cfb <+9131>: movzbl 0x271fe(%rip),%edx # 0x555555598f00
0x0000555555571d02 <+9138>: mov 0x38(%rsp),%rdi
0x0000555555571d07 <+9143>: lea 0x1d523(%rip),%rsi # 0x55555558f231
0x0000555555571d0e <+9150>: mov %edx,0x60(%rsp)
0x0000555555571d12 <+9154>: call 0x555555587e30
0x0000555555571d17 <+9159>: mov 0x60(%rsp),%edx
0x0000555555571d1b <+9163>: mov 0x38(%rsp),%rsi
0x0000555555571d20 <+9168>: mov %r12,%rdi
0x0000555555571d23 <+9171>: call *0x24437(%rip) # 0x555555596160
0x0000555555571d29 <+9177>: mov %r14,%rdi
0x0000555555571d2c <+9180>: mov %rax,%rsi
0x0000555555571d2f <+9183>: call 0x55555558b600
0x0000555555571d34 <+9188>: mov 0x270(%rsp),%rdi
0x0000555555571d3c <+9196>: lea 0x280(%rsp),%rax
0x0000555555571d44 <+9204>: cmp %rax,%rdi
0x0000555555571d47 <+9207>: je 0x555555571d5b <main+9227>
0x0000555555571d49 <+9209>: mov 0x280(%rsp),%rax
0x0000555555571d51 <+9217>: lea 0x1(%rax),%rsi
0x0000555555571d55 <+9221>: call *0x24335(%rip) # 0x555555596090
0x0000555555571d5b <+9227>: call *0x2480f(%rip) # 0x555555596570
0x0000555555571d61 <+9233>: cmpb $0x0,0x270d8(%rip) # 0x555555598e40
0x0000555555571d68 <+9240>: jne 0x555555572082 <main+10034>
0x0000555555571d6e <+9246>: mov 0xe0(%rsp),%rsi
0x0000555555571d76 <+9254>: mov %r14,%rdi
0x0000555555571d79 <+9257>: call *0x245a9(%rip) # 0x555555596328
0x0000555555571d7f <+9263>: cmpb $0x0,0x275ba(%rip) # 0x555555599340
0x0000555555571d86 <+9270>: je 0x555555571d98 <main+9288>
0x0000555555571d88 <+9272>: mov 0x274b9(%rip),%rsi # 0x555555599248
0x0000555555571d8f <+9279>: test %rsi,%rsi
0x0000555555571d92 <+9282>: jne 0x55555557258d <main+11325>
0x0000555555571d98 <+9288>: cmpb $0x0,0x28c01(%rip) # 0x55555559a9a0
0x0000555555571d9f <+9295>: je 0x555555571daa <main+9306>
0x0000555555571da1 <+9297>: cmpb $0x0,0x273d8(%rip) # 0x555555599180
0x0000555555571da8 <+9304>: je 0x555555571db6 <main+9318>
0x0000555555571daa <+9306>: mov 0xe8(%rsp),%rax
0x0000555555571db2 <+9314>: movb $0x1,0x20(%rax)
0x0000555555571db6 <+9318>: mov 0xd8(%rsp),%rax
0x0000555555571dbe <+9326>: test %rax,%rax
0x0000555555571dc1 <+9329>: je 0x555555571dc7 <main+9335>
0x0000555555571dc3 <+9331>: movb $0x1,0x20(%rax)
0x0000555555571dc7 <+9335>: mov 0xf0(%rsp),%rax
0x0000555555571dcf <+9343>: test %rax,%rax
0x0000555555571dd2 <+9346>: je 0x5555555724b9 <main+11113>
0x0000555555571dd8 <+9352>: movb $0x1,0x20(%rax)
0x0000555555571ddc <+9356>: xor %r12d,%r12d
0x0000555555571ddf <+9359>: test %rbp,%rbp
0x0000555555571de2 <+9362>: je 0x555555571dee <main+9374>
0x0000555555571de4 <+9364>: mov 0x0(%rbp),%rax
0x0000555555571de8 <+9368>: mov %rbp,%rdi
0x0000555555571deb <+9371>: call *0x8(%rax)
0x0000555555571dee <+9374>: mov 0x120(%rsp),%rdi
0x0000555555571df6 <+9382>: cmp 0x28(%rsp),%rdi
0x0000555555571dfb <+9387>: je 0x555555571e03 <main+9395>
0x0000555555571dfd <+9389>: call *0x24aa5(%rip) # 0x5555555968a8
0x0000555555571e03 <+9395>: mov 0x100(%rsp),%rdi
0x0000555555571e0b <+9403>: lea 0xe8(%rsp),%rbp
0x0000555555571e13 <+9411>: cmp 0x58(%rsp),%rdi
0x0000555555571e18 <+9416>: je 0x555555571e20 <main+9424>
0x0000555555571e1a <+9418>: call *0x24a88(%rip) # 0x5555555968a8
0x0000555555571e20 <+9424>: test %r13,%r13
0x0000555555571e23 <+9427>: je 0x555555571e2f <main+9439>
0x0000555555571e25 <+9429>: mov 0x0(%r13),%rax
0x0000555555571e29 <+9433>: mov %r13,%rdi
0x0000555555571e2c <+9436>: call *0x8(%rax)
0x0000555555571e2f <+9439>: mov 0x30(%rsp),%rdi
0x0000555555571e34 <+9444>: call 0x555555588b70
0x0000555555571e39 <+9449>: lea 0x23f88(%rip),%rax # 0x555555595dc8 <_ZTV20OptCustomPassManager>
0x0000555555571e40 <+9456>: mov 0x168(%rsp),%rdi
0x0000555555571e48 <+9464>: add $0x10,%rax
0x0000555555571e4c <+9468>: mov %rax,0x140(%rsp)
0x0000555555571e54 <+9476>: test %rdi,%rdi
0x0000555555571e57 <+9479>: je 0x555555571e6a <main+9498>
0x0000555555571e59 <+9481>: mov 0x178(%rsp),%rsi
0x0000555555571e61 <+9489>: sub %rdi,%rsi
0x0000555555571e64 <+9492>: call *0x24226(%rip) # 0x555555596090
0x0000555555571e6a <+9498>: mov 0x160(%rsp),%esi
0x0000555555571e71 <+9505>: mov 0x150(%rsp),%rdi
0x0000555555571e79 <+9513>: mov $0x8,%edx
0x0000555555571e7e <+9518>: imul $0x18,%rsi,%rsi
0x0000555555571e82 <+9522>: call *0x24380(%rip) # 0x555555596208
0x0000555555571e88 <+9528>: mov %r14,%rdi
0x0000555555571e8b <+9531>: call *0x24637(%rip) # 0x5555555964c8
0x0000555555571e91 <+9537>: jmp 0x555555570829 <main+3801>
0x0000555555571e96 <+9542>: movq %rax,%xmm0
0x0000555555571e9b <+9547>: movq %rsi,%xmm3
0x0000555555571ea0 <+9552>: mov %rdx,0xf0(%rbx)
0x0000555555571ea7 <+9559>: punpcklqdq %xmm3,%xmm0
0x0000555555571eab <+9563>: movups %xmm0,0xf8(%rbx)
0x0000555555571eb2 <+9570>: mov %rbp,0x420(%rsp)
0x0000555555571eba <+9578>: jmp 0x555555570f13 <main+5571>
0x0000555555571ebf <+9583>: mov $0x1,%r12d
0x0000555555571ec5 <+9589>: jmp 0x5555555703a6 <main+2646>
0x0000555555571eca <+9594>: xor %ebp,%ebp
0x0000555555571ecc <+9596>: test %bl,%bl
0x0000555555571ece <+9598>: je 0x555555571d5b <main+9227>
0x0000555555571ed4 <+9604>: mov $0x40,%edi
0x0000555555571ed9 <+9609>: call *0x24991(%rip) # 0x555555596870
0x0000555555571edf <+9615>: xor %ecx,%ecx
0x0000555555571ee1 <+9617>: xor %edx,%edx
0x0000555555571ee3 <+9619>: xor %esi,%esi
0x0000555555571ee5 <+9621>: mov %rax,%r12
0x0000555555571ee8 <+9624>: movb $0x0,0x20(%rax)
0x0000555555571eec <+9628>: movq $0x0,0x28(%rax)
0x0000555555571ef4 <+9636>: mov %r12,%rdi
0x0000555555571ef7 <+9639>: mov %r12,%rbp
0x0000555555571efa <+9642>: movl $0x1,0x30(%rax)
0x0000555555571f01 <+9649>: movq $0x0,0x18(%rax)
0x0000555555571f09 <+9657>: movq $0x0,0x10(%rax)
0x0000555555571f11 <+9665>: movq $0x0,0x8(%rax)
0x0000555555571f19 <+9673>: mov 0x24fd8(%rip),%rax # 0x555555596ef8
0x0000555555571f20 <+9680>: add $0x10,%rax
0x0000555555571f24 <+9684>: mov %rax,(%r12)
0x0000555555571f28 <+9688>: lea 0x100(%rsp),%rax
0x0000555555571f30 <+9696>: mov %rax,0x38(%r12)
0x0000555555571f35 <+9701>: call *0x2480d(%rip) # 0x555555596748
0x0000555555571f3b <+9707>: movzbl 0x60(%rsp),%ebx
0x0000555555571f40 <+9712>: jmp 0x555555571cd4 <main+9092>
0x0000555555571f45 <+9717>: xor %edx,%edx
0x0000555555571f47 <+9719>: mov %r14,%rsi
0x0000555555571f4a <+9722>: call *0x24510(%rip) # 0x555555596460
0x0000555555571f50 <+9728>: mov %rax,0x420(%rsp)
0x0000555555571f58 <+9736>: mov %rax,%rdi
0x0000555555571f5b <+9739>: mov 0x140(%rsp),%rax
0x0000555555571f63 <+9747>: mov %rax,0x430(%rsp)
0x0000555555571f6b <+9755>: jmp 0x5555555716b9 <main+7529>
0x0000555555571f70 <+9760>: movq $0x0,0x18(%rsp)
0x0000555555571f79 <+9769>: jmp 0x5555555704e0 <main+2960>
0x0000555555571f7e <+9774>: mov 0x428(%rsp),%rdx
0x0000555555571f86 <+9782>: test %rdx,%rdx
0x0000555555571f89 <+9785>: je 0x555555570f08 <main+5560>
0x0000555555571f8f <+9791>: cmp $0x1,%rdx
0x0000555555571f93 <+9795>: je 0x55555557249b <main+11083>
0x0000555555571f99 <+9801>: mov %rbp,%rsi
0x0000555555571f9c <+9804>: call *0x2487e(%rip) # 0x555555596820
0x0000555555571fa2 <+9810>: mov 0x428(%rsp),%rdx
0x0000555555571faa <+9818>: mov 0xf0(%rbx),%rdi
0x0000555555571fb1 <+9825>: jmp 0x555555570f08 <main+5560>
0x0000555555571fb6 <+9830>: mov %rdx,0x80(%rsp)
0x0000555555571fbe <+9838>: mov %rax,0x58(%rsp)
0x0000555555571fc3 <+9843>: call *0x24b37(%rip) # 0x555555596b00
0x0000555555571fc9 <+9849>: mov %r14,%rdi
0x0000555555571fcc <+9852>: mov %rax,%rsi
0x0000555555571fcf <+9855>: call *0x24043(%rip) # 0x555555596018
0x0000555555571fd5 <+9861>: mov %r12,%rsi
0x0000555555571fd8 <+9864>: mov %r14,%rdi
0x0000555555571fdb <+9867>: call *0x24037(%rip) # 0x555555596018
0x0000555555571fe1 <+9873>: mov 0x58(%rsp),%r9
0x0000555555571fe6 <+9878>: mov $0x1,%edi
0x0000555555571feb <+9883>: mov 0x80(%rsp),%rdx
0x0000555555571ff3 <+9891>: lea 0x150(%rsp),%rcx
0x0000555555571ffb <+9899>: mov %r9,%rsi
0x0000555555571ffe <+9902>: call *0x24f0c(%rip) # 0x555555596f10
0x0000555555572004 <+9908>: mov %r14,%rdi
0x0000555555572007 <+9911>: mov %rax,%rsi
0x000055555557200a <+9914>: call *0x24008(%rip) # 0x555555596018
0x0000555555572010 <+9920>: jmp 0x55555557142e <main+6878>
0x0000555555572015 <+9925>: mov 0x28(%rsp),%r14
0x000055555557201a <+9930>: call *0x243b8(%rip) # 0x5555555963d8
0x0000555555572020 <+9936>: mov %rax,%rdi
0x0000555555572023 <+9939>: mov 0xb0(%rsp),%rax
0x000055555557202b <+9947>: mov (%rax),%rsi
0x000055555557202e <+9950>: call 0x555555576a00
0x0000555555572033 <+9955>: lea 0x1d066(%rip),%rsi # 0x55555558f0a0
0x000055555557203a <+9962>: mov %rax,%rdi
0x000055555557203d <+9965>: call 0x555555576a00
0x0000555555572042 <+9970>: mov 0x8(%r13),%rdx
0x0000555555572046 <+9974>: mov 0x0(%r13),%rsi
0x000055555557204a <+9978>: mov %rax,%rdi
0x000055555557204d <+9981>: call *0x24a7d(%rip) # 0x555555596ad0
0x0000555555572053 <+9987>: mov %rax,%rdi
0x0000555555572056 <+9990>: mov 0x18(%rax),%rax
0x000055555557205a <+9994>: cmp 0x10(%rdi),%rax
0x000055555557205e <+9998>: jae 0x555555572530 <main+11232>
0x0000555555572064 <+10004>: lea 0x1(%rax),%rdx
0x0000555555572068 <+10008>: mov %rdx,0x18(%rdi)
0x000055555557206c <+10012>: movb $0xa,(%rax)
0x000055555557206f <+10015>: mov $0x1,%r12d
0x0000555555572075 <+10021>: lea 0xe8(%rsp),%rbp
0x000055555557207d <+10029>: jmp 0x555555571e2f <main+9439>
0x0000555555572082 <+10034>: lea 0xf8(%rsp),%r12
0x000055555557208a <+10042>: mov 0xe0(%rsp),%rsi
0x0000555555572092 <+10050>: mov %r12,%rdi
0x0000555555572095 <+10053>: call *0x24085(%rip) # 0x555555596120
0x000055555557209b <+10059>: mov 0xe0(%rsp),%rsi
0x00005555555720a3 <+10067>: mov %r14,%rdi
0x00005555555720a6 <+10070>: call *0x2427c(%rip) # 0x555555596328
0x00005555555720ac <+10076>: mov 0x108(%rsp),%rdx
0x00005555555720b4 <+10084>: mov 0x128(%rsp),%rcx
0x00005555555720bc <+10092>: mov %rdx,%r8
0x00005555555720bf <+10095>: cmp %rcx,%rdx
0x00005555555720c2 <+10098>: jbe 0x555555572540 <main+11248>
0x00005555555720c8 <+10104>: cmp 0x130(%rsp),%rdx
0x00005555555720d0 <+10112>: ja 0x5555555725a7 <main+11351>
0x00005555555720d6 <+10118>: test %rcx,%rcx
0x00005555555720d9 <+10121>: je 0x555555572110 <main+10176>
0x00005555555720db <+10123>: mov %rdx,0x60(%rsp)
0x00005555555720e0 <+10128>: mov 0x100(%rsp),%rsi
0x00005555555720e8 <+10136>: mov %rcx,%rdx
0x00005555555720eb <+10139>: mov %rcx,0x38(%rsp)
0x00005555555720f0 <+10144>: mov 0x120(%rsp),%rdi
0x00005555555720f8 <+10152>: call *0x23fe2(%rip) # 0x5555555960e0
0x00005555555720fe <+10158>: mov 0x60(%rsp),%r8
0x0000555555572103 <+10163>: mov 0x38(%rsp),%rcx
0x0000555555572108 <+10168>: mov 0x108(%rsp),%rdx
0x0000555555572110 <+10176>: mov 0x100(%rsp),%rax
0x0000555555572118 <+10184>: lea (%rax,%rcx,1),%rsi
0x000055555557211c <+10188>: add %rdx,%rax
0x000055555557211f <+10191>: cmp %rax,%rsi
0x0000555555572122 <+10194>: je 0x555555572142 <main+10226>
0x0000555555572124 <+10196>: mov 0x120(%rsp),%rdi
0x000055555557212c <+10204>: mov %r8,0x38(%rsp)
0x0000555555572131 <+10209>: sub %rcx,%rdx
0x0000555555572134 <+10212>: add %rcx,%rdi
0x0000555555572137 <+10215>: call *0x246e3(%rip) # 0x555555596820
0x000055555557213d <+10221>: mov 0x38(%rsp),%r8
0x0000555555572142 <+10226>: mov %r8,0x128(%rsp)
0x000055555557214a <+10234>: movq $0x0,0x108(%rsp)
0x0000555555572156 <+10246>: mov 0xf8(%rsp),%rsi
0x000055555557215e <+10254>: mov %r14,%rdi
0x0000555555572161 <+10257>: call *0x241c1(%rip) # 0x555555596328
0x0000555555572167 <+10263>: mov 0x108(%rsp),%rdx
0x000055555557216f <+10271>: cmp %rdx,0x128(%rsp)
0x0000555555572177 <+10279>: jne 0x555555572339 <main+10729>
0x000055555557217d <+10285>: mov 0x120(%rsp),%rsi
0x0000555555572185 <+10293>: mov 0x100(%rsp),%rdi
0x000055555557218d <+10301>: call *0x244e5(%rip) # 0x555555596678
0x0000555555572193 <+10307>: test %eax,%eax
0x0000555555572195 <+10309>: jne 0x555555572339 <main+10729>
0x000055555557219b <+10315>: test %bl,%bl
0x000055555557219d <+10317>: jne 0x55555557266a <main+11546>
0x00005555555721a3 <+10323>: mov %r12,%rdi
0x00005555555721a6 <+10326>: call 0x55555558a1a0
0x00005555555721ab <+10331>: jmp 0x555555571d7f <main+9263>
0x00005555555721b0 <+10336>: mov $0xa,%esi
0x00005555555721b5 <+10341>: call *0x241ed(%rip) # 0x5555555963a8
0x00005555555721bb <+10347>: jmp 0x555555571673 <main+7459>
0x00005555555721c0 <+10352>: call *0x23ec2(%rip) # 0x555555596088
0x00005555555721c6 <+10358>: mov %r14,%rdi
0x00005555555721c9 <+10361>: mov %rax,%rsi
0x00005555555721cc <+10364>: call 0x55555558b600
0x00005555555721d1 <+10369>: jmp 0x555555571170 <main+6176>
0x00005555555721d6 <+10374>: mov 0x18(%rsp),%rdx
0x00005555555721db <+10379>: xor %r8d,%r8d
0x00005555555721de <+10382>: mov $0x3,%ecx
0x00005555555721e3 <+10387>: mov %r13,%rsi
0x00005555555721e6 <+10390>: mov %r14,%rdi
0x00005555555721e9 <+10393>: call 0x555555585f20
0x00005555555721ee <+10398>: jmp 0x555555571bee <main+8862>
0x00005555555721f3 <+10403>: mov 0x18(%rsp),%rdx
0x00005555555721f8 <+10408>: mov $0x2,%ecx
0x00005555555721fd <+10413>: mov %r13,%rsi
0x0000555555572200 <+10416>: mov %r14,%rdi
0x0000555555572203 <+10419>: mov $0x2,%r8d
0x0000555555572209 <+10425>: call 0x555555585f20
0x000055555557220e <+10430>: jmp 0x555555571be1 <main+8849>
0x0000555555572213 <+10435>: mov 0x18(%rsp),%rdx
0x0000555555572218 <+10440>: mov $0x2,%ecx
0x000055555557221d <+10445>: mov %r13,%rsi
0x0000555555572220 <+10448>: mov %r14,%rdi
0x0000555555572223 <+10451>: mov $0x1,%r8d
0x0000555555572229 <+10457>: call 0x555555585f20
0x000055555557222e <+10462>: jmp 0x555555571bd4 <main+8836>
0x0000555555572233 <+10467>: xor %edi,%edi
0x0000555555572235 <+10469>: xor %ecx,%ecx
0x0000555555572237 <+10471>: lea 0x1cff3(%rip),%rsi # 0x55555558f231
0x000055555557223e <+10478>: xor %edx,%edx
0x0000555555572240 <+10480>: call *0x23e52(%rip) # 0x555555596098
0x0000555555572246 <+10486>: mov %r14,%rdi
0x0000555555572249 <+10489>: mov %rax,%rsi
0x000055555557224c <+10492>: call 0x55555558b600
0x0000555555572251 <+10497>: jmp 0x555555571c57 <main+8967>
0x0000555555572256 <+10502>: mov 0x18(%rsp),%rdx
0x000055555557225b <+10507>: xor %r8d,%r8d
0x000055555557225e <+10510>: mov $0x2,%ecx
0x0000555555572263 <+10515>: mov %r13,%rsi
0x0000555555572266 <+10518>: mov %r14,%rdi
0x0000555555572269 <+10521>: call 0x555555585f20
0x000055555557226e <+10526>: jmp 0x555555571bc7 <main+8823>
0x0000555555572273 <+10531>: mov 0x18(%rsp),%rdx
0x0000555555572278 <+10536>: xor %r8d,%r8d
0x000055555557227b <+10539>: mov $0x1,%ecx
0x0000555555572280 <+10544>: mov %r13,%rsi
0x0000555555572283 <+10547>: mov %r14,%rdi
0x0000555555572286 <+10550>: call 0x555555585f20
0x000055555557228b <+10555>: jmp 0x555555571bba <main+8810>
0x0000555555572290 <+10560>: mov 0x18(%rsp),%rdx
0x0000555555572295 <+10565>: xor %r8d,%r8d
0x0000555555572298 <+10568>: xor %ecx,%ecx
0x000055555557229a <+10570>: mov %r13,%rsi
0x000055555557229d <+10573>: mov %r14,%rdi
0x00005555555722a0 <+10576>: call 0x555555585f20
0x00005555555722a5 <+10581>: jmp 0x555555571bad <main+8797>
0x00005555555722aa <+10586>: mov %r14,%rdi
0x00005555555722ad <+10589>: call 0x555555585c00
0x00005555555722b2 <+10594>: cmpq $0x0,0x27d16(%rip) # 0x555555599fd0
0x00005555555722ba <+10602>: movb $0x0,0x120(%rsp)
0x00005555555722c2 <+10610>: movb $0x0,0x27cd7(%rip) # 0x555555599fa0
0x00005555555722c9 <+10617>: je 0x55555557268e <main+11582>
0x00005555555722cf <+10623>: lea 0x120(%rsp),%rsi
0x00005555555722d7 <+10631>: lea 0x27ce2(%rip),%rdi # 0x555555599fc0
0x00005555555722de <+10638>: call *0x27cf4(%rip) # 0x555555599fd8
0x00005555555722e4 <+10644>: jmp 0x555555571ba0 <main+8784>
0x00005555555722e9 <+10649>: call *0x242c1(%rip) # 0x5555555965b0
0x00005555555722ef <+10655>: jmp 0x555555571132 <main+6114>
0x00005555555722f4 <+10660>: call *0x242b6(%rip) # 0x5555555965b0
0x00005555555722fa <+10666>: jmp 0x5555555711e4 <main+6292>
0x00005555555722ff <+10671>: cmpb $0x0,0x2851a(%rip) # 0x55555559a820
0x0000555555572306 <+10678>: je 0x5555555725e4 <main+11412>
0x000055555557230c <+10684>: mov 0xf0(%rsp),%rsi
0x0000555555572314 <+10692>: test %rsi,%rsi
0x0000555555572317 <+10695>: je 0x555555572320 <main+10704>
0x0000555555572319 <+10697>: mov 0x88(%rsi),%rsi
0x0000555555572320 <+10704>: mov %r12,%rdi
0x0000555555572323 <+10707>: call *0x2446f(%rip) # 0x555555596798
0x0000555555572329 <+10713>: mov %r14,%rdi
0x000055555557232c <+10716>: mov %rax,%rsi
0x000055555557232f <+10719>: call 0x55555558b600
0x0000555555572334 <+10724>: jmp 0x555555571d5b <main+9227>
0x0000555555572339 <+10729>: call *0x24099(%rip) # 0x5555555963d8
0x000055555557233f <+10735>: lea 0x1cdf2(%rip),%rsi # 0x55555558f138
0x0000555555572346 <+10742>: mov %rax,%rdi
0x0000555555572349 <+10745>: call 0x555555576a00
0x000055555557234e <+10750>: test %bl,%bl
0x0000555555572350 <+10752>: jne 0x555555572622 <main+11474>
0x0000555555572356 <+10758>: mov 0xd8(%rsp),%rax
0x000055555557235e <+10766>: test %rax,%rax
0x0000555555572361 <+10769>: je 0x555555572367 <main+10775>
0x0000555555572363 <+10771>: movb $0x1,0x20(%rax)
0x0000555555572367 <+10775>: mov %r12,%rdi
0x000055555557236a <+10778>: mov $0x1,%r12d
0x0000555555572370 <+10784>: call 0x55555558a1a0
0x0000555555572375 <+10789>: jmp 0x555555571ddf <main+9359>
0x000055555557237a <+10794>: cmpq $0x0,0x28866(%rip) # 0x55555559abe8
0x0000555555572382 <+10802>: je 0x555555572652 <main+11522>
0x0000555555572388 <+10808>: movl $0x0,0x120(%rsp)
0x0000555555572393 <+10819>: call *0x24147(%rip) # 0x5555555964e0
0x0000555555572399 <+10825>: mov 0x28840(%rip),%rbp # 0x55555559abe0
0x00005555555723a0 <+10832>: mov $0x90,%edi
0x00005555555723a5 <+10837>: mov 0x2883c(%rip),%rbx # 0x55555559abe8
0x00005555555723ac <+10844>: mov %rax,0x128(%rsp)
0x00005555555723b4 <+10852>: call *0x244b6(%rip) # 0x555555596870
0x00005555555723ba <+10858>: mov %rbp,%rsi
0x00005555555723bd <+10861>: xor %r8d,%r8d
0x00005555555723c0 <+10864>: mov %rbx,%rdx
0x00005555555723c3 <+10867>: mov %rax,%r12
0x00005555555723c6 <+10870>: lea 0xe8(%rsp),%rbp
0x00005555555723ce <+10878>: mov %rax,%rdi
0x00005555555723d1 <+10881>: lea 0x120(%rsp),%rcx
0x00005555555723d9 <+10889>: call *0x24329(%rip) # 0x555555596708
0x00005555555723df <+10895>: mov %r12,%rsi
0x00005555555723e2 <+10898>: mov %rbp,%rdi
0x00005555555723e5 <+10901>: movq $0x0,0x100(%rsp)
0x00005555555723f1 <+10913>: call 0x55555558b4f0
0x00005555555723f6 <+10918>: lea 0x100(%rsp),%rdi
0x00005555555723fe <+10926>: call 0x55555558b540
0x0000555555572403 <+10931>: cmpl $0x0,0x120(%rsp)
0x000055555557240b <+10939>: je 0x555555571230 <main+6368>
0x0000555555572411 <+10945>: call *0x23fc1(%rip) # 0x5555555963d8
0x0000555555572417 <+10951>: mov 0x128(%rsp),%rsi
0x000055555557241f <+10959>: mov 0x38(%rsp),%rdi
0x0000555555572424 <+10964>: mov %rax,%r12
0x0000555555572427 <+10967>: mov 0x120(%rsp),%edx
0x000055555557242e <+10974>: mov (%rsi),%rax
0x0000555555572431 <+10977>: call *0x20(%rax)
0x0000555555572434 <+10980>: mov %r12,%rdi
0x0000555555572437 <+10983>: mov 0x278(%rsp),%rdx
0x000055555557243f <+10991>: mov 0x270(%rsp),%rsi
0x0000555555572447 <+10999>: call *0x24683(%rip) # 0x555555596ad0
0x000055555557244d <+11005>: mov %rax,%rdi
0x0000555555572450 <+11008>: mov 0x18(%rax),%rax
0x0000555555572454 <+11012>: cmp 0x10(%rdi),%rax
0x0000555555572458 <+11016>: jae 0x555555572694 <main+11588>
0x000055555557245e <+11022>: lea 0x1(%rax),%rdx
0x0000555555572462 <+11026>: mov %rdx,0x18(%rdi)
0x0000555555572466 <+11030>: movb $0xa,(%rax)
0x0000555555572469 <+11033>: mov 0x270(%rsp),%rdi
0x0000555555572471 <+11041>: lea 0x280(%rsp),%rax
0x0000555555572479 <+11049>: cmp %rax,%rdi
0x000055555557247c <+11052>: je 0x555555572490 <main+11072>
0x000055555557247e <+11054>: mov 0x280(%rsp),%rax
0x0000555555572486 <+11062>: lea 0x1(%rax),%rsi
0x000055555557248a <+11066>: call *0x23c00(%rip) # 0x555555596090
0x0000555555572490 <+11072>: mov $0x1,%r12d
0x0000555555572496 <+11078>: jmp 0x555555571e20 <main+9424>
0x000055555557249b <+11083>: movzbl 0x430(%rsp),%eax
0x00005555555724a3 <+11091>: mov %al,(%rdi)
0x00005555555724a5 <+11093>: mov 0x428(%rsp),%rdx
0x00005555555724ad <+11101>: mov 0xf0(%rbx),%rdi
0x00005555555724b4 <+11108>: jmp 0x555555570f08 <main+5560>
0x00005555555724b9 <+11113>: xor %r12d,%r12d
0x00005555555724bc <+11116>: jmp 0x555555571ddf <main+9359>
0x00005555555724c1 <+11121>: mov %rdx,0x88(%rsp)
0x00005555555724c9 <+11129>: mov %r8,0x58(%rsp)
0x00005555555724ce <+11134>: mov %rax,0x80(%rsp)
0x00005555555724d6 <+11142>: call *0x24624(%rip) # 0x555555596b00
0x00005555555724dc <+11148>: mov %r14,%rdi
0x00005555555724df <+11151>: mov %rax,%rsi
0x00005555555724e2 <+11154>: call *0x23b30(%rip) # 0x555555596018
0x00005555555724e8 <+11160>: mov 0x58(%rsp),%r8
0x00005555555724ed <+11165>: mov %r14,%rdi
0x00005555555724f0 <+11168>: mov %r8,%rsi
0x00005555555724f3 <+11171>: call *0x23b1f(%rip) # 0x555555596018
0x00005555555724f9 <+11177>: mov 0x80(%rsp),%r9
0x0000555555572501 <+11185>: mov $0x1,%edi
0x0000555555572506 <+11190>: mov 0x88(%rsp),%rdx
0x000055555557250e <+11198>: lea 0x150(%rsp),%rcx
0x0000555555572516 <+11206>: mov %r9,%rsi
0x0000555555572519 <+11209>: call *0x249f1(%rip) # 0x555555596f10
0x000055555557251f <+11215>: mov %r14,%rdi
0x0000555555572522 <+11218>: mov %rax,%rsi
0x0000555555572525 <+11221>: call *0x23aed(%rip) # 0x555555596018
0x000055555557252b <+11227>: jmp 0x55555557143b <main+6891>
0x0000555555572530 <+11232>: mov $0xa,%esi
0x0000555555572535 <+11237>: call *0x23e6d(%rip) # 0x5555555963a8
0x000055555557253b <+11243>: jmp 0x55555557206f <main+10015>
0x0000555555572540 <+11248>: test %rdx,%rdx
0x0000555555572543 <+11251>: je 0x555555572565 <main+11285>
0x0000555555572545 <+11253>: mov %rdx,0x38(%rsp)
0x000055555557254a <+11258>: mov 0x100(%rsp),%rsi
0x0000555555572552 <+11266>: mov 0x120(%rsp),%rdi
0x000055555557255a <+11274>: call *0x23b80(%rip) # 0x5555555960e0
0x0000555555572560 <+11280>: mov 0x38(%rsp),%rdx
0x0000555555572565 <+11285>: mov %rdx,0x128(%rsp)
0x000055555557256d <+11293>: jmp 0x55555557214a <main+10234>
0x0000555555572572 <+11298>: mov $0x1,%edi
0x0000555555572577 <+11303>: call *0x24803(%rip) # 0x555555596d80
0x000055555557257d <+11309>: mov %r14,%rdi
0x0000555555572580 <+11312>: mov %rax,%rsi
0x0000555555572583 <+11315>: call 0x55555558b600
0x0000555555572588 <+11320>: jmp 0x555555571c4c <main+8956>
0x000055555557258d <+11325>: mov 0x26cac(%rip),%rdi # 0x555555599240
0x0000555555572594 <+11332>: lea 0x150(%rsp),%rdx
0x000055555557259c <+11340>: addr32 call 0x55555558add0 <_Z19exportDebugifyStatsN4llvm9StringRefERKNS_9MapVectorIS0_18DebugifyStatisticsNS_8DenseMapIS0_jNS_12DenseMapInfoIS0_EENS_6detail12DenseMapPairIS0_jEEEESt6vectorISt4pairIS0_S2_ESaISC_EEEE>
0x00005555555725a2 <+11346>: jmp 0x555555571d98 <main+9288>
0x00005555555725a7 <+11351>: mov %rdx,0x38(%rsp)
0x00005555555725ac <+11356>: mov $0x1,%ecx
0x00005555555725b1 <+11361>: mov 0x28(%rsp),%rsi
0x00005555555725b6 <+11366>: lea 0x120(%rsp),%rdi
0x00005555555725be <+11374>: movq $0x0,0x128(%rsp)
0x00005555555725ca <+11386>: call *0x243b0(%rip) # 0x555555596980
0x00005555555725d0 <+11392>: mov 0x108(%rsp),%rdx
0x00005555555725d8 <+11400>: mov 0x38(%rsp),%r8
0x00005555555725dd <+11405>: xor %ecx,%ecx
0x00005555555725df <+11407>: jmp 0x555555572110 <main+10176>
0x00005555555725e4 <+11412>: mov %r12,%rdi
0x00005555555725e7 <+11415>: movzbl 0x27132(%rip),%ecx # 0x555555599720
0x00005555555725ee <+11422>: movzbl 0x271eb(%rip),%edx # 0x5555555997e0
0x00005555555725f5 <+11429>: movzbl 0x269c4(%rip),%esi # 0x555555598fc0
0x00005555555725fc <+11436>: call *0x23e86(%rip) # 0x555555596488
0x0000555555572602 <+11442>: mov %r14,%rdi
0x0000555555572605 <+11445>: mov %rax,%rsi
0x0000555555572608 <+11448>: call 0x55555558b600
0x000055555557260d <+11453>: jmp 0x555555571d5b <main+9227>
0x0000555555572612 <+11458>: mov $0xa,%esi
0x0000555555572617 <+11463>: call *0x23d8b(%rip) # 0x5555555963a8
0x000055555557261d <+11469>: jmp 0x555555570a3b <main+4331>
0x0000555555572622 <+11474>: mov 0xe8(%rsp),%rax
0x000055555557262a <+11482>: mov 0x88(%rax),%rdi
0x0000555555572631 <+11489>: mov 0x38(%rbp),%rax
0x0000555555572635 <+11493>: mov 0x8(%rax),%rdx
0x0000555555572639 <+11497>: mov (%rax),%rsi
0x000055555557263c <+11500>: call 0x5555555769a0
0x0000555555572641 <+11505>: mov 0xe8(%rsp),%rax
0x0000555555572649 <+11513>: movb $0x1,0x20(%rax)
0x000055555557264d <+11517>: jmp 0x555555572356 <main+10758>
0x0000555555572652 <+11522>: lea 0x1a495(%rip),%rsi # 0x55555558caee
0x0000555555572659 <+11529>: lea 0x28500(%rip),%rdi # 0x55555559ab60
0x0000555555572660 <+11536>: call 0x555555587f10
0x0000555555572665 <+11541>: jmp 0x555555572388 <main+10808>
0x000055555557266a <+11546>: mov 0xe8(%rsp),%rax
0x0000555555572672 <+11554>: mov 0x88(%rax),%rdi
0x0000555555572679 <+11561>: mov 0x38(%rbp),%rax
0x000055555557267d <+11565>: mov 0x8(%rax),%rdx
0x0000555555572681 <+11569>: mov (%rax),%rsi
0x0000555555572684 <+11572>: call 0x5555555769a0
0x0000555555572689 <+11577>: jmp 0x5555555721a3 <main+10323>
0x000055555557268e <+11582>: call *0x24054(%rip) # 0x5555555966e8
0x0000555555572694 <+11588>: mov $0xa,%esi
0x0000555555572699 <+11593>: call *0x23d09(%rip) # 0x5555555963a8
0x000055555557269f <+11599>: jmp 0x555555572469 <main+11033>
0x00005555555726a4 <+11604>: call *0x23b3e(%rip) # 0x5555555961e8
0x00005555555726aa <+11610>: lea 0x19b47(%rip),%rdi # 0x55555558c1f8
0x00005555555726b1 <+11617>: call *0x24129(%rip) # 0x5555555967e0
0x00005555555726b7 <+11623>: mov $0x1,%esi
0x00005555555726bc <+11628>: lea 0x1ca45(%rip),%rdi # 0x55555558f108
0x00005555555726c3 <+11635>: call *0x2490f(%rip) # 0x555555596fd8
0x00005555555726c9 <+11641>: mov $0x1,%esi
0x00005555555726ce <+11646>: lea 0x1c9fb(%rip),%rdi # 0x55555558f0d0
0x00005555555726d5 <+11653>: call *0x248fd(%rip) # 0x555555596fd8
0x00005555555726db <+11659>: mov %bl,0x60(%rsp)
0x00005555555726df <+11663>: jmp 0x555555571ed4 <main+9604>
End of assembler dump.
| 59.533212 | 248 | 0.667385 |
bcb98291ff104b5370ac536c076f6a8d632f9ca9 | 393 | asm | Assembly | task1-fnm/diss_fib.asm | AlexeyZhuravlev/Conceptions-of-Programming-Languages | 6b9c4725681b8029d6c28fd3c866bccc0283526a | [
"MIT"
] | null | null | null | task1-fnm/diss_fib.asm | AlexeyZhuravlev/Conceptions-of-Programming-Languages | 6b9c4725681b8029d6c28fd3c866bccc0283526a | [
"MIT"
] | null | null | null | task1-fnm/diss_fib.asm | AlexeyZhuravlev/Conceptions-of-Programming-Languages | 6b9c4725681b8029d6c28fd3c866bccc0283526a | [
"MIT"
] | null | null | null | funcb 1
mov 3 *1
add 3 1
mov 4 **3
mov 5 *4
sub 5 1
rjgz *5 5
mov 2 *4
mov 3 **1
pop
jump *3
push *5
call 1
mov 5 **1
pop
sub 5 1
push *2
push *5
call 1
pop
add 2 **1
pop
mov 3 **1
pop
jump *3
funce
putstr Hello! This programm will calclulate the n-th member of the fib-sequence [0, 1, 1, 2, 3, 5, 8, ... ]
putstr Enter number n:
read 3
push *3
call 1
pop
putstr Your answer is:
print *2
term
| 10.916667 | 107 | 0.656489 |
004fd64221fd15d4e4a41b9a553d5f39b08ae1a1 | 7,202 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1531.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_1531.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_1531.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 %r13
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x49bf, %rdi
dec %r11
mov (%rdi), %r14
nop
nop
add $19950, %r13
lea addresses_normal_ht+0xe450, %r15
nop
cmp $1916, %r8
mov (%r15), %rcx
nop
nop
nop
nop
sub $30588, %rcx
lea addresses_D_ht+0x15040, %r13
clflush (%r13)
nop
dec %rdi
mov (%r13), %r11d
add $34535, %r11
lea addresses_A_ht+0x5e20, %r14
nop
nop
nop
nop
add %r13, %r13
mov (%r14), %di
nop
cmp $60065, %r14
lea addresses_WC_ht+0x10240, %r11
xor $20182, %r8
mov (%r11), %r14d
nop
nop
nop
cmp %rcx, %rcx
lea addresses_UC_ht+0x11540, %rcx
nop
nop
nop
sub %r8, %r8
mov $0x6162636465666768, %r14
movq %r14, (%rcx)
cmp %r11, %r11
lea addresses_normal_ht+0x7d20, %rsi
lea addresses_D_ht+0x1da33, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
and %r8, %r8
mov $21, %rcx
rep movsw
nop
nop
nop
nop
nop
inc %r11
lea addresses_UC_ht+0x4d40, %rsi
lea addresses_A_ht+0x1ca40, %rdi
and $55617, %r8
mov $78, %rcx
rep movsw
and $28126, %r8
lea addresses_UC_ht+0xf440, %r8
nop
nop
nop
nop
nop
cmp %r13, %r13
vmovups (%r8), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $1, %xmm4, %r11
nop
sub $63743, %rsi
lea addresses_WT_ht+0x1e38a, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub $29273, %r13
mov $0x6162636465666768, %rsi
movq %rsi, %xmm0
movups %xmm0, (%rdi)
nop
nop
nop
nop
and $57892, %rdi
lea addresses_normal_ht+0x12aa4, %r13
nop
dec %rsi
movups (%r13), %xmm7
vpextrq $0, %xmm7, %rdi
nop
nop
nop
nop
nop
and $50120, %rcx
lea addresses_WC_ht+0xb040, %rcx
xor $45328, %r8
mov $0x6162636465666768, %r13
movq %r13, %xmm7
vmovups %ymm7, (%rcx)
nop
nop
nop
dec %r8
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r14
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r15
push %rbx
push %rdx
push %rsi
// Store
lea addresses_PSE+0xe884, %r12
nop
cmp %r11, %r11
mov $0x5152535455565758, %r15
movq %r15, %xmm2
vmovups %ymm2, (%r12)
nop
nop
nop
nop
sub %r15, %r15
// Faulty Load
lea addresses_WC+0x8840, %rsi
nop
nop
nop
xor %rbx, %rbx
movb (%rsi), %dl
lea oracles, %r15
and $0xff, %rdx
shlq $12, %rdx
mov (%r15,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rbx
pop %r15
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 2, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 7, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 0, 'same': True, 'type': 'addresses_D_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 8, 'same': True, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'}
{'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
*/
| 36.01 | 2,999 | 0.656068 |
458380ae89000556f738988a82abc777ae07154c | 1,103 | asm | Assembly | programs/oeis/272/A272303.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/272/A272303.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/272/A272303.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A272303: Magic sums of 4 X 4 semimagic squares composed of primes.
; 114,120,124,126,130,132,136,138,140,142,144,146,148,150,152,154,156,158,160,162,164,166,168,170,172,174,176,178,180,182,184,186,188,190,192,194,196,198,200,202,204,206,208,210,212,214,216,218,220,222,224,226,228,230,232,234,236,238,240,242,244,246,248,250,252,254,256,258,260,262,264,266,268,270,272,274,276,278,280,282,284,286,288,290,292,294,296,298,300,302,304,306,308,310,312,314,316,318,320,322,324,326,328,330,332,334,336,338,340,342,344,346,348,350,352,354,356,358,360,362,364,366,368,370,372,374,376,378,380,382,384,386,388,390,392,394,396,398,400,402,404,406,408,410,412,414,416,418,420,422,424,426,428,430,432,434,436,438,440,442,444,446,448,450,452,454,456,458,460,462,464,466,468,470,472,474,476,478,480,482,484,486,488,490,492,494,496,498,500
mov $5,$0
mul $0,2
lpb $0,1
sub $0,1
sub $2,4
mov $3,$0
mov $4,$0
trn $0,2
trn $2,$4
add $2,$0
sub $0,1
add $4,1
sub $4,$3
mov $3,$2
add $2,3
add $3,$4
lpe
mov $1,$2
trn $3,4
sub $1,$3
trn $1,1
mul $1,2
lpb $5,1
add $1,2
sub $5,1
lpe
add $1,114
| 35.580645 | 757 | 0.682684 |
cd6f42677da0136983f8569003aca9e9b835ad90 | 8,201 | asm | Assembly | Transynther/x86/_processed/NC/_ht_st_zr_un_/i3-7100_9_0xca_notsx.log_21829_283.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_ht_st_zr_un_/i3-7100_9_0xca_notsx.log_21829_283.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_ht_st_zr_un_/i3-7100_9_0xca_notsx.log_21829_283.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x6186, %rsi
clflush (%rsi)
nop
dec %r8
mov (%rsi), %di
nop
nop
nop
cmp %r15, %r15
lea addresses_normal_ht+0x1a793, %rsi
lea addresses_D_ht+0xd12b, %rdi
nop
nop
inc %rdx
mov $111, %rcx
rep movsl
nop
nop
nop
nop
xor $43824, %r15
lea addresses_A_ht+0x9293, %r8
nop
nop
nop
inc %r14
movups (%r8), %xmm0
vpextrq $1, %xmm0, %rdx
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_normal_ht+0xc6d3, %r8
add $46310, %rcx
movl $0x61626364, (%r8)
nop
nop
nop
xor $23972, %rdx
lea addresses_D_ht+0x1e445, %rdi
nop
nop
nop
nop
nop
add $9601, %r8
mov (%rdi), %r15
nop
nop
cmp $10333, %r8
lea addresses_D_ht+0x18833, %r14
nop
and %rcx, %rcx
movw $0x6162, (%r14)
dec %rcx
lea addresses_WC_ht+0x10b93, %rdi
sub $34615, %r14
movb $0x61, (%rdi)
nop
nop
nop
nop
add $22242, %r15
lea addresses_normal_ht+0x1c053, %r8
add %r14, %r14
movl $0x61626364, (%r8)
nop
nop
add $4423, %r14
lea addresses_A_ht+0xbd93, %rdx
nop
nop
nop
add %rsi, %rsi
movups (%rdx), %xmm1
vpextrq $0, %xmm1, %r14
nop
xor %rdi, %rdi
lea addresses_WC_ht+0xff93, %r8
clflush (%r8)
nop
nop
xor %rsi, %rsi
movb $0x61, (%r8)
nop
nop
nop
nop
xor $48878, %rdx
lea addresses_normal_ht+0x10a53, %rsi
lea addresses_WT_ht+0x4793, %rdi
nop
nop
nop
nop
and %rbx, %rbx
mov $111, %rcx
rep movsw
nop
nop
nop
nop
sub $65219, %r15
lea addresses_A_ht+0xfd93, %rdx
nop
nop
nop
add $54900, %r15
vmovups (%rdx), %ymm4
vextracti128 $0, %ymm4, %xmm4
vpextrq $0, %xmm4, %r8
nop
sub $27069, %rcx
lea addresses_WC_ht+0x6003, %rsi
lea addresses_WC_ht+0x2e3, %rdi
nop
nop
nop
nop
nop
inc %rdx
mov $112, %rcx
rep movsw
nop
nop
add %rcx, %rcx
lea addresses_normal_ht+0x1b593, %rsi
lea addresses_D_ht+0x14393, %rdi
clflush (%rsi)
nop
nop
cmp $18356, %r15
mov $123, %rcx
rep movsb
nop
nop
nop
nop
add %r8, %r8
lea addresses_UC_ht+0x543f, %rsi
lea addresses_WC_ht+0x1793, %rdi
clflush (%rdi)
nop
nop
nop
nop
add %r14, %r14
mov $108, %rcx
rep movsb
nop
add $12037, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_UC+0x6b93, %rsi
lea addresses_PSE+0xc093, %rdi
clflush (%rsi)
nop
nop
sub %rbx, %rbx
mov $54, %rcx
rep movsb
nop
nop
nop
nop
nop
xor $42703, %r10
// Faulty Load
mov $0x71c2fd0000000793, %rsi
nop
nop
xor %r10, %r10
movups (%rsi), %xmm0
vpextrq $1, %xmm0, %rbx
lea oracles, %r12
and $0xff, %rbx
shlq $12, %rbx
mov (%r12,%rbx,1), %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_NC', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_PSE', 'congruent': 8, 'same': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_NC', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': True}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}}
{'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}}
{'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': True}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}}
{'45': 1, '3c': 1, '00': 20185, '7f': 1, '48': 736, '37': 13, '44': 767, '0c': 1, '47': 124}
00 00 00 00 00 00 47 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 47 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 44 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 47 00 00 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 44 00 48 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 47 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 47 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 47 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 47 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 47 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 47 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 48 00 00 00 00 47 00 00 00 00 00 00 00 44 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 48 00 00 00 00 00 00 00 00 00 00 00 47 00 00 48 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 33.337398 | 2,999 | 0.654432 |
45f881813ca996e3ad16f35b9e970cfae93cba76 | 626 | asm | Assembly | oeis/029/A029651.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/029/A029651.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/029/A029651.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A029651: Central elements of the (1,2)-Pascal triangle A029635.
; 1,3,9,30,105,378,1386,5148,19305,72930,277134,1058148,4056234,15600900,60174900,232676280,901620585,3500409330,13612702950,53017895700,206769793230,807386811660,3156148445580,12350146091400,48371405524650,189615909656628,743877799422156,2920409138472168,11473035901140660,45100899749311560,177396872347292136,698142529882891632,2748936211413885801,10829142651024398610,42679562212860865110,168279416724994268148,663768810415255168806,2619195846503439314748,10338930973039892031900
mov $2,$0
mul $0,2
bin $0,$2
mov $3,$0
sub $0,1
add $3,2
div $3,2
add $0,$3
| 52.166667 | 482 | 0.84984 |
9f532cd01e1d24278fe9df80b7623e85712a1eef | 116 | asm | Assembly | platforms/windows/monkc/monkc/trampoline_win64.asm | sunpaq/monkc | 284220180df879ae72a5395b95af49cb52b10930 | [
"BSD-3-Clause"
] | 13 | 2015-07-14T12:20:53.000Z | 2021-05-07T00:59:00.000Z | platforms/windows/monkc/monkc/trampoline_win64.asm | sunpaq/monkc | 284220180df879ae72a5395b95af49cb52b10930 | [
"BSD-3-Clause"
] | 2 | 2016-01-01T06:34:52.000Z | 2016-04-14T15:55:28.000Z | platforms/windows/monkc/monkc/trampoline_win64.asm | sunpaq/monkc | 284220180df879ae72a5395b95af49cb52b10930 | [
"BSD-3-Clause"
] | 3 | 2016-01-27T17:04:17.000Z | 2016-08-08T09:07:37.000Z | .CODE
_push_jump PROC
mov r11, [rcx]
cmp r11, 0
je label_ret
jmp r11
label_ret:
ret
_push_jump ENDP
END | 9.666667 | 18 | 0.689655 |
503298877b0030fa58f8430691f66573c848f959 | 14,038 | asm | Assembly | 2048/2048.asm | ssebs/xos | 8c50cb7753690ad67696131a8b9935947e1a8075 | [
"MIT"
] | 15 | 2020-05-02T22:04:24.000Z | 2021-08-31T16:56:59.000Z | 2048/2048.asm | JamesLinus/xos | 3fba0cb15e84b5f7cd08e0a29ed5f86087192d2e | [
"MIT"
] | null | null | null | 2048/2048.asm | JamesLinus/xos | 3fba0cb15e84b5f7cd08e0a29ed5f86087192d2e | [
"MIT"
] | 1 | 2019-07-20T10:10:36.000Z | 2019-07-20T10:10:36.000Z |
; 2048 Game Clone for xOS
use32
org 0x8000000 ; programs are loaded to 128 MB, drivers to 2048 MB
application_header:
.id db "XOS1" ; tell the kernel we are a valid application
.type dd 0 ; 32-bit application
.entry dd main ; entry point
.reserved0 dq 0
.reserved1 dq 0
; Window Manager Events
WM_LEFT_CLICK = 0x0001
WM_RIGHT_CLICK = 0x0002
WM_KEYPRESS = 0x0004
WM_CLOSE = 0x0008
; Scancodes for the arrow keys ;)
SCANCODE_UP = 72
SCANCODE_LEFT = 75
SCANCODE_RIGHT = 77
SCANCODE_DOWN = 80
WINDOW_WIDTH = 276
WINDOW_HEIGHT = 300
; Colors
BOARD_BG = 0xbbada0
TILE0_BG = 0xccbeb1
TILE2_BG = 0xeee4da
TILE4_BG = 0xede0c8
TILE8_BG = 0xf2b179
TILE16_BG = 0xf59563
TILE32_BG = 0xf67c5f
TILE64_BG = 0xf65e3b
TILE128_BG = 0xedcf72
TILE256_BG = 0xedcc61
TILE512_BG = 0xedc850
TILE1024_BG = 0xedc53f
TILE2048_BG = 0xedc22e
include "2048/xos.asm" ; system calls
include "2048/canvas.asm" ; window canvas manipulation
include "2048/rand.asm" ; RNG
; main:
; Game Entry Point
main:
; create window
mov ax, 192
mov bx, 180
mov si, WINDOW_WIDTH
mov di, WINDOW_HEIGHT
mov ecx, game_title
mov dx, 0
mov ebp, XOS_WM_CREATE_WINDOW
int 0x60
mov [window_handle], eax
; start_game:
; Begins a new game
start_game:
; clear the board
mov edi, board
mov eax, 0
mov ecx, 4*4
rep stosd
; reset the score
mov [score], 0
; initialize the random number generator
call rand_init
.game_loop:
; the board always starts with two numbers
call create_new_number
call create_new_number
call redraw_board
.idle:
mov ebp, XOS_YIELD
int 0x60
; wait for event
mov ebp, XOS_WM_READ_EVENT
mov eax, [window_handle]
int 0x60
test ax, WM_CLOSE
jnz end_game
test ax, WM_KEYPRESS
jnz .keypress
jmp .idle
.keypress:
call process_keypress
jmp .idle
; process_keypress:
; Processes a keypress
process_keypress:
mov ebp, XOS_READ_KEY
int 0x60
mov [.scancode], ah
mov [.character], al
cmp ah, SCANCODE_UP
je .move_up
cmp ah, SCANCODE_DOWN
je .move_down
cmp ah, SCANCODE_LEFT
je .move_left
cmp ah, SCANCODE_RIGHT
je .move_right
ret
.move_up:
call move_board_up
jmp .done
.move_down:
call move_board_down
jmp .done
.move_left:
call move_board_left
jmp .done
.move_right:
call move_board_right
.done:
call create_new_number
call redraw_board
ret
.scancode db 0
.character db 0
; move_board_down:
; Moves the board down
move_board_down:
mov ecx, 0
call move_column_down
mov ecx, 1
call move_column_down
mov ecx, 2
call move_column_down
mov ecx, 3
call move_column_down
mov ecx, 0
call add_column
mov ecx, 1
call add_column
mov ecx, 2
call add_column
mov ecx, 3
call add_column
mov ecx, 0
call move_column_down
mov ecx, 1
call move_column_down
mov ecx, 2
call move_column_down
mov ecx, 3
call move_column_down
ret
; move_board_up:
; Moves the board up
move_board_up:
mov ecx, 0
call move_column_up
mov ecx, 1
call move_column_up
mov ecx, 2
call move_column_up
mov ecx, 3
call move_column_up
mov ecx, 0
call add_column
mov ecx, 1
call add_column
mov ecx, 2
call add_column
mov ecx, 3
call add_column
mov ecx, 0
call move_column_up
mov ecx, 1
call move_column_up
mov ecx, 2
call move_column_up
mov ecx, 3
call move_column_up
ret
; move_board_left:
; Moves the board to the left
move_board_left:
mov ecx, 0
call move_row_left
mov ecx, 1
call move_row_left
mov ecx, 2
call move_row_left
mov ecx, 3
call move_row_left
mov ecx, 0
call add_row
mov ecx, 1
call add_row
mov ecx, 2
call add_row
mov ecx, 3
call add_row
mov ecx, 0
call move_row_left
mov ecx, 1
call move_row_left
mov ecx, 2
call move_row_left
mov ecx, 3
call move_row_left
ret
; move_board_right:
; Moves the board to the right
move_board_right:
mov ecx, 0
call move_row_right
mov ecx, 1
call move_row_right
mov ecx, 2
call move_row_right
mov ecx, 3
call move_row_right
mov ecx, 0
call add_row
mov ecx, 1
call add_row
mov ecx, 2
call add_row
mov ecx, 3
call add_row
mov ecx, 0
call move_row_right
mov ecx, 1
call move_row_right
mov ecx, 2
call move_row_right
mov ecx, 3
call move_row_right
ret
; add_row:
; Adds a row
; In\ ECX = Row number
; Out\ Nothing
add_row:
shl ecx, 4
mov [.row_offset],ecx
.start:
mov ecx, [.row_offset]
mov edi, board
.check0:
mov eax, [edi+ecx]
cmp eax, [edi+ecx+4]
je .add0
jmp .check1
.add0:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+4], 0
.check1:
add edi, 4
mov eax, [edi+ecx]
cmp eax, [edi+ecx+4]
je .add1
jmp .check2
.add1:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+4], 0
.check2:
add edi, 4
mov eax, [edi+ecx]
cmp eax, [edi+ecx+4]
je .add2
jmp .done
.add2:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+4], 0
.done:
ret
align 4
.row_offset dd 0
; add_column:
; Adds a column
; In\ ECX = Column number
; Out\ Nothing
add_column:
shl ecx, 2
mov [.col_offset], ecx
.start:
mov ecx, [.col_offset]
mov edi, board
.check0:
mov eax, [edi+ecx]
cmp eax, [edi+ecx+16]
je .add0
jmp .check1
.add0:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+16], 0
.check1:
add edi, 16
mov eax, [edi+ecx]
cmp eax, [edi+ecx+16]
je .add1
jmp .check2
.add1:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+16], 0
.check2:
add edi, 16
mov eax, [edi+ecx]
cmp eax, [edi+ecx+16]
je .add2
jmp .done
.add2:
shl eax, 1
add [score], eax
mov [edi+ecx], eax
mov dword[edi+ecx+16], 0
.done:
ret
align 4
.col_offset dd 0
; move_column_up:
; Moves a column up
; In\ ECX = Column number
; Out\ Nothing
move_column_up:
mov [.col], ecx
shl ecx, 2
mov [.col_offset], ecx
mov [.times], 4
.start:
mov ecx, [.col_offset]
mov edi, board
cmp dword[edi+ecx], 0
je .move_row1
.check_row2:
cmp dword[edi+ecx+16], 0
je .move_row2
.check_row3:
cmp dword[edi+ecx+32], 0
je .move_row3
jmp .done
.move_row1:
mov eax, [edi+ecx+16]
mov [edi+ecx], eax
mov dword[edi+ecx+16], 0
jmp .check_row2
.move_row2:
mov eax, [edi+ecx+32]
mov [edi+ecx+16], eax
mov dword[edi+ecx+32], 0
jmp .check_row3
.move_row3:
mov eax, [edi+ecx+48]
mov [edi+ecx+32], eax
mov dword[edi+ecx+48], 0
.done:
dec [.times]
cmp [.times], 0
jne .start
ret
align 4
.col dd 0
.col_offset dd 0
.times dd 4
; move_column_down:
; Moves a column down
; In\ ECX = Column number
; Out\ Nothing
move_column_down:
mov [.col], ecx
shl ecx, 2
mov [.col_offset], ecx
mov [.times], 4
.start:
mov ecx, [.col_offset]
mov edi, board
cmp dword[edi+ecx+48], 0
je .move_row1
.check_row2:
cmp dword[edi+ecx+32], 0
je .move_row2
.check_row3:
cmp dword[edi+ecx+16], 0
je .move_row3
jmp .done
.move_row1:
mov eax, [edi+ecx+32]
mov [edi+ecx+48], eax
mov dword[edi+ecx+32], 0
jmp .check_row2
.move_row2:
mov eax, [edi+ecx+16]
mov [edi+ecx+32], eax
mov dword[edi+ecx+16], 0
jmp .check_row3
.move_row3:
mov eax, [edi+ecx]
mov [edi+ecx+16], eax
mov dword[edi+ecx], 0
.done:
dec [.times]
cmp [.times], 0
jne .start
ret
align 4
.col dd 0
.col_offset dd 0
.times dd 4
; move_row_left:
; Moves a row to the left
; In\ ECX = Row number
; Out\ Nothing
move_row_left:
shl ecx, 4 ; mul 16
mov [.row_offset], ecx
mov [.times], 4
.start:
mov ecx, [.row_offset]
mov edi, board
.loop:
cmp dword[edi+ecx], 0
je .move_column1
.check_column2:
cmp dword[edi+ecx+4], 0
je .move_column2
.check_column3:
cmp dword[edi+ecx+8], 0
je .move_column3
jmp .done
.move_column1:
mov eax, [edi+ecx+4]
mov [edi+ecx], eax
mov dword[edi+ecx+4], 0
jmp .check_column2
.move_column2:
mov eax, [edi+ecx+8]
mov [edi+ecx+4], eax
mov dword[edi+ecx+8], 0
jmp .check_column3
.move_column3:
mov eax, [edi+ecx+12]
mov [edi+ecx+8], eax
mov dword[edi+ecx+12], 0
.done:
dec [.times]
cmp [.times], 0
jne .start
ret
align 4
.row_offset dd 0
.times dd 4
; move_row_right:
; Moves a row to the right
; In\ ECX = Row number
; Out\ Nothing
move_row_right:
shl ecx, 4 ; mul 16
mov [.row_offset], ecx
mov [.times], 4
.start:
mov ecx, [.row_offset]
mov edi, board
.loop:
cmp dword[edi+ecx+12], 0
je .move_column1
.check_column2:
cmp dword[edi+ecx+8], 0
je .move_column2
.check_column3:
cmp dword[edi+ecx+4], 0
je .move_column3
jmp .done
.move_column1:
mov eax, [edi+ecx+8]
mov [edi+ecx+12], eax
mov dword[edi+ecx+8], 0
jmp .check_column2
.move_column2:
mov eax, [edi+ecx+4]
mov [edi+ecx+8], eax
mov dword[edi+ecx+4], 0
jmp .check_column3
.move_column3:
mov eax, [edi+ecx]
mov [edi+ecx+4], eax
mov dword[edi+ecx], 0
.done:
dec [.times]
cmp [.times], 0
jne .start
ret
align 4
.row_offset dd 0
.times dd 4
; end_game:
; Quits the game
end_game:
mov ebp, XOS_TERMINATE
int 0x60
; create_new_number:
; Creates a new number in the board
create_new_number:
; first check if there are any free slots
mov ecx, 0
mov edi, board
.loop:
cmp dword[edi], 0
je .okay
inc ecx
add edi, 4
cmp ecx, 15
jg .ret
jmp .loop
.okay:
call rand
cmp eax, 15
jg .okay
shl eax, 2 ; mul 4
mov edi, board
add edi, eax
cmp dword[edi], 0
jne .okay
mov dword[edi], 2
ret
.ret:
ret
; redraw_board:
; Redraws the board
redraw_board:
mov ax, 0
mov bx, 0
mov si, WINDOW_WIDTH
mov di, WINDOW_HEIGHT
mov edx, BOARD_BG
call fill_rect
; draw each number in the board
mov ecx, 0
.loop:
push ecx
call redraw_number
pop ecx
inc ecx
cmp ecx, 15
jle .loop
.done:
mov ebx, 0
mov esi, score_text
mov cx, 4
mov dx, 276
call draw_text
mov eax, [score]
call int_to_string
mov ebx, 0
mov cx, (7*8)+4
mov dx, 276
call draw_text
; request a redraw
mov ebp, XOS_WM_REDRAW
int 0x60
ret
; redraw_number:
; Redraws one number
; In\ ECX = 0-based board position
; Out\ Nothing
redraw_number:
mov [.number], ecx
cmp ecx, 15
jg .done
; determine the y pos
cmp ecx, 3
jle .y_zero
cmp ecx, 7
jle .y_one
cmp ecx, 11
jle .y_two
cmp ecx, 15
jle .y_three
.y_zero:
mov [.y], 4
jmp .find_x
.y_one:
mov [.y], 4+64+4
sub ecx, 4
jmp .find_x
.y_two:
mov [.y], 4+64+4+64+4
sub ecx, 8
jmp .find_x
.y_three:
mov [.y], 4+64+4+64+4+64+4
sub ecx, 12
.find_x:
cmp ecx, 0
je .x_zero
cmp ecx, 1
je .x_one
cmp ecx, 2
je .x_two
cmp ecx, 3
je .x_three
.x_zero:
mov [.x], 4
jmp .draw
.x_one:
mov [.x], 4+64+4
jmp .draw
.x_two:
mov [.x], 4+64+4+64+4
jmp .draw
.x_three:
mov [.x], 4+64+4+64+4+64+4
.draw:
mov ecx, [.number]
shl ecx, 2 ; mul 4
add ecx, board
mov ecx, [ecx] ; actual number
mov ax, [.x]
mov bx, [.y]
mov si, 64
mov di, 64
cmp ecx, 0
je .draw0
cmp ecx, 2
je .draw2
cmp ecx, 4
je .draw4
cmp ecx, 8
je .draw8
cmp ecx, 16
je .draw16
cmp ecx, 32
je .draw32
cmp ecx, 64
je .draw64
cmp ecx, 128
je .draw128
cmp ecx, 256
je .draw256
cmp ecx, 512
je .draw512
cmp ecx, 1024
je .draw1024
cmp ecx, 2048
je .draw2048
jmp .done
.draw0:
mov edx, TILE0_BG
call fill_rect
jmp .done
.draw2:
mov edx, TILE2_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-4
add dx, 32-8
mov ebx, 0
mov esi, string2
call draw_text
jmp .done
.draw4:
mov edx, TILE4_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-4
add dx, 32-8
mov ebx, 0
mov esi, string4
call draw_text
jmp .done
.draw8:
mov edx, TILE8_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-4
add dx, 32-8
mov ebx, 0
mov esi, string8
call draw_text
jmp .done
.draw16:
mov edx, TILE16_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-8
add dx, 32-8
mov ebx, 0
mov esi, string16
call draw_text
jmp .done
.draw32:
mov edx, TILE32_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-8
add dx, 32-8
mov ebx, 0
mov esi, string32
call draw_text
jmp .done
.draw64:
mov edx, TILE64_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-8
add dx, 32-8
mov ebx, 0
mov esi, string64
call draw_text
jmp .done
.draw128:
mov edx, TILE128_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-12
add dx, 32-8
mov ebx, 0
mov esi, string128
call draw_text
jmp .done
.draw256:
mov edx, TILE256_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-12
add dx, 32-8
mov ebx, 0
mov esi, string256
call draw_text
jmp .done
.draw512:
mov edx, TILE512_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-12
add dx, 32-8
mov ebx, 0
mov esi, string512
call draw_text
jmp .done
.draw1024:
mov edx, TILE1024_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-16
add dx, 32-8
mov ebx, 0
mov esi, string1024
call draw_text
jmp .done
.draw2048:
mov edx, TILE2048_BG
call fill_rect
mov cx, [.x]
mov dx, [.y]
add cx, 32-16
add dx, 32-8
mov ebx, 0
mov esi, string2048
call draw_text
jmp .done
.done:
ret
align 4
.number dd 0
.y dw 0
.x dw 0
; int_to_string:
; Converts an unsigned integer to a string
; In\ EAX = Integer
; Out\ ESI = ASCIIZ string
int_to_string:
push eax
mov [.counter], 10
mov edi, .string
mov ecx, 10
mov eax, 0
rep stosb
mov esi, .string
add esi, 9
pop eax
.loop:
cmp eax, 0
je .done2
mov ebx, 10
mov edx, 0
div ebx
add dl, 48
mov byte[esi], dl
dec esi
sub byte[.counter], 1
cmp byte[.counter], 0
je .done
jmp .loop
.done:
mov esi, .string
ret
.done2:
cmp byte[.counter], 10
je .zero
mov esi, .string
.find_string_loop:
lodsb
cmp al, 0
jne .found_string
jmp .find_string_loop
.found_string:
dec esi
ret
.zero:
mov edi, .string
mov al, '0'
stosb
mov al, 0
stosb
mov esi, .string
ret
.string: times 11 db 0
.counter db 0
; Data
align 4
board:
dd 0,0,0,0
dd 0,0,0,0
dd 0,0,0,0
dd 0,0,0,0
align 4
window_handle dd 0
score dd 0
game_title db "2048",0
string2 db "2",0
string4 db "4",0
string8 db "8",0
string16 db "16",0
string32 db "32",0
string64 db "64",0
string128 db "128",0
string256 db "256",0
string512 db "512",0
string1024 db "1024",0
string2048 db "2048",0
score_text db "Score: ",0
| 12.68112 | 66 | 0.666904 |
34bde6f541253f4b16ca53e74725444c3e7cff52 | 693 | asm | Assembly | MdePkg/Library/BaseLib/Arm/EnableInterrupts.asm | KaoTuz/edk2-stable202108 | 49d9306e7bf64b2f07d8473be1f2faea49d0a012 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 9 | 2021-07-26T17:02:51.000Z | 2021-12-30T10:49:46.000Z | MdePkg/Library/BaseLib/Arm/EnableInterrupts.asm | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | MdePkg/Library/BaseLib/Arm/EnableInterrupts.asm | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | ;------------------------------------------------------------------------------
;
; EnableInterrupts() for ARM
;
; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
;------------------------------------------------------------------------------
EXPORT EnableInterrupts
AREA Interrupt_enable, CODE, READONLY
;/**
; Enables CPU interrupts.
;
;**/
;VOID
;EFIAPI
;EnableInterrupts (
; VOID
; );
;
EnableInterrupts
MRS R0,CPSR
BIC R0,R0,#0x80 ;Enable IRQ interrupts
MSR CPSR_c,R0
BX LR
END
| 21.65625 | 79 | 0.493506 |
2b0dd6bc49c16788e7ad0f26cb7fbf146e87861f | 1,991 | asm | Assembly | ArmPlatformPkg/PrePeiCore/Arm/Exception.asm | KaoTuz/edk2-stable202108 | 49d9306e7bf64b2f07d8473be1f2faea49d0a012 | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | 9 | 2021-07-26T17:02:51.000Z | 2021-12-30T10:49:46.000Z | ArmPlatformPkg/PrePeiCore/Arm/Exception.asm | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | ArmPlatformPkg/PrePeiCore/Arm/Exception.asm | ESdove/edk2_exploring | 34ff32b45f43d233d9696e7c8e3de68ea3000a7b | [
"Python-2.0",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-3-Clause"
] | null | null | null | //
// Copyright (c) 2011, ARM Limited. All rights reserved.
//
// SPDX-License-Identifier: BSD-2-Clause-Patent
//
//
#include <AutoGen.h>
IMPORT PeiCommonExceptionEntry
EXPORT PeiVectorTable
PRESERVE8
AREA PrePeiCoreException, CODE, READONLY, CODEALIGN, ALIGN=5
//============================================================
//Default Exception Handlers
//============================================================
PeiVectorTable
b _DefaultResetHandler
b _DefaultUndefined
b _DefaultSWI
b _DefaultPrefetchAbort
b _DefaultDataAbort
b _DefaultReserved
b _DefaultIrq
b _DefaultFiq
//
// Default Exception handlers: There is no plan to return from any of these exceptions.
// No context saving at all.
//
_DefaultResetHandler
mov r1, lr
cps #0x13 ; Switch to SVC for common stack
mov r0, #0
blx PeiCommonExceptionEntry
_DefaultUndefined
sub r1, LR, #4
cps #0x13 ; Switch to SVC for common stack
mov r0, #1
blx PeiCommonExceptionEntry
_DefaultSWI
sub r1, LR, #4
cps #0x13 ; Switch to SVC for common stack
mov r0, #2
blx PeiCommonExceptionEntry
_DefaultPrefetchAbort
sub r1, LR, #4
cps #0x13 ; Switch to SVC for common stack
mov r0, #3
blx PeiCommonExceptionEntry
_DefaultDataAbort
sub r1, LR, #8
cps #0x13 ; Switch to SVC for common stack
mov r0, #4
blx PeiCommonExceptionEntry
_DefaultReserved
mov r1, lr
cps #0x13 ; Switch to SVC for common stack
mov r0, #5
blx PeiCommonExceptionEntry
_DefaultIrq
sub r1, LR, #4
cps #0x13 ; Switch to SVC for common stack
mov r0, #6
blx PeiCommonExceptionEntry
_DefaultFiq
sub r1, LR, #4
cps #0x13 ; Switch to SVC for common stack
mov r0, #7
blx PeiCommonExceptionEntry
END
| 23.702381 | 87 | 0.583124 |
8b31ed1bbce89a9bf55c64f0319b7a29182177a7 | 583 | asm | Assembly | Working Disassembly/Levels/Misc/Anim - Animated Still Sprites.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | 5 | 2021-07-09T08:17:56.000Z | 2022-02-27T19:57:47.000Z | Working Disassembly/Levels/Misc/Anim - Animated Still Sprites.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Working Disassembly/Levels/Misc/Anim - Animated Still Sprites.asm | TeamASM-Blur/Sonic-3-Blue-Balls-Edition | 7e8a2c5df02271615ff4cae529521e6b1560d6b1 | [
"Apache-2.0"
] | null | null | null | Ani_2BF9C: dc.w byte_2BFAC-Ani_2BF9C
dc.w byte_2BFB3-Ani_2BF9C
dc.w byte_2BFB9-Ani_2BF9C
dc.w byte_2BFBD-Ani_2BF9C
dc.w byte_2BFC2-Ani_2BF9C
dc.w byte_2BFC8-Ani_2BF9C
dc.w byte_2BFCE-Ani_2BF9C
dc.w byte_2BFD4-Ani_2BF9C
byte_2BFAC: dc.b 3, 0, 1, 2, 3, 4, $FF
byte_2BFB3: dc.b 3, 5, 6, 7, 8, $FF
byte_2BFB9: dc.b 7, 9, $A, $FF
byte_2BFBD: dc.b 4, $B, $C, $D, $FF
byte_2BFC2: dc.b 7, $E, $F, $10, $11, $FF
byte_2BFC8: dc.b 7, $12, $13, $14, $15, $FF
byte_2BFCE: dc.b 7, $16, $17, $18, $19, $FF
byte_2BFD4: dc.b 7, $1A, $1B, $1C, $1D, $FF
| 34.294118 | 48 | 0.61235 |
453aab067401191efe9840630c9e17f4c2014564 | 1,721 | asm | Assembly | asm/ooe_room_test.asm | Iemnur/DSVEdit | 1f52feb6de8a47c7d223a17d739e69bb40aedd3f | [
"MIT"
] | 70 | 2017-02-25T15:06:47.000Z | 2022-03-16T03:05:35.000Z | asm/ooe_room_test.asm | Iemnur/DSVEdit | 1f52feb6de8a47c7d223a17d739e69bb40aedd3f | [
"MIT"
] | 58 | 2017-03-12T21:34:50.000Z | 2022-01-31T17:22:36.000Z | asm/ooe_room_test.asm | Iemnur/DSVEdit | 1f52feb6de8a47c7d223a17d739e69bb40aedd3f | [
"MIT"
] | 26 | 2017-03-04T16:35:13.000Z | 2021-11-24T20:52:19.000Z | .nds
.relativeinclude on
.erroronwarning on
.open "ftc/overlay9_20", 021FFFC0h
.org 0x022132F8 ; Code run for the intro logos.
push r1, r14
mov r0, 1h
ldr r1, =021007D5h
strb r0, [r1] ; Set this to 1 (loading a save) so equipment stays equipped.
; Load the save file.
mov r0, 0h ; Save file 0.
ldr r1, =02100144h
bl 0202C610h
; Set the game state to 08 (ingame).
mov r0, 8h
mov r1, 10h
mov r2, 1h
bl 0202D7A0h
ldr r1, =021006C0h
; Set the area, sector, and room indexes.
mov r2, 01h
strb r2, [r1, 0Ch] ; Area index, 021006CC
mov r0, 02h
strb r0, [r1, 0Dh] ; Sector index, 021006CD
mov r0, 07h
strb r0, [r1, 0Eh] ; Room index, 021006CE
; Next set the x,y position in the room (default is 80,60).
; The reason for the extra 1 subpixel is so the assembler doesn't optimize these ldr statements into mov statements. If it did that then DSVEdit couldn't change the position at runtime.
ldr r0, =80001h
str r0, [r1, 00h] ; X pos, 021006C0
ldr r0, =60001h
str r0, [r1, 04h] ; Y pos, 021006C4
cmp r2, 1h ; Check if area is Wygol or not.
ldr r1, =0210078Dh
ldrb r0, [r1] ; Load top screen from save file.
bne @NotInWygol
@InWygol:
cmp r0, 5h
moveq r0, 8h ; If the save file had the normal map, set it to Wygol map.
streqb r0, [r1] ; Store it back to 0210078D in case the player spawns in a warp room.
b @AfterWygol
@NotInWygol:
cmp r0, 8h
moveq r0, 5h ; If the save file had the Wygol map, set it to the normal map.
streqb r0, [r1] ; Store it back to 0210078D in case the player spawns in a warp room.
@AfterWygol:
mov r1, 10h
mov r2, 1h
bl 020657F8h ; Change the top screen to that value.
pop r1, r15
.pool
.close
| 29.672414 | 187 | 0.671121 |
2424ebed9d96f6acdb9ddc7405b2b722556e90dc | 647 | asm | Assembly | oeis/066/A066033.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/066/A066033.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/066/A066033.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A066033: Alternating sum of primes: a(1) = A000040(1) = 2 and a(n) = a(n-1) + A000040(n)*(-1)^n for n > 1.
; Submitted by Christian Krause
; 2,5,0,7,-4,9,-8,11,-12,17,-14,23,-18,25,-22,31,-28,33,-34,37,-36,43,-40,49,-48,53,-50,57,-52,61,-66,65,-72,67,-82,69,-88,75,-92,81,-98,83,-108,85,-112,87,-124,99,-128,101,-132,107,-134,117,-140,123,-146,125,-152,129,-154,139,-168,143,-170,147,-184,153,-194,155,-198,161,-206,167,-212,171,-218,179,-222,187,-232,189,-242,191,-248,195,-254,203,-258,205,-262,217,-270,221,-278,225,-284,237,-286,255
lpb $0
mov $2,$0
sub $0,1
seq $2,273960 ; a(n) = (-1)^n*prime(n).
add $1,$2
lpe
add $1,2
mov $0,$1
| 49.769231 | 397 | 0.601236 |
27e2f969fea63c1249c9733bb3f406d48eddbf6e | 504 | asm | Assembly | imports/latex.asm | Idorobots/asm | 37ebdef318ef7fc01b8e55a50baac57f74ddbe38 | [
"MIT"
] | 2 | 2017-03-02T20:24:31.000Z | 2020-03-26T03:20:12.000Z | imports/latex.asm | Idorobots/asm | 37ebdef318ef7fc01b8e55a50baac57f74ddbe38 | [
"MIT"
] | null | null | null | imports/latex.asm | Idorobots/asm | 37ebdef318ef7fc01b8e55a50baac57f74ddbe38 | [
"MIT"
] | null | null | null | ## ASM LaTeX module.
(function LaTeX (arg)
(append "$$" (stringof arg) "$$"))
(macro LaTeX-block (name @tuple args)
`(lambda (arg)
(append $(append "\\begin{" (stringof name) "}\n")
(stringof arg)
$(append "\\end{" (stringof name) "}"))))
(var \equation (LaTeX-block equation))
(var \equation* (LaTeX-block equation*))
(var \eqn \equation)
(var \eqn* \equation*)
(var \eqnarray (LaTeX-block eqnarray))
(var \eqnarray* (LaTeX-block eqnarray*))
(var \LaTeX "\\LaTeX") | 26.526316 | 55 | 0.60119 |
b029c84780ce772611cb45d8b9754756c1cd2592 | 594 | asm | Assembly | oeis/121/A121671.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/121/A121671.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/121/A121671.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A121671: Real part of (1 + n*i)^5.
; 1,-4,41,316,1121,2876,6121,11516,19841,31996,49001,71996,102241,141116,190121,250876,325121,414716,521641,647996,796001,967996,1166441,1393916,1653121,1946876,2278121,2649916,3065441,3527996,4041001,4607996,5232641,5918716,6670121,7490876,8385121,9357116,10411241,11551996,12784001,14111996,15540841,17075516,18721121,20482876,22366121,24376316,26519041,28799996,31225001,33799996,36531041,39424316,42486121,45722876,49141121,52747516,56548841,60551996,64764001,69191996,73843241,78725116,83845121
pow $0,2
mov $1,$0
sub $0,2
mul $0,$1
mul $0,5
add $0,1
| 59.4 | 499 | 0.813131 |
6086936ce789f854b51fd6a9137defcf898da982 | 1,733 | asm | Assembly | src/avr/assignment-7/7-C-AVR.asm | klaussinani/microcomputer-assembly | e33c5a8ed2986e5be660f69631da62f15e656aef | [
"MIT"
] | 9 | 2019-07-31T13:26:50.000Z | 2021-12-15T12:41:27.000Z | src/avr/assignment-7/7-C-AVR.asm | klaussinani/microcomputer-assembly | e33c5a8ed2986e5be660f69631da62f15e656aef | [
"MIT"
] | null | null | null | src/avr/assignment-7/7-C-AVR.asm | klaussinani/microcomputer-assembly | e33c5a8ed2986e5be660f69631da62f15e656aef | [
"MIT"
] | 1 | 2021-07-14T08:35:42.000Z | 2021-07-14T08:35:42.000Z | .include "m16def.inc"
.def temp=r16
.def mule=r17
.def clock_h=r18
.def clock_l=r19
.def leds=r20
.def first_time=r15
.org 0x00
jmp main ;; HANDLER RESET
.org 0x02
jmp ISR0
.org 0x10
jmp timer1_rout
main:
ldi temp,high(RAMEND)
out SPH,temp
ldi temp,low(RAMEND)
out SPL,temp ;; INITIALIZE STACK
ldi r24 ,( 1 << ISC01) | ( 1 << ISC00)
out MCUCR, r24
ldi r24 ,( 1 << INT0)
out GICR, r24
ldi temp,0x05 ;; DIVISOR OF FRQNC == 1024
out TCCR1B,temp
ldi temp,0x04 ;; TIMER1 ENABLING
out TIMSK,temp
sei
out DDRD,temp
ser temp
ser temp
out DDRA,temp
clr first_time
ldi clock_h,0xa4
;; 0xA472 = 0d42098 = 65536 - 3 * 7812.5
;; WITH 7812.5Hz = CYCLES/SEC = 8 MHz / 1024
ldi clock_l,0x72
ldi leds,0x80
loop:
in mule,PINB ;; PORTB INPUT
sbrs mule,0 ;; PB0 == 1 THEN EXIT
rjmp loop
cpi first_time,1
bne con
ldi temp,0xFF
out PORTA,temp
ldi r24,low(500)
ldi r25,high(500)
rcall wait_msec
con:
ldi first_time,1
out PORTA,leds ;; PB0 LED ON
out TCNT1H,clock_h;; 3 SECONDS
out TCNT1L,clock_l
rjmp loop
ISR0:
rcall protect
push r26
in r26, SREG
push r26
cpi first_time,1
bne con1
ldi temp,0xFF ;; LIGHT UP IN CASE OF REFRESH
out PORTA,temp
ldi r24,low(500)
ldi r25,high(500)
rcall wait_msec
con1:
ldi first_time,1
out PORTA,leds ;; TURN LED ON
out TCNT1H,clock_h ;; CLOCK RESETTING
out TCNT1L,clock_l
pop r26
out SREG, r26
pop r26
sei
reti
timer1_rout:
clr leds
out PORTA,leds ;; TURN LIGHTS OFF ON
;; OVERFLOW
ldi leds,0x80
ldi first_time,0
sei
reti
wait_usec:
sbiw r24 ,1
nop
nop
nop
nop
brne wait_usec
ret
wait_msec:
push r24
push r25
ldi r24 , 0xe6
ldi r25 , 0x03
rcall wait_usec
pop r25
pop r24
sbiw r24 , 1
brne wait_msec
ret
protect:
ldi temp,0x40
out GIFR,temp
ldi r24,0x05
ldi r25,0x00
rcall wait_msec
in temp,GIFR
sbrc temp,6
rjmp protect
ret
| 15.201754 | 44 | 0.744374 |
32440247d141c0d775da7b88e80ab6abceb18b70 | 1,136 | asm | Assembly | lib/player/freq/_ntsc.asm | munshkr/gakuon | dcd07cd2fe664cbeef54d16a02b34198c7470102 | [
"Apache-2.0"
] | 3 | 2018-07-23T20:19:14.000Z | 2020-05-14T14:45:09.000Z | lib/player/freq/_ntsc.asm | munshkr/gakuon | dcd07cd2fe664cbeef54d16a02b34198c7470102 | [
"Apache-2.0"
] | 12 | 2016-08-07T21:56:00.000Z | 2016-12-25T21:02:07.000Z | lib/player/freq/_ntsc.asm | munshkr/gakuon | dcd07cd2fe664cbeef54d16a02b34198c7470102 | [
"Apache-2.0"
] | null | null | null | ;; Frequency table for NTSC
;;
freq_lo:
; C C# D D# E F F# G G# A A# B
.byte $0c,$1c,$2d,$3f,$52,$66,$7b,$92,$aa,$c3,$de,$fa ; 1
.byte $18,$38,$5a,$7e,$a4,$cc,$f7,$24,$54,$86,$bc,$f5 ; 2
.byte $31,$71,$b5,$fc,$48,$98,$ee,$48,$a9,$0d,$79,$ea ; 3
.byte $62,$e2,$6a,$f8,$90,$30,$dc,$90,$52,$1a,$f2,$d4 ; 4
.byte $c4,$c4,$d4,$f0,$20,$60,$b8,$20,$a4,$34,$e4,$a8 ; 5
.byte $88,$88,$a8,$e0,$40,$c0,$70,$40,$48,$68,$c8,$50 ; 6
.byte $10,$10,$50,$c0,$80,$80,$e0,$80,$90,$d0,$90,$a0 ; 7
.byte $20,$20,$a0,$80,$00,$00,$c0,$00,$20,$a0,$20,$40 ; 8
freq_hi:
; C C# D D# E F F# G G# A A# B
.byte $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$01 ; 1
.byte $02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03 ; 2
.byte $04,$04,$04,$04,$05,$05,$05,$06,$06,$07,$07,$07 ; 3
.byte $08,$08,$09,$09,$0a,$0b,$0b,$0c,$0d,$0e,$0e,$0f ; 4
.byte $10,$11,$12,$13,$15,$16,$17,$19,$1a,$1c,$1d,$1f ; 5
.byte $21,$23,$25,$27,$2a,$2c,$2f,$32,$35,$38,$3b,$3f ; 6
.byte $43,$47,$4b,$4f,$54,$59,$5e,$64,$6a,$70,$77,$7e ; 7
.byte $86,$8e,$96,$9f,$a9,$b3,$bd,$c9,$d5,$e1,$ef,$fd ; 8
| 47.333333 | 60 | 0.460387 |
3df3e001e165fb45af379f211c644d8b5f18b577 | 705 | asm | Assembly | oeis/219/A219233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/219/A219233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/219/A219233.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A219233: Alternating row sums of Riordan triangle A110162.
; Submitted by Jamie Morken(s3)
; 1,-3,7,-18,47,-123,322,-843,2207,-5778,15127,-39603,103682,-271443,710647,-1860498,4870847,-12752043,33385282,-87403803,228826127,-599074578,1568397607,-4106118243,10749957122,-28143753123,73681302247,-192900153618,505019158607,-1322157322203,3461452808002,-9062201101803,23725150497407,-62113250390418,162614600673847,-425730551631123,1114577054219522,-2918000611027443,7639424778862807,-20000273725560978,52361396397820127,-137083915467899403,358890350005878082,-939587134549734843
mov $2,-1
pow $2,$0
mul $0,2
seq $0,178766 ; Values of gcd(Fibonacci(n), Fibonacci(n+1)+1) sorted with no repeats.
mul $0,$2
| 70.5 | 485 | 0.812766 |
3c2a959af9ba6419a8608946fe92dfd778241fd2 | 6,858 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_975.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_0xa0.log_21829_975.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_0xa0.log_21829_975.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 %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x13a9f, %r12
nop
cmp %rcx, %rcx
vmovups (%r12), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %r15
nop
sub $52601, %r12
lea addresses_normal_ht+0x9bdf, %rax
nop
cmp %rcx, %rcx
mov (%rax), %r14
nop
nop
nop
sub %r15, %r15
lea addresses_normal_ht+0x1c35f, %rsi
lea addresses_normal_ht+0x3b5f, %rdi
clflush (%rsi)
nop
nop
and %rdx, %rdx
mov $68, %rcx
rep movsq
nop
nop
dec %rdi
lea addresses_A_ht+0x8d4f, %rsi
lea addresses_normal_ht+0xb61, %rdi
clflush (%rdi)
add $1846, %r12
mov $31, %rcx
rep movsw
nop
nop
nop
nop
nop
dec %rcx
lea addresses_WC_ht+0x1475f, %rsi
lea addresses_normal_ht+0xc57f, %rdi
nop
cmp $36723, %rax
mov $120, %rcx
rep movsl
nop
nop
nop
xor %rax, %rax
lea addresses_D_ht+0xf35f, %rdx
nop
nop
nop
nop
cmp %r14, %r14
mov $0x6162636465666768, %rdi
movq %rdi, %xmm1
vmovups %ymm1, (%rdx)
nop
nop
nop
nop
and %r14, %r14
lea addresses_D_ht+0x10c4b, %r15
nop
add $24308, %rax
mov (%r15), %dx
nop
nop
and %r12, %r12
lea addresses_UC_ht+0x13f5f, %rcx
nop
nop
nop
nop
nop
and %r15, %r15
movups (%rcx), %xmm3
vpextrq $0, %xmm3, %r14
nop
nop
nop
sub %rdi, %rdi
lea addresses_UC_ht+0x1b85f, %rsi
lea addresses_A_ht+0xfd5f, %rdi
nop
add %r14, %r14
mov $90, %rcx
rep movsq
nop
nop
nop
nop
cmp $30879, %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r9
push %rax
push %rdi
push %rdx
push %rsi
// Store
lea addresses_normal+0x18adf, %rdx
clflush (%rdx)
nop
cmp $22310, %r13
mov $0x5152535455565758, %rax
movq %rax, (%rdx)
nop
nop
nop
nop
nop
cmp $22453, %rsi
// Store
lea addresses_UC+0xfc2f, %rdx
clflush (%rdx)
xor %rdi, %rdi
movb $0x51, (%rdx)
nop
xor $52406, %r11
// Faulty Load
lea addresses_RW+0xb5f, %r13
nop
and %rdx, %rdx
mov (%r13), %r11w
lea oracles, %r13
and $0xff, %r11
shlq $12, %r11
mov (%r13,%r11,1), %r11
pop %rsi
pop %rdx
pop %rdi
pop %rax
pop %r9
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_normal', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_UC', 'AVXalign': False, 'size': 1}}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_RW', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'src': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_normal_ht'}}
{'src': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': True, 'congruent': 1, 'type': 'addresses_normal_ht'}}
{'src': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_normal_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32}}
{'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}}
{'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
*/
| 36.870968 | 2,999 | 0.658938 |
5f872586cfb2a8034c81a2029f47bf272c720a27 | 56,395 | asm | Assembly | game.asm | AbdullahNaveed/Dino-Game-Assembly-Language | 490f3faf029e9b3d7e7cb9e961a23543c6415ad5 | [
"MIT"
] | 3 | 2021-07-13T09:35:10.000Z | 2021-08-15T16:52:30.000Z | game.asm | AbdullahNaveed/Dino-Game-Assembly-Language | 490f3faf029e9b3d7e7cb9e961a23543c6415ad5 | [
"MIT"
] | null | null | null | game.asm | AbdullahNaveed/Dino-Game-Assembly-Language | 490f3faf029e9b3d7e7cb9e961a23543c6415ad5 | [
"MIT"
] | null | null | null | ; Author: Abdullah Naveed
.model small
.stack 100h
.data
playGame db "Play Game"
instructions db "Instructions"
exitStatement db "Exit"
goodBye db "GOOD BYE :)"
Dino DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333366666333333'
DB '3333333333333333333333333333333333333366664E66CC33'
DB '3333333333333333333333333333333333333666CCCCCCCC63'
DB '333333333333333333333333333333333333666CCC4F4CCCC3'
DB '3333333333333333333333333333333366666C6CCCC4F3F3F3'
DB '33333333333333333333333333333336666C6CCCCCCCC43F33'
DB '333333333333333333333333336666666C6CCCCC63CCCCCC33'
DB '33333333333333333333333336666C66C6CCCCC633333CCC33'
DB '33333333333333333333336666666666CCCCCCC33333333333'
DB '333333333333333333336666C6C66666CCC666CC3333333333'
DB '333333666333333333666C6C6CCC6666CCC6666C6333333333'
DB '333366CCC666666666C6CCCCCCCCC6666C6633636333333333'
DB '3336CCCCCCCCCCCC6C6CCCCCC6CCCC666C6333636333333333'
DB '336C333333CCCCCCCCCCCCCCCC6CCC666C3333333333333333'
DB '36C3333333333666CCCC66666666CC66663333333333333333'
DB '3C3333333333333366663333336CC666663333333333333333'
DB '33333333333333333333333333CC666C663333333333333333'
DB '3333333333333333333333333CC666C6633333333333333333'
DB '333333333333333333333333CC663CC6633333333333333333'
DB '333333333333333333333333C6633C66333333333333333333'
DB '333333333333333333333333C6633C66C33333333333333333'
DB '333333333333333333333333C6633366C33333333333333333'
DB '333333333333333333333333C66333366C3333333333333333'
DB '3333333333333333333333336666F33666CF33333333333333'
DB '333333333333333333333333366FFF3666FFF3333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
duckDino DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333366666333333'
DB '3333333333333333333333333333333333333366664E66CC33'
DB '3333333333333333333333333333333333333666CCCCCCCC63'
DB '333333333333333333333333333333333333666CCC4F4CCCC3'
DB '3333333333333333333333333333333366666C6CCCC4F3F3F3'
DB '33333333333333333333333333333336666C6CCCCCCCC43F33'
DB '333333333333333333333333336666666C6CCCCC63CCCCCC33'
DB '33333333333333333333333336666C66C6CCCCC633333CCC33'
DB '33333333333333333333336666666666CCCCCCC33333333333'
DB '333333333333333333336666C6C66666CCC666CC3333333333'
DB '333333666333333333666C6C6CCC6666CCC6666C6333333333'
DB '333366CCC666666666C6CCCCCCCCC6666C6633636333333333'
DB '3336CCCCCCCCCCCC6C6CCCCCC6CCCC666C6333636333333333'
DB '336C333333CCCCCCCCCCCCCCCC6CCC666C3333333333333333'
DB '36C3333333333666CCCC66666666CC66663333333333333333'
DB '3C3333333333333366663333336CC666663333333333333333'
DB '33333333333333333333333333CC666C663333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
Dino1 DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333366666333333'
DB '3333333333333333333333333333333333333366664E66CC33'
DB '3333333333333333333333333333333333333666CCCCCCCC63'
DB '333333333333333333333333333333333333666CCC4F4CCCC3'
DB '3333333333333333333333333333333366666C6CCCC4F3F3F3'
DB '33333333333333333333333333333336666C6CCCCCCCC43F33'
DB '333333333333333333333333336666666C6CCCCC63CCCCCC33'
DB '33333333333333333333333336666C66C6CCCCC633333CCC33'
DB '33333333333333333333336666666666CCCCCCC33333333333'
DB '333333333333333333336666C6C66666CCC666CC3333333333'
DB '333333666333333333666C6C6CCC6666CCC6666C6333333333'
DB '333366CCC666666666C6CCCCCCCCC6666C6633636333333333'
DB '3336CCCCCCCCCCCC6C6CCCCCC6CCCC666C6333636333333333'
DB '336C333333CCCCCCCCCCCCCCCC6CCC666C3333333333333333'
DB '36C3333333333666CCCC66666666CC66663333333333333333'
DB '3C3333333333333366663333336CC666663333333333333333'
DB '33333333333333333333333333CC666C663333333333333333'
DB '3333333333333333333333333CC666C6633333333333333333'
DB '333333333333333333333333CC663CC6633333333333333333'
DB '333333333333333333333333C663333C666C33333333333333'
DB '333333333333333333333333C6633333C66CF3333333333333'
DB '333333333333333333333333C66333333666FFF33333333333'
DB '333333333333333333333333C6633333333333333333333333'
DB '3333333333333333333333336666F333333333333333333333'
DB '333333333333333333333333366FFF33333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
Dino2 DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333366666333333'
DB '3333333333333333333333333333333333333366664E66CC33'
DB '3333333333333333333333333333333333333666CCCCCCCC63'
DB '333333333333333333333333333333333333666CCC4F4CCCC3'
DB '3333333333333333333333333333333366666C6CCCC4F3F3F3'
DB '33333333333333333333333333333336666C6CCCCCCCC43F33'
DB '333333333333333333333333336666666C6CCCCC63CCCCCC33'
DB '33333333333333333333333336666C66C6CCCCC633333CCC33'
DB '33333333333333333333336666666666CCCCCCC33333333333'
DB '333333333333333333336666C6C66666CCC666CC3333333333'
DB '333333666333333333666C6C6CCC6666CCC6666C6333333333'
DB '333366CCC666666666C6CCCCCCCCC6666C6633636333333333'
DB '3336CCCCCCCCCCCC6C6CCCCCC6CCCC666C6333636333333333'
DB '336C333333CCCCCCCCCCCCCCCC6CCC666C3333333333333333'
DB '36C3333333333666CCCC66666666CC66663333333333333333'
DB '3C3333333333333366663333336CC666663333333333333333'
DB '33333333333333333333333333CC666C663333333333333333'
DB '3333333333333333333333333CC666C6633333333333333333'
DB '333333333333333333333333CC663CC6633333333333333333'
DB '333333333333333333333333C6633C66333333333333333333'
DB '3333333333333333333333333C663C66C33333333333333333'
DB '3333333333333333333333333366FF66C33333333333333333'
DB '333333333333333333333333333333366C3333333333333333'
DB '3333333333333333333333333333333666CF33333333333333'
DB '3333333333333333333333333333333666FFF3333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
Drago db '3333333333333333333333333333333333333333333'
db '3333333333333333333333333337733333333333333'
db '3333333333333333333333333375333333333333333'
db '3333333333333333333333333757333333333333333'
db '3333333333333333333333337567333333333333333'
db '3333333333333333333333375567333333333333333'
db '3333333333333333333333375566773333333333333'
db '3333333333333333333333755446667733333333333'
db '3333333333333333333333754444673333333333333'
db '3333333333333333333333754756733333333333333'
db '3333333333333333343333757566333333333333333'
db '3333333333333333773437575467333333333333333'
db '3333333333333411747737754467333333333333333'
db '3333333333344131777377544467333333333333333'
db '3333333333311447443375777767333333333333333'
db '3333333336333137643375555566773333333333333'
db '3333336666661333464774555677333333333333333'
db '3333666666633333366474456733333333333333333'
db '3333666666633333336444573333333333333333333'
db '3333366666333333336445733333333333333333333'
db '3333333333333333377445773333333333333333333'
db '3333333333333333344666557333333333333333333'
db '3333333333333333647376745733333333333333333'
db '3333333333333333633377647473333333333333333'
db '3333333333333333733337473577333333333333333'
db '3333333333333333333333743467733333333333333'
db '3333333333333333333333743357333333333333333'
db '3333333333333333333333743347733333333333333'
db '3333333333333333333337633347333333333333333'
db '3333333333333333333336333673373333333333333'
db '3333333333333333333333333573753333333333333'
db '3333333333333333333333333367633333333333333'
db '3333333333333333333333333366333333333333333'
db '3333333333333333333333333333333333333333333'
db '3333333333333333333333333333333333333333333'
Dalpha DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '0000003333333333333333333333333333C000000000000000'
DB '00000033333333333333333333333333333C00000000000000'
DB '000000333333333333333333333333333333C0000000000000'
DB '000000333333CCCCCCCCCCCCCCCCCCCC33333C000000000000'
DB '000000333333CCC0000000000000000CC33333C00000000000'
DB '000000333333CCC00000000000000000CC33333C0000000000'
DB '000000333333CCC000000000000000000CC33333C000000000'
DB '000000333333CCC0000000000000000000CC33333C00000000'
DB '000000333333CCC00000000000000000000CC33333C0000000'
DB '000000333333CCC000000000000000000000CC33333C000000'
DB '000000333333CCC0000000000000000000000CC33333C00000'
DB '000000333333CCC000000000000000000000CC333333C00000'
DB '000000333333CCC00000000000000000000CC3333333C00000'
DB '000000333333CCC0000000000000000000CC3333333C000000'
DB '000000333333CCC000000000000000000CC3333333C0000000'
DB '000000333333CCC00000000000000000CC3333333C00000000'
DB '000000333333CCC0000000000000000CC3333333C000000000'
DB '000000333333CCC000000000000000CC3333333C0000000000'
DB '000000333333CCC00000000000000CC3333333C00000000000'
DB '000000333333CCCCCCCCCCCCCCCCCC3333333C000000000000'
DB '000000333333333333333333333333333333C0000000000000'
DB '00000033333333333333333333333333333C00000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
Nalpha DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '000000033333333000000000000000CCC33333300000000000'
DB '000000033333333300000000000000CCC33333300000000000'
DB '000000033333333330000000000000CCC33333300000000000'
DB '000000033333333333000000000000CCC33333300000000000'
DB '000000033333333333300000000000CCC33333300000000000'
DB '000000033333333333330000000000CCC33333300000000000'
DB '0000000333333C3333333000000000CCC33333300000000000'
DB '0000000333333CC333333300000000CCC33333300000000000'
DB '0000000333333CCC33333330000000CCC33333300000000000'
DB '0000000333333CCCC3333333000000CCC33333300000000000'
DB '0000000333333CCCCC333333300000CCC33333300000000000'
DB '0000000333333CCC0CC33333330000CCC33333300000000000'
DB '0000000333333CCC00CC3333333000CCC33333300000000000'
DB '0000000333333CCC000CC333333300CCC33333300000000000'
DB '0000000333333CCC0000CC33333330CCC33333300000000000'
DB '0000000333333CCC00000CC3333333CCC33333300000000000'
DB '0000000333333CCC000000CC3333333CC33333300000000000'
DB '0000000333333CCC0000000CC3333333C33333300000000000'
DB '0000000333333CCC00000000CC333333333333300000000000'
DB '0000000333333CCC000000000CC33333333333300000000000'
DB '0000000333333CCC0000000000CC3333333333300000000000'
DB '0000000333333CCC00000000000CC333333333300000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
Oalpha DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000033333333333333333333333333300000000000'
DB '00000000000333333333333333333333333333330000000000'
DB '0000000000333333CCCCCCCCCCCCCCCCCCC333333000000000'
DB '000000000033333CCC0000000000000000CC33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CC000000000000000000C33333000000000'
DB '000000000033333CCC0000000000000000CC33333000000000'
DB '000000000033333CCCCCCCCCCCCCCCCCCCCC33333000000000'
DB '0000000000333333CCCCCCCCCCCCCCCCCCC333333000000000'
DB '00000000000333333333333333333333333333330000000000'
DB '00000000000033333333333333333333333333300000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
DB '00000000000000000000000000000000000000000000000000'
BushType1 DB '333333333333333333333333333333'
DB '333333333333333333333333333333'
DB '333333333333322233333333333333'
DB '333333333333266623333333333333'
DB '333333333333266623332333333333'
DB '333333333333266623326233333333'
DB '333333333333266623326233333333'
DB '333333333333266623326233333333'
DB '333333332333266623326233333333'
DB '333333326233266623326233333333'
DB '333333326233266623326233333333'
DB '333333326233266623326233333333'
DB '333333326233266622266233333333'
DB '333333326233266622662333333333'
DB '333333326233266622223333333333'
DB '333333326233266623333333333333'
DB '333333326222266623333333333333'
DB '333333332662266623333333333333'
DB '333333333222266623333333333333'
DB '333333333333266623333333333333'
DB '333333333333266623333333333333'
DB '333333333333266623333333333333'
DB '333333333333222223333333333333'
BushType2 DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333333333333333333333333333333333333333333'
DB '33333333333322233333333333333333222333333333333333'
DB '33333333333266623333333333333332666233333333333333'
DB '33333333333266623332333333323332666233333333333333'
DB '33333333333266623326233333262332666233323333333333'
DB '33333333333266623326233333262332666233262333333333'
DB '33333333333266623326233333262332666233262333333333'
DB '33333332333266623326233333262332666233262333333333'
DB '33333326233266623326233333262332666233262333333333'
DB '33333326233266623326233333262332666233262333333333'
DB '33333326233266623326233333262332666233262333333333'
DB '33333326233266622226233333262332666233262333333333'
DB '33333326233266622662333333262332666233262333333333'
DB '33333326233266622223333333262332666233262333333333'
DB '33333326233266623333333333326222666233262333333333'
DB '33333326222266623333333333332662666233262333333333'
DB '33333332662266623333333333333222666233262333333333'
DB '33333333222266623333333333333332666222623333333333'
DB '33333333333266623333333333333332666266233333333333'
DB '33333333333266623333333333333332666222333333333333'
DB '33333333333266623333333333333332666233333333333333'
DB '33333333333222223333333333333332222233333333333333'
DB '33333333333222223333333333333332222233333333333333'
Heart db '006606600'
db '064464460'
db '647444446'
db '644444446'
db '654444456'
db '065444560'
db '006545600'
db '000656000'
db '000060000'
Star1 db '337333373337333333'
db '377733333777333333'
db '337337333337333333'
db '333377773333373333'
db '333337733733777333'
db '333333337773373333'
db '333733333733333333'
db '337773333333333333'
db '333733333333333333'
Clouds db '3333333333333333777733333333'
db '3333333333333337444473333333'
db '3333333333777374444447333333'
db '3333333337444744444444773333'
db '3333333337444744444444447333'
db '3333333374447444744444444733'
db '3333333374447444744444444473'
db '3333337744447447444444444473'
db '7333374444444774444444444473'
db '7733744444444444444444477447'
db '7477444774444444444444744447'
db '7444447447444444444444744447'
db '3744447444444444444444744447'
db '3374447444444444444444474473'
db '3337444744444447444444477733'
db '3333777374444473744444733333'
db '3333333337447733374447333333'
db '3333333333773333337773333333'
file db "coalFile.txt",0
buffer db 5000 DUP('$')
timeMessage DB 'Time : ', '$'
hour DB ?
min DB ?
sec DB ?
dateMessage DB 'Date : ', '$'
day db ?
month db ?
year dw ?
dinoX dw 30
dinoY dw 138
dragoX dw 1640
dragoY dw 115
bush1X dw 640
bush1Y dw 145
bush2X dw 960
bush2Y dw 142
cloud1X dw 200
cloud1Y dw 60
cloud2X dw 80
cloud2Y dw 55
cloud3X dw 140
cloud3Y dw 45
star1X dw 50
star1Y dw 60
star2X dw 260
star2Y dw 70
star3X dw 30
star3Y dw 70
star4X dw 265
star4Y dw 55
star5X dw 280
star5Y dw 70
heart1X dw 230
heart1Y dw 175
heart2X dw 245
heart2Y dw 175
heart3X dw 260
heart3Y dw 175
tempCloud1X dw ?
tempCloud2X dw ?
tempCloud3X dw ?
tempBush1X dw ?
tempBush2X dw ?
tempDragoX dw ?
buttonCheck dw 0
livesCount dw 3
scoreCounter dw 0
scoreBar db "Score : "
.code
;---------------------------------------------------------------------
;; ;;
;; Function to Print Instructions ;;
;; ;;
;---------------------------------------------------------------------
displayInstructions proc
mov dx, offset file
mov al, 0
mov ah, 3dh
int 21h
mov bx, ax
mov dx, offset buffer
mov ah, 3fh
int 21h
;string output
lea dx, buffer
mov ah, 09h
int 21h
call newLine
mov dx, 0
lea dx, timeMessage ;loading address of string
mov ah, 09h
int 21h
;------------------ Getting System Time
mov ah, 2ch
int 21h
mov hour, ch ; ch contains hour
mov min, cl ; cl contains minutes
mov sec, dh ; dh contains seconds
;------------------ Displaying System Time
mov ax, 0
mov al, hour
call display
mov dl, ':'
mov ah, 02h
int 21h
mov ax, 0
mov al, min
call display
mov dl, ':'
mov ah, 02h
int 21h
mov ax, 0
mov al, sec
call display
;------------------ Getting System Date
call newLine
mov dx, 0
lea dx, dateMessage ;loading address of string
mov ah, 09h
int 21h
mov ah, 2ah
int 21h
mov year, cx ; cx contains year
mov month, dh ; dh contains month
mov day, dl ; dl contains days
;------------------ Displaying System Date
mov ax, 0
mov al, day
call display
mov dl, '/'
mov ah, 02h
int 21h
mov ax, 0
mov al, month
call display
mov dl, '/'
mov ah, 02h
int 21h
mov ax, year
call display
call newLine
call newLine
ret
displayInstructions endp
display proc ;Beginning of procedure
MOV BX, 10 ;Initializes divisor
MOV DX, 0000H ;Clears DX
MOV CX, 0000H ;Clears CX
;_____________________________
;Splitting process starts here
;=============================
L11:
MOV DX, 0000H ;Clears DX during jump
div BX ;Divides AX by BX
PUSH DX ;Pushes DX(remainder) to stack
INC CX ;Increments counter to track the number of digits
CMP AX, 0 ;Checks if there is still something in AX to divide
JNE L11 ;Jumps if AX is not zero
L22:
POP DX ;Pops from stack to DX
ADD DX, 30H ;Converts to it's ASCII equivalent
MOV AH, 02H
INT 21H ;calls DOS to display character
LOOP L22 ;Loops till CX equals zero
RET ;returns control
display ENDP
newLine Proc
mov dl, 10 ;interupt for new line
mov ah, 02h
int 21h
ret
newLine endp
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw DINASOUR ;;
;; ;;
;---------------------------------------------------------------------
DrawDino macro Xcord, Ycord
local L1, Xcord,Ycord,step3,cont1
mov ax, Xcord ; X coordinates
mov dx, Ycord ; Y coordinates
mov cx, 1600
;mov bx,ax
mov si,0
mov bx,0
;local L1
L1:
push cx
mov cx,ax
sub dino[bx+si], '0' ;if dino[bx+si]==1 then draw pixel
mov al, dino[bx+si]
cmp dino[bx+si], 3
jne cont1
mov al, 001100000b
cont1:
mov ah, 0ch
int 10h
add dino[bx+si], '0'
inc si
mov ax,cx
inc ax
cmp si,50 ;if si==25 row change dino
jne step3;
mov ax, Xcord ;change this
mov si,0
add bx,50
inc dx
;local step3
step3:
pop cx
Loop L1
endm
DrawDuckDino macro Xcord, Ycord
local L1, Xcord,Ycord,step3,cont1
mov ax, Xcord ; X coordinates
mov dx, Ycord ; Y coordinates
mov cx, 1600
;mov bx,ax
mov si,0
mov bx,0
;local L1
L1:
push cx
mov cx,ax
sub duckDino[bx+si], '0' ;if dino[bx+si]==1 then draw pixel
mov al, duckDino[bx+si]
cmp duckDino[bx+si], 3
jne cont1
mov al, 001100000b
cont1:
mov ah, 0ch
int 10h
add duckDino[bx+si], '0'
inc si
mov ax,cx
inc ax
cmp si,50 ;if si==25 row change dino
jne step3;
mov ax, Xcord ;change this
mov si,0
add bx,50
inc dx
;local step3
step3:
pop cx
Loop L1
endm
remDino macro Xcord, Ycord
local L1, Xcord,Ycord,step3,cont1
mov ax, Xcord ; X coordinates
mov dx, Ycord ; Y coordinates
mov cx, 1600
;mov bx,ax
mov si,0
mov bx,0
;local L1
L1:
push cx
mov cx,ax
sub dino[bx+si], '0' ;if dino[bx+si]==1 then draw pixel
mov al, 001100000b
cmp dino[bx+si], 3
jne cont1
mov al, 001100000b
cont1:
mov ah, 0ch
int 10h
add dino[bx+si], '0'
inc si
mov ax,cx
inc ax
cmp si,50 ;if si==25 row change dino
jne step3;
mov ax, Xcord ;change this
mov si,0
add bx,50
inc dx
;local step3
step3:
pop cx
Loop L1
endm
DrawDino1 macro Xcord, Ycord
local L1, Xcord,Ycord,step3,cont2
mov ax, Xcord ; X coordinates
mov dx, Ycord ; Y coordinates
mov cx, 1600
;mov bx,ax
mov si,0
mov bx,0
;local L1
L1:
push cx
mov cx,ax
sub dino1[bx+si], '0' ;if dino[bx+si]==1 then draw pixel
mov al, dino1[bx+si]
cmp dino1[bx+si], 3
jne cont2
mov al, 001100000b
cont2:
mov ah, 0ch
int 10h
add dino1[bx+si], '0'
inc si
mov ax,cx
inc ax
cmp si,50 ;if si==25 row change dino
jne step3;
mov ax, Xcord ;change this
mov si,0
add bx,50
inc dx
;local step3
step3:
pop cx
Loop L1
endm
DrawDino2 macro Xcord, Ycord
local L1, Xcord,Ycord,step3,loopAgain,cont3
mov ax, Xcord ; X coordinates
mov dx, Ycord ; Y coordinates
mov cx, 1600
;mov bx,ax
mov si,0
mov bx,0
;local L1
L1:
push cx
mov cx,ax
sub dino2[bx+si], '0' ;if dino[bx+si]==1 then draw pixel
mov al, dino2[bx+si]
cmp dino2[bx+si], 3
jne cont3
mov al, 001100000b
cont3:
mov ah, 0ch
int 10h
add dino2[bx+si], '0'
inc si
mov ax,cx
inc ax
cmp si,50 ;if si==25 row change dino
jne step3;
mov ax, Xcord ;change this
mov si,0
add bx,50
inc dx
;local step3
step3:
pop cx
Loop L1
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw BushType1 ;;
;; ;;
;---------------------------------------------------------------------
DrawBushType1 macro Xcord1, Ycord1
local L2, Xcord1,Ycord1,Continue1,cont4
mov ax, Xcord1 ; X co-ordinate
mov dx, Ycord1 ; Y co-ordinate
mov cx, 690 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L2
L2:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub BushType1[bx+si],'0' ; to get a decimal number for color
mov al, BushType1[bx+si] ; array traversing
cmp BushType1[bx+si], 3
jne cont4
mov al, 001100000b
cont4:
mov ah, 0ch ; interupt to draw pixel
int 10h
add BushType1[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 30 ; if si is 50 then change row
jne Continue1; ; if there is no need to change row
mov ax, Xcord1 ; taking coloumn back to start
mov si, 0 ;
add bx,30 ; going to next row of array
inc dx
;local Continue1
Continue1:
POP cx
Loop L2
endm
remBushType1 macro Xcord1, Ycord1
local L2, Xcord1,Ycord1,Continue1
mov ax, Xcord1 ; X co-ordinate
mov dx, Ycord1 ; Y co-ordinate
mov cx, 575 ; size of array = 625
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L2
L2:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub BushType1[bx+si],'0' ; to get a decimal number for color
mov al, 001100000b ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add BushType1[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 25 ; if si is 25 then change row
jne Continue1; ; if there is no need to change row
mov ax, Xcord1 ; taking coloumn back to start
mov si, 0 ;
add bx, 25 ; going to next row of array
inc dx
;local Continue1
Continue1:
POP cx
Loop L2
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw BushType2 ;;
;; ;;
;---------------------------------------------------------------------
DrawBushType2 macro Xcord2, Ycord2
local L3, Xcord2,Ycord2,Continue2,cont5
mov ax, Xcord2 ; X co-ordinate
mov dx, Ycord2 ; Y co-ordinate
mov cx, 1300 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L3
L3:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub BushType2[bx+si],'0' ; to get a decimal number for color
mov al, BushType2[bx+si] ; array traversing
cmp BushType2[bx+si], 3
jne cont5
mov al, 001100000b
cont5:
mov ah, 0ch ; interupt to draw pixel
int 10h
add BushType2[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 50 ; if si is 50 then change row
jne Continue2; ; if there is no need to change row
mov ax, Xcord2 ; taking coloumn back to start
mov si, 0 ;
add bx, 50 ; going to next row of array
inc dx
;local Continue2
Continue2:
POP cx
Loop L3
endm
remBushType2 macro Xcord2, Ycord2
local L3, Xcord2,Ycord2,Continue2
mov ax, Xcord2 ; X co-ordinate
mov dx, Ycord2 ; Y co-ordinate
mov cx, 1300 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L3
L3:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub BushType2[bx+si],'0' ; to get a decimal number for color
mov al, 001100000b ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add BushType2[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 50 ; if si is 50 then change row
jne Continue2; ; if there is no need to change row
mov ax, Xcord2 ; taking coloumn back to start
mov si, 0 ;
add bx, 50 ; going to next row of array
inc dx
;local Continue2
Continue2:
POP cx
Loop L3
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw D Alphabet ;;
;; ;;
;---------------------------------------------------------------------
DrawDaplha macro Xcord3, Ycord3
local L4, Xcord3,Ycord3,Continue3
mov ax, Xcord3 ; X co-ordinate
mov dx, Ycord3 ; Y co-ordinate
mov cx, 1450 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L4
L4:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Dalpha[bx+si], '0' ; to get a decimal number for color
mov al, Dalpha[bx+si] ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Dalpha[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 50 ; if si is 50 then change row
jne Continue3; ; if there is no need to change row
mov ax, Xcord3 ; taking coloumn back to start
mov si, 0 ;
add bx, 50 ; going to next row of array
inc dx
;local Continue3
Continue3:
POP cx
Loop L4
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw N Alphabet ;;
;; ;;
;---------------------------------------------------------------------
DrawNaplha macro Xcord4, Ycord4
local L5, Xcord4,Ycord4,Continue4
mov ax, Xcord4 ; X co-ordinate
mov dx, Ycord4 ; Y co-ordinate
mov cx, 1450 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L5
L5:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Nalpha[bx+si],'0' ; to get a decimal number for color
mov al, Nalpha[bx+si] ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Nalpha[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 50 ; if si is 50 then change row
jne Continue4; ; if there is no need to change row
mov ax, Xcord4 ; taking coloumn back to start
mov si, 0 ;
add bx, 50 ; going to next row of array
inc dx
;local Continue4
Continue4:
POP cx
Loop L5
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw O Alphabet ;;
;; ;;
;---------------------------------------------------------------------
DrawOaplha macro Xcord5, Ycord5
local L6, Xcord5,Ycord5,Continue5
mov ax, Xcord5 ; X co-ordinate
mov dx, Ycord5 ; Y co-ordinate
mov cx, 1450 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L6
L6:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Oalpha[bx+si],'0' ; to get a decimal number for color
mov al, Oalpha[bx+si] ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Oalpha[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 50 ; if si is 50 then change row
jne Continue5; ; if there is no need to change row
mov ax, Xcord5 ; taking coloumn back to start
mov si, 0 ;
add bx, 50 ; going to next row of array
inc dx
;local Continue5
Continue5:
POP cx
Loop L6
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw Drago ;;
;; ;;
;---------------------------------------------------------------------
DrawDrago macro Xcord6, Ycord6
local L7, Xcord6,Ycord6,Continue6,cont6
mov ax, Xcord6 ; X co-ordinate
mov dx, Ycord6 ; Y co-ordinate
mov cx, 1505 ; size of array = 1450
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L7
L7:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Drago[bx+si],'0' ; to get a decimal number for color
mov al, Drago[bx+si] ; array traversing
cmp Drago[bx+si], 3
jne cont6
mov al, 001100000b
cont6:
mov ah, 0ch ; interupt to draw pixel
int 10h
add Drago[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 43 ; if si is 50 then change row
jne Continue6; ; if there is no need to change row
mov ax, Xcord6 ; taking coloumn back to start
mov si, 0 ;
add bx, 43 ; going to next row of array
inc dx
;local Continue6
Continue6:
POP cx
Loop L7
endm
remDrago macro Xcord6, Ycord6
local L7, Xcord6,Ycord6,Continue6
mov ax, Xcord6 ; X co-ordinate
mov dx, Ycord6 ; Y co-ordinate
mov cx, 1505 ; size of array = 840
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L7
L7:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Drago[bx+si],'0' ; to get a decimal number for color
mov al, 001100000b ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Drago[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 32 ; if si is 50 then change row
jne Continue6; ; if there is no need to change row
mov ax, Xcord6 ; taking coloumn back to start
mov si, 0 ;
add bx, 32 ; going to next row of array
inc dx
;local Continue6
Continue6:
POP cx
Loop L7
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw Heart ;;
;; ;;
;---------------------------------------------------------------------
DrawHeart macro Xcord7, Ycord7
local L8, Xcord7,Ycord7,Continue7
mov ax, Xcord7 ; X co-ordinate
mov dx, Ycord7 ; Y co-ordinate
mov cx, 81 ; size of array = 81
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L8
L8:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Heart[bx+si],'0' ; to get a decimal number for color
mov al, Heart[bx+si] ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Heart[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 9 ; if si is 25 then change row
jne Continue7; ; if there is no need to change row
mov ax, Xcord7 ; taking coloumn back to start
mov si, 0 ;
add bx, 9 ; going to next row of array
inc dx
;local Continue7
Continue7:
POP cx
Loop L8
endm
remHeart macro Xcord7, Ycord7
local L8, Xcord7,Ycord7,Continue7
mov ax, Xcord7 ; X co-ordinate
mov dx, Ycord7 ; Y co-ordinate
mov cx, 81 ; size of array = 81
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L8
L8:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Heart[bx+si],'0' ; to get a decimal number for color
mov al, 0 ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Heart[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 9 ; if si is 25 then change row
jne Continue7; ; if there is no need to change row
mov ax, Xcord7 ; taking coloumn back to start
mov si, 0 ;
add bx, 9 ; going to next row of array
inc dx
;local Continue7
Continue7:
POP cx
Loop L8
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw Stars ;;
;; ;;
;---------------------------------------------------------------------
DrawStars macro Xcord8, Ycord8
local L9, Xcord8,Ycord8,Continue8,cont7
mov ax, Xcord8 ; X co-ordinate
mov dx, Ycord8 ; Y co-ordinate
mov cx, 162 ; size of array = 81
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L9
L9:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Star1[bx+si],'0' ; to get a decimal number for color
mov al, Star1[bx+si] ; array traversing
cmp Star1[bx+si], 3
jne cont7
mov al, 001100000b
cont7:
mov ah, 0ch ; interupt to draw pixel
int 10h
add Star1[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 18 ; if si is 25 then change row
jne Continue8; ; if there is no need to change row
mov ax, Xcord8 ; taking coloumn back to start
mov si, 0 ;
add bx, 18 ; going to next row of array
inc dx
;local Continue8
Continue8:
POP cx
Loop L9
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO to Draw Clouds ;;
;; ;;
;---------------------------------------------------------------------
DrawClouds macro Xcord9, Ycord9
local L10, Xcord9,Ycord9,Continue9,cont8
mov ax, Xcord9 ; X co-ordinate
mov dx, Ycord9 ; Y co-ordinate
mov cx, 504 ; size of array = 81
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L10
L10:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Clouds[bx+si],'0' ; to get a decimal number for color
mov al, Clouds[bx+si] ; array traversing
cmp Clouds[bx+si], 3
jne cont8
mov al, 001100000b
cont8:
mov ah, 0ch ; interupt to draw pixel
int 10h
add Clouds[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 28 ; if si is 25 then change row
jne Continue9; ; if there is no need to change row
mov ax, Xcord9 ; taking coloumn back to start
mov si, 0 ;
add bx, 28 ; going to next row of array
inc dx
;local Continue9
Continue9:
POP cx
Loop L10
endm
remClouds macro Xcord9, Ycord9
local L10, Xcord9,Ycord9,Continue9
mov ax, Xcord9 ; X co-ordinate
mov dx, Ycord9 ; Y co-ordinate
mov cx, 504 ; size of array = 81
mov si, 0 ; for indexing
mov bx, 0 ; for indexing
;local L10
L10:
PUSH cx
mov cx,ax ; moving X co-ordinate in cx for interupt
sub Clouds[bx+si],'0' ; to get a decimal number for color
mov al, 001100000b ; array traversing
mov ah, 0ch ; interupt to draw pixel
int 10h
add Clouds[bx+si],'0'
inc si ; to get next index of array
mov ax,cx ; retrieving value from cx
inc ax ; increament in coloumn of drawing pixel
cmp si, 28 ; if si is 25 then change row
jne Continue9; ; if there is no need to change row
mov ax, Xcord9 ; taking coloumn back to start
mov si, 0 ;
add bx, 28 ; going to next row of array
inc dx
;local Continue9
Continue9:
POP cx
Loop L10
endm
;---------------------------------------------------------------------
;; ;;
;; MACRO for Gameplay ;;
;; ;;
;---------------------------------------------------------------------
scoreBarDisplay PROC
mov cx , LENGTHOF scoreBar
mov si, offset scoreBar
mov dl, 11
display212:
push cx
mov ax , 0
mov ah,02h
mov bh,0h
mov dh, 22 ;setting cursor position for printing
int 10h
mov al,[si]
mov bh, 0h ;page number
mov bl, 01110000b ;color
mov cx, 1 ;number of times to print character
mov ah, 09h ;write character at cursor position
int 10h
mov ah,02h
inc dl
inc si
int 10h
pop cx
loop display212
PUSH ax
mov ax, 0
mov ax, scoreCounter
call display
POP ax
ret
scoreBarDisplay endp
collisionOfPlayer PROC
PUSH cx
PUSH ax
PUSH dx
PUSH bx
mov bx, dinoX
mov cx, dinoY
mov ax, bush1X
.IF AX >= BX && AX <= 80 && CX == 138
dec livesCount
remBushType1 bush1X,bush1Y
sub bush1X, 160
.ENDIF
mov ax, bush2X
.IF AX >= BX && AX <= 80 && CX == 138
dec livesCount
remBushType2 bush2X,bush2Y
sub bush2X, 160
.ENDIF
mov ax, dragoX
mov cx, buttonCheck
.IF AX >= BX && AX <= 80 && CX != 2
dec livesCount
remDrago dragoX,dragoY
sub dragoX, 160
.ENDIF
POP bx
POP dx
POP ax
POP cx
ret
collisionOfPlayer endp
movementOfPlayer PROC
;repeat1:
; checking keystroke
mov ax, 0
mov ah,01h
int 16h
jz exiting
mov ah, 00h
int 16h
; AH = BIOS scan code
cmp ah,48h
je up
cmp ah,4Bh
je left
cmp ah,4Dh
je right
cmp ah,50h
je down
cmp ah,1
jmp exiting
up:
remDino dinoX,dinoY
mov buttonCheck, 1
jmp exiting
down:
remDino dinoX,dinoY
mov buttonCheck, 2
jmp exiting
left:
remDino dinoX,dinoY
mov buttonCheck, 3
jmp exiting
right:
remDino dinoX,dinoY
mov buttonCheck, 4
exiting:
PUSH cx
PUSH ax
mov cx, buttonCheck
mov ax, dinoY
.IF CX == 1 && ax >= 85 ;Check for range
sub ax, 3
mov dinoY, ax
.ENDIF
.IF CX == 1 && ax <= 85 ;Check for range
remDino dinoX,dinoY
mov dinoY, 138
mov ax, 0
mov buttonCheck, ax
.ENDIF
POP ax
POP cx
PUSH cx
mov cx, buttonCheck
.IF CX == 2 && ax >= 138 ;Check for range
DrawDuckDino dinoX,dinoY
.ENDIF
POP cx
PUSH cx
mov cx, buttonCheck
.IF CX == 4 && ax >= 138 ;Check for range
add dinoX, 1
mov ax, 0
mov buttonCheck, ax
.ENDIF
POP cx
PUSH cx
mov cx, buttonCheck
.IF CX == 3 && ax >= 138 ;Check for range
sub dinoX, 1
mov ax, 0
mov buttonCheck, ax
.ENDIF
POP cx
ret
movementOfPlayer endp
playGameMac proc
mov cx, dragoX
.IF CX <= 300 ;Check for range
DrawDrago dragoX, 115
.ENDIF
mov cx, bush1X
.IF CX <= 300 ;Check for range
DrawBushType1 bush1X, 145
.ENDIF
mov cx, bush2X
.IF CX <= 300 ;Check for range
DrawBushType2 bush2X, 142
.ENDIF
DrawClouds cloud1X, cloud1Y
DrawClouds cloud2X, cloud2Y
DrawClouds cloud3X, cloud3Y
PUSH cx
mov cx, livesCount
cmp cx, 3
je drawThree
cmp cx, 2
je drawTwo
cmp cx, 1
je drawOne
remHeart heart1X,heart1Y
mov ah, 4ch
int 21h
drawThree:
DrawHeart heart1X,heart1Y
DrawHeart heart2X,heart2Y
DrawHeart heart3X,heart3Y
jmp contPlay
drawTwo:
remHeart heart3X,heart3Y
DrawHeart heart1X,heart1Y
DrawHeart heart2X,heart2Y
jmp contPlay
drawOne:
remHeart heart3X,heart3Y
remHeart heart2X,heart2Y
DrawHeart heart1X,heart1Y
contPlay:
POP cx
DrawStars star1X, star1Y
DrawStars star2X, star2Y
DrawStars star3X, star3Y
DrawStars star4X, star4Y
DrawStars star5X, star5Y
mov cx, buttonCheck
.IF CX != 2 ;Check for range
;remDino dinoX,dinoY
DrawDino dinoX,dinoY
;remDino dinoX,dinoY
DrawDino1 dinoX,dinoY
;remDino dinoX,dinoY
DrawDino2 dinoX,dinoY
.ENDIF
call scoreBarDisplay
inc scoreCounter
call movementOfPlayer
mov cx, bush1X
.IF CX <= 0 ;Check for range
remBushType1 bush1X,bush1Y
mov cx, 640
mov bush1X, cx
mov bush1Y, 145
.ENDIF
mov cx, bush2X
.IF CX <= 0 ;Check for range
remBushType2 bush2X,bush2Y
mov cx, 960
mov bush2X, cx
mov bush2Y, 142
.ENDIF
mov cx, dragoX
.IF CX <= 0 ;Check for range
remDrago dragoX,dragoY
mov cx, 1640
mov dragoX, cx
mov dragoY, 115
.ENDIF
call collisionOfPlayer
sub dragoX, 8
sub bush1X, 8
sub bush2X, 8
playGameMac endp
;---------------------------------------------------------------------
;; ;;
;; Function to Display GamePlay Screen ;;
;; ;;
;---------------------------------------------------------------------
displayGameScreen proc
;local drawLineLow,drawLineHigh
mov ax, 0
mov bx, 167
mov cx, 640
drawLineLow:
PUSH cx
mov cx, ax
mov dx, bx
PUSH ax
mov al, 7
mov ah, 0ch ; interupt to draw pixel
int 10h
POP ax
inc ax
POP cx
Loop drawLineLow
;mov ax, 0
;mov bx, 40
;mov cx, 640
;drawLineHigh:
;PUSH cx
;mov cx, ax
;mov dx, bx
;PUSH ax
;mov al, 7
;mov ah, 0ch ; interupt to draw pixel
;int 10h
;POP ax
;inc ax
;POP cx
;Loop drawLineHigh
mov cx, 1
loopPlay:
PUSH cx
call playGameMac
POP cx
inc cx
Loop loopPlay
ret
displayGameScreen endp
;---------------------------------------------------------------------
;; ;;
;; Main Function ;;
;; ;;
;---------------------------------------------------------------------
main proc
mov ax,@data
mov ds,ax
mov al, 13h
mov ah, 0 ; set graphics video mode.
int 10h
DrawDaplha 60,20
DrawDino 110,20
DrawNaplha 160,20
DrawOaplha 200,20
call options
call options
mov ah,4ch
int 21h
main endp
options proc
;local display1, display2, display3, mouse
;;;;;;;;;;;;;; WILL DISPPLAY PLAY GAME ;;;;;;;;;;;;;;;;;;;;
mov cx , LENGTHOF playGame
mov si,offset playGame
mov dl,15
display1:
push cx
mov ax , 0
mov ah,02h
mov bh,0h
mov dh,10 ;setting cursor position for printing
int 10h
mov al,[si]
mov bh, 0h ;page number
mov bl, 01110000b ;color
mov cx, 1 ;number of times to print character
mov ah, 09h ;write character at cursor position
int 10h
mov ah,02h
inc dl
inc si
int 10h
pop cx
loop display1
;;;;;;;;;;;;;; WILL DISPPLAY Instructions ;;;;;;;;;;;;;;;;;;;;
mov cx , LENGTHOF instructions
mov si,offset instructions
mov dl,13
display2:
push cx
mov ax , 0
mov ah,02h
mov bh,0h
mov dh,15 ;setting cursor position for printing
int 10h
mov al,[si]
mov bh, 0h ;page number
mov bl, 01110000b ;color
mov cx, 1 ;number of times to print character
mov ah, 09h ;write character at cursor position
int 10h
mov ah,02h
inc dl
inc si
int 10h
pop cx
loop display2
;;;;;;;;;;;;;; WILL DISPPLAY EXIT ;;;;;;;;;;;;;;;;;;;;
mov cx , LENGTHOF exitStatement
mov si,offset exitStatement
mov dl,17
display3:
push cx
mov ax , 0
mov ah,02h
mov bh,0h
mov dh,20 ;setting cursor position for printing
int 10h
mov al,[si]
mov bh, 0h ;page number
mov bl, 01110000b ;color
mov cx, 1 ;number of times to print character
mov ah, 09h ;write character at cursor position
int 10h
mov ah,02h
inc dl
inc si
int 10h
pop cx
loop display3
;$
mov ax , 1h ;display the mouse pointer on the screen
int 33h
;;;;;;;;;;;; MOUSE CHECKs ;;;;;;;;;;;;;;
mouse:
mov ax , 03h
int 33h
;;;;;; CHECK FOR PLAY GAME CLICK ;;;;;;;;;;
.IF CX >= 30*8 && CX <= 47*8 && DX >= 75 && DX <= 90 ;Check for range
.IF bx == 1 || bx == 2 ; check to see if mouse button pressed
mov al, 13h
mov ah, 0 ; Clear Screen
int 10h
mov ah, 6
mov al, 16
mov bh, 001100000b
mov ch, 0
mov cl, 0
mov dh, 20
mov dl, 40
int 10h
call displayGameScreen
mov ah,4ch
int 21h
.ENDIF
.ENDIF
;;;;;; CHECK FOR INSTRUCTIONS CLICK ;;;;;;;;;;
.IF CX >= 26*8 && CX <= 49*8 && DX >= 115 && DX <= 130 ;Check for range
.IF bx == 1 || bx == 2 ; check to see if mouse button pressed
mov al, 13h
mov ah, 0 ; Clear Screen
int 10h
call displayInstructions
mov ah,4ch
int 21h
.ENDIF
.ENDIF
;;;;;; CHECK FOR EXIT CLICK ;;;;;;;;;;
.IF CX >= 33*8 && CX <= 42*8 && DX >= 155 && DX <= 167 ;Check for range
.IF bx == 1 || bx == 2 ; check to see if mouse button pressed
mov al, 13h
mov ah, 0 ; Clear Screen
int 10h
call EXITdisplay
mov ah,4ch
int 21h
.ENDIF
.ENDIF
jmp mouse
options endp
EXITdisplay proc
;local display3
mov cx , LENGTHOF goodBye
mov si,offset goodBye
mov dl,17
display3:
push cx
mov ax , 0
mov ah,02h
mov bh,0h
mov dh,6 ;setting cursor position for printing
int 10h
mov al,[si]
mov bh, 0h ;page number
mov bl, 01110000b ;color
mov cx, 1 ;number of times to print character
mov ah, 09h ;write character at cursor position
int 10h
mov ah,02h
inc dl
inc si
int 10h
pop cx
loop display3
ret
EXITdisplay endp
end main | 29.296104 | 79 | 0.601685 |
3c4e369465dab5e96eee071576559cfddc4998d6 | 631 | asm | Assembly | oeis/064/A064944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/064/A064944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/064/A064944.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A064944: a(n) = Sum_{i|n, j|n, j >= i} j.
; Submitted by Christian Krause
; 1,5,7,17,11,38,15,49,34,60,23,132,27,82,82,129,35,191,39,207,112,126,47,384,86,148,142,283,59,469,63,321,172,192,172,666,75,214,202,597,83,640,87,435,403,258,95,1016,162,485,262,511,107,812,264,813,292,324,119,1642,123,346,547,769,310,984,135,663,352,987,143,1929,147,412,657,739,356,1156,159,1569,547,456,167,2237,402,478,442,1248,179,2345,418,891,472,522,448,2536,195,915,837,1682
add $0,1
mov $1,$0
lpb $1
mov $2,$0
mov $5,$1
lpb $2
dif $2,$5
add $3,$1
add $4,$5
add $3,$4
mov $5,$0
lpe
sub $1,1
lpe
mov $0,$3
add $0,1
| 30.047619 | 384 | 0.638669 |
c732a6d1a558e4ee0973815618a85b97e66ec020 | 331 | asm | Assembly | addition.asm | AravindVasudev/x86-64_programs | 153dc9e0eeb56200e62e2de4262bc8e2912afa51 | [
"MIT"
] | null | null | null | addition.asm | AravindVasudev/x86-64_programs | 153dc9e0eeb56200e62e2de4262bc8e2912afa51 | [
"MIT"
] | null | null | null | addition.asm | AravindVasudev/x86-64_programs | 153dc9e0eeb56200e62e2de4262bc8e2912afa51 | [
"MIT"
] | null | null | null | section .data
query db "Enter two numbers: "
section .text
global _start
_start:
mov rax, 1 ; sys_write
mov rdi, 1 ; stdout
mov rsi, query ; buffer
mov rdx, 19 ; buffer size
syscall
mov rax, 0 ; sys_read
mov rdi, 0 ; stdin
mov rax, 60 ; sys_exit
mov rdi, 0 ; exit 0
syscall
| 15.761905 | 34 | 0.589124 |
e78efeede24992fe39b02642319c39dd51d1c063 | 572 | asm | Assembly | oeis/236/A236194.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/236/A236194.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/236/A236194.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A236194: a(n) = binomial(3n+1, n-1).
; 1,7,45,286,1820,11628,74613,480700,3108105,20160075,131128140,854992152,5586853480,36576848168,239877544005,1575580702584,10363194502115,68248282427325,449972009097765,2969831763694950,19619725782651120,129728497393775280,858478958817125100,5685248339583664176,37676560923145889100,249846940146033858628,1657825550899057831176,11006481794871273911760,73111821201089232081168,485894505659165485842960,3230716424433391784937189,21490495358378492432715504,143012501349174257560226775
mov $1,$0
add $1,4
add $1,$0
add $0,$1
bin $0,$1
| 63.555556 | 482 | 0.865385 |
a3f691714de56a42cd23f601faac8f5967d5e2c8 | 431 | asm | Assembly | engine/gfx/load_pokedex_tiles.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | engine/gfx/load_pokedex_tiles.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | engine/gfx/load_pokedex_tiles.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | ; Loads tile patterns for tiles used in the pokedex.
LoadPokedexTilePatterns:
call LoadHpBarAndStatusTilePatterns
ld de, PokedexTileGraphics
ld hl, vChars2 tile $60
lb bc, BANK(PokedexTileGraphics), (PokedexTileGraphicsEnd - PokedexTileGraphics) / $10
call CopyVideoData
ld de, PokeballTileGraphics
ld hl, vChars2 tile $72
lb bc, BANK(PokeballTileGraphics), 1
jp CopyVideoData ; load pokeball tile for marking caught mons
| 35.916667 | 87 | 0.802784 |
4c091110eaede3aada398d6c877040bf882466b0 | 483 | asm | Assembly | Microprocessor_Interfacing_CSE_2006/Math_Calculations_Lab_6/combination.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | 2 | 2021-11-18T05:30:24.000Z | 2022-03-07T06:28:06.000Z | Microprocessor_Interfacing_CSE_2006/Math_Calculations_Lab_6/combination.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | null | null | null | Microprocessor_Interfacing_CSE_2006/Math_Calculations_Lab_6/combination.asm | aadhityasw/VIT-Labs | 2c449f64f4fdd8c0ed5f2b51d05a7c586e6ab2ab | [
"CC0-1.0"
] | 3 | 2021-10-14T01:10:34.000Z | 2022-03-18T14:33:52.000Z | ASSUME CS:CODE, DS:DATA
DATA SEGMENT
NUM DB 05H
RE DB 02H
NUM1 DB 00H
DEN DB 00H
DATA ENDS
CODE SEGMENT
FACT PROC NEAR
CMP CL,00H
JE RETURN
MUL CL
DEC CL
CALL FACT
RETURN: RET
FACT ENDP
START:
MOV AX,DATA
MOV DS,AX
MOV AX,0000H
MOV AL,NUM
MOV DL,AL
SUB DL,01H
MOV CL,DL
CALL FACT
MOV DEN,AL
MOV AX,0000H
MOV AL,NUM
MOV BL,RE
SUB AL,BL
MOV DL,AL
SUB DL,01H
MOV CL,DL
CALL FACT
MUL DEN
MOV BL,AL
MOV AX, 00H
MOV AL,NUM1
DIV BL
HLT
CODE ENDS
END START
| 10.977273 | 23 | 0.695652 |
2aff0253bc09eecd0498464df04fe87f416e43ff | 432 | asm | Assembly | programs/oeis/220/A220990.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/220/A220990.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/220/A220990.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A220990: 12^(2n+1) + 6 * 12^n + 1: the right Aurifeuillian factor of 12^(6n+3) + 1.
; 19,1801,249697,35842177,5159904769,743009863681,106993223294977,15407021789577217,2218611109320327169,319479999401581608961,46005119909741205651457,6624737266953695061344257,953962166440743626203987969
mov $3,12
pow $3,$0
add $0,5
mov $1,$3
add $1,$3
mov $2,$1
mul $2,$1
lpb $0
mod $0,2
add $1,$2
lpe
sub $1,6
mul $1,3
add $1,19
mov $0,$1
| 22.736842 | 203 | 0.729167 |
23e453a79087285cffa5b30cd14151254c360099 | 488 | asm | Assembly | test/assembly/ld_su.asm | megis7/riscy | e0e41ecfe65941abfd5e72b750f95931af807c0e | [
"BSD-3-Clause"
] | 4 | 2019-04-05T20:18:55.000Z | 2019-04-19T02:32:46.000Z | test/assembly/ld_su.asm | megis7/riscy | e0e41ecfe65941abfd5e72b750f95931af807c0e | [
"BSD-3-Clause"
] | null | null | null | test/assembly/ld_su.asm | megis7/riscy | e0e41ecfe65941abfd5e72b750f95931af807c0e | [
"BSD-3-Clause"
] | null | null | null | # Load half-word and bytes that should be sign extended or zero extended
.data
val: .word 0x12345688 0xFFFFFFFF
.text
main:
la x1, val
lh x2, 4(x1) # sign-extend with 1
lhu x3, 4(x1) # zero-extend
lb x4, 4(x1) # sign-extend with 1
lbu x5, 4(x1) # zero-extend
lh x6, 0(x1) # sign-extend with 0
lhu x7, 0(x1) # zero-extend
lb x8, 0(x1) # sign-extend with 1
lbu x9, 0(x1) # zero-extend
halt: j halt
| 22.181818 | 72 | 0.559426 |
866e23ff0b6805eb90d335e0c0aa3cba68e13554 | 5,760 | asm | Assembly | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_1806.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_1806.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_st_/i7-7700_9_0x48_notsx.log_21829_1806.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x18011, %r14
nop
nop
nop
nop
nop
dec %rsi
mov $0x6162636465666768, %r15
movq %r15, %xmm7
vmovups %ymm7, (%r14)
nop
nop
cmp $533, %r14
lea addresses_A_ht+0xb611, %rsi
lea addresses_A_ht+0x34fb, %rdi
nop
nop
sub %r9, %r9
mov $120, %rcx
rep movsq
nop
nop
nop
nop
cmp $39324, %r9
lea addresses_A_ht+0x12611, %rdi
nop
nop
xor %r8, %r8
movw $0x6162, (%rdi)
nop
nop
inc %rdi
lea addresses_WC_ht+0x4e11, %r14
nop
nop
nop
nop
and $12696, %rsi
movl $0x61626364, (%r14)
nop
nop
and $34595, %rsi
lea addresses_UC_ht+0x4611, %rsi
clflush (%rsi)
nop
sub $16116, %rcx
mov $0x6162636465666768, %r9
movq %r9, %xmm2
movups %xmm2, (%rsi)
nop
nop
nop
nop
dec %r14
lea addresses_normal_ht+0x1ce11, %r15
and %rcx, %rcx
vmovups (%r15), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %r14
and %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_D+0x15011, %rsi
lea addresses_PSE+0x14e11, %rdi
nop
nop
nop
and $25494, %r10
mov $64, %rcx
rep movsb
nop
nop
nop
nop
and $5677, %r10
// Faulty Load
lea addresses_PSE+0x14e11, %rbx
clflush (%rbx)
nop
nop
nop
nop
nop
xor $50369, %r13
mov (%rbx), %rax
lea oracles, %rcx
and $0xff, %rax
shlq $12, %rax
mov (%rcx,%rax,1), %rax
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_PSE', 'congruent': 0}}
{'dst': {'same': True, 'congruent': 0, 'type': 'addresses_PSE'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_D'}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_PSE', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A_ht', 'congruent': 8}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 1, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A_ht', 'congruent': 9}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 8}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 11}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_normal_ht', 'congruent': 10}}
{'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
*/
| 39.724138 | 2,999 | 0.660243 |
a3e15543ddd0d0dc4846f37e6c1ab6d43fdb9a9e | 715 | asm | Assembly | programs/oeis/306/A306258.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/306/A306258.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/306/A306258.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A306258: a(n) = floor(n^2/4)*n!.
; 0,0,2,12,96,720,6480,60480,645120,7257600,90720000,1197504000,17244057600,261534873600,4271736268800,73229764608000,1339058552832000,25609494822912000,518592270163968000,10948059036794880000,243290200817664000000,5620003638888038400000,136004088061090529280000,3412466209532816916480000,89344569849586479267840000,2419748766759633813504000000,68156256930396352413696000000,1981774239976140093259776000000,59758115543895916658294784000000,1856770018685337410454159360000000,59681893457742988193169408000000000
mov $1,$0
seq $0,142 ; Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, number of permutations of n letters).
mov $2,$1
pow $2,2
div $2,4
mul $0,$2
| 71.5 | 510 | 0.844755 |
dc88c4c84ab1510c39e5016713dbab9ae740b276 | 33 | asm | Assembly | Practicas/Practica_07/codigoFuente/P7_test.asm | CodeRevenge/Proyecto-seminario-traductores-i | a5c6a500a6be8d5a1b24b4ecacd73e6f67a34041 | [
"MIT"
] | null | null | null | Practicas/Practica_07/codigoFuente/P7_test.asm | CodeRevenge/Proyecto-seminario-traductores-i | a5c6a500a6be8d5a1b24b4ecacd73e6f67a34041 | [
"MIT"
] | null | null | null | Practicas/Practica_07/codigoFuente/P7_test.asm | CodeRevenge/Proyecto-seminario-traductores-i | a5c6a500a6be8d5a1b24b4ecacd73e6f67a34041 | [
"MIT"
] | null | null | null | ORG $4000
E1 EQU 256
LDAA E1,Y | 11 | 11 | 0.666667 |
6e567bde96cd3f3ae557dc8cfc137796c1e87dbd | 4,897 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1540.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1540.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1540.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 %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x15c65, %r8
nop
and %rdx, %rdx
mov (%r8), %rbp
nop
nop
nop
nop
dec %rdx
lea addresses_UC_ht+0x8cd5, %rsi
lea addresses_D_ht+0x3beb, %rdi
clflush (%rsi)
xor $56407, %r12
mov $106, %rcx
rep movsq
nop
nop
nop
inc %rbp
lea addresses_WC_ht+0x13955, %rsi
lea addresses_normal_ht+0x1b0d5, %rdi
nop
nop
nop
nop
and %r12, %r12
mov $65, %rcx
rep movsw
sub %r8, %r8
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rbx
push %rdi
// Store
lea addresses_D+0x15b95, %rdi
nop
nop
nop
xor $20715, %r13
mov $0x5152535455565758, %r8
movq %r8, %xmm0
vmovups %ymm0, (%rdi)
nop
nop
nop
inc %r13
// Faulty Load
lea addresses_A+0x1f8d5, %r13
nop
nop
sub $9586, %r11
mov (%r13), %r15d
lea oracles, %r8
and $0xff, %r15
shlq $12, %r15
mov (%r8,%r15,1), %r15
pop %rdi
pop %rbx
pop %r8
pop %r15
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'congruent': 5, 'size': 32, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 2, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}}
{'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
*/
| 47.543689 | 2,999 | 0.661221 |
e306447f916ab8d7f7b6e60d62d6f12882d0c4f5 | 2,336 | asm | Assembly | software/profi/net-tools/src/uGophy/main.asm | solegstar/karabas-pro | 0ff5f234eee10cd2b0ed0eb9286c47dd33e1f599 | [
"MIT"
] | 26 | 2020-07-25T15:00:32.000Z | 2022-03-22T19:30:04.000Z | software/profi/net-tools/src/uGophy/main.asm | solegstar/karabas-pro | 0ff5f234eee10cd2b0ed0eb9286c47dd33e1f599 | [
"MIT"
] | 42 | 2020-07-29T14:29:18.000Z | 2022-03-22T11:34:28.000Z | software/profi/net-tools/src/uGophy/main.asm | solegstar/karabas-pro | 0ff5f234eee10cd2b0ed0eb9286c47dd33e1f599 | [
"MIT"
] | 7 | 2020-09-07T14:21:31.000Z | 2022-01-24T17:18:56.000Z | ;; (c) 2019 Alexander Sharikhin
;; This program 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 of the License, or
;; (at your option) any later version.
;;
;; This program 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.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
DEVICE ZXSPECTRUM128
org #6000
Start:
jp begin
ds #7f
stack_pointer = $
begin:
di
res 4, (iy+1)
xor a : out (#fe), a : call changeBank
ld sp, $ ; We don't care about anything before
call renderHeader
ld hl, init1 : call putStringZ
call Dos.init
ld de, work_dir : call Dos.cwd
or a : jp nz, .dirError
ld hl, init2 : call putStringZ
; Read player from disk
ld l, Dos.FA_READ, bc, player_name : call Dos.fopen
ld bc, #4000, de, 3061 : call Dos.fread
call Dos.fclose
xor a : ld (#5c6a), a ; Thank you, Mario Prato, for feedback
ei
ld hl, init3 : call putStringZ
call initWifi
call wSec
ld de, path : ld hl, server : ld bc, port : call openPage
jp showPage
.dirError
ld hl, .err : call putStringZ
jr $
.err db "Can't enter 'wifi' directory",13,"Computer halted",0
init1 db "Initing sd card", 13, 0
init2 db "Loading PT3 player", 13, 0
init3 db "Initing Wifi module", 13, 0
wSec: ei : ld b, 50
wsLp halt : djnz wsLp
include "screen64.asm"
include "keyboard.asm"
include "utils.asm"
include "gopher.asm"
include "render.asm"
include "textrender.asm"
include "ring.asm"
include "uno-uart.asm"
include "wifi.asm"
work_dir db "wifi",0
player_name db "player.bin", 0
open_lbl db 'Opening connection to ', 0
path db '/uhello'
defs 248
server db 'nihirash.net'
defs 58
port db '70'
defs 5
db 0
include "dos/ochkodos.asm"
page_buffer equ Dos.bin
display "PAGE buffer:", $
savehob "ugophy.$c", "ugophy.C", Start, $ - Start
| 24.589474 | 73 | 0.649401 |
f4e8828202aa243fb7f8ed4a4a2dfc13cfb3153b | 365 | asm | Assembly | argument.asm | TheDoebes/mips-assembly-adventure | fccbb3779999ca6b5b007aa6ca497deea3dc0186 | [
"MIT"
] | null | null | null | argument.asm | TheDoebes/mips-assembly-adventure | fccbb3779999ca6b5b007aa6ca497deea3dc0186 | [
"MIT"
] | null | null | null | argument.asm | TheDoebes/mips-assembly-adventure | fccbb3779999ca6b5b007aa6ca497deea3dc0186 | [
"MIT"
] | null | null | null | .data
.text
main:
addi $a1, $zero, 4
addi $a2, $zero, 9
jal addNumbers
li $v0, 1 #print an integer
addi $a0, $v1, 0
syscall
#Exit Code - required to avoide an infinite loop with displayMessage
li $v0, 10
syscall
#define function
addNumbers: #Impure Function, adds the numbers in a1,a2 into v1
add $v1, $a1, $a2
jr $ra
| 14.6 | 69 | 0.624658 |
d7133e289f782969aae08b402417e78cb32a61af | 983 | asm | Assembly | programs/oeis/156/A156810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/156/A156810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/156/A156810.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A156810: a(n) = 225*n^2 - 251*n + 70.
; 70,44,468,1342,2666,4440,6664,9338,12462,16036,20060,24534,29458,34832,40656,46930,53654,60828,68452,76526,85050,94024,103448,113322,123646,134420,145644,157318,169442,182016,195040,208514,222438,236812,251636,266910,282634,298808,315432,332506,350030,368004,386428,405302,424626,444400,464624,485298,506422,527996,550020,572494,595418,618792,642616,666890,691614,716788,742412,768486,795010,821984,849408,877282,905606,934380,963604,993278,1023402,1053976,1085000,1116474,1148398,1180772,1213596,1246870,1280594,1314768,1349392,1384466,1419990,1455964,1492388,1529262,1566586,1604360,1642584,1681258,1720382,1759956,1799980,1840454,1881378,1922752,1964576,2006850,2049574,2092748,2136372,2180446
mov $3,$0
mov $4,$0
mov $0,2
mul $3,2
mov $1,$3
add $1,$3
sub $0,$1
mov $6,$3
mov $3,0
mov $5,1
sub $5,$1
add $5,1
add $5,$0
add $5,1
sub $6,$1
add $6,1
add $3,$6
mul $3,$5
mul $3,14
mov $1,$3
add $1,$4
mov $2,$4
mul $2,$4
add $1,$2
mov $0,$1
| 33.896552 | 698 | 0.755849 |
e6fe98d9a0a3c4e48bcd14ab4226d8ee81e98883 | 191 | asm | Assembly | oeis/018/A018416.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/018/A018416.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/018/A018416.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A018416: Divisors of 368.
; 1,2,4,8,16,23,46,92,184,368
add $0,1
mov $2,1
mov $4,206
lpb $0
mov $3,$2
dif $3,$0
sub $0,1
add $5,$4
mov $4,$2
add $2,$3
lpe
mov $0,$5
sub $0,205
| 11.235294 | 29 | 0.544503 |
d0059f074cb1077bfa76523d4683008c1c811c32 | 355 | asm | Assembly | examples/typedinit.asm | ihh/bbcmicrobot-codec | 6c4587c1ed9d89942a2adae4cf8cda148ebb47d1 | [
"BSD-3-Clause"
] | 10 | 2020-03-06T04:32:59.000Z | 2021-03-02T05:04:16.000Z | examples/typedinit.asm | ihh/bbcmicrobot-codec | 6c4587c1ed9d89942a2adae4cf8cda148ebb47d1 | [
"BSD-3-Clause"
] | null | null | null | examples/typedinit.asm | ihh/bbcmicrobot-codec | 6c4587c1ed9d89942a2adae4cf8cda148ebb47d1 | [
"BSD-3-Clause"
] | null | null | null | ;; Initialization for reaction-diffusion.asm with random locations but fixed types
;; Including file must define the following:
;; INIT_COUNT - number of initial randomly-placed characters
;; INIT_TYPE - type of initial randomly-placed characters
lda #INIT_COUNT
sta $74
RNDINIT:
jsr RNDCELL
ldx #0
lda #INIT_TYPE
jsr WRITE
dec $74
bne RNDINIT
| 20.882353 | 82 | 0.769014 |
398a33d4d0eb3ad540f76e65aa07b97da39ce589 | 7,918 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1834.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_1834.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_1834.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 %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x6620, %rsi
lea addresses_normal_ht+0x13e0, %rdi
clflush (%rdi)
add %rax, %rax
mov $57, %rcx
rep movsw
nop
add $36312, %r14
lea addresses_D_ht+0x1e150, %r8
nop
inc %rcx
mov (%r8), %ax
nop
nop
sub $29804, %r8
lea addresses_D_ht+0x6ae0, %rsi
nop
cmp %r12, %r12
movb $0x61, (%rsi)
nop
nop
nop
nop
xor %rax, %rax
lea addresses_WC_ht+0xc3e0, %rax
add $17512, %r14
vmovups (%rax), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r8
nop
nop
nop
xor %rdi, %rdi
lea addresses_WT_ht+0x73e0, %rcx
nop
nop
nop
nop
sub $29825, %rax
movb $0x61, (%rcx)
nop
nop
nop
nop
cmp $40810, %rdi
lea addresses_D_ht+0x16ae0, %rsi
lea addresses_WT_ht+0x1dbe0, %rdi
nop
nop
add $54160, %rax
mov $20, %rcx
rep movsl
xor %rdi, %rdi
lea addresses_WC_ht+0x828, %rsi
lea addresses_D_ht+0x1a3e0, %rdi
nop
add $45297, %r9
mov $121, %rcx
rep movsl
nop
nop
nop
nop
nop
xor %rdi, %rdi
lea addresses_normal_ht+0x14be0, %rsi
lea addresses_normal_ht+0xdde0, %rdi
nop
nop
sub %rax, %rax
mov $92, %rcx
rep movsl
nop
nop
nop
nop
add $35458, %rdi
lea addresses_normal_ht+0x14e28, %r9
nop
nop
nop
nop
nop
cmp $5361, %rax
movw $0x6162, (%r9)
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_WT_ht+0x5e0, %r8
nop
nop
and $13779, %r14
mov (%r8), %rax
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_normal_ht+0x13544, %rsi
lea addresses_WC_ht+0x7df0, %rdi
clflush (%rdi)
nop
nop
nop
xor $4942, %r8
mov $98, %rcx
rep movsq
nop
nop
nop
nop
sub $2466, %r8
lea addresses_UC_ht+0x16700, %r12
add %r8, %r8
movb $0x61, (%r12)
nop
cmp %r14, %r14
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %r8
push %rax
push %rbx
push %rsi
// Store
lea addresses_WC+0x1ee4a, %rax
nop
dec %r15
movb $0x51, (%rax)
cmp %r8, %r8
// Store
lea addresses_D+0xd860, %rbx
nop
nop
nop
nop
cmp %r10, %r10
movb $0x51, (%rbx)
nop
nop
nop
nop
nop
and $21300, %r15
// Store
lea addresses_WC+0x19360, %r8
nop
nop
nop
nop
nop
inc %r13
movl $0x51525354, (%r8)
nop
nop
nop
xor %r8, %r8
// Store
lea addresses_UC+0x141e0, %rax
nop
nop
nop
nop
cmp $42051, %r15
movw $0x5152, (%rax)
xor %rsi, %rsi
// Faulty Load
lea addresses_UC+0x2be0, %rsi
xor %rax, %rax
movb (%rsi), %r8b
lea oracles, %rbx
and $0xff, %r8
shlq $12, %r8
mov (%rbx,%r8,1), %r8
pop %rsi
pop %rbx
pop %rax
pop %r8
pop %r15
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 1, 'same': False, 'type': 'addresses_WC'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 7, 'same': False, 'type': 'addresses_WC'}, 'OP': 'STOR'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 7, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0, 'same': True, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 6, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 8, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'}
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'}
{'src': {'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 2, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'}
{'37': 21829}
37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37
*/
| 33.129707 | 2,999 | 0.653195 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.