text stringlengths 1 1.05M |
|---|
; A088840: Denominator of sigma(4n)/sigma(n).
; 1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,31,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,21,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,31,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,127,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,31,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,21,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,31,1,1,1,7,1,1,1,5,1,1,1,7,1,1,1,85,1,1,1,7... |
; A128046: Triangle read by rows: inverse of the lower triangular matrix (1/1; 1/1, 1/3; 1/1, 1/3, 1/5;...).
; Submitted by Jon Maiga
; 1,-3,3,0,-5,5,0,0,-7,7,0,0,0,-9,9,0,0,0,0,-11,11,0,0,0,0,0,-13,13,0,0,0,0,0,0,-15,15
lpb $0
add $1,1
sub $0,$1
lpe
mul $0,2
mul $1,2
add $1,1
sub $0,$1
mov $2,2
add $2,$0
pow $2,$... |
;***
;* $Workfile: b_keybrd.asm $
;* $Revision: 1.1 $
;* $Author: Dave Sewell $
;* $Date: 09 Oct 1989 11:56:28 $
;*
;* Fixed version of MSC "_bios_keybrd" routine.
;
; Their routine messed up on Ctrl-Break. This routine maps that key to
; ESC.
;****************************************************... |
LD A 15 ;;Init Load array {15,63,7,255,1,127,3,31}
LD &0 A
ADD C A 10 |
# x86 mpn_copyd -- copy limb vector, decrementing.
#
# Future: On P6 an MMX loop should be able to go faster than this code.
# Copyright (C) 1999, 2000 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under ... |
///////////////////////////////////////////////////////////
// Gait Recognition.cpp
// Implementation of the Class Gait Recognition
// Created on: 21-Nov-2018 21:19:48
// Original author: Magneto
///////////////////////////////////////////////////////////
#include "Gait Recognition.h"
Gait Recogni... |
;******************************************************************************
;* 32 point SSE-optimized DCT transform
;* Copyright (c) 2010 Vitor Sessak
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* Lic... |
;
; Copyright (c) 2016, Alliance for Open Media. All rights reserved
;
; This source code is subject to the terms of the BSD 2 Clause License and
; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
; was not distributed with this source code in the LICENSE file, you can
; obtain it at www.aome... |
; A143690: a(n) = A007318 * [1, 6, 14, 9, 0, 0, 0, ...].
; 1,7,27,70,145,261,427,652,945,1315,1771,2322,2977,3745,4635,5656,6817,8127,9595,11230,13041,15037,17227,19620,22225,25051,28107,31402,34945,38745,42811,47152,51777,56695,61915,67446,73297,79477,85995,92860
mov $4,$0
lpb $0
sub $0,1
add $3,6
add $2,$3
a... |
#To be inserted at 800251a0
#################################
##FPSHack_05_SlowActorMovements##
#################################
lis r17, 0x817F
lfs f17, 0x0004 (r17)
lwz r17, 0x0050 (r17) #Load IsEventCut
##### Original Function #####
#lfs f1, 0x01F8 (r3)
#lfs f0, 0x0220 (r3)
#fadds f0,f1,f0
#stfs f0, 0x01F8 (r3)
... |
/* Copyright (c) 2010 - 2021 Advanced Micro Devices, Inc.
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, mer... |
; ===============================================================
; Dec 2013
; ===============================================================
;
; int rand(void)
;
; Generates a random number in the range 0 .. RAND_MAX = 32767
;
; ===============================================================
SECTION code_clib
SECT... |
; int fgetc_fastcall(FILE *stream)
INCLUDE "config_private.inc"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _fgetc_fastcall
EXTERN asm_fgetc
_fgetc_fastcall:
push hl
ex (sp),ix
call asm_fgetc
pop ... |
; A185599: a(n) = floor(n^(3/2) - n^(1/2)) - n; complement of A185600.
; 0,2,3,6,8,11,15,18,22,26,30,34,39,44,48,54,59,64,70,76,82,88,95,101,108,114,121,128,136,143,150,158,166,174,181,190,198,206,215,223,232,241,250,259,268,277,287,296,306,315,325,335,345,355,365,376,386,397,407,418,429,440,450,462,473,484,495,507,518... |
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItemAmmo_ArrowBase_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------... |
lda {c2},x
sta {c1},y
lda {c2}+1,x
sta {c1}+1,y
|
ClearVariablesOnEnterMap:
ld a, SCREEN_HEIGHT_PIXELS
ld [hWY], a
ld [rWY], a
xor a
ld [H_AUTOBGTRANSFERENABLED], a
ld [wStepCounter], a
ld [wLoneAttackNo], a
ld [hJoyPressed], a
ld [hJoyReleased], a
ld [hJoyHeld], a
ld [wActionResultOrTookBattleTurn], a
ld [wUnusedD5A3], a
ld hl, wCardKeyDoorY
ld [hli], a... |
%include "defs.asm"
;************************* strcountinset64.asm *********************************
; Author: Agner Fog
; Date created: 2011-07-20
; Last modified: 2011-07-20
; Description:
; size_t strCountInSet(const char * str, const char * set);
;
; Counts how many characters in str th... |
__rasterize_horiz_line proc
push ebp
mov ebp,esp
sub esp,64
push edi
push esi
push ebx
movss xmm7,dword ptr [ebp+32]
movss xmm6,dword ptr [ebp+28]
movss xmm5,dword ptr [ebp+24]
movss xmm4,dword ptr [ebp... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2020, QinetiQ, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1992 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Impex/UI
FILE: uiUtilsRed.asm
AUTHOR: Don Reeves, May 26, 1992
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name D... |
MtMoon3Script_4a325: ; pikachu-related function?
ld a, [wd472]
bit 7, a
ret z
ld a, [wWalkBikeSurfState]
and a
ret nz
push hl
push bc
callab GetPikachuFacingDirectionAndReturnToE
pop bc
pop hl
ld a, b
cp e
ret nz
push hl
ld a, [wUpdateSpritesEnabled]
push af
ld a, $ff
ld [wUpdateSpritesEnabled], a
... |
; int getchar(void)
INCLUDE "clib_cfg.asm"
SECTION code_clib
SECTION code_stdio
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF __CLIB_OPT_MULTITHREAD & $02
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
PUBLIC _getchar
EXTERN asm_getchar
_getchar:
push ix
call asm_getchar
pop ix
ret
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
EL... |
// Copyright 2014 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 "mojo/converters/surfaces/surfaces_type_converters.h"
#include "base/macros.h"
#include "cc/output/compositor_frame.h"
#include "cc/output/deleg... |
SECTION code_driver
SECTION code_driver_character_input
PUBLIC asm_asci0_flush_Rx
EXTERN asci0RxCount, asci0RxIn, asci0RxOut, asci0RxBuffer
asm_asci0_flush_Rx:
xor a
ld (asci0RxCount), a ; reset the Rx counter (set 0)
ld hl, asci0RxBuffer ; load Rx buf... |
; A186189: least k such that A074286^(k)(n)=1 where a^(k)=a(a^(k-1)).
; 1,1,2,2,2,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7
add $0,1
pow $0,2
lpb $0
sub $0,2
div $0,4
add $1,1
lpe
mov $0,$1
|
;
; jcphuff-sse2.asm - prepare data for progressive Huffman encoding
; (64-bit SSE2)
;
; Copyright (C) 2016, 2018, Matthieu Darbois
;
; Based on the x86 SIMD extension for IJG JPEG library
; Copyright (C) 1999-2006, MIYASAKA Masaru.
; For conditions of distribution and use, see copyright notice in jsimdext.inc
;
; This... |
BITS 32
;TEST_FILE_META_BEGIN
;TEST_TYPE=TEST_F
;TEST_IGNOREFLAGS=
;TEST_FILE_META_END
;TEST_BEGIN_RECORDING
lea edi, [esp-08]
mov dword [edi], 0
FNSTSW [edi]
mov eax, dword [edi]
mov edi, 0
;TEST_END_RECORDING
|
; CALLEE linkage for function pointers
SECTION code_clib
PUBLIC calloc
PUBLIC _calloc
EXTERN HeapCalloc_callee
EXTERN _heap, ASMDISP_HEAPCALLOC_CALLEE
.calloc
._calloc
pop bc
pop de
pop hl
push hl
push de
push bc
ld bc,_heap
jp HeapCalloc_callee + ASMDISP_HEAPCALLOC_CALLEE
|
; A241683: Total number of 2 X 2 squares appearing in the Thue-Morse sequence logical matrices after n stages.
; 0,0,0,2,12,50,220,882,3612,14450,58140,232562,931612,3726450,14911260,59645042,238602012,954408050,3817719580,15270878322,61083862812,244335451250,977343203100,3909372812402
mov $1,2
pow $1,$0
div $1,3
pow ... |
; A079102: a(2n) = 2^n, a(2n+1) = 2^(2n).
; 1,2,4,4,16,8,64,16,256,32,1024,64,4096,128,16384,256,65536,512,262144,1024,1048576,2048,4194304,4096,16777216,8192,67108864,16384,268435456,32768,1073741824,65536,4294967296,131072,17179869184,262144
mov $1,1
mov $2,$0
lpb $2
lpb $0
add $0,$2
trn $0,3
mul $1,2
... |
; CRT0 for the LAMBDA 8300 - SLOW MODE
;
;
; ----------------------------------------------------------------------------------------
; Modified display handler to preserve IY
; Note: a swap between IX and IY happens "on the fly" during assembly !
; ----------------------------------------------------------... |
// Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Net.Chu... |
//
// Menu.cpp
// SFML
//
// Created by Hailey Le on 12/3/19.
// Copyright © 2019 Phuong Thao Le. All rights reserved.
//
#include "Menu.hpp"
Menu::Menu(String main, String sub)
{
/* Setting Up Texts and Fonts */
//Please use this line if you're not using Xcode on MacOS
// MainFont.loadFromFile("Resou... |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: titleGrObj.asm
AUTHOR: Chris Boyke
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- --... |
; A063732: Numbers n such that Lucas representation of n excludes L_0 = 2.
; 0,1,3,4,5,7,8,10,11,12,14,15,16,18,19,21,22,23,25,26,28,29,30,32,33,34,36,37,39,40,41,43,44,45,47,48,50,51,52,54,55,57,58,59,61,62,63,65,66,68,69,70,72,73,75,76,77,79,80,81,83,84,86,87,88,90
mov $3,$0
add $3,1
mov $9,$0
lpb $3
mov $0,$9
s... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x139ce, %r10
nop
nop
inc %r12
mov (%r10), %r15
and %rax, %rax
lea addresses_WT_ht+0x1680e, %rsi
lea addresses_normal_ht+0xf3ce, %rdi
nop
nop
nop
nop
and %r11, %r11
mov $6, %r... |
m: macro
PRINT "\1 "
REPT 4
SHIFT
ENDR
PRINTLN "\1s!"
; Shifting a little more to check that over-shifting doesn't crash
SHIFT
SHIFT
SHIFT 256
PRINTLN "\1?"
endm
m This, used, not, to, work
|
// Copyright (c) 2014-2017 The Expcoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#include "darksend.h"
#include "init.h"
#include "main.h"
#include "masternode-payments.h"
... |
CGAHinge label byte
word C_BLACK
Bitmap <67,41,0,BMF_MONO>
db 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00
db 0x00, 0x00, 0x00, 0x06, 0x0c, 0x00, 0x00, 0x00,
0x40
db 0x1f, 0xff, 0xff, 0xfc, 0x17, 0xff, 0xff, 0xff,
0x80
db 0x20, 0x00, 0x00, 0x04, 0x0e, 0x00, 0x00, 0x00,
0xc0
db 0x20... |
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %rbx
push %rdi
push %rsi
lea addresses_A_ht+0x6bce, %r12
nop
nop
nop
add $9075, %r11
mov $0x6162636465666768, %rsi
movq %rsi, %xmm0
and $0xffffffffffffffc0, %r12
movaps %xmm0, (%r12)
nop
nop
nop
nop
nop
and %rbx, %rbx
lea addresses_UC_ht+0x... |
print_string:
push ax
push bx
mov ah, 0x0e
.loop:
mov al, [bx]
cmp al, 0
je .done
int 0x10
add bx, 1
jmp .loop
.done:
pop bx
pop ax
ret
|
; A120773: a(n) = 2^(n^2) - 3^n.
; Submitted by Jon Maiga
; 0,-1,7,485,65455,33554189,68719476007,562949953419125,18446744073709545055,2417851639229258349392669,1267650600228229401496703146327,2658455991569831745807614120560512005,22300745198530623141535718272648361505448975,74828883831342229412028663435073690606383746... |
; A293047: Number of odd permutations on {1,2,...,n} with exactly 2 weak excedances.
; 0,0,0,3,4,15,26,63,120,255,502,1023,2036,4095,8178,16383,32752,65535,131054,262143,524268,1048575,2097130,4194303,8388584,16777215,33554406,67108863,134217700,268435455,536870882,1073741823,2147483616,4294967295,8589934558
mov $7,$0... |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : dpat.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ****... |
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1364b, %rcx
nop
nop
add %r8, %r8
mov $0x6162636465666768, %r10
movq %r10, %xmm6
vmovups %ymm6, (%rcx)
nop
nop
nop
nop
nop
and %r10, %r10
lea addresses_WC_ht+0x7d0f, %r15
clflu... |
; size_t strxfrm(char * restrict s1, const char * restrict s2, size_t n)
SECTION code_clib
SECTION code_string
PUBLIC strxfrm
EXTERN asm_strxfrm
strxfrm:
IF __CPU_GBZ80__ | __CPU_INTEL__
ld hl,sp+2
ld c,(hl)
inc hl
ld b,(hl)
inc hl
ld e,(hl)
inc hl
ld d,(hl)
inc hl
ld a,(hl+)
ld h,... |
#include "ant.h"
Ant::Ant() {
thorax = new AntBody( 0, 0, -5, 0, 0, 0, 0 );
thorax->setDimensions( 5, 1.0, 1.0 );
abdomen = new AntBody( 0, 0, -5.5, 1, 0, 0, -30 );
abdomen->setDimensions( 3, 2.4, 1.5 );
neck = new AntBody( 0, 0, 0, 1, 0, 0, -30 );
neck->setDimensions( 3, 0.5, 0.5 );
head = new AntBody( 0, 3, 3... |
#include <QClipboard>
#include <QDialog>
#include <QMessageBox>
#include <QScrollBar>
#include <QKeyEvent>
#include <vector>
#include "addresstablemodel.h"
#include "base58.h"
#include "key.h"
#include "main.h"
#include "multisigaddressentry.h"
#include "multisiginputentry.h"
#include "multisigdialog.h"
#include "ui_m... |
; A087963: Exponent of highest power of 2 dividing 3*prime(n)+1.
; 0,1,4,1,1,3,2,1,1,3,1,4,2,1,1,5,1,3,1,1,2,1,1,2,2,4,1,1,3,2,1,1,2,1,6,1,3,1,1,3,1,5,1,2,4,1,1,1,1,4,2,1,2,1,2,1,3,1,6,2,1,4,1,1,2,3,1,2,1,3,2,1,1,5,1,1,4,3,2,2,1,4,1,2,1,1,2,2,3,1,1,1,1,1,1,1,3,2,1,3
seq $0,40 ; The prime numbers.
mul $0,3
seq $0,59132... |
[bits 64]
l1:
mov dword [l2], l2
jc l3
times 0x10001 db 0x0
l3:
l2 equ $-l1
|
// Copyright 2019 Adam Campbell, Seth Hall, Andrew Ensor
// Copyright 2019 High Performance Computing Research Laboratory, Auckland University of Technology (AUT)
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// 1.... |
;
; Post-bootrom entry point for Shock Lobster
;
; Copyright 2021 Dave VanEe
;
; This software is provided 'as-is', without any express or implied
; warranty. In no event will the authors be held liable for any damages
; arising from the use of this software.
;
; Permission is granted to anyone to use this software f... |
; A109116: a(n) = (n+1)^3*(n+2)^2*(n+5).
; 20,432,3024,12800,40500,105840,241472,497664,947700,1694000,2874960,4672512,7320404,11113200,16416000,23674880,33428052,46317744,63102800,84672000,112058100,146452592,189221184,241920000,306312500,384387120,478375632,590772224,724353300,882198000,1067709440,1284636672,15370973... |
;
; BASIC-DOS Math Library
;
; @author Jeff Parsons <Jeff@pcjs.org>
; @copyright (c) 2020-2021 Jeff Parsons
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
include macros.inc
include 8086.inc
include devapi.inc
include ... |
; A248155: Expansion of (1 + x - x^2)/((1 + x)*(1 + 2*x)).
; 1,-2,3,-5,9,-17,33,-65,129,-257,513,-1025,2049,-4097,8193,-16385,32769,-65537,131073,-262145,524289,-1048577,2097153,-4194305,8388609,-16777217,33554433,-67108865,134217729,-268435457,536870913
mov $2,6
mov $3,4
mov $4,$0
mov $5,$0
mov $6,-2
pow $6,$0
lpb $0... |
mov ax, 0x07c0
mov ds, ax
mov si, msg
loop:
lodsb
or al, al ; end of string if 0
jz hang ; go to hang
mov ah, 0x0E
int 0x10
jmp loop
hang:
jmp hang
times 510-($-$$) db 0
db 0x55
db 0xAA
msg db 'SOME LONG MESSAGE ', 13, 10, 0
|
SECTION code_clib
PUBLIC xor_MODE2
.xor_MODE2
defc NEEDxor = 1
INCLUDE "target/laser500/graphics/w_pixel_MODE2.inc"
|
; Password handling 2001 Jochen Merz
section action
include win1_spread_keys
include win1_mac_xref
include win1_keys_wman
include win1_keys_wstatus
include win1_keys_wwork
include win1_keys_err
xdef mea_password ; action routine for main window
xdef check_password ; verification for load
xref.s mli.pass... |
; A288699: Decimal representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 494", based on the 5-celled von Neumann neighborhood.
; 1,1,0,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2,1,2... |
;;#############################################################################
;;! \file source/fft/CFFT_f32_phase_TMU0.asm
;;!
;;! \brief Complex FFT phase calculations using TMU0
;;! \author David M. Alter
;;! \date 11/06/14
;;
;; HISTORY:
;; 11/06/14 - original (D. Alter)
;;
;; DESCRIPTION:
;;
;; Calculates ... |
.386
.model flat,stdcall
option casemap:none
includelib "C:\Program Files (x86)\Microsoft Visual Studio 8\VC\lib\kernel32.lib"
include /masm32/include/windows.inc
includelib /masm32/lib/user32.lib"
.data
hps HANDLE NULL
oph HANDLE NULL
p32 PROCESSENTRY32 <0>
.data?
cmdline LPSTR ?
clg WORD ?
.code ... |
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x7afd, %r9
clflush (%r9)
nop
sub $4300, %rdi
mov $0x6162636465666768, %r13
movq %r13, %xmm5
vmovups %ymm5, (%r9)
nop
nop
nop
sub $458, %rcx
lea addresses_D_ht+0x1019f, %rbp
no... |
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %rbp
push %rdx
push %rsi
// Faulty Load
lea addresses_D+0x10bf2, %rbp
nop
nop
dec %r10
movb (%rbp), %r11b
lea oracles, %r12
and $0xff, %r11
shlq $12, %r11
mov (%r12,%r11,1), %r11
pop %rsi
pop %... |
; A304579: a(n) = (n^2 + 1)*(n^2 + 2).
; 2,6,30,110,306,702,1406,2550,4290,6806,10302,15006,21170,29070,39006,51302,66306,84390,105950,131406,161202,195806,235710,281430,333506,392502,459006,533630,617010,709806,812702,926406,1051650,1189190,1339806,1504302,1683506
pow $0,2
add $0,1
mov $1,1
add $1,$0
mul $1,$0
mov $0... |
copyright zengfr site:http://github.com/zengfr/romhack
002F88 move.w D1, ($1a,A6) [boss+18, enemy+18]
002F8C add.l D0, ($5c,A6) [boss+1A, enemy+1A]
003A0A movem.l D0-D3, -(A6)
003A0E movem.l D0-D3, -(A6)
009ACA dbra D5, $9ac8
022C0E move.b #$4, ($3,A6) [enemy+1A]
0271C2 move.b #$4, ($4,A6) [enemy+1A]... |
title 'Slave Network I/O System for CP/NET 1.1'
page 60
;***************************************************************
;***************************************************************
;** **
;** S l a v e N e t w o r k I / O S y s t e m **
;... |
; CALLER linkage for function pointers
XLIB utoa
LIB utoa_callee
XREF ASMDISP_UTOA_CALLEE
.utoa
pop af
pop bc
pop hl
pop de
push de
push hl
push bc
push af
jp utoa_callee + ASMDISP_UTOA_CALLEE
|
[bits 16]
[org 0x7c00]
start:
cli
cld
; Zero segment registers
xor ax, ax
mov ds, ax
mov es, ax
mov ss, ax
mov fs, ax
mov gs, ax
mov sp, 0x7c00
sti
; Print out welcome message
mov si, EntryMsg
call print
.enable_a20:
; Using fast A20 which won't work on a... |
// This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
#include "PeerAccessControl.h"
namespace QuantumGate::Implementation::Core::Access
{
PeerAccessControl::PeerAccessControl(const Settings_CThS& settings) noexc... |
; A005246: a(n) = (1 + a(n-1)*a(n-2))/a(n-3), a(0) = a(1) = a(2) = 1.
; 1,1,1,2,3,7,11,26,41,97,153,362,571,1351,2131,5042,7953,18817,29681,70226,110771,262087,413403,978122,1542841,3650401,5757961,13623482,21489003,50843527,80198051,189750626,299303201,708158977,1117014753,2642885282,4168755811,9863382151,15558008491,... |
;*****************************************************************************
;* cpu-a.asm: x86 cpu utilities
;*****************************************************************************
;* Copyright (C) 2003-2016 x264 project
;*
;* Authors: Laurent Aimar <fenrir@via.ecp.fr>
;* Loren Merritt <lorenm@u.washi... |
; A027978: a(n) = self-convolution of row n of array T given by A027960.
; 1,11,42,145,473,1484,4529,13543,39870,115937,333781,953056,2702497,7618115,21365778,59657329,165926609,459905588,1270819025,3501855007,9625627686,26398369601,72248624077,197361589960,538199264833
mul $0,2
mov $1,$0
add $1,$0
lpb $0,1
sub $0,2... |
; A051329: A generalized Thue-Morse sequence.
; 0,1,2,1,2,3,2,3,0,1,2,3,2,3,0,3,0,1,2,3,0,3,0,1,0,1,2,1,2,3,2,3,0,3,0,1,2,3,0,3,0,1,0,1,2,3,0,1,0,1,2,1,2,3,2,3,0,3,0,1,0,1,2,3,0,1,0,1,2,1,2,3,0,1,2,1,2,3,2,3,0,1,2,3,2,3,0,3,0,1,2,3,0,3,0,1,0,1,2,3,0,1,0,1,2
sub $1,$0
lpb $0,1
add $1,$0
mov $2,$0
div $0,3
add $... |
// Name: CglParam.cpp
// Author: Francois Margot
// Tepper School of Business
// Carnegie Mellon University, Pittsburgh, PA 15213
// Date: 11/24/06
//
// This code is licensed under the terms of the Eclipse Public License (EPL).
// Copyrigh... |
; A214439: Denominators of correlation kernels arising in adding a list of numbers in base 3 considering the distribution of number of carries.
; Submitted by Jon Maiga
; 3,3,9,9,27,1,81,81,243,243,729,1,2187,2187,6561,6561,19683,1,59049,59049,177147,177147,531441,1,1594323,1594323,4782969,4782969,14348907,1,43046721,4... |
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
; SPDX-License-Identifier: BSD-2-Clause-Patent
;
; Module Name:
;
; ReadMm0.Asm
;
; Abstract:
;
; AsmReadMm0 function
;
; Notes:
;
;------------------------------------... |
;
; Game device library for the MSX
; Stefano Bodrato - 3/12/2007
;
; $Id: joystick.asm,v 1.9 2016-06-16 20:23:51 dom Exp $
;
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN msxbios
IF FORmsx
INCLUDE "target/msx/def/msx.def"
ELSE
INCLUDE "target/sv... |
; A215097: a(n) = n^3 - a(n-2) for n >= 2 and a(0)=0, a(1)=1.
; 0,1,8,26,56,99,160,244,352,485,648,846,1080,1351,1664,2024,2432,2889,3400,3970,4600,5291,6048,6876,7776,8749,9800,10934,12152,13455,14848,16336,17920,19601,21384,23274,25272,27379,29600,31940,34400,36981,39688,42526
mov $3,$0
mov $4,$0
lpb $3
mov $0,$4
... |
export CG_CheckAmmo
code
proc CG_CheckAmmo 20 8
ADDRLP4 8
ADDRGP4 cg+36
INDIRP4
CNSTI4 240
ADDP4
INDIRI4
ASGNI4
ADDRLP4 4
CNSTI4 0
ASGNI4
ADDRLP4 0
CNSTI4 2
ASGNI4
LABELV $73
ADDRLP4 8
INDIRI4
CNSTI4 1
ADDRLP4 0
INDIRI4
LSHI4
BANDI4
CNSTI4 0
NEI4 $77
ADDRGP4 $74
JUMPV
LABELV $77
ADDRLP4 0
INDIRI4
CNSTI4 3
LTI4 $79
ADDR... |
; $Id: ASMMultU64ByU32DivByU32.asm $
;; @file
; IPRT - Assembly Functions, ASMMultU64ByU32DivByU32.
;
;
; Copyright (C) 2006-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... |
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;Set BIOS video mode
;pj_8514_set_vmode(mode)
public pj_8514_set_vmode
pj_8514_set_vmode proc near
mov eax,4[esp]
int 10H
ret
pj_8514_set_vmode endp
;Get BIOS video mode
;pj_8514_get_vmode()
public pj_8514_get_vmode
... |
title Cpu.asm
;------------------------------------------------------------------------------
;
; Copyright (c) 2006, Intel Corporation
; All rights reserved. This program and the accompanying materials
; are licensed and made a... |
; A338795: Each term of A003215 (centered hexagonal numbers) is multiplied by the corresponding term of A003154 (centered dodecagonal numbers).
; 1,91,703,2701,7381,16471,32131,56953,93961,146611,218791,314821,439453,597871,795691,1038961,1334161,1688203,2108431,2602621,3178981,3846151,4613203,5489641,6485401,7610851,8... |
/*
* Copyright (c) 2015, 2021 Arm Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
* not be construed as granting a license to any other intellectual
* property including but not limited to intellectual property relating
* to a hardware implementation of the... |
; A022925: Number of 5^m between 2^n and 2^(n+1).
; Submitted by Christian Krause
; 0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1
add $0,1
mov $4,10
pow $4,$0
mov $5... |
SFX_Super_Effective_Ch8:
noise_note 4, 15, 1, 52
noise_note 15, 15, 2, 100
sound_ret
|
; A292344: The first Zagreb index of the Aztec diamond AZ(n) (see the Ramanes et al. reference, Theorem 2.1).
; 68,212,420,692,1028,1428,1892,2420,3012,3668,4388,5172,6020,6932,7908,8948,10052,11220,12452,13748,15108,16532,18020,19572,21188,22868,24612,26420,28292,30228,32228,34292,36420,38612,40868,43188,45572,48020,5... |
.nds
.relativeinclude on
.erroronwarning on
; If the player enters the lighthouse from one of the top doors while Brachyura is still alive, they would normally get softlocked.
; This patch teleports the player to the bottom of the room in that case so they can fight Brachyura as normal.
; Also, if the player enters it... |
#include "../draw_blocks.cpp"
void insertionSort(vector<int>&nums, sf::RenderWindow &screen)
{
for(int i = 1; i < nums.size(); i++)
{
int current_index = i;
while(current_index >= 0)
{
ComparsionText.updateText(std::to_string(++Number_of_comparsions) + " Comparsions");
... |
;--------------------------------------------------
; void func(char* word){
; char* j = word;
;
; for(int i = 0; *(word+i) != '\0'; i++){
; if(*(word+i)<'0' || *(word+i)>'8' || *(word+i)%2 != 0){
; *(j) = *(word+i);
; *(j++);
; }
; }
; ... |
; A017748: Binomial coefficients C(n,84).
; 1,85,3655,105995,2331890,41507642,622614630,8093990190,93080887185,961835834245,9041256841903,78083581816435,624668654531480,4660989191504120,32626924340528840,215337700647490344,1345860629046814650,7995995501984016450,45310641177909426550,245631370596035312350,12772831270993... |
#include <cstdlib>
#include <iostream>
#include <memory>
#include <random>
#include <vector>
#include "credentials.h"
#include "deskmate/gfx/components/vertical_bar_horizontal_list_item.h"
#include "deskmate/gfx/screens/horizontal_list.h"
#include "deskmate/sdl2/gfx/display.h"
#include "deskmate/sdl2/input/input_trans... |
; A216607: The sequence used to represent partition binary diagram as an array.
; 0,0,1,0,1,0,2,1,0,2,1,0,3,2,1,0,3,2,1,0,4,3,2,1,0,4,3,2,1,0,5,4,3,2,1,0,5,4,3,2,1,0,6,5,4,3,2,1,0,6,5,4,3,2,1,0,7,6,5,4,3,2,1,0,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3
lpb $0
add $1,$2
sub $0,$1
cmp $2,0
sub $0,$2
lpe
sub $... |
; A188707: Number of 3 X n binary arrays without the pattern 0 0 diagonally or vertically.
; 5,21,90,387,1665,7164,30825,132633,570690,2455551,10565685,45461772,195611805,841673709,3621533130,15582644523,67048623225,288495182556,1241330043105,5341164667857,22981833209970,98885672046279,425482860601485,1830757286868588,... |
main.elf: file format elf32-littleriscv
Disassembly of section .text:
00000000 <_start>:
0: 00000037 lui zero,0x0
00000004 <__crt0_pointer_init>:
4: 80002117 auipc sp,0x80002
8: ff810113 addi sp,sp,-8 # 80001ffc <__ctr0_io_space_begin+0x800021fc>
c: 80000197 ... |
/*
* Copyright (c) 2013-2016, Intel Corporation
*
* 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 above copyright notice,
* this list of conditions and the f... |
; A176271: The odd numbers as a triangle read by rows.
; 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,131
mov $1,$0
add $1,$0
add $1,1
|
include uXmx86asm.inc
option casemap:none
ifndef __X64__
.686P
.xmm
.model flat, c
else
.X64P
.xmm
option win64:11
option stackbase:rsp
endif
option frame:auto
.code
align 16
uXm_has_AVX512_BITALG_VL proto VECCALL (byte)
align 16
uXm_has_AVX512_BITALG_VL proc VECCALL (byte)
... |
; A266246: Middle column of the "Rule 9" elementary cellular automaton starting with a single ON (black) cell.
; 1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1
sub $0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.