text stringlengths 1 1.05M |
|---|
INCLUDE "constants.asm"
; PokemonPicPointers and UnownPicPointers are assumed to start at the same
; address, but in different banks. This is enforced in pokecrystal.link.
SECTION "Pic Pointers", ROMX
INCLUDE "data/pokemon/pic_pointers.asm"
SECTION "Unown Pic Pointers", ROMX
INCLUDE "data/pokemon/unown_pic_poin... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: exportWMF.asm
AUTHOR: Maryann Simmons, Jul 13, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date ... |
; A153151: Rotated binary decrementing: For n<2 a(n) = n, if n=2^k, a(n) = 2*n-1, otherwise a(n) = n-1.
; 0,1,3,2,7,4,5,6,15,8,9,10,11,12,13,14,31,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,63,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,127,64,65,66,67,68,69,70,71,72,7... |
SECTION code_clib
SECTION code_fp_math48
PUBLIC am48_dconst_inf, am48_dconst_pinf, am48_dconst_minf
am48_dconst_inf:
; set AC = +-inf depending on sign
bit 7,b
jr nz, am48_dconst_minf
am48_dconst_pinf:
; set AC = +inf
ld bc,$7fff
join:
ld e,c
ld d,c
ld h,c
ld l,c
ret
am48... |
; +---------------------------------------------------+ ;
; | Sample program DIARY for use with Magic Assembler | ;
; +---------------------------------------------------+ ;
mov ah,09
mov dx,offset(headtxt)
int 21
cmp byte [0081],0d
jne @1
mov dx,o... |
.text
addiu $t1,$0,5
addiu $t2,$0,2
addiu $t3,$0,1
addiu $t4,$0,1
start:
beq $t1,$t2,end
add $t5,$t3,$t4
add $t3,$0,$t4
add $t4,$0,$t5
addiu $t2,$t2,1
j start
end:
add $t5,$0,$t4
xori $t6,$t5,10000
lui $t7,100
sw $t4,0
lw $t8,0
|
; A292410: Difference between (2n+1)^2 and highest power of 2 less than or equal to (2n+1)^2.
; 0,1,9,17,17,57,41,97,33,105,185,17,113,217,329,449,65,201,345,497,657,825,1001,161,353,553,761,977,1201,1433,1673,1921,129,393,665,945,1233,1529,1833,2145,2465,2793,3129,3473,3825,89,457,833,1217,1609,2009,2417,2833,3257,368... |
*NAME OC-3 (intertag - extinter)
*TIME:24.00
*EXPRESS
*PAGE:999,LIST
*LIBRA:23
*DISC:705/SYSTEM,LCROSS
*FILE:LIB,67
*FILE:MEM,30,W
*PERSO:67
*TAKE TAPE:67
* *DISC:705/SYSTEM,WORKIN
* *FILE:LCROSS - PERSO ACCEMБЛEP+ЗAГPYЗЧИK+ЭMYЛЯTOP
* *FILE:ASSEM - OПИCAHИE И TEKCTЫ ACCEMБЛEPA И ЗAГP... |
; A022320: a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 6.
; 1,6,8,15,24,40,65,106,172,279,452,732,1185,1918,3104,5023,8128,13152,21281,34434,55716,90151,145868,236020,381889,617910,999800,1617711,2617512,4235224,6852737,11087962,17940700,29028663,46969364,75998028,122967393,198965422,321932816,520898239,842831... |
0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0001 (0x000002) 0x291E- f:00024 d: 286 | OR[286] = A
0x0002 (0x000004) 0x2100- f:00020 d: 256 | A = OR[256]
0x0003 (0x000006) 0x140E- f:00012 d: 14 | A = A + 14 (0x000E)
... |
lc r4, 0xfffff90a
lc r5, 0xffff8000
gtu r6, r4, r5
halt
#@expected values
#r4 = 0xfffff90a
#r5 = 0xffff8000
#r6 = 0x00000001
#pc = -2147483632
#e0 = 0
#e1 = 0
#e2 = 0
#e3 = 0
|
#ifndef SEGMENT_SPEED_MAP_H
#define SEGMENT_SPEED_MAP_H
#include <fstream>
#include <iostream>
#include <sparsepp/spp.h>
#include <vector>
#include "types.hpp"
using spp::sparse_hash_map;
/**
* This type describes a segment on the map - two nodes
*/
struct Segment
{
bool operator==(const Segment &o) const { r... |
object_const_def ; object_event constants
TVStation1F_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
TVStation1F_ReceptionistScript:
faceplayer
opentext
writetext .AskToPlayText
yesorno
iffalse .NoPlay
checkflag ENGINE_LUCKY_NUMBER_SHOW
iftrue .GameOver
writetext .LookUpText
buttonsound
special Check... |
; A330910: a(n-5) is the number of nonempty subsets of {1,2,...,n} such that the difference of successive elements is at least 5.
; 0,1,3,6,10,15,22,32,46,65,90,123,167,226,305,410,549,733,977,1301,1731,2301,3056,4056,5381,7137,9464,12547,16631,22041,29208,38703,51282,67946,90021,119264,158003,209322,277306,367366,4866... |
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
SECTION code_clib
SECTION code_l_sccz80
PUBLIC l_gt
EXTERN l_compare_result
l_gt:
; DE > HL [signed
; set carry if true
ld a,d
add a,$80
ld b,a... |
; sp1_InvUpdateStruct
; 03.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
SECTION code_sprite_sp1
PUBLIC sp1_InvUpdateStruct
EXTERN SP1V_UPDATELISTT
; FASTCALL
; Add struct_sp1_update to invalidated list so that it is
; drawn at next update.
;
; enter : hl = & struct sp1_update
; uses : af, bc, de, hl... |
_MoveDeleterGreetingText::
text "Umm..."
para "Oh, yes, I'm the"
line "MOVE DELETER."
para "I can make"
line "#MON forget"
cont "moves."
para "Shall I make a"
line "#MON forget?"
done
_MoveDeleterSaidYesText::
text "Which #MON"
line "should forget a"
cont "move?"
prompt
_MoveDeleterWhichMoveText::
te... |
; Author - Jatin Rohilla
; Course - MCA 102
; Objective - Implement Linear Search procedure using TABLE OF PARAMETERS
;
; Approach steps -
; 1. store variables onto TABLE OF PARAMETERS
; 2. call procedure of linear search
; 3. push all current registers to stack
; 4. access required parameters from TABLE OF PARAMETERS... |
#include "VoiceAssistant.h"
namespace VoiceAssistantService {
VoiceAssistant::VoiceAssistant(){}
void VoiceAssistant::addVoiceAssistantObserver(
std::shared_ptr<VoiceAssistantObserverInterface> VoiceAssistantObserver) {
std::lock_guard<std::mutex> lock(m_VoiceAssistantObserversMtx);
m_VoiceAssistantObser... |
// ----------------------------------------------------------------------------
//
//
// SubWorld -- SubMarine Game
//
// Copyright (c) 2020, F.Lainard
// Original author: F.Lainard
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files ... |
; A029915: Convert n from yards to meters.
; 0,1,2,3,4,5,5,6,7,8,9,10,11,12,13,14,15,16,16,17,18,19,20,21,22,23,24,25,26,27,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,47,48,48,49,50,51,52,53,54,55,56,57,58,59,59,60,61,62
mov $1,6
mov $3,6
add $3,$0
mul $1,$3
mov $2,$1
div $1,15
add $1,$2
div $1,7
s... |
; A102548: Number of positive integers <= n that are expressible in the form u^2+v^2, with u and v integers.
; Submitted by Christian Krause
; 1,2,2,3,4,4,4,5,6,7,7,7,8,8,8,9,10,11,11,12,12,12,12,12,13,14,14,14,15,15,15,16,16,17,17,18,19,19,19,20,21,21,21,21,22,22,22,22,23,24,24,25,26,26,26,26,26,27,27,27,28,28,28,29,3... |
; A010158: Continued fraction for sqrt(85).
; 9,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4,18,4,1,1,4
mul $0,2
pow $0,2
mov $1,16
lpb $0
mov $2,$0
mov $... |
org 100h
; add your code here
ret
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1cc2f, %r8
nop
xor %rax, %rax
movl $0x61626364, (%r8)
nop
inc %rcx
lea addresses_WT_ht+0x1a3df, %rcx
nop
nop
nop
sub %rsi, %rsi
mov $0x6162636465666768, %r15
movq %r15, %... |
; $Id: VBoxVgaBiosAlternative8086.asm $
;; @file
; Auto Generated source file. Do not edit.
;
;
; Source file: vgarom.asm
;
; ============================================================================================
;
; Copyright (C) 2001,2002 the LGPL VGABios developers Team
;
; This library is free soft... |
global _start
section .data
align 16
%include "header.inc"
push 12345
fild dword [esp]
fxtract
%include "footer.inc"
|
/* Copyright 2018 Istio Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x15876, %rsi
lea addresses_normal_ht+0x16b8c, %rdi
nop
nop
cmp $3638, %r13
mov $46, %rcx
rep movsw
add $44044, %r11
lea addresses_WC_ht+0x14200, %r15
clflush (%r15)
nop
nop
no... |
###############################################################################
# Copyright 2018 Intel Corporation
# All Rights Reserved.
#
# If this software was obtained under the Intel Simplified Software License,
# the following terms apply:
#
# The source code, information and material ("Material") containe... |
; $Id: ASMNopPause.asm $
;; @file
; IPRT - ASMNopPause().
;
;
; Copyright (C) 2009-2015 Oracle Corporation
;
; This file is part of VirtualBox Open Source Edition (OSE), as
; available from http://www.virtualbox.org. This file is free software;
; you can redistribute it and/or modify it under the terms of the GNU
; Ge... |
; int wa_priority_queue_empty(wa_priority_queue_t *q)
SECTION code_clib
SECTION code_adt_wa_priority_queue
PUBLIC _wa_priority_queue_empty
EXTERN _ba_priority_queue_empty
defc _wa_priority_queue_empty = _ba_priority_queue_empty
|
; this file is part of Release, written by Malban in 2017
;
HAS_VOICE0 = 1
HAS_TONE0 = 1
FIRST7 = $3E
dw $0044
pattern3Data:
db $F7, $3C, $87, $9B, $BB, $C4, $F1, $C0, $C0, $75
db $39, $DD, $DC, $A7, $8E, $06, $07, $B3, $C5, $DD
db $EA, $78, $E0, $60, $3D, $9E, $2E, $EF, $53, $C7
db $03, $03, $D9, $E2, $EE, $F5, ... |
.size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld a, 05
ldff(43), a
ld b, 02
call lwaitly_b
ld c, 41
ld a, 08
ldff(c), a
ld a, 02
ldff(ff), a
ei
.text@1000
lstatint:
nop
.text@1058
ldf... |
; A060354: The n-th n-gonal number: a(n) = n*(n^2-3*n+4)/2.
; 0,1,2,6,16,35,66,112,176,261,370,506,672,871,1106,1380,1696,2057,2466,2926,3440,4011,4642,5336,6096,6925,7826,8802,9856,10991,12210,13516,14912,16401,17986,19670,21456,23347,25346,27456,29680,32021,34482,37066,39776,42615,45586,48692,51936,55321,58850,62526,... |
db 0 ; species ID placeholder
db 45, 49, 49, 45, 65, 65
; hp atk def spd sat sdf
db GRASS, POISON ; type
db 45 ; catch rate
db 64 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F12_5 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/bulbasau... |
; A145423: Decimal expansion of Sum_{n>=1} (-1)^(n-1)/(n^2-1/4)^2.
; Submitted by Jon Maiga
; 1,7,1,6,8,1,4,6,9,2,8,2,0,4,1,3,5,2,3,0,7,4,7,1,3,2,3,3,4,4,0,9,9,4,2,3,1,6,0,5,6,6,1,2,0,1,2,4,9,7,8,8,3,5,8,0,5,0,1,1,0,8,1,5,3,8,4,3,6,7,1,8,7,4,2,7,5,8,2,0,0,2,7,4,3,9,3,0,3,4,9,3,1,5,7,6,5,8,6,4
add $0,1
mov $2,1
mov $3,... |
; A084635: Binomial transform of 1,0,1,0,1,1,1,...
; 1,1,2,4,8,17,38,86,192,419,894,1872,3864,7893,16006,32298,64960,130375,261310,523300,1047416,2095801,4192742,8386814,16775168,33552107,67106238,134214776,268432152,536867229,1073737734,2147479122
mov $2,$0
mov $5,$0
add $5,1
lpb $5
mov $0,$2
sub $5,1
sub $0,$5... |
;Program to copy the number 34h in registers R5,R6 and R7
org 0000h
mov r5,#34h ;move the immediate value
mov r6,#34h ;of 34h in each of
mov r7,#34h ;the registers
end
|
MODULE generic_console_ioctl
PUBLIC generic_console_ioctl
SECTION code_clib
INCLUDE "ioctl.def"
EXTERN generic_console_cls
EXTERN generic_console_font32
EXTERN generic_console_udg32
EXTERN __multi8_mode
EXTERN __console_h
EXTERN __console_w
EXTERN __port29_copy
EXTERN __vram_in
EXTERN ... |
incbin "data/gfx_main_dma.bin":(0*$8000)-(1*$8000) -> $9C8000
incbin "data/gfx_main_dma.bin":(1*$8000)-(2*$8000) -> $9D8000
incbin "data/gfx_main_dma.bin":(2*$8000)-(3*$8000) -> $9E8000
incbin "data/gfx_main_dma.bin":(3*$8000)-(4*$8000) -> $9F8000
incbin "data/gfx_main_dma.bin":(4*$8000)-(5*$8000) -> $F58000
... |
; A088625: 14*C(n,8).
; 0,0,0,0,0,0,0,0,14,126,630,2310,6930,18018,42042,90090,180180,340340,612612,1058148,1763580,2848860,4476780,6864396,10296594,15142050,21871850,31081050,43513470,60090030,81940950,110442150,147256200,194378184,254186856,329501480
bin $0,8
mov $1,$0
mul $1,14
|
LOAD equ 07c00h
EXEC equ 0600h
PT_OFF equ 01beh
MAGIC equ 0aa55h
FL_PACKET equ 080h
NHRDRV equ 0475h
org LOAD
start:
cld
xor ax,ax
mov es,ax
mov ds,ax
mov ss,ax
mov sp,LOAD
mov di,main-EXEC+LOAD
mov si,main
mov cx,0200h - (main-start)
rep movsb
;jmp main-EXEC+LOAD
jmp 0000:0F21Ch
main:
mov ax,cs
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rsi
lea addresses_UC_ht+0xcbe1, %r8
nop
inc %r15
movb $0x61, (%r8)
nop
nop
nop
xor %r9, %r9
lea addresses_WT_ht+0x16f81, %rsi
nop
nop
nop
nop
cmp $39205, %r9
mov $0x6162636465666768, %r14
movq %r14, %xmm7
vmovup... |
; A036666: Numbers k such that 5*k + 1 is a square.
; 0,3,7,16,24,39,51,72,88,115,135,168,192,231,259,304,336,387,423,480,520,583,627,696,744,819,871,952,1008,1095,1155,1248,1312,1411,1479,1584,1656,1767,1843,1960,2040,2163,2247,2376,2464,2599,2691,2832,2928,3075,3175,3328,3432,3591,3699,3864,3976,4147,4263,4440,4560,4... |
; void SMS_hideSprite(unsigned char sprite)
SECTION code_clib
SECTION code_SMSlib
PUBLIC _SMS_hideSprite
EXTERN asm_SMSlib_hideSprite
_SMS_hideSprite:
pop af
pop hl
push hl
push af
jp asm_SMSlib_hideSprite
|
;;
;; aPLib compression library - the smaller the better :)
;;
;; fasm assembler crc32
;;
;; Copyright (c) 1998-2014 Joergen Ibsen
;; All Rights Reserved
;;
;; http://www.ibsensoftware.com/
;;
; CRC32 calculation taken from the zlib source, which is
; Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
format M... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publi... |
;----------------------------------------------------------;
; BOS kernel Christoffer Bubach, 2003-2015. ;
;----------------------------------------------------------;
; ;
; Set/modify IDT entries ;
; ... |
;**************************************************************
; VRAM WRITE MACROS
;**************************************************************
; Some utility macros to help generate addresses and commands for
; writing data to video memory, since they're tricky (and
; error prone) to calculate manually.
; The resu... |
;
; Z88 Graphics Functions
; Written around the Interlogic Standard Library
;
; Wide resolution (int type parameters) and CALLEE conversion by Stefano Bodrato, 2018
;
; ----- void __CALLEE__ xordraw(int x, int y, int x2, int y2)
;
;
; $Id: w_xordraw_callee.asm $
;
IF !__CPU_INTEL__
SECTION code_graph... |
; A158056: a(n) = 16*n^2 + 2*n.
; 18,68,150,264,410,588,798,1040,1314,1620,1958,2328,2730,3164,3630,4128,4658,5220,5814,6440,7098,7788,8510,9264,10050,10868,11718,12600,13514,14460,15438,16448,17490,18564,19670,20808,21978,23180,24414,25680,26978,28308,29670,31064,32490,33948,35438,36960,38514,40100,41718,43368,45050,4... |
_benchmark: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "memlayout.h"
int number_of_processes = 10;
int main(int argc, char *argv[])
{
0: f3 0f 1e fb endbr32
4: 8d 4c 24 04 lea 0x4(%esp),%ecx
8: 83 e4 f0 and $0xfffffff0,%esp
... |
; A047262: Numbers that are congruent to {0, 2, 4, 5} mod 6.
; 0,2,4,5,6,8,10,11,12,14,16,17,18,20,22,23,24,26,28,29,30,32,34,35,36,38,40,41,42,44,46,47,48,50,52,53,54,56,58,59,60,62,64,65,66,68,70,71,72,74,76,77,78,80,82,83,84,86,88,89,90,92,94,95,96,98,100,101,102,104,106,107,108,110,112,113,114,116,118,119,120,122,1... |
; =====================================
; PROTOTYPE : void set_text_mode(void)
; INPUT : n/a
; RETURN : n/a
; =====================================
set_text_mode:
pusha
mov ax, 0x3 ; 80x25 @ 16 color mode
int 10h ; call BIOS interrupt
popa
ret
; ==============================
; PROTOTYPE : void reboot(void... |
; A267652: a(n) = 4*a(n - 1) + 4*a(n - 2) for n>1, a(0)=2, a(1)=3.
; Submitted by Jamie Morken(s2.)
; 2,3,20,92,448,2160,10432,50368,243200,1174272,5669888,27376640,132186112,638251008,3081748480,14879997952,71846985728,346907934720,1675019681792,8087710466048,39050920591360,188554524229632,910421779283968,439590521405... |
0x200 : : 122E : : JMP 0x22E (L01)
0x202 : : 5B43 : "[C" :
0x204 : : 6F6E : "on" :
0x206 : : 7761 : "wa" :
0x208 : : 7927 : "y'" :
0x20A : : 7320 : "s " :
0x20C : : 4C69 : "Li" :
0x20E : : 6665 : "fe" :
0x210 : : 2C20 : ", " :
0x212 : : 476F : "Go" :
0x214 : : 7370 : "sp... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1803b, %rbp
nop
nop
nop
cmp $9749, %rcx
movw $0x6162, (%rbp)
nop
nop
nop
cmp %r14, %r14
lea addresses_normal_ht+0xc173, %r10
nop
and $47509, %rax
mov $0x6162636465666768, %r... |
/////////////////////////////////////////////////////////////////////////////
//
// Detours Test Program (ia64.asm/disas.exe)
//
// Microsoft Research Detours Package, Version 3.0.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
.section .text
.proc TestCodes#
.global TestCodes#
... |
; int esxdos_disk_info(uchar device, void *buf)
SECTION code_clib
SECTION code_esxdos
PUBLIC _esxdos_disk_info_callee
PUBLIC l0_esxdos_disk_info_callee
EXTERN asm_esxdos_disk_info
_esxdos_disk_info_callee:
pop hl
dec sp
pop af
ex (sp),hl
l0_esxdos_disk_info_callee:
push ix
push iy
call a... |
%ifndef MATH_LIB
%define MATH_LIB
;-------------------------------------------------------------------------------
SECTION .text
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; CHECK IF INTEG... |
; A059174: Maximal number of regions into which 5-space can be divided by n hyper-spheres.
; 1,2,4,8,16,32,64,126,240,438,764,1276,2048,3172,4760,6946,9888,13770,18804,25232,33328,43400,55792,70886,89104,110910,136812,167364,203168,244876,293192,348874,412736,485650,568548,662424,768336,887408,1020832,1169870,1335856,1... |
assume cs:code
code segment
start:
; copy code
mov ax, cs
mov ds, ax
mov si, offset lp
mov cx, offset lpend - offset lp
mov ax, 0
mov es, ax
mov di, 200H
cld
rep movsb
; set interrupt vector table
mov ax, 0
mov es, ax
mov word ptr es:[7ch*4], 200H
mov word... |
<%
from pwnlib.shellcraft.i386.linux import syscall
%>
<%page args="fd, fd2"/>
<%docstring>
Invokes the syscall dup2. See 'man 2 dup2' for more information.
Arguments:
fd(int): fd
fd2(int): fd2
</%docstring>
${syscall('SYS_dup2', fd, fd2)}
|
; A062123: a(n) = 2 + 9*n*(1 + n)/2.
; 2,11,29,56,92,137,191,254,326,407,497,596,704,821,947,1082,1226,1379,1541,1712,1892,2081,2279,2486,2702,2927,3161,3404,3656,3917,4187,4466,4754,5051,5357,5672,5996,6329,6671,7022,7382,7751,8129,8516,8912,9317,9731,10154,10586,11027,11477,11936,12404,12881,13367,13862,14366,14879,1... |
copyright zengfr site:http://github.com/zengfr/romhack
00042A move.l D1, (A0)+
00042C dbra D0, $42a
07E7E8 move.l D0, (A0)+
07E7EA dbra D1, $7e7e8
07EA76 move.w (A0)+, (A1)+ [base+6078, base+607A, base+60F8, base+60FA, base+6178, base+617A, base+61F8, base+61FA, base+6278, base+627A, base+62F8, base+... |
; A257442: Number of (n+2) X (3+2) 0..1 arrays with no 3 x 3 subblock diagonal sum 0 and no antidiagonal sum 3 and no row sum 1 and no column sum 1.
; Submitted by Jon Maiga
; 39,41,47,59,77,104,143,200,284,407,587,851,1238,1805,2636,3854,5639,8255,12089,17708,25943,38012,55700,81623,119615,175295,256898,376493,551768,... |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... |
; Title: Win32 API Loader
; Platforms: Windows NT 4.0, Windows 2000, Windows XP, Windows 2003, Windows Vista,
; Author: hdm[at]metasploit.com
[BITS 32]
global _start
_start:
cld
call LKernel32Base
LGetProcAddress:
push ebx
push ebp
push esi
push edi
mov ebp, [esp + 24]
m... |
; A206816: Sum_{0<j<n} (n!-j!).
; 1,9,63,447,3447,29367,276327,2856807,32250087,395130087,5225062887,74201293287,1126567808487,18213512883687,312440245683687,5668674457011687,108462341176755687,2182831421832627687,46096712669420979687,1019257515940076979687,23550363013663940019687,567566715258026057139687,1424328357012... |
// wiredtiger_server_status.cpp
/**
* Copyright (C) 2014 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
*
* This program is distribu... |
; A146951: Rank of terms of A061047 ending in with 0.
; 0,6,10,16,20,26,30,36,40,46,50,56,60,66,70,76,80,86,90,96,100,106,110,116,120,126,130,136,140,146,150,156,160,166,170,176,180,186,190,196,200,206,210,216,220,226,230,236,240,246,250,256,260,266,270,276,280,286,290,296,300,306,310,316,320,326,330,336,340,346,350,35... |
; ssize_t write_callee(int fd, const void *buf, size_t nbyte)
SECTION code_fcntl
PUBLIC _write_callee, l0_write_callee
EXTERN asm_write
_write_callee:
pop af
pop hl
pop de
pop bc
push af
l0_write_callee:
push ix
call asm_write
pop ix
ret
|
/// \copyright Tobias Hienzsch 2019-2021
/// Distributed under the Boost Software License, Version 1.0.
/// See accompanying file LICENSE or copy at http://boost.org/LICENSE_1_0.txt
#ifndef TETL_ALGORITHM_REVERSE_COPY_HPP
#define TETL_ALGORITHM_REVERSE_COPY_HPP
namespace etl {
/// \brief Copies the elements from the... |
/*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
Q Light Controller Plus
inputoutputmanager.cpp
Copyright (c) Massimo Callegari
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0.txt
... |
/*************************************************************************
* *
* Open Dynamics Engine, Copyright (C) 2001,2002 Russell L. Smith. *
* All rights reserved. Email: russ@q12.org Web: www.q12.org *
* ... |
; A105693: a(n) = Fibonacci(2n+2)-2^n.
; 0,1,4,13,39,112,313,859,2328,6253,16687,44320,117297,309619,815656,2145541,5637351,14799280,38826025,101809867,266865720,699311581,1832117599,4799138368,12569491809,32917725667,86200462408,225717215989,591018294423,1547471885008,4051665796057,10608062374075,27773595067992,727148... |
// Copyright (c) 2017-2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "libzerocoin/Denominations.h"
#include "amount.h"
#include "chainparams.h"
#include "coincontrol.h"
#include "main.h"
#inclu... |
/*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Benchmark.h"
#include "SkBitmap.h"
#include "SkCanvas.h"
#include "SkColorPriv.h"
#include "SkPaint.h"
#include "SkRandom.h"
#include "SkShader.h"
#include "SkString... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.24.28117.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG5092 DB 'ten', 00H
ORG $+4
$SG5093 DB 'not ten', 00H
$SG5096 DB 'Hello World!', 0aH, 00H
CONST ENDS
PUBLIC __local_stdio_printf_options
PUBLIC _vfprintf_l
PUBLIC... |
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "fidl-handler.h"
#include <fuchsia/io/llcpp/fidl.h>
#include <lib/fidl/internal.h>
#include <lib/fidl/txn_header.h>
#include <stdio.h>
#include <... |
<%
from pwnlib.shellcraft.thumb.linux import syscall
%>
<%page args="pid"/>
<%docstring>
Invokes the syscall getpgid. See 'man 2 getpgid' for more information.
Arguments:
pid(pid_t): pid
</%docstring>
${syscall('SYS_getpgid', pid)}
|
; A298029: Coordination sequence of Dual(3.4.6.4) tiling with respect to a trivalent node.
; 1,3,6,12,18,33,39,51,57,69,75,87,93,105,111,123,129,141,147,159,165,177,183,195,201,213,219,231,237,249,255,267,273,285,291,303,309,321,327,339,345,357,363,375,381,393,399,411,417,429,435,447,453,465,471,483,489,501,507,519,525... |
#include "RecoLocalCalo/HcalRecAlgos/interface/HcalHF_PETalgorithm.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/METReco/interface/HcalCaloFlagLabels.h"
#include "CondFormats/HcalObjects/interface/HcalChannelQuality.h"
#include "RecoLocalCalo/HcalRecAlgos/interface/HcalSeverityLevel... |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/*
* OPCODE - Optimized Collision Detection
* Copyright (C) 2001 Pierre Terdiman
* Homepage: http://www.codercorner.c... |
; A162668: a(n) = n*(n+1)*(n+2)*(n+3)/3.
; 0,8,40,120,280,560,1008,1680,2640,3960,5720,8008,10920,14560,19040,24480,31008,38760,47880,58520,70840,85008,101200,119600,140400,163800,190008,219240,251720,287680,327360,371008,418880,471240,528360,590520,658008,731120,810160,895440,987280,1086008,1191960,1305480,1426920,155... |
; **************************************************************
; * ayfx driver
; **************************************************************
; Based on the border driver here:
; https://gitlab.com/thesmog358/tbblue/-/blob/master/src/asm/border/border_drv.asm
;
; Uses Shiru's afyplay.a80 // http://shiru.untergrund.... |
db 0 ; species ID placeholder
db 80, 50, 100, 50, 100, 200
; hp atk def spd sat sdf
db ICE, ICE ; type
db 3 ; catch rate
db 216 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_UNKNOWN ; gender ratio
db 80 ; step cycles to hatch
INCBIN "gfx/pokemon/regice/front.dimensions"
db GROWTH_SLOW ; growth... |
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: OpenLook/View
FILE: viewManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
DESCRIPTION:
... |
; A153337: Number of zig-zag paths from top to bottom of a 2n-1 by 2n-1 square whose color is that of the top right corner
; Submitted by Christian Krause
; 1,4,24,136,720,3624,17584,83024,383904,1746280,7839216,34812144,153204064,669108496,2903267040,12526343584,53779871552,229895033832,978965187184,4154438114480,1757... |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : fform.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ***... |
// Fill out your copyright notice in the Description page of Project Settings.
#include "divr.h"
#include "DummyClass.h"
DummyClass::DummyClass()
{
}
DummyClass::~DummyClass()
{
}
|
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; ----------------------------------------------------------------
; void BIFROSTH_fillTileAttrH(unsigned char lin,unsigned char col,unsigned ch... |
; void *tshr_saddrpup(void *saddr)
SECTION code_clib
SECTION code_arch
PUBLIC _tshr_saddrpup_fastcall
EXTERN _zx_saddrpup_fastcall
defc _tshr_saddrpup_fastcall = _zx_saddrpup_fastcall
|
extern isalpha
extern isalnum
section .text
global str_isidentifier
str_isidentifier:
push rbx
mov rbx, rdi
movzx edi, byte [rbx]
call isalpha wrt ..plt
test eax, eax
jne .loop_start
cmp byte [rbx], '_'
jne .return_false
add rbx, 1
.loop_start:
movzx edi, byte [rbx]
call isa... |
; A151981: Numbers n such that n^2 - n is divisible by 48.
; 0,1,16,33,48,49,64,81,96,97,112,129,144,145,160,177,192,193,208,225,240,241,256,273,288,289,304,321,336,337,352,369,384,385,400,417,432,433,448,465,480,481,496,513,528,529,544,561,576,577,592,609,624,625,640,657,672
lpb $0,1
add $2,$0
lpb $0,1
sub $0... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x52f0, %rcx
and %rsi, %rsi
movw $0x6162, (%rcx)
nop
nop
nop
cmp %rdi, %rdi
lea addresses_WC_ht+0xd10, %rax
nop
add %r11, %r11
vmovups (%rax), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq... |
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
;;;
;;; ASM Source code for Red GBC, by Evan Bowman, 2021
;;;
;;;
;;; The following licence covers the source code included in this file. The
;;; game's characters and artwork belong to Evan Bowman, and should not be used
;;; without permi... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xb209, %rsi
lea addresses_normal_ht+0xa549, %rdi
nop
nop
cmp %r9, %r9
mov $103, %rcx
rep movsw
nop
nop
nop
cmp %r9, %r9
lea addresses_normal_ht+0x10a9, %rax
nop
nop
nop
cmp $2... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.