text stringlengths 1 1.05M |
|---|
; A017732: Binomial coefficients C(n,68).
; 1,69,2415,57155,1028790,15020334,185250786,1984829850,18855883575,161322559475,1258315963905,9036996468045,60246643120300,375382930211100,2198671448379300,12165982014365460,63871405575418665,319357027877093325,1525816910968334775,6986635329170796075,30741195448351502730,13028... |
// Copyright 2015 The Chromium 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 "chrome/browser/android/hung_renderer_infobar_delegate.h"
#include "base/callback.h"
#include "base/metrics/histogram.h"
#include "chrome/browse... |
; A069210: a(1)=a(2)=1, a(n+2) = a(n+1)+1 if sign(sin(a(n+1)) = sign(sin(a(n)), a(n+2) = a(n)+1 otherwise.
; 1,1,2,3,4,4,5,6,7,7,8,9,10,10,11,12,13,13,14,15,16,16,17,18,19,19,20,21,22,22,23,24,25,26,26,27,28,29,29,30,31,32,32,33,34,35,35,36,37,38,38,39,40,41,41,42,43,44,44,45,46,47,48,48,49,50,51,51,52,53,54,54,55
mov... |
; A033960: Convolution of natural numbers n >= 1 with Fibonacci numbers F(k), k >= 4.
; 3,11,27,56,106,190,329,557,929,1534,2516,4108,6687,10863,17623,28564,46270,74922,121285,196305,317693,514106,831912,1346136,2178171,3524435,5702739,9227312,14930194,24157654,39088001,63245813,102333977,165579958,267914108,433494244,... |
; A291510: The arithmetic function uhat(n,2,5), negated.
; 14,14,14,14,14,14,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,118,120,122,124,126,128,130,132,134,136,138,140
trn $0,6
mul $0,2
add $0,14
|
// Copyright (C) 2020-2022 Jonathan Müller and lexy contributors
// SPDX-License-Identifier: BSL-1.0
#ifndef LEXY_PARSE_TREE_HPP_INCLUDED
#define LEXY_PARSE_TREE_HPP_INCLUDED
#include <lexy/_detail/assert.hpp>
#include <lexy/_detail/config.hpp>
#include <lexy/_detail/iterator.hpp>
#include <lexy/_detail/memory_resour... |
; A280378: Partial products of A119619.
; Submitted by Jon Maiga
; 1,1,2,6,144,1440,1036800,326592000,1463132160000,6636767477760000,24083501823295488000000,278164446059062886400000000,133241214725404817086218240000000000,1851999588197236795571599048704000000000000,79730449087475946864047275218548293632000000000000
mo... |
#include <string>
#include <stdlib.h>
#include "Config.h"
#include "../configuration.h"
extern HINSTANCE hInst;
std::wstring IniDir;
std::wstring LogDir;
EXPORT_C_(void) USBsetSettingsDir( const char* dir )
{
OSDebugOut(L"USBsetSettingsDir: %S\n", dir);
wchar_t dst[4096] = {0};
size_t num = 0;
mbstowcs_s(&num, ds... |
; CON device versions
section version
xdef con_vers
; V2.00 first release version for ST shifter pickup!
; V2.01 ST MONO version.
; V2.02 Corrections to XOR block and line edit.
; V2.03 Corrections to EDLN.
; V2.04 Corrections to black ink on stipple, and stipple on black paper.
; V2.05 Recolour added. IOB.ED... |
; A290312: Third diagonal sequence of the Sheffer triangle A094816 (special Charlier).
; 1,8,29,75,160,301,518,834,1275,1870,2651,3653,4914,6475,8380,10676,13413,16644,20425,24815,29876,35673,42274,49750,58175,67626,78183,89929,102950,117335,133176,150568,169609,190400,213045,237651,264328,293189,324350,357930,394051,4... |
; A136302: Transform of A000027 by the T_{1,1} transformation (see link).
; 2,6,15,35,81,188,437,1016,2362,5491,12765,29675,68986,160373,372822,866706,2014847,4683951,10888865,25313540,58846841,136802308,318026782,739322571,1718716457,3995531011,9288482690,21593102505,50197873146
add $0,2
mov $1,2
mov $2,2
mov $3,3
lp... |
; A324466: Exponent of highest power of 2 that divides multinomial(3*n;n,n,n).
; 0,1,1,4,1,2,4,6,1,2,2,7,4,5,6,8,1,2,2,5,2,3,7,9,4,5,5,9,6,7,8,10,1,2,2,5,2,3,5,7,2,3,3,10,7,8,9,11,4,5,5,8,5,6,9,11,6,7,7,11,8,9,10,12,1,2,2,5,2,3,5,7,2,3,3,8,5,6,7,9,2,3,3,6,3,4,10,12,7,8,8,12,9,10,11,13,4,5,5,8,5,6,8,10,5,6,6,12,9,10,11,... |
;
; Grundy Newbrain Specific libraries
;
; Stefano Bodrato - 06/06/2007
;
;
; - - - - - - - - - - - - - - - - - - - - -
;
; get a string from stream
;
; - - - - - - - - - - - - - - - - - - - - -
;
; char *nb_gets( int stream, char *bytes );
;
; - - - - - - - - - - - - - - - - - - - - -
;
;
; $Id: nb_gets.asm,v 1.3 2016... |
; ===============================================================
; Jun 2015
; ===============================================================
;
; double atof(const char *nptr)
;
; Convert initial portion of string nptr to double.
;
; ===============================================================
SECTION code_stdli... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xb63d, %rbp
nop
nop
nop
nop
sub %rax, %rax
mov (%rbp), %dx
nop
add $54839, %rax
lea addresses_D_ht+0xcb9b, %r10
nop
nop
nop
nop
and %rdi, %rdi
movl $0x61626364, (%r10)
nop
nop... |
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x8678, %rsi
lea addresses_UC_ht+0x17e98, %rdi
nop
nop
add $64338, %r9
mov $36, %rcx
rep movsl
add $6022, %rdx
lea addresses_WT_ht+0x45e8, %rsi
lea addresses_A_ht+0xc438, %rdi
c... |
; Trap#2 error interaction
section utility
include dev8_keys_qdos_ioa
include dev8_mac_xref
xdef do_ioafer ; Do trap #2
;+++
; Do trap#2, and ask in error case for Edit, Retry or Abort.
;
; ENTRY EXIT
; D0.l required action -1 Error or ESC / 3 Edit name
;---
do_ioafer
movem.l d1-d3/a1,-(sp) ; keep re... |
;================================================================================
; Blind Boss fight
;--------------------------------------------------------------------------------
org $1DA081 ; Original Code
JML check_blind_boss_room
Check_for_Blind_Fight:
org $1DA090
Initialize_Blind_Fight: |
;generated automatically via makeasms.bat
include gfxlib.i
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
GFXLIB_JUMP pj_get_vseg gfxl_get_vseg
code ends
end
|
#include "framework/lite/code_gen_cpp.h"
namespace anakin {
namespace lite {
template<typename Ttype, DataType Dtype, Precision Ptype>
void GenCPP<Ttype, Dtype, Ptype>::gen_license() {
_code<< "/* Copyright (c) 2018 Baidu, Inc. All Rights Reserved.\n\n Licensed under the Apache License, Version 2.0 (the \"License... |
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: setupSerialNum.asm
AUTHOR: Cheng, 6/90
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
... |
;----------------------------------------------------------------------
; stpcpy.asm - user-callable entry point to _stpcpy() function.
;----------------------------------------------------------------------
;
; C/C++ Run Time Library - Version 10.0
;
; Copyright (c) 1991, 2000 by Inprise Corporation
; ... |
; A094014: Expansion of (1-2x)/(1-8x^2).
; 1,-2,8,-16,64,-128,512,-1024,4096,-8192,32768,-65536,262144,-524288,2097152,-4194304,16777216,-33554432,134217728,-268435456,1073741824,-2147483648,8589934592,-17179869184,68719476736,-137438953472
add $0,2
mov $1,3
mov $2,4
mov $4,1
lpb $0,1
sub $0,1
mod $3,2
sub $4,$2... |
; A131914: 3*A002024 - 2*A051340.
; 1,4,2,7,5,3,10,8,6,4,13,11,9,7,5,16,14,12,10,8,6,19,17,15,13,11,9,7,22,20,18,16,14,12,10,8,25,23,21,19,17,15,13,11,9,28,26,24,22,20,18,16,14,12,10
mov $3,$0
seq $3,2024 ; n appears n times; a(n) = floor(sqrt(2n) + 1/2).
mov $2,$3
sub $3,$0
mov $1,$3
add $1,$3
pow $2,2
add $1,$2
sub ... |
; A181617: Molecular topological indices of the complete graph K_n.
; 0,4,24,72,160,300,504,784,1152,1620,2200,2904,3744,4732,5880,7200,8704,10404,12312,14440,16800,19404,22264,25392,28800,32500,36504,40824,45472,50460,55800,61504,67584,74052,80920,88200,95904,104044,112632,121680,131200,141204,151704,162712,174240,186... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2015,2016,2017,2018,2019 by the GROMACS development team.
* Copyright (c) 2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as liste... |
;
; Copyright (c) 2020 Phillip Stevens
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, 2020 May
;
;--------------------------------------------------... |
; Copyright (C) Teemu Suutari
%macro DEBUG_PLAIN 1
%ifdef DEBUG_BUILD
[section .data]
%%dbg_text:
db %1
db 0
__SECT__
mov edi,%%dbg_text
LIBCALL _printf
%endif
%endm
%macro DEBUG 1
%ifdef DEBUG_BUILD
pushad
mov esi,__LINE__
DEBUG_PLAIN {"[",__FILE__,":%d] ",%1,10}
popad
%endif
%endm
%macro DEBUG 2
%ifdef D... |
db "PUPPET@" ; species name
db "It uses its horn"
next "to feed on envy"
next "and malice, or so"
page "it's said. This"
next "#MON is very"
next "active at night.@"
|
; A017427: (11n+3)^3.
; 27,2744,15625,46656,103823,195112,328509,512000,753571,1061208,1442897,1906624,2460375,3112136,3869893,4741632,5735339,6859000,8120601,9528128,11089567,12812904,14706125
mul $0,11
add $0,3
pow $0,3
|
Sound_5C_Header:
smpsHeaderStartSong 3
smpsHeaderVoice Sound_5C_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $01
smpsHeaderSFXChannel cFM5, Sound_5C_FM5, $00, $00
; FM5 Data
Sound_5C_FM5:
smpsSetvoice $00
dc.b nF2, $10
smpsStop
Sound_5C_Voices:
; Voice $00
; $01
; $01, $B0, $FC, $40, $1F, $... |
TITLE PrintArray Procedure (PrtArry.asm)
; Last update: 1/18/02
INCLUDE Irvine32.inc
.code
;-----------------------------------------------------------
PrintArray PROC USES eax ecx edx esi,
pArray:PTR DWORD, ; pointer to array
Count:DWORD ; number of elements
;
; Writes an array of 3... |
; Purpose: Use Win32 API to
; - create a new user and add to local administrators group
; - Enable RDP
; - Exit
;
; Uses Stephen Fewer's Block API hashing
; https://raw.githubusercontent.com/rapid7/metasploit-framework/master/external/source/shellcode/windows/x86/src/block/block_api.asm
[BITS 32]
cld
call... |
/************************************************************
ディレクトリの読み込み
http://www.syuhitu.org/other/dir.html
************************************************************/
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <dirent.h>
#include <string>
#include <FindFile.h... |
; A069202: A Collatz-Fibonacci mixture: a(1) = 1, a(2) = 2, a(n+2) = a(n+1)/2+a(n)/2 if a(n+1) and a(n) have the same parity, a(n+2) = a(n+1)+a(n) otherwise.
; Submitted by Jamie Morken(s1.)
; 1,2,3,5,4,9,13,11,12,23,35,29,32,61,93,77,85,81,83,82,165,247,206,453,659,556,1215,1771,1493,1632,3125,4757,3941,4349,4145,4247... |
;++
;
; Module name
;
; su.asm
;
; Author
;
; Thomas Parslow (tomp) Mar-1-90
;
; Description
;
; Static data for Startup module for the 386 NT OS loader. The gdt
; idt, and double fault tss are statically defined here. Also most
; of the zero init static data is defined her... |
SECTION code_clib
SECTION code_l
PUBLIC l_small_utob
l_small_utob:
; write unsigned binary number to ascii buffer
;
; enter : hl = unsigned integer
; de = char *buffer
; carry set to write leading zeroes
;
; exit : de = char *buffer (one byte past last char written)
; ... |
/*
================================================================================
PROJECT:
John Eddy's Genetic Algorithms (JEGA)
CONTENTS:
Definition of class AverageFitnessTrackerConverger.
NOTES:
See notes under section "Class Definition" of this file.
PROGRAMMERS:
... |
; A248230: a(n) = floor(1/(zeta(4) - Sum_{h=1..n} 1/h^4)).
; 12,50,133,280,507,833,1276,1855,2586,3488,4579,5878,7401,9167,11194,13501,16104,19022,22273,25876,29847,34205,38968,44155,49782,55868,62431,69490,77061,85163,93814,103033,112836,123242,134269,145936,158259,171257,184948,199351,214482,230360,247003,264430,2826... |
;
; Sharp OZ family functions
;
; ported from the OZ-7xx SDK by by Alexander R. Pruss
; by Stefano Bodrato - Oct. 2003
;
; void ozscrollclear();
;
; ------
; $Id: ozscrollclear.asm,v 1.3 2016-06-28 14:48:17 dom Exp $
;
SECTION code_clib
PUBLIC ozscrollclear
PUBLIC _ozscrollclear
EXTERN ozactivepage
ozs... |
; Provided under the CC0 license. See the included LICENSE.txt for details.
pfread
cmp #16
bcc lefthalf
eor #31 ; 16-31 converted to 15-0
lefthalf
tax
lda bytemask,x
cpx #8
bcc bytedone
and (PF2pointer),y
.byte $0C
bytedone
and (PF1pointer),y
RETURN
bytemask
.byte $80,$40,$20,$10,8,4,2,1
... |
; Copyright 2022 Andreas Herzig
; Licence: MIT
COM1 equ 0x3F8
COM2 equ 0x2F8
COM3 equ 0x3E8
COM4 equ 0x2E8
PORT equ 0x3F8
init_kcom:
OUTB (PORT + 1), 0x00 ; Disable all interrupts
OUTB (PORT + 3), 0x80 ; Enable DLAB (set baud rate divisor)
OUTB (PORT + 0), 0x03 ; Set divisor to 3 (lo byte) 38400 baud
OUTB (PORT ... |
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2001 Peter Kelly (pmk@post.com)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* (C) 2007 David Smith (catfish.man@gmail.com)
* Copyright (C) 2004-2010, 2012-2016 Apple Inc. All... |
; A305064: a(n) = 42*2^n - 20.
; 22,64,148,316,652,1324,2668,5356,10732,21484,42988,85996,172012,344044,688108,1376236,2752492,5505004,11010028,22020076,44040172,88080364,176160748,352321516,704643052,1409286124,2818572268,5637144556,11274289132,22548578284,45097156588,90194313196,180388626412,360777252844,721554505708... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
/*=====================================================================
**
** Source: test13.c
**
** Purpose: Test #13 for the vswprintf function.
**
**
**======================... |
#include <iostream>
#include "pstl/execution"
#include "pstl/algorithm"
int main() {
std::array<int, 4> a{2, 3, 1, 4};
std::sort(std::execution::par_unseq, a.begin(), a.end());
}
|
LIST P=PIC16F84A
#INCLUDE <P16F84A.INC>
__CONFIG _HS_OSC&_CP_OFF&_WDT_OFF&_PWRTE_ON
W_TEMP EQU 0CH
STATUS_TEMP EQU 0DH
CNT1 EQU 0EH
CNTB EQU 0FH
IN EQU 012H
ORG 0H
GOTO MAIN
ORG 04H
;PUSH
MOVWF W_TEMP
MOVF STATUS,W
MOVWF STATUS_TEMP
MOVLW 'T'
CALL CSEND
MOVLW 'A'
CALL CSEND
MOVLW '... |
; A005995: Alkane (or paraffin) numbers l(8,n).
; 1,3,12,28,66,126,236,396,651,1001,1512,2184,3108,4284,5832,7752,10197,13167,16852,21252,26598,32890,40404,49140,59423,71253,85008,100688,118728,139128,162384,188496,218025,250971,287964,329004,374794,425334,481404,543004,610995,685377,767096,856152,953580,1059380,117468... |
/*
* Copyright (C) 2020 Open Source Robotics Foundation
*
* 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 appl... |
ViridianForestWildMons:
def_grass_wildmons 8 ; encounter rate
db 5, CATERPIE
db 6, WEEDLE
db 6, TANGELA
db 6, BELLSPROUT
db 8, KAKUNA
db 8, METAPOD
db 7, PARAS
db 7, BULBASAUR
db 9, MANKEY
db 9, PIKACHU
end_grass_wildmons
def_water_wildmons 0 ; encounter rate
end_water_wildmons
|
; ===============================================================
; May 2017
; ===============================================================
;
; void *tshc_aaddrcright(void *aaddr)
;
; Modify attribute address to move right one character (eight pixels)
; If at rightmost edge move to leftmost column on next pixel row.... |
// RUN: %clang_cc1 %s -triple x86_64-windows-msvc -gcodeview -debug-info-kind=limited -emit-llvm -o - | FileCheck %s
// RUN: %clang_cc1 %s -triple x86_64-linux-gnu -debug-info-kind=limited -emit-llvm -o - | FileCheck %s
enum class uns : __uint128_t { unsval = __uint128_t(1) << 64 };
uns t1() { return uns::unsval; }
e... |
.model large
.stack 20h
.data
a dw 10
b dw 15
c dw 21; 15h
s dw ?
s2 dw ?
.code
start:
moV ax,@data
mov ds,ax
mov ax, c ;offest-ul lui a nu este 10 ci 0
push ax
mov ax, b
push ax
mov ax, a
push ax
;mov ax, s ; nu am nevoie de asta rezultatul oricum ramane in registrii
;push ax
... |
;
; System Call for REX6000
;
; $Id: DbGetRecordCount.asm,v 1.5 2017-01-03 00:11:31 aralbrec Exp $
;
; extern unsigned long DbGetRecordCount( int );
;
; Written by Damjan Marion <dmarion@open.hr>
PUBLIC DbGetRecordCount
PUBLIC _DbGetRecordCount
.DbGetRecordCount
._DbGetRecordCount
pop ix
pop hl
push hl... |
_ln: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
if(argc != 3){
7: 83 39 03 cmpl $0x3,(%ecx)... |
; ----------------------------------------------------------------------------
; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and
; Amstrad CPC.
; ----------------------------------------------------------------------------
; ----------------------------------------------------------------------------... |
; A170063: Number of reduced words of length n in Coxeter group on 6 generators S_i with relations (S_i)^2 = (S_i S_j)^37 = I.
; 1,6,30,150,750,3750,18750,93750,468750,2343750,11718750,58593750,292968750,1464843750,7324218750,36621093750,183105468750,915527343750,4577636718750,22888183593750,114440917968750,57220458984... |
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1
TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\nanoftp.c
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB MSVCRT
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM _xmlMalloc:DWORD
COMM... |
// Copyright(c) 2014, The LIMIX developers(Christoph Lippert, Paolo Francesco Casale, Oliver Stegle)
//
//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/L... |
; sp1_DrawUpdateStructAlways(struct sp1_update *u)
; 12.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
; FASTCALL
XLIB sp1_DrawUpdateStructAlways
LIB SP1DrawUpdateStruct
; Draws the update struct no matter what, including
; structs removed from the engine. Validates char
; if it hasn't been removed.
;... |
; A297250: Numbers whose base-3 digits having equal up-variation and down-variation; see Comments.
; 1,2,4,8,10,13,16,20,23,26,28,31,34,37,40,43,46,49,52,56,59,62,65,68,71,74,77,80,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124,127,130,133,136,139,142,145,148,151,154,157,160,164,167,170,173,176,179,182,185,188,1... |
; A142450: Primes congruent to 43 mod 49.
; Submitted by Jon Maiga
; 43,239,337,631,827,1709,2003,2297,2591,2689,3571,3767,4159,4649,4943,5237,5531,5923,6217,7001,7393,7589,7687,7883,8863,9059,9157,9941,10039,10333,10529,10627,11117,11411,12097,12391,12979,13469,13567,13763,14057,14449,14939,15233,15331,15527,15919,167... |
// Copyright (c) 2020 Chris Ohk
// I am making my contributions/submissions to this project solely in my
// personal capacity and are not conveying any rights to any intellectual
// property of any third parties.
// It is based on Ray Tracing: The Next Week book.
// References: https://raytracing.github.io
#ifndef R... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int strncasecmp(const char *s1, const char *s2, size_t n)
;
; Perform caseless compare of string s1 to string s2, examining
; no more than n chars. Return when the first ... |
0D00 3A 00 0E
0D03 57
0D04 CB 27
0D06 CB 27
0D08 82
0D09 32 01 0E
0D0C DF 5B
0E00 0A
0E01 00
|
OPTION DOTNAME
.text$ SEGMENT ALIGN(64) 'CODE'
EXTERN OPENSSL_ia32cap_P:NEAR
PUBLIC RC4
ALIGN 16
RC4 PROC PUBLIC
mov QWORD PTR[8+rsp],rdi ;WIN64 prologue
mov QWORD PTR[16+rsp],rsi
mov rax,rsp
$L$SEH_begin_RC4::
mov rdi,rcx
mov rsi,rdx
mov rdx,r8
mov rcx,r9
or rsi,rsi
jne $L$entry
mov rdi,QWORD PTR[8+rsp] ;... |
// Copyright (c) 2019-2023 The PIVXL developers
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licen... |
copyright zengfr site:http://github.com/zengfr/romhack
00A2FC clr.b ($2f,A4)
00A300 clr.b ($36,A4)
copyright zengfr site:http://github.com/zengfr/romhack
|
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt... |
Route2HouseScript:
jp EnableAutoTextBoxDrawing
Route2HouseTextPointers:
dw Route2HouseText1
dw Route2HouseText2
Route2HouseText1:
TX_FAR _Route2HouseText1
db "@"
Route2HouseText2:
TX_ASM
ld a, $1
ld [wWhichTrade], a
predef DoInGameTradeDialogue
jp TextScriptEnd
|
//
// Python wrapper class for CvPlot
//
//
#include "CvGameCoreDLL.h"
#include "CyPlot.h"
#include "CyCity.h"
#include "CyArea.h"
#include "CyUnit.h"
#include "CvPlot.h"
CyPlot::CyPlot(CvPlot* pPlot) : m_pPlot(pPlot)
{
}
CyPlot::CyPlot() : m_pPlot(NULL)
{
}
void CyPlot::erase()
{
if (m_p... |
; struct astar_path __FASTCALL__ *astar_SearchResume(struct astar_path *p)
; resume a search previously stopped
; 01.2007 aralbrec
SECTION code_clib
PUBLIC astar_SearchResume
PUBLIC _astar_SearchResume
EXTERN astar_Search
EXTERN ASMDISP_ASTAR_SEARCH_RESUME_SUCCESS, ASMDISP_ASTAR_SEARCH_RESUME_FAIL
; enter : hl = path... |
_stressfs: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
#include "fs.h"
#include "fcntl.h"
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
int fd, i;
char p... |
; A010699: Period 2: repeat (2,9).
; 2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2,9,2
mod $0,2
mul $0,7
add $0,2
|
.text 0x3000
.globl main
main:
# $t0 and $t1 should contain x and y
# example
li $t0, 26
li $t1, 8
while:
beq $t0, $t1, end_while # x != y
if:
bge $t1, $t0, else # x > y
sub $t0, $t0, $t1 # x = x - y
j end_if
else:
sub $t1, $t1, $t0 # y = y - x
end_if:
j while
end_while:
move $a0, $t0 # pr... |
; A180358: n^8+8n
; 0,9,272,6585,65568,390665,1679664,5764857,16777280,43046793,100000080,214358969,429981792,815730825,1475789168,2562890745,4294967424,6975757577,11019960720,16983563193,25600000160,37822859529,54875873712
mov $1,$0
pow $1,8
lpb $0,1
sub $0,1
add $1,8
lpe
|
* Create a job in TPA V2.00 1986 Tony Tebby QJUMP
* 2.01 make sure size & data space are even numbers (wl)
*
section sms
*
xdef sms_crjb
*
xref sms_ckid check job id
xref mem_atpa allocate in tpa
xref sms_rte
*
include dev8_keys_err
include dev8_keys_sys
include dev8_keys_jcbq
*
* d0 r 0, invalid job, out... |
DATA SEGMENT
QUOTE DB ""I could either watch it happen or be a part of it." -Elon Musk of Tesla$"
ENDS
CODE SEGMENT
ASSUME DS:DATA CS:CODE
MAIN:
MOV AX,DATA
MOV DS,AX
LEA DX,QUOTE
MOV AH,9
INT 21H
MOV AH,4CH
INT 21H
ENDS
END MAIN |
// Copyright 2020 Intelligent Robotics Lab
//
// 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 ... |
;Win95.Lizard
;-----------------------------------------------------------------------------
;Lizard by Reptile/29A (another version ;)
;-----------------------------------------------------------------------------
; 22222 99999 AAAAA
; 222 222 999 999 AAA AAA
; ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x17275, %r12
nop
nop
nop
cmp %rsi, %rsi
mov (%r12), %di
nop
nop
nop
inc %rdi
lea addresses_UC_ht+0x175fd, %rsi
lea addresses_A_ht+0x1aafd, %rdi
xor $53705, %rax
mov $67, %rcx... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x210e, %rbp
nop
nop
nop
cmp $44164, %r8
mov $0x6162636465666768, %rbx
movq %rbx, (%rbp)
nop
add $34338, %r14
lea addresses_WT_ht+0x831e, %rdx
nop
nop
nop
xo... |
// Original test: ./neel/hw4/problem6/j_0.asm
// Author: neel
// Test source code follows
//Tests j with negative offset
lbi r1,255
j 4
lbi r2,20
halt
lbi r2,30
j -8
halt
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1a0c4, %rsi
lea addresses_WT_ht+0x18660, %rdi
nop
nop
nop
dec %r10
mov $16, %rcx
rep movsb
nop
and $53808, %r13
lea addresses_WC_ht+0x4fc4, %r9
nop
nop
nop
nop
nop
cmp %r8, %r8... |
section .text
global reverse
reverse:
; Provide your implementation here
mov rsi, rdi
xor al, al
cld
repne scasb
sub rdi, 2
push rsi
.l1:
mov ah, [rsi]
mov al, [rdi]
mov [rdi], ah
mov [rsi], al
inc rsi
dec rdi
cmp... |
; unsigned char *p3dos_copy_cstr_to_pstr(char *pdst, const char *csrc)
SECTION code_esxdos
PUBLIC asm_p3dos_copy_cstr_to_pstr
asm_p3dos_copy_cstr_to_pstr:
; enter : hl = char *csrc (zero terminated string)
; de = char *pdst (copy destination, will be ff terminated)
;
; exit : hl = char *pdst
... |
; MP/M 2 boot-loader for Z80-Simulator
;
; Copyright (C) 1989-2007 by Udo Munk
;
ORG 0 ;mem base of boot
;
BOOT EQU 0100H ;cpmldr runs at 0100H
SECTS EQU 51 ;# of sectors to load (26 * 2 - 1)
;
; I/O ports
;
CONDAT EQU 1 ;console data port
DRIVE EQU 10 ;fdc-port: # of drive
TRACK EQU 11 ;fdc-port: # of track... |
.global s_prepare_buffers
s_prepare_buffers:
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0xaf86, %rsi
lea addresses_A_ht+0xf276, %rdi
nop
nop
nop
lfence
mov $27, %rcx
rep movsq
nop
nop
nop
add $30939, %rax
lea addresses_normal_ht+0x9716, %rsi
lea addresses_WC_h... |
Sound2A_Splash_Header:
smpsHeaderStartSong 2
smpsHeaderVoice Sound2A_Splash_Voices
smpsHeaderTempoSFX $01
smpsHeaderChanSFX $02
smpsHeaderSFXChannel cPSG3, Sound2A_Splash_PSG3, $00, $00
smpsHeaderSFXChannel cFM5, Sound2A_Splash_FM5, $00, $03
; PSG3 Data
Sound2A_Splash_PSG3:
smpsPSGvoice $00
smps... |
; You may customize this and other start-up templates;
; The location of this template is c:\emu8086\inc\0_com_template.txt
org 100h
.MODEL SMALL
.STACK 100H
.DATA
PRINT DB "Display: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PRINT
MOV AH, ... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... |
/* Copyright 2016 The TensorFlow 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 applicable law or a... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Load
lea addresses_WT+0x1500e, %rsi
nop
and %rbp, %rbp
movups (%rsi), %xmm3
vpextrq $0, %xmm3, %rcx
nop
add %rbx, %rbx
// Store
lea addresses_normal+0x1630e... |
user/_ln: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <main>:
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
0: 1101 addi sp,sp,-32
2: ec06 sd ra,24(sp)
4: e822 sd s0,16(sp)
6: e426 ... |
; A168282: (10*n + 5*(-1)^n - 1)/4.
; 1,6,6,11,11,16,16,21,21,26,26,31,31,36,36,41,41,46,46,51,51,56,56,61,61,66,66,71,71,76,76,81,81,86,86,91,91,96,96,101,101,106,106,111,111,116,116,121,121,126,126,131,131,136,136,141,141,146,146,151,151,156,156,161,161,166,166,171,171,176,176,181,181,186,186,191,191,196,196,201,201,... |
; A166445: Hankel transform of A025276.
; 1,0,-1,1,3,0,-3,1,5,0,-5,1,7,0,-7,1,9,0,-9,1,11,0,-11,1,13,0,-13,1,15,0,-15,1,17,0,-17,1,19,0,-19,1,21,0,-21,1,23,0,-23,1,25,0,-25,1,27,0,-27,1,29,0,-29,1,31,0,-31,1,33,0,-33,1,35,0,-35,1
mov $1,$0
add $1,1
mov $2,2
lpb $1
sub $1,1
add $2,$0
sub $0,$2
sub $0,$2
lpe
mov... |
SECTION code_fp_math48
PUBLIC ___fsneq
EXTERN cm48_sdccixp_dsneq
defc ___fsneq = cm48_sdccixp_dsneq
|
; A057072: floor[10^10/n].
; 10000000000,5000000000,3333333333,2500000000,2000000000,1666666666,1428571428,1250000000,1111111111,1000000000,909090909,833333333,769230769,714285714,666666666,625000000,588235294,555555555,526315789
add $0,1
mov $1,10000000000
div $1,$0
mov $0,$1
|
; A016233: Expansion of 1/((1-x)(1-5x)(1-8x)).
; Submitted by Jamie Morken(s1)
; 1,14,143,1300,11181,93354,766363,6228560,50316761,404975494,3252010983,26077123020,208922159941,1672903158434,13390854662003,107164984268680,857510609012721,6861038546418174,54893076742927423
mov $2,1
lpb $0
sub $0,1
add $1,$2
mul $... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xb62e, %r10
cmp $53036, %rdx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm3
vmovups %ymm3, (%r10)
sub $51217, %rbp
lea addresses_WT_ht+0x8a6e, %r15
nop
nop
nop
nop
xor $38596,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.