text stringlengths 1 1.05M |
|---|
DEFAULT_HANDLER_SIZE: equ 9 ; size of exception/interrupt stub
SYS_CODE_SEL: equ 0x20 ; 32-bit code selector in GDT
PE_OFFSET_IN_MZ_STUB: equ 0x3c ; place in MsDos stub for offset to PE Header
VGA_FB: equ 0x000b8000 ; VGA framebuffer for 80x25 mono mode
VGA_LINE: equ 80 * 2 ; # bytes in one line
BASE_ADDR_32... |
; A250807: Number of (n+1) X (3+1) 0..2 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.
; 225,873,3081,10233,32745,102393,315561,963513,2924265,8840313,26656041,80238393,241255785,724848633,2176708521,6534450873,19612003305,58853311353,176594537001... |
; A017265: a(n) = (9*n + 8)^9.
; 134217728,118587876497,5429503678976,78815638671875,618121839509504,3299763591802133,13537086546263552,45848500718449031,134217728000000000,350356403707485209,833747762130149888,1838459212420154507,3802961274698203136,7450580596923828125,13929745610903012864,25004854810776297743,4331040... |
;================================================================================
;--------------------------------------------------------------------------------
AssignKiki:
LDA.b #$00 : STA $7EF3D3 ; defuse bomb
LDA.b #$0A : STA $7EF3CC ; assign kiki as follower
RTL
;----------------------------------------... |
/* For each table to support, we define a wrapper class which holds the table
* and implements all of the benchmarked operations. Below we list all the
* methods each wrapper must implement.
*
* constructor(size_t n) // n is the initial capacity
* template <typename K, typename V>
* bool read(const K& k, V& v) co... |
; AVX mpn_and_n
;
; Copyright 2017 Jens Nurmann
;
; This file is part of the MPIR Library.
; The MPIR Library is free software; you can redistribute it and/or modify
; it under the terms of the GNU Lesser General Public License as published
; by the Free Software Foundation; either version 2.1 of the License, or ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x15a9f, %r13
inc %r11
mov (%r13), %cx
nop
nop
nop
inc %r11
lea addresses_WT_ht+0xca9f, %r11
nop
add $9734, %rcx
mov $0x6162636465666768, %r12
movq %r12, %xmm4
vmovups %ymm4, (%... |
;***
;* $Workfile: htoi.asm $
;* $Revision: 1.0 $
;* $Author: Dave Sewell $
;* $Date: 28 Apr 1989 16:50:42 $
;*
;* Hex string to integer, assembly language version
;**/
INCLUDE dos.mac
TEXTSEG
; extern int pascal htoi(char *pnt);
PASCALDEF htoi
push bp
mov bp, sp
push ... |
; contributed by drain
mov 0xfffe, re
mov 99, r0
loop:
ifeq r0, 0 mov nomore, rf
call printnum
mov message0, rc
call printstr
call printnum
mov message1, rc
call printstr
sub r0, 1, r0
call printnum
mov message2, rc
call printstr
mov loop, rf
nomore:
mov message3, rc
... |
; A212523: Number of (w,x,y,z) with all terms in {1,...,n} and w+x<y+z.
; 0,0,5,31,106,270,575,1085,1876,3036,4665,6875,9790,13546,18291,24185,31400,40120,50541,62871,77330,94150,113575,135861,161276,190100,222625,259155,300006,345506,395995,451825,513360,580976,655061,736015,824250,920190,1024271,1136941,1258660,13899... |
; A085501: Number of prime powers p^k <= n that are not prime (k = 0 or k > 1).
; 1,1,1,2,2,2,2,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,6,6,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11
... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c611, %rsi
lea addresses_UC_ht+0x10311, %rdi
clflush (%rsi)
nop
and $1168, %rdx
mov $47, %rcx
rep movsl
nop
nop
inc %r14
lea addresses_normal_ht+0x3d11, %r13
nop
nop
nop
nop... |
; A101184: a(n) = n + pi(n) + pi(pi(n)) + pi(pi(pi(n))) + pi(pi(pi(pi(n)))) + ...
; 1,3,6,7,11,12,14,15,16,17,22,23,25,26,27,28,31,32,34,35,36,37,39,40,41,42,43,44,46,47,53,54,55,56,57,58,60,61,62,63,66,67,69,70,71,72,74,75,76,77,78,79,81,82,83,84,85,86,90,91,93,94,95,96,97,98,101,102,103,104,106,107,109,110,111,112,11... |
class Solution {
public:
int maxEnvelopes(vector<vector<int>>& envelopes) {
if (envelopes.empty()) {
return 0;
}
std::sort(envelopes.begin(), envelopes.end(), [&](std::vector<int> &a, std::vector<int> &b){
return a[0] < b[0];
});
std::vector<int> dp(en... |
SECTION code_fp_math48
PUBLIC _erf
EXTERN cm48_sdccix_erf
defc _erf = cm48_sdccix_erf
|
; A082841: a(n) = 4*a(n-1) - a(n-2) for n>1, a(0)=3, a(1)=9.
; 3,9,33,123,459,1713,6393,23859,89043,332313,1240209,4628523,17273883,64467009,240594153,897909603,3351044259,12506267433,46674025473,174189834459,650085312363,2426151414993,9054520347609,33791929975443,126113199554163,470660868241209,1756530273410673,655546... |
; A122367: Dimension of 3-variable non-commutative harmonics (twisted derivative). The dimension of the space of non-commutative polynomials in 3 variables which are killed by all symmetric differential operators (where for a monomial w, d_{xi} ( xi w ) = w and d_{xi} ( xj w ) = 0 for i != j).
; 1,2,5,13,34,89,233,610,... |
; Hello World Assembly Test Program (v1.0, July 6 2010)
; Written by Ian Seyler
;
; BareMetal compile:
; nasm hello.asm -o hello.app
[BITS 64]
[ORG 0x0000000000200000]
%INCLUDE "bmdev.asm"
start: ; Start of program label
mov rsi, hello_message ; Load RSI with memory address of string
call b_p... |
copyright zengfr site:http://github.com/zengfr/romhack
0040A4 move.b (A6,D0.w), ($c1,A0) [enemy+A0]
0040AA rts [enemy+C1]
0253DC beq $25442 [enemy+C1]
0267A8 beq $2680e [enemy+C1]
0291D0 beq $29236 [enemy+C1]
02A592 beq $2a602
02B7BE beq $2b824 [enemy+C1]
03675A beq $367c0
copyright ... |
/*! \file Module.cpp
Copyright 2014-2015 Universidad de los Andes, Bogotá, Colombia.
University of Massachusetts, Amherst
This file is part of the ChoiceNet Network Simulation System.
NETAUM is free software; you can redistribute it and/or modify
it under the terms of... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4fe6, %r13
nop
lfence
mov $0x6162636465666768, %rdx
movq %rdx, %xmm2
movups %xmm2, (%r13)
nop
nop
nop
nop
nop
sub $30118, %r14
lea addresses_WT_ht+0x3e1e, %rsi
lea addresses_... |
;
; Z88 Graphics Functions - Small C+ stubs
;
; Written around the Interlogic Standard Library
;
; Stubs Written by D Morris - 30/9/98
;
;
; $Id: uncircle_callee.asm $
;
; Usage: uncircle(int x, int y, int radius, int skip);
IF !__CPU_INTEL__ & !__CPU_GBZ80__
SECTION code_graphics
P... |
#include "instance.h"
#include "../mesh/structures/mesh.h"
#include "../solver/generic/SparseMatrix.h"
#include "solution.h"
using namespace espreso;
Instance::Instance(const Mesh &mesh)
: domains(mesh.parts()),
domainDOFCount(_domainDOFCount),
properties(_properties),
neighbours(mesh.neighbours()),
cluster... |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
; A076984: Number of Fibonacci numbers that are divisors of the n-th Fibonacci number.
; Submitted by Jon Maiga
; 1,1,2,2,2,3,2,3,3,3,2,5,2,3,4,4,2,5,2,5,4,3,2,7,3,3,4,5,2,7,2,5,4,3,4,8,2,3,4,7,2,7,2,5,6,3,2,9,3,5,4,5,2,7,4,7,4,3,2,11,2,3,6,6,4,7,2,5,4,7,2,11,2,3,6,5,4,7,2,9,5,3,2,11,4,3,4,7,2,11,4,5,4,3,4,11,2,5,6,8
... |
; Copyright 2021 IBM Corporation
;
; 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 applicable law or agreed to in writi... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2013 The NovaCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "miner.h"... |
/*
* Copyright (C) 2005 National Association of REALTORS(R)
*
* All rights reserved.
*
* 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 limitat... |
; A122760: Triangle read by rows: t(n,m) = 2*3^m*(n mod 2).
; Submitted by Jamie Morken(s2)
; 0,2,6,0,0,0,2,6,18,54,0,0,0,0,0,2,6,18,54,162,486,0,0,0,0,0,0,0,2,6,18,54,162,486,1458,4374,0,0,0,0,0,0,0,0,0,2,6,18,54,162,486,1458,4374,13122,39366,0,0,0,0,0,0,0,0,0,0,0
lpb $0
cmp $2,0
add $3,1
sub $0,$3
lpe
lpb $0
... |
constant original_title_screen(0)
origin $003F5000
text_title_1:
gameTitle(" APERTE START ")
text_title_2:
gameTitle(" ")
text_title_3:
gameTitle(" @1995 Produzido por SEGA ")
text_title_4:
gameTitle(" @1994 Música por Yuzo Koshiro ")
text_title_5:
gameTitle(... |
section .multiboot_header
header_start:
dd 0xe85250d6 ; magic number (multiboot 2)
dd 0 ; architecture 0 (protected mode i386)
dd header_end - header_start ; header length
; checksum
dd 0x100000000 - (0xe85250d6 + 0 + (header_end - header_start))
; MULTIB... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xeb41, %r12
cmp %rdi, %rdi
movb (%r12), %r11b
nop
inc %r12
lea addresses_normal_ht+0x7ea1, %rsi
lea addresses_UC_ht+0xf61a, %rdi
xor $36633, %r12
mov $19, %rcx
rep movsl
nop
... |
EMSF_EXISTS EQU 01h ; EMS exits.
EMSF_LIM_40 EQU 02h ; LIM 4.0 is available.
EMSF_LIB_CODE EQU 04h ; Library code segs above the line.
EMSF_DATA_ABOVE EQU 08h ; Task data segments above the line.
EMSF_RESOURCES_ABOVE EQU 10h ; Task resources above the line.
EMSF_SEARCH_PID_STACKS EQU 20h ; PatchStack search this PI... |
#pragma comment(lib, "dxgi.lib")
#pragma comment(lib, "d3d11.lib")
#include <chrono>
#include "metro/MetroModel.h"
#include "metro/MetroSkeleton.h"
#include "metro/MetroMotion.h"
#include "metro/MetroTexture.h"
#include "metro/MetroFileSystem.h"
#include "metro/MetroTexturesDatabase.h"
#include "RenderPanel.h"
// m... |
; A313543: Coordination sequence Gal.6.196.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,14,19,23,29,33,38,42,47,52,57,62,66,71,75,81,85,90,94,99,104,109,114,118,123,127,133,137,142,146,151,156,161,166,170,175,179,185,189,... |
; CONFIGURATION {{{
cm_main_goto_config:
%cm_submenu("Configuration", cm_submenu_config)
cm_submenu_config:
dw cm_gameplay_rerandomize
dw cm_config_music
dw cm_config_autoload_preset
dw cm_config_preset_category
dw cm_config_hud_font
dw !menu_end
%cm_header("CONFIGURATION")
cm_gameplay_rerandomize:
%cm_toggl... |
// Copyright 2019 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 "fake_codec_adapter.h"
#include <lib/media/codec_impl/fourcc.h>
#include <zircon/assert.h>
#include <limits>
#include "fuchsia/sysmem/cpp/fidl.... |
/**********************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and ... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Video driver
FILE: clr4Manager.asm
AUTHOR: Jim DeFrisco
REVISION HISTORY:
Name Date Description
---- ---- -----------
Jim 12/91 initial... |
#ifndef MINHEAP_H
#define MINHEAP_H
#include <iostream>
#include <vector>
#include <cstdlib>
using std::vector;
class MinHeap{
public:
MinHeap();
~MinHeap();
void insert(int item);
int deleteMin();
void printSelf();
private:
void bubbleUp(int index);
void bubbleDown(int index);
vector... |
;
; Z88 Graphics Functions
; Written around the Interlogic Standard Library
;
; Wide resolution (int type parameters) and CALLEE conversion by Stefano Bodrato, 2018
;
;
; $Id: w_xordrawr_callee.asm $
;
; ----- void __CALLEE__ xordrawr_callee(int x, int y)
IF !__CPU_INTEL__
SECTION code_graphics
PU... |
@2 //GO TO FINAL ANSWER BOX
M=0 //ZERO ANS BOX
@0
D=M
@END
D;JEQ //IF ONE PRODUCT IS ZERO
@1
D=M
@END
D;JEQ //IF ONE PRODUCT IS ZERO
@0 //NOT NECESSARY
D=M //
@3 //
M=D //ONLY TO KEEP THE NUMBERS BEING MUTLIPLED
(LOOP)
@1 //GET 2ND NUM
D=M //D HAS 2ND NUM
@2 //GO TO FINAL ANSWER BOX
M=D+M //RAM[2] NOW HAS 2ND NUM... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x2963, %rsi
lea addresses_WT_ht+0xc50f, %rdi
nop
nop
nop
cmp %r14, %r14
mov $107, %rcx
rep movsl
nop
cmp %r11, %r11
lea addresses_WT_ht+0x12f63, %r10
nop
nop
nop
and %rax,... |
// Copyright (c) 2011-2020 The Bitcoin Core and Devcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/devcoingui.h>
#include <qt/devcoinunits.h>
#include <qt/clientmodel.h>
#include <qt/createwall... |
Route12Gate2F_Script:
jp DisableAutoTextBoxDrawing
Route12Gate2F_TextPointers:
dw Route12GateUpstairsText1
dw Route12GateUpstairsText2
dw Route12GateUpstairsText3
Route12GateUpstairsText1:
text_asm
CheckEvent EVENT_GOT_TM39, 1
jr c, .got_item
ld hl, TM39PreReceiveText
call PrintText
lb bc, TM_SWIFT, 1
call... |
; -------------------------------------------------------------------------------------------------
; REGISTERS
; -------------------------------------------------------------------------------------------------
.EQU SREG = 0x3F ; avr status register
.EQU SREG_I = 7 ; global interrupt enable
.EQU SREG_T ... |
; A040784: Continued fraction for sqrt(813).
; 28,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1,18,1,1,56,1,1
seq $0,10225 ; Continued fraction for sqrt(183).
mul $0,90
div $0,72
add $0,2
seq $... |
/*
* Copyright © <2010>, 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, merg... |
.data
hexNo: .asciiz "14"
invalidHexNo: .asciiz "You have entered invalid hexadecimal number."
.text
main:
#li $s0, 0x10010000
la $a0, hexNo # To save beginning address of string hexNo
addi $t2, $zero, 0 # Beginning length of string hexNo
size:
lb $t0, 0($a0)
beq $t0, '\0', exitSize
ad... |
//========= Copyright Valve Corporation, All rights reserved. ============//
#include "cbase.h"
#include "clientsteamcontext.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
static CClientSteamContext g_ClientSteamContext;
CClientSteamContext &ClientSteamContext()
{
return ... |
; A004955: Nearest integer to n*phi^20, where phi is the golden ratio, A001622.
; 0,15127,30254,45381,60508,75635,90762,105889,121016,136143,151270,166397,181524,196651,211778,226905,242032,257159,272286,287413,302540,317667,332794,347921,363048,378175,393302,408429,423556,438683,453810,468937,484064,499191,514318,5294... |
/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
wlsample.cpp
Abstract:
Sample code for WLAN APIs
Date:
11/08/2005 created
08/22/2006 modified
Environment:
User mode only
--*/
// define this flag for COM
#define _WIN32_DCOM
#include <windows.h>
#include <co... |
; A117830: Let S_m be the infinite sequence formed by starting with m and repeatedly reversing the digits and adding 4 to get the next term. For all m < 1015, S_m enters the cycle of length 54 whose terms are shown here.
; 5,9,13,35,57,79,101,105,505,509,909,913,323,327,727,731,141,145,545,549,949,953,363,367,767,771,1... |
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/F... |
.data
message: .asciiz "This is a message\n"
.text
la $a0, message # general message to print will be loaded to $a0
# user input will be stored in $f0
# user selection will be stored in $a1
# $a1 = 0:OK, -1:Wrong input, -2:Cancel, -3:OK but no data.
addi $v0, $zero, 52 # service 52 to display a float di... |
; A066224: Bisection of A000085.
; Submitted by Christian Krause
; 1,4,26,232,2620,35696,568504,10349536,211799312,4809701440,119952692896,3257843882624,95680443760576,3020676745975552,101990226254706560,3666624057550245376,139813029266338603264
mul $0,2
mov $1,1
lpb $0
add $2,$1
mul $2,$0
sub $0,1
add $1,$2
... |
adc (ix) ; Error
adc (ix+127) ; Error
adc (ix-128) ; Error
adc (iy) ; Error
adc (iy+127) ; Error
adc (iy-128) ; Error
adc a', (hl) ; Error
adc a', (ix) ; Error
... |
; void *sms_copy_font_8x8_to_vram(void *font, unsigned char num, unsigned char cbgnd, unsigned char cfgnd)
SECTION code_clib
SECTION code_arch
PUBLIC sms_copy_font_8x8_to_vram_callee
EXTERN asm_sms_copy_font_8x8_to_vram
sms_copy_font_8x8_to_vram_callee:
pop hl
pop bc
pop de
ld d,c
pop bc
ex (sp),... |
/*ckwg +5
* Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to
* KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,
* Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.
*/
#include <QFileInfo>
#include <QRegExp>
#include <QStack>
#include <QThreadStorage>
#include... |
_grep: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
}
}
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b:... |
.ORIG x3000
;Initialize our stack pointer
LEA R6, SP
LDR R6, R6, #0
;Initialize Our X and Y Coordinates
AND R2, R2, #0
AND R3, R3, #0
ADD R2, R2, #4
ADD R3, R3, #7
GAME_LOOP
;Call R0 = UserInput()
LD R5, UserInput
JSRR R5
;--------------------------
; Call Move
LD R5, ... |
; A173740: Triangle T(n,k) = binomial(n,k) + 2 for 1 <= k <= n - 1, n >= 2, and T(n,0) = T(n,n) = 1 for n >= 0, read by rows.
; 1,1,1,1,4,1,1,5,5,1,1,6,8,6,1,1,7,12,12,7,1,1,8,17,22,17,8,1,1,9,23,37,37,23,9,1,1,10,30,58,72,58,30,10,1,1,11,38,86,128,128,86,38,11,1,1,12,47,122,212,254,212,122,47,12,1,1,13,57,167,332,464,... |
menu_online_mode_anim_cursor:
; Frame 1
ANIM_FRAME_BEGIN(8)
ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $01, $fd)
ANIM_SPRITE($fe, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $41, $02)
ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $81, $fd)
ANIM_SPRITE($01, TILE_MENU_ONLINE_MODE_SPRITES_CORNER, $c1, $02)
... |
/*******************************************************************************
* Copyright 2020 Intel Corporation
*
* 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.o... |
1000c408: 55 push ebp
1000c409: 8b ec mov ebp,esp
1000c40b: 53 push ebx
1000c40c: 56 push esi
1000c40d: 57 push edi
1000c40e: 55 push ebp
1000c40f: 6a 00 push 0x0
1000c411: 6a 00... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
; A039970: An example of a d-perfect sequence: a(2*n) = 0, a(2*n+1) = Catalan(n) mod 3.
; Submitted by Jon Maiga
; 1,0,1,0,2,0,2,0,2,0,0,0,0,0,0,0,2,0,2,0,2,0,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,2,0,2,0,1,0,1,0,1,0,0,0,0,0,0,0,1,0,1,0,1,0,2,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
seq ... |
SECTION rodata_font
SECTION rodata_font_fzx
PUBLIC _ff_utz_SkoolBrkCD
_ff_utz_SkoolBrkCD:
BINARY "font/fzx/fonts/utz/SkoolBrk/skoolbrkCD.fzx"
|
// Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2013-2015 Adam Wulkiewicz, Lodz, Poland.
// This file was modified by Oracle on 2014, 2015.
// Modifications copyright (c) 2014-2015 Oracle and/or its affiliates.
// Use, modi... |
[org 0x7c00]
mov [BOOT_DRIVE]
mov bp, 0x8000
mov sp, bp
mov bx, 0x9000
mov dh, 5
mov dl [BOOT_DRIVE]
call disk_load
mov dx, [0x9000]
call print_hex
mov dx, [0x9000 + 512]
call print_hex
jmp $ ; the simplest loop ever tbh
%include "print_string.asm"
%include "print_hex.asm"
%include "disk_load.asm"
; some of our ... |
;Running Ball
;Jackie Wu (Wu Kan)
;14348134
;wkcn@live.cn
;totalDelay = outDelay * inDelay
org 100H
outDelay equ 47000
inDelay equ 1000
;80 x 25
SCREEN_X equ 80
SCREEN_Y equ 25
;Ball in this Rect
MIN_X equ 0
MIN_Y equ 13
MAX_X equ 40
MAX_Y equ 25
;set data segment
;mov ax,07c0h
mov ax,cs
mov ds,ax
... |
; Stub for the Philips P2000 family
;
; Stefano Bodrato - 7/4/2014
;
; $Id: p2000_crt0.asm,v 1.12 2016/07/15 21:03:25 dom Exp $
;
MODULE p2000_crt0
;--------
; Include zcc_opt.def to find out some info
;--------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;--------
; So... |
Name: zel_edmg.asm
Type: file
Size: 3056
Last-Modified: '2016-05-13T04:27:09Z'
SHA-1: 2A85CF491F7F6F0ECA27932B8C31DD332FA312C1
Description: null
|
ReadJoypad::
; Poll joypad input.
; Unlike the hardware register, button
; presses are indicated by a set bit.
ld a, 1 << 5 ; select direction keys
ld c, 0
ld [rJOYP], a
rept 6
ld a, [rJOYP]
endr
cpl
and %1111
swap a
ld b, a
ld a, 1 << 4 ; select button keys
ld [rJOYP], a
rept 10
ld a, [rJOYP]
endr
c... |
; A204694: a(n) = n^n (mod 8).
; 1,1,4,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0,7,0,1,0,3,0,5,0
mov $1,1
mov $2,$0
lpb $0,1
sub $0,1
mul $1,$2
mod $1,8
lpe
add $1,5
mov $2,$0
sub $2,1
mov $3,$2
pow $3,2... |
; A089143: a(n) = 9*2^n - 6.
; 3,12,30,66,138,282,570,1146,2298,4602,9210,18426,36858,73722,147450,294906,589818,1179642,2359290,4718586,9437178,18874362,37748730,75497466,150994938,301989882,603979770,1207959546,2415919098,4831838202,9663676410,19327352826
mov $1,2
pow $1,$0
sub $1,1
mul $1,9
add $1,3
mov $0,$1
|
; int wv_priority_queue_resize(wv_priority_queue_t *q, size_t n)
SECTION code_clib
SECTION code_adt_wv_priority_queue
PUBLIC _wv_priority_queue_resize
EXTERN _wa_priority_queue_resize
defc _wv_priority_queue_resize = _wa_priority_queue_resize
|
/*
-------------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2014-2016 Kim Kulling
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
t... |
; A152624: Decimal expansion of 7/2.
; 3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mov $1,3
mov $4,$0
add $1,$4
add $1,$4
clr $0,$4
|
; Copyright (c) 2009-2014, Berend-Jan "SkyLined" Wever <berendjanwever@gmail.com>
; and Peter Ferrie <peter.ferrie@gmail.com>
; Project homepage: http://code.google.com/p/win-exec-calc-shellcode/
; All rights reserved. See COPYRIGHT.txt for details.
; Windows x86 null-free shellcode that executes calc.exe.
; Wor... |
; --COPYRIGHT--,BSD_EX
; Copyright (c) 2012, Texas Instruments Incorporated
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
;
; * Redistributions of source code must retain the ... |
; void *w_array_data(w_array_t *a)
SECTION code_adt_w_array
PUBLIC _w_array_data
EXTERN _b_array_data
defc _w_array_data = _b_array_data
|
; A084240: a(n) = -5*a(n-1) - 4*a(n-2), a(0)=1, a(1)=0.
; 1,0,-4,20,-84,340,-1364,5460,-21844,87380,-349524,1398100,-5592404,22369620,-89478484,357913940,-1431655764,5726623060,-22906492244,91625968980,-366503875924,1466015503700,-5864062014804,23456248059220,-93824992236884,375299968947540
seq $0,84241 ; a(n) = -5*a(... |
layersNoSound dc.b $00
ytemplayer dc.b $00
SUBROUTINE
;-------------------------------------------------------------
;-- updates the layer status (nr in accu)
;-------------------------------------------------------------
updateLayer
pha
sta .todo + 1
txa
pha
tya
pha
jsr waitForScrollDone
jsr switchFrame... |
; A024110: a(n) = 9^n - n^9.
; 1,8,-431,-18954,-255583,-1894076,-9546255,-35570638,-91171007,0,2486784401,29023111918,277269756129,2531261328956,22856131408177,205852688735274,1852951469375105,16677063111790072,150094436937708753,1350851394985294310,12157664947056928801,109418988337232312628,984770900976342015089,88629... |
.proc charset_on_key
lda last_key
cmp #16
jeq charset_char_select_up
cmp #17
jeq charset_char_select_down
cmp #14
jeq charset_char_select_left
cmp #15
jeq charset_char_select_right
rts
.endp
.proc charset_char_select_left
dec charset_char_x
spl
mva #31 charset_char_x
jmp chars... |
; A098474: Triangle read by rows, T(n,k) = C(n,k)*C(2*k,k)/(k+1), n>=0, 0<=k<=n.
; Submitted by Jon Maiga
; 1,1,1,1,2,2,1,3,6,5,1,4,12,20,14,1,5,20,50,70,42,1,6,30,100,210,252,132,1,7,42,175,490,882,924,429,1,8,56,280,980,2352,3696,3432,1430,1,9,72,420,1764,5292,11088,15444,12870,4862,1,10,90,600,2940,10584,27720,51480... |
// Standard Library includes
#include <iostream>
// Our project headers
#include "CipherMode.hpp"
#include "ProcessCommandLine.hpp"
bool processCommandLine(const std::vector<std::string>& args, ProgramSettings& settings)
{
// Status flag to indicate whether or not the parsing was successful
bool processStatus... |
;
; Mattel AQUARIUS Routines
;
; getkey() Wait for keypress
;
; Dec 2001 - Stefano Bodrato
;
;
; $Id: fgetc_cons.asm,v 1.2 2015/01/19 01:33:20 pauloscustodio Exp $
;
PUBLIC fgetc_cons
.fgetc_cons
call $1e80
and a
jr nz,fgetc_cons
.wkey
call $1e80
and a
jr z,wkey
ld l,a
ld h,0
ret
|
%define BE(a) ( ((((a)>>24)&0xFF) << 0) + ((((a)>>16)&0xFF) << 8) + ((((a)>>8)&0xFF) << 16) + ((((a)>>0)&0xFF) << 24))
ftyp_start:
dd BE(ftyp_end - ftyp_start)
dd "ftyp"
db 0x61, 0x76, 0x69, 0x66 ; brand(32) ('avif')
db 0x00, 0x00, 0x00, 0x00 ; version(32)
db 0x61, 0x76, 0x69, 0x66 ; compatible_... |
#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/registration/icp.h>
int
main (int argc, char** argv)
{
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_in (new pcl::PointCloud<pcl::PointXYZ>);
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_out (new pcl::PointCloud<pcl::Point... |
; A344362: Decimal expansion of (5^(1/4) + 5^(-1/4))/2.
; Submitted by Christian Krause
; 1,0,8,2,0,4,4,5,4,3,0,9,8,8,2,1,2,8,2,9,5,7,5,6,6,0,3,3,6,9,9,7,8,0,6,6,5,8,7,5,7,4,7,4,7,4,6,3,3,5,9,1,9,5,5,1,4,3,2,8,8,4,7,6,5,9,8,3,4,5,3,9,5,2,9,7,1,7,8,7,4,2,2,8,6,6,1,0,0,8,0,4,4,7,8,3,2,3,2,5
mov $3,$0
mul $3,3
lpb $3
a... |
; A053186: Square excess of n: difference between n and largest square <= n.
; 0,0,1,2,0,1,2,3,4,0,1,2,3,4,5,6,0,1,2,3,4,5,6,7,8,0,1,2,3,4,5,6,7,8,9,10,0,1,2,3,4,5,6,7,8,9,10,11,12,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18
mov $3,$0
mov $... |
ViridianForestSouthGate_h:
db FOREST_GATE ; tileset
db VIRIDIAN_FOREST_SOUTH_GATE_HEIGHT, VIRIDIAN_FOREST_SOUTH_GATE_WIDTH ; dimensions (y, x)
dw ViridianForestSouthGate_Blocks ; blocks
dw ViridianForestSouthGate_TextPointers ; texts
dw ViridianForestSouthGate_Script ; scripts
db 0 ; connections
dw ViridianFores... |
.constant_pool
.const 0 string [start]
.const 1 string [constructor]
.const 2 string [var1]
.const 3 string [var2]
.const 4 real [10.990000]
.const 5 int [1]
.const 6 string [io.writeln]
.const 7 real [20.990000]
.end
.entity start
.valid_context_when (always)
.method co... |
ENDIF
PROP_STYLETRUEFALSE equ 1
PROP_EXSTYLETRUEFALSE equ 2
PROP_STYLEMULTI equ 3
STYLE equ WS_CHILD or WS_VISIBLE or STYLE_DRAGDROP or STYLE_SCROLLTIP
EXSTYLE equ WS_EX_CLIENTEDGE
;Used by RadASM 1.2.0.5
CCDEF struct
ID dd ? ;Controls uniqe ID
lptooltip dd ? ;Pointer to tooltip te... |
//Bootstrap code
@256
D=A
@SP
M=D
//Call command for Sys.init
@return_address_Sys.init_0_0
D=A
@SP
A=M
M=D
@SP
M=M+1
@LCL
D=M
@SP
A=M
M=D
@SP
M=M+1
@ARG
D=M
@SP
A=M
M=D
@SP
M=M+1
@THIS
D=M
@SP
A=M
M=D
@SP
M=M+1
@THAT
D=M
@SP
A=M
M=D
@SP
M=M+1
@5
D=A
@0
D=D+A
@SP
D=M-D
@ARG
M=D
@SP
D=M
@LCL
M=D
@Sys.init
0;JMP
(return_a... |
; A002489: a(n) = n^(n^2), or (n^n)^n.
; Submitted by Christian Krause
; 1,1,16,19683,4294967296,298023223876953125,10314424798490535546171949056,256923577521058878088611477224235621321607,6277101735386680763835789423207666416102355444464034512896,196627050475552913618075908526912116283103450944214766927315415537966391... |
; Original address was $B28E
; World 7 first fortress brick/boss
.word W7F1_AltL ; Alternate level layout
.word Empty_ObjLayout ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_0B0
.byte LEVEL2_BGPAL_04 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_02 | LEVEL3_VSCROLL_FREE | LEVEL3_PIPE... |
#include <memory>
#include <sstream>
#include <fstream>
#include <HepMC/GenEvent.h>
#include <HepMC/IO_BaseClass.h>
#include <ThePEG/Repository/Repository.h>
#include <ThePEG/EventRecord/Event.h>
#include <ThePEG/Config/ThePEG.h>
#include <ThePEG/LesHouches/LesHouchesReader.h>
#include "FWCore/Framework/interface/Lu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.