text
stringlengths
1
1.05M
;--------------------- ; ; This code implements two interfaces of SHA-1 update function: 1) working on a single ; 64-byte block and 2) working on a buffer of multiple 64-bit blocks. Multiple blocks ; version of code is software pipelined and faster overall, it is a default. Assemble ; with -DINTEL_SHA1_SINGLE...
// Range v3 library // // Copyright Eric Niebler 2014 // Copyright Casey Carter 2015 // // Use, modification and distribution is subject to the // Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // // Project home: https://github.c...
;; function to calculate size of Z80N opcode ;; ;; © Peter Helcmanovsky 2020, license: https://opensource.org/licenses/MIT ;; ;; this is meant to be reasonably fast while also small+simple (size 161 bytes) ; switch sjasmplus to correct syntax variant OPT push reset --zxnext --syntax=abfw ;; Internal entry poi...
;****************************************************************************** ;* TI ARM C/C++ Codegen Unix v18.1.3.LTS * ;* Date/Time created: Mon Sep 17 16:09:26 2018 * ;****************************************************************************** ...
; A212685: Number of (w,x,y,z) with all terms in {1,...,n} and |w-x|=w+|y-z|. ; 0,0,2,7,18,36,64,103,156,224,310,415,542,692,868,1071,1304,1568,1866,2199,2570,2980,3432,3927,4468,5056,5694,6383,7126,7924,8780,9695,10672,11712,12818,13991,15234,16548,17936,19399,20940,22560 mul $0,2 mov $2,$0 mul $2,2 bin $2,3 mov $3,$...
; void dzx0_standard_callee(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC dzx0_standard_callee EXTERN asm_dzx0_standard dzx0_standard_callee: pop hl pop de ex (sp),hl jp asm_dzx0_standard
; A014302: a(n) = prime(n)*(prime(n-1)-1)/2. ; Submitted by Jamie Morken(w4) ; 5,14,33,65,102,152,207,319,434,555,738,860,987,1219,1534,1769,2010,2343,2555,2844,3237,3649,4268,4848,5150,5457,5777,6102,7112,8253,8905,9452,10281,11174,11775,12714,13527,14359,15394,16109,17190,18335,18912,19502,20889,23415,25197,25877,265...
; A272000: Coinage sequence: a(n) = A018227(n)-7. ; Submitted by Jamie Morken(s4) ; 3,11,29,47,79,111,161,211,283,355,453,551,679,807,969,1131,1331,1531,1773,2015,2303,2591,2929,3267,3659,4051,4501,4951,5463,5975,6553,7131,7779,8427,9149,9871,10671,11471,12353,13235,14203,15171,16229,17287,18439,19591,20841,22091,23443...
; A054881: Number of walks of length n along the edges of an octahedron starting and ending at a vertex and also ( with a(0)=0 ) between two opposite vertices. ; 1,0,4,8,48,160,704,2688,11008,43520,175104,698368,2797568,11182080,44744704,178946048,715849728,2863267840,11453333504,45812809728,183252287488,733007052800,2...
; A162920: Number of reduced words of length n in Coxeter group on 3 generators S_i with relations (S_i)^2 = (S_i S_j)^4 = I. ; Submitted by Jamie Morken(w1) ; 1,3,6,12,21,36,63,108,186,321,552,951,1638,2820,4857,8364,14403,24804,42714,73557,126672,218139,375654,646908,1114029,1918452,3303735,5689308,9797466,16872057,2...
; char *strsep(char ** restrict stringp, const char * restrict delim) SECTION code_string PUBLIC _strsep EXTERN asm_strsep _strsep: pop af pop bc pop de push de push bc push af jp asm_strsep
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rax push %rcx push %rdi push %rdx lea addresses_D_ht+0xacb6, %rdi nop sub %rdx, %rdx mov (%rdi), %r10d nop nop nop sub %rdx, %rdx lea addresses_A_ht+0x1afb6, %rdi add $63691, %rax movb (%rdi), %cl nop xor %r10, %r10 lea addresses_D_ht+0x19fc2, %rax ...
; A080175: Fourth power of primes of the form 4k+1 (A002144). ; 625,28561,83521,707281,1874161,2825761,7890481,13845841,28398241,62742241,88529281,104060401,141158161,163047361,352275361,492884401,607573201,895745041,1073283121,1387488001,1506138481,2750058481 seq $0,2144 ; Pythagorean primes: primes of form 4*k + 1. ...
DisplayItemDescription: ld a, [wcf91] dec a cp a, HM_01 - 1 jr c, .ready sub ((HM_01 - GO_HOME) - 1) ; TM and HM ids are now adjusted to be after the rest of the normal items .ready ld hl,ItemDescriptionPointers ld bc, 5 .add and a jr z, .doneAdding dec a add hl, bc jr .add .doneAdding call PrintText ret ...
*=$1000 ; ; CONSTANTS ; SCREEN_BORDER_COLOR = $D020 CONTROL_REGISTER_1 = $D011 CONTROL_REGISTER_2 = $D016 MEMORY_SETUP_REGISTER = $D018 SCREEN_COLOR_MEMORY_BEGIN = $08 SCREEN_COLOR_MEMORY_END = $0C SCREEN_PIXELS_MEMORY_BEGIN = $20 SCREEN_PIXELS_MEM...
// Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "key.h" #include "arith_uint256.h" #include "crypto/common.h" #include "crypto/hmac_sha512.h" #include "pubkey.h" #...
; A168233: a(n) = 3*n - a(n-1) - 1 for n>0, a(1)=1. ; 1,4,4,7,7,10,10,13,13,16,16,19,19,22,22,25,25,28,28,31,31,34,34,37,37,40,40,43,43,46,46,49,49,52,52,55,55,58,58,61,61,64,64,67,67,70,70,73,73,76,76,79,79,82,82,85,85,88,88,91,91,94,94,97,97,100,100,103,103,106,106,109,109,112,112,115,115,118,118,121,121,124,124,127,...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>pread(fd, buf, nbytes, offset) -> str Invokes the syscall pread. See 'man 2 pread' for more information. Arguments: fd(int): fd buf(void*): buf nbytes(size_t): nbytes offset(off_t): offset Returns:...
; void *heap_realloc(void *heap, void *p, size_t size) INCLUDE "config_private.inc" SECTION code_clib SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC _heap_realloc EXTERN asm_heap_realloc _heap_realloc: pop af pop de pop h...
//===--- GenObjC.cpp - Objective-C interaction ----------------------------===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
; A214091: a(n) = 3^n - 2^(n+2). ; -3,-5,-7,-5,17,115,473,1675,5537,17635,54953,168955,515057,1561555,4717433,14217835,42784577,128615875,386371913,1160164315,3482590097,10451964595,31364282393,94109624395,282362427617,847154391715,2541597392873,7625060614075,22875718713137,68628229881235,205886837127353,61766480634935...
.386p .387 include string.dat assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT _TEXT segment para use32 public 'CODE' include string.equ ini_str proc near mov eax,6 mov ebx,offset FLAT:pnmac1579 mov ecx,offset FLAT:string000 mov edx,offset FLAT:zstring000 push z_string000 call near pt...
bits 32 section .irq global read_port global write_port global load_idt global keyboard_handler global disable_cursor extern kbd_handler_irq read_port: mov edx, [esp + 4] ; Copie o núm da porta (arg) para edx in al, dx ; Copie da porta [LSB de edx] para [LSB de eax] ret ; Retorno de função Asm Intel x86 f...
; A284521: Sum of largest prime power factors of numbers <= n. ; Submitted by Jon Maiga ; 1,3,6,10,15,18,25,33,42,47,58,62,75,82,87,103,120,129,148,153,160,171,194,202,227,240,267,274,303,308,339,371,382,399,406,415,452,471,484,492,533,540,583,594,603,626,673,689,738,763,780,793,846,873,884,892,911,940,999,1004,1065,10...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <gtest/gtest.h> #include "base_reference_test.hpp" #include "openvino/op/floor_mod.hpp" using namespace ov; using namespace reference_tests; namespace { struct FloorModParams { template <class IT> FloorModParams(...
; Usage: uncircle(int x, int y, int radius, int skip); IF !__CPU_INTEL__ & !__CPU_GBZ80__ SECTION code_graphics PUBLIC uncircle_callee PUBLIC _uncircle_callee PUBLIC asm_uncircle EXTERN draw_circle EXTERN respixel EXTERN swapgfxbk EXTERN __graphics_end INCLUD...
/* * Copyright (c) 2019-2020, NVIDIA 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...
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1bedc, %rsi lea addresses_UC_ht+0x1070c, %rdi nop nop nop nop nop dec %r9 mov $74, %rcx rep movsb dec %rdi lea addresses_UC_ht+0x3afc, %rsi lea addresses_WT_ht+0x1377c, %rdi n...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; void b_array_destroy(b_array_t *a) ; ; Zero the array structure. ; array.capacity = 0 ensures no array operations can be performed. ; ; ===================================...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12403, %r13 nop inc %rbp mov (%r13), %r10 nop sub $43387, %r11 lea addresses_UC_ht+0x529, %r10 clflush (%r10) nop nop nop nop nop add $13046, %rdi mov $0x6162636465666768, %r...
.size 8000 .text@50 jp ltimaint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: xor a, a ldff(0f), a ldff(ff), a ld a, f0 ldff(05), a ldff(06), a ld a, 04 ldff(ff), a ld a, 05 ldff(07), a ei nop halt .text@1000 ltimaint: nop .text@102f ld a, 01 ldff(07), a .text@1048 ldff a, (0f) jp lprin...
; Test case: ; - line 5 (ld a,1), should be optimized label1: ld a,1 ld a,2 ld (var1),a bel2: jp label2 var1: db 0
BattleCore: INCLUDE "data/battle/residual_effects_1.asm" INCLUDE "data/battle/set_damage_effects.asm" INCLUDE "data/battle/residual_effects_2.asm" INCLUDE "data/battle/always_happen_effects.asm" INCLUDE "data/battle/special_effects.asm" SlidePlayerAndEnemySilhouettesOnScreen: call LoadPlayerBackPic ld a, MESSAGE_BO...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright (c) 2012, 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: ; ; * Redistribu...
#ifdef WITH_FC2 #include "camera_device_fc2.hpp" #include "utils_fc2.hpp" #include "exception.hpp" #include <sstream> #include <iostream> #include <algorithm> #include <bitset> namespace bias { const unsigned int MAX_CYCLE_SECONDS = 128; const unsigned int MAX_CYCLE_COUNT = 8000; const uns...
[BITS 64] %include "parameters.inc" extern exit global mul_avx256_int section .text mul_avx256_int: push rbp mov rax, ITERATIONS_mul_avx256i lea rbx, [rel avx_iv] vmovdqa ymm0, [rbx] vmovdqa ymm1, [rbx] vmovdqa ymm2, [rbx] vmovdqa ymm3, [rbx] vmovdqa ymm4, [rbx] vmovdqa ymm5, [rbx] vmovdqa ymm6, [r...
; A266285: Number of ON (black) cells in the n-th iteration of the "Rule 13" elementary cellular automaton starting with a single ON (black) cell. ; 1,1,2,4,3,7,4,10,5,13,6,16,7,19,8,22,9,25,10,28,11,31,12,34,13,37,14,40,15,43,16,46,17,49,18,52,19,55,20,58,21,61,22,64,23,67,24,70,25,73,26,76,27,79,28,82,29,85,30,88,31,...
; Thanks to Kazuto for developing the original QS code that inspired this one QuickSwap: ; We perform all other checks only if we are pushing L or R in order to have minimal ; perf impact, since this runs every frame LDA.b $F6 : AND #$30 : BEQ .done XBA ; stash away the value for after the checks. LDA.l QuickS...
#ifndef TOKEN_HPP_INCLUDED #define TOKEN_HPP_INCLUDED #include <string> #include <map> #include <iostream> enum class TokenType { LeftParen, RightParen, LeftBrace, RightBrace, Comma, Dot, Minus, Plus, Semicolon, Slash, Star, Bang, BangEqual, Equal, EqualEqual, Greater, GreaterEqual, Less, Les...
; ============================================================================= ; Ultima Underworld Hacks -- expanded overlay ; ----------------------------------------------------------------------------- %assign nextEopNumber 0 ; eopProc length, procName %macro eopProc 2 %assign eopNumber nextEopNumber %assign e...
; A054055: Largest digit of n. ; 0,1,2,3,4,5,6,7,8,9,1,1,2,3,4,5,6,7,8,9,2,2,2,3,4,5,6,7,8,9,3,3,3,3,4,5,6,7,8,9,4,4,4,4,4,5,6,7,8,9,5,5,5,5,5,5,6,7,8,9,6,6,6,6,6,6,6,7,8,9,7,7,7,7,7,7,7,7,8,9,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9 lpb $0 mov $2,$0 div $0,10 mod $2,10 trn $1,$2 add $1,$2 lpe mov $0,$1
; ; ZX Spectrum specific routines ; by Stefano Bodrato, 14/09/2006 ; ; int zx_soundchip(); ; ; The result is: ; - 1 (true) if a sound chip is present ; - 0 (false) otherwise ; ; $Id: zx_soundchip.asm,v 1.3 2016/06/10 20:02:05 dom Exp $ ; SECTION code_clib PUBLIC zx_soundchip PUBLIC _zx_soundchip zx_soundchip: _zx...
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by D Morris - 30/9/98 ; ; ----- void __CALLEE__ setpos(int x2, int y2) ; ; $Id: setpos_callee.asm $ ; SECTION code_graphics PUBLIC setpos_callee PUBLIC _setpos_callee PUBLIC...
<% from pwnlib.shellcraft.amd64.linux import syscall %> <%page args="fd, addr, addr_len"/> <%docstring> Invokes the syscall accept. See 'man 2 accept' for more information. Arguments: fd(int): fd addr(SOCKADDR_ARG): addr addr_len(socklen_t): addr_len </%docstring> ${syscall('SYS_accept', fd, addr...
; A278612: Sum of terms in level n of TRIP - Stern sequence associated with permutation triple (e, e, e). ; Submitted by Jon Maiga ; 3,8,22,60,162,436,1174,3164,8530,22996,61990,167100,450434,1214196,3273014,8822812,23782962,64109844,172815814,465845884,1255743842,3385009204,9124701142,24596733916,66303466770,178729002...
; void *tshc_aaddrpleft(void *aaddr, uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC tshc_aaddrpleft EXTERN zx_saddrpleft defc tshc_aaddrpleft = zx_saddrpleft ; SDCC bridge for Classic IF __CLASSIC PUBLIC _tshc_aaddrpleft defc _tshc_aaddrpleft = tshc_aaddrpleft ENDIF
; vars.asm ; Application SavedArgs: dw $0000 SavedStackPrint: dw $0000 ResponseStart: dw $0000 ResponseLen: dw $0000
// // "$Id: pack.cxx 8864 2011-07-19 04:49:30Z greg.ercolano $" // // Fl_Pack test program for the Fast Light Tool Kit (FLTK). // // Rather crude test of the Fl_Pack object. // Changing the type() of an Fl_Pack after it is displayed is not supported // so I have to do a lot of resizing of things before that. // // Copy...
/* * Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/> * * Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/> * * Copyright (C) 2010 - 2013 ArkCORE <http://www.arkania.net/> * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/> * * This program is free software; ...
.SETCPU "6502X" .segment "INESHDR" .byte "NES",$1A .byte 2 ; 2x16 kB PRG banks .byte 0 ; 32kB switchable CHR RAM .byte $E3 ; Mapper 30, vertical mirroring, battery (self-flashable config with no bus conflicts) .byte $10 ; Flags .byte 0,0,0,0,0,0,0,0 CRUNCHY_SPRITE_PAGE = $200 CRUNCHY_TEMP = $00 C...
[bits 32] global IoHlt global IoCli global IoSti global IoStiHlt global IoIn8 global IoIn16 global IoIn32 global IoOut8 global IoOut16 global IoOut32 global IoLoadEflags global IoStoreEflags global LoadGdtr global LoadIdtr global AsmInterruptHandler21 ...
#include "TimedStressAction.h" #include "TimedStressFunction.h" #include "MengeCore/Agents/BaseAgent.h" namespace StressGAS { using Menge::Agents::BaseAgent; using Menge::BFSM::Action; ///////////////////////////////////////////////////////////////////// // Implementation of TimedStressAction...
SFX_Snare2_4_Ch7: ; 841f0 unknownnoise0x20 0, 177, 51 endchannel
.pushaddr .addr =MapperTable+1*2 .data16 _Mapper1__Main .addr =Mapper_Memory Mapper1_temp: .fill 1 Mapper1_value: .fill 1 Mapper1_control: .fill 1 Mapper1_chrbank0: .fill 1 Mapper1_chrbank1: .fill 1 Mapper1_prgbank: .fill 1 .pulladdr .mx 0x00 Mapper1__Main: // Load current bank address ldx #_...
TITLE 'ASM TABLE SEARCH MODULE' ORG 15A0H JMP ENDMOD ;TO NEXT MODULE JMP BSEAR JMP BGET ; ; COMMON EQUATES PBMAX EQU 120 ;MAX PRINT SIZE PBUFF EQU 10CH ;PRINT BUFFER PBP EQU PBUFF+PBMAX ;PRINT BUFFER POINTER ; TOKEN EQU PBP+1 ;CURRENT TOKEN UDER SCAN VALUE EQU TOKEN+1 ;VALUE OF NUMBER IN BINARY ACCLEN...
/*************************************************************************** copyright : (C) 2012 by Tsuda Kageyu email : tsuda.kageyu@gmail.com ***************************************************************************/ /*************************************************************...
export UI_Alloc code proc UI_Alloc 12 0 ADDRGP4 allocPoint INDIRI4 ADDRFP4 0 INDIRI4 ADDI4 CNSTI4 131072 LEI4 $69 ADDRGP4 outOfMemory CNSTI4 1 ASGNI4 CNSTP4 0 RETP4 ADDRGP4 $68 JUMPV LABELV $69 ADDRLP4 4 ADDRGP4 allocPoint ASGNP4 ADDRLP4 8 ADDRLP4 4 INDIRP4 INDIRI4 ASGNI4 ADDRLP4 0 ADDRLP4 8 INDIRI4 ADDRGP4 memoryPool ...
; A050443: a(0)=4, a(1)=0, a(2)=0, a(3)=3; thereafter a(n) = a(n-3) + a(n-4). ; Submitted by Christian Krause ; 4,0,0,3,4,0,3,7,4,3,10,11,7,13,21,18,20,34,39,38,54,73,77,92,127,150,169,219,277,319,388,496,596,707,884,1092,1303,1591,1976,2395,2894,3567,4371,5289,6461,7938,9660,11750,14399,17598,21410,26149,31997,39008,4...
//////////////////////////////////////////////////////////////// // Orkid Media Engine // Copyright 1996-2020, Michael T. Mayers. // Distributed under the Boost Software License - Version 1.0 - August 17, 2003 // see http://www.boost.org/LICENSE_1_0.txt //////////////////////////////////////////////////////////////// ...
; A179436: a(n) = (3*n+7)*(3*n+2)/2. ; 7,25,52,88,133,187,250,322,403,493,592,700,817,943,1078,1222,1375,1537,1708,1888,2077,2275,2482,2698,2923,3157,3400,3652,3913,4183,4462,4750,5047,5353,5668,5992,6325,6667,7018,7378,7747,8125,8512,8908,9313,9727,10150,10582,11023,11473,11932,12400,12877,13363,13858,14362,14875,1539...
; A193583: Number of fixed points under iteration of sum of squares of digits in base b. ; 1,3,1,3,1,5,3,3,1,3,3,7,1,3,1,7,5,3,1,7,3,7,1,3,1,7,3,3,3,7,5,7,3,3,1,7,5,3,1,5,3,11,3,3,3,15,3,3,3,3,3,7,1,7,1,15,3,3,3,3,3,7,3,3,1,7,7,3,5,3,7,15,1,7,3,7,3,3,3,7,5,15,1,3,3,7,3,7,1,7,3,11,1,3,3,7,7,11,3,3 add $0,2 pow $0,2 sub...
; A134762: a(n) = 3*A000984(n) - 2. ; 1,4,16,58,208,754,2770,10294,38608,145858,554266,2116294,8112466,31201798,120349798,465352558,1803241168,7000818658,27225405898,106035791398,413539586458,1614773623318,6312296891158,24700292182798,96742811049298,379231819313254 mov $1,$0 mul $1,2 bin $1,$0 mul $1,3 sub $1,2
;=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* ;very simply ncurses example borrowed from FreeBASIC ;ported to jwasm 12-01-2009 ;James C. Fuller ;------------------------------------------------------------------------------ ;JWASM -elf -zcw -Fo ncurs1.o ncurs1.asm ;gcc -o ncurs1 ncur...
; A168372: a(n) = n^5*(n^4 + 1)/2. ; 0,1,272,9963,131584,978125,5042736,20185207,67125248,193739769,500050000,1179054371,2580014592,5302435333,10330792304,19222059375,34360262656,59294648177,99180589968,161345086939,256001600000,397142065341,603637185712,900579548903,1320907751424,1907353515625,2714757780176,3812805916...
_cat: 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: ...
; void bv_stack_clear_fastcall(bv_stack_t *s) SECTION code_adt_bv_stack PUBLIC _bv_stack_clear_fastcall defc _bv_stack_clear_fastcall = asm_bv_stack_clear INCLUDE "adt/bv_stack/z80/asm_bv_stack_clear.asm"
SECTION code_clib PUBLIC xorpixl EXTERN xor_MODE0 EXTERN xor_MODE1 EXTERN __sv8000_mode INCLUDE "target/sv8000/def/sv8000.def" xorpixl: ld a,(__sv8000_mode) cp MODE_1 jp z,xor_MODE1 and a ret nz jp xor_MODE0
; A159715: Number of permutations of 2 indistinguishable copies of 1..n arranged in a circle with exactly 1 local maximum. ; 4,18,72,270,972,3402,11664,39366,131220,433026,1417176,4605822,14880348,47829690,153055008,487862838,1549681956,4907326194,15496819560,48814981614,153418513644,481176247338,1506290861232,47071589...
; A048506: a(n) = T(0,n), array T given by A048505. ; 1,2,7,25,81,241,673,1793,4609,11521,28161,67585,159745,372737,860161,1966081,4456449,10027009,22413313,49807361,110100481,242221057,530579457,1157627905,2516582401,5452595201,11777605633,25367150593,54492397569,116769423361,249644974081,532575944705,1133871366145,24...
; A180664: Golden Triangle sums: a(n) = a(n-1) + A001654(n+1) with a(0)=0. ; 0,2,8,23,63,167,440,1154,3024,7919,20735,54287,142128,372098,974168,2550407,6677055,17480759,45765224,119814914,313679520,821223647,2149991423,5628750623,14736260448,38580030722,101003831720 add $0,2 seq $0,5248 ; Bisection of Lucas numbers: ...
; A015454: Generalized Fibonacci numbers. ; 1,1,9,73,593,4817,39129,317849,2581921,20973217,170367657,1383914473,11241683441,91317382001,741780739449,6025563297593,48946287120193,397595860259137,3229713169193289,26235301213805449 mov $2,$0 mov $3,$0 mov $5,$0 lpb $5,1 mov $0,$3 sub $0,$2 mov $2,$0 mov $3,8 a...
; void *wa_priority_queue_data(wa_priority_queue_t *q) SECTION code_clib SECTION code_adt_wa_priority_queue PUBLIC wa_priority_queue_data EXTERN asm_wa_priority_queue_data defc wa_priority_queue_data = asm_wa_priority_queue_data ; SDCC bridge for Classic IF __CLASSIC PUBLIC _wa_priority_queue_data defc _wa_priori...
; A022331: Index of 2^n within sequence of numbers of form 2^i*3^j. ; 1,2,4,6,9,13,17,22,28,34,41,48,56,65,74,84,95,106,118,130,143,157,171,186,202,218,235,253,271,290,309,329,350,371,393,416,439,463,487,512,538,564,591,619,647,676,706,736,767,798,830,863,896,930,965,1000,1036,1072,1109,1147,1185,1224,1264,1304,1345,13...
; Initialise Button Things V0.00  1989 Tony Tebby xdef bt_init xref bt_name xref bt_use xref bt_free xref bt_ffree xref gu_achpp xref gu_thzlk xref gu_iowp xref bt_xorg xref bt_rows xr...
; A085540: a(n) = n*(n+1)^3. ; 0,8,54,192,500,1080,2058,3584,5832,9000,13310,19008,26364,35672,47250,61440,78608,99144,123462,152000,185220,223608,267674,317952,375000,439400,511758,592704,682892,783000,893730,1015808,1149984,1297032,1457750,1632960,1823508,2030264,2254122,2496000,2756840,3037608,3339294,3662912,400950...
#ifndef CLUE_MISC__ #define CLUE_MISC__ // Miscellaneous utilities #include <clue/common.hpp> #include <memory> #include <sstream> namespace clue { //=============================================== // // Place holder // //=============================================== struct place_holder_t {}; constexpr place_ho...
; A314032: Coordination sequence Gal.6.324.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,11,15,20,26,30,36,41,45,51,56,61,67,71,76,82,86,92,97,101,107,112,117,123,127,132,138,142,148,153,157,163,168,173,179,183,188,194,198,20...
// Copyright (C) 2020 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include "common_test_utils/test_constants.hpp" #include "subgraph_tests/basic_lstm.hpp" using namespace LayerTestsDefinitions; namespace { const std::vector<InferenceEngine::Precision> netPrecisions = { Infe...
/* Copyright 2017 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 ...
; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t b_vector_insert(b_vector_t *v, size_t idx, int c) ; ; Insert char c before vector.data[idx], returns index of ; char inserted. ; ; =================================...
; A134507: Number of rectangles in a pyramid built with squares. The squares counted in A092498 are excluded. ; 0,4,19,57,134,269,486,813,1281,1926,2788,3910,5340,7130,9335,12015,15234,19059,23562,28819,34909,41916,49928,59036,69336,80928,93915,108405,124510,142345,162030,183689,207449,233442,261804,292674,326196,36251...
VictoryRoad3F_Script: call VictoryRoad3Script_44996 call EnableAutoTextBoxDrawing ld hl, VictoryRoad3TrainerHeaders ld de, VictoryRoad3F_ScriptPointers ld a, [wVictoryRoad3FCurScript] call ExecuteCurMapScriptInTable ld [wVictoryRoad3FCurScript], a ret VictoryRoad3Script_44996: ld hl, wCurrentMapScriptFlags b...
; 04.2004 aralbrec PUBLIC ba_Free EXTERN _ba_qtbl ; Frees block of memory back to queues for reuse. ; ; enter: HL = address of block as returned by ba_malloc or ba_bestfit ; uses : AF,BC,DE,HL .ba_Free ld a,h or l ret z dec hl ld e,(hl) ; E = queue number inc hl ex de,hl ; DE = block...
; ***************************************************************************** ; ***************************************************************************** ; ; Name: kernel.asm ; Purpose: Kernel Startup. ; Created: 8th March 2020 ; Reviewed: 20th March 2020 ; Author: Paul Robson (paul@robsons.org.uk) ; ; **...
;***************************************************************************** ;* mc-a2.asm: h264 encoder library ;***************************************************************************** ;* Copyright (C) 2005-2008 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Jason Garrett-Glaser...
#include "com_wiyun_engine_actions_grid_Grid3DAction.h" #include "wyGrid3DAction.h" extern jfieldID g_fid_BaseObject_mPointer; extern jfieldID g_fid_WYVertex3D_x; extern jfieldID g_fid_WYVertex3D_y; extern jfieldID g_fid_WYVertex3D_z; JNIEXPORT void JNICALL Java_com_wiyun_engine_actions_grid_Grid3DAction_getV...
#ifndef VLAYOUT_HPP #define VLAYOUT_HPP #include "Layout.hpp" class VLayout : public Layout { public: VLayout(const VLayout&) = delete; VLayout(Widget* parent = nullptr); VLayout& operator=(const VLayout&) = delete; ~VLayout(); void add(Widget* widget); Widget* at(unsigned int index)const...
// // Created by Alexander Winter on 2017-09-17. // #include "term.h" #include "polynomial.h" poly::term::term(value_t value, degree_t degree) : _value(value), _degree(degree) { } std::string poly::term::to_string() const { std::stringstream ss; if(_degree == 0) ss << _value; else if(_degre...
; A339684: a(n) = Sum_{d|n} 4^(d-1). ; Submitted by Jamie Morken(s4) ; 1,5,17,69,257,1045,4097,16453,65553,262405,1048577,4195413,16777217,67112965,268435729,1073758277,4294967297,17179935765,68719476737,274878169413,1099511631889,4398047559685,17592186044417,70368748389461,281474976710913,1125899923619845,450359962743...
; A084262: Binomial transform of double factorials. ; 1,2,6,28,188,1656,17992,232016,3460368,58574368,1109200736,23230928832,533139875776,13304094478208,358653008619648,10387075613199616,321626829363798272,10602925778746753536,370770015836513986048 mul $0,2 mov $1,1 lpb $0 sub $0,2 sub $2,$1 sub $1,$2 mul $2,$...
; A081200: 6th binomial transform of (0,1,0,1,0,1,...), A000035. ; 0,1,12,109,888,6841,51012,372709,2687088,19200241,136354812,964249309,6798573288,47834153641,336059778612,2358521965909,16540171339488,115933787267041,812299450322412,5689910849522509,39848449432985688,279034513462540441,1953718431395986212,136784132055...
%ifdef CONFIG { "RegData": { "RAX": "0x4042434444464748", "RBX": "0x4042434445464748", "RCX": "0x4142434445464748", "RDX": "0x4142434445464748", "RSI": "0x4042434445464748", "RDI": "0x4142434445464748" } } %endif mov r15, 0xe0000000 mov rax, 0x4142434445464748 mov [r15 + 8 * 0], rax mov [r...
/* MIT License Copyright (c) 2017 Nikita Kogut (MrOnlineCoder) 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, mo...
; A060509: Largest power of n not exceeding 2^n. ; 4,3,16,25,36,49,64,81,1000,1331,1728,2197,2744,3375,65536,83521,104976,130321,160000,194481,234256,6436343,7962624,9765625,11881376,14348907,17210368,20511149,729000000,887503681,1073741824,1291467969,1544804416,1838265625,2176782336,94931877133,114415582592,1372310066...
; A017567: (12n+3)^11. ; 177147,8649755859375,5559060566555523,317475837322472439,6071163615208263051,62050608388552823487,422351360321044921875,2161283703465490489863,8953382542587164451099,31517572945366073781711 mul $0,12 add $0,3 pow $0,11
; Platform specific colour transformation ; ; Entry: a = colour ; Exit: a = colour to use on screen ; Used: hl,bc,f ; MODULE code_clib PUBLIC conio_map_colour EXTERN __CLIB_CONIO_NATIVE_COLOUR conio_map_colour: ld c,__CLIB_CONIO_NATIVE_COLOUR rr c ret c and 15 ld c,a ld...
.thumb .org 0x0 @r0=iid/uses lsr r2,r0,#0x8 cmp r2,#0x0 bne GoBack mov r2,#0xFF and r2,r0 lsl r0,r2,#0x3 add r0,r2 lsl r0,#0x2 ldr r1,ItemTable add r3,r0,r1 ldr r1,[r3,#0x8] mov r0,#0x8 @indestructible tst r0,r1 mov r0,#0x0 bne Indestructible ldrb r0,[r3,#0x14] Indestructible: lsl r0,#0x8 add r0,r2 ...
; A016814: a(n) = (4n+1)^2. ; 1,25,81,169,289,441,625,841,1089,1369,1681,2025,2401,2809,3249,3721,4225,4761,5329,5929,6561,7225,7921,8649,9409,10201,11025,11881,12769,13689,14641,15625,16641,17689,18769,19881,21025,22201,23409,24649,25921,27225,28561,29929 mov $1,$0 mul $1,4 add $1,1 pow $1,2
; A193053: a(n) = (14*n*(n+3) + (2*n-5)*(-1)^n + 21)/16. ; 1,5,10,17,26,36,49,62,79,95,116,135,160,182,211,236,269,297,334,365,406,440,485,522,571,611,664,707,764,810,871,920,985,1037,1106,1161,1234,1292,1369,1430,1511,1575,1660,1727,1816,1886,1979,2052,2149,2225,2326,2405,2510,2592,2701,2786,2899,2987,3104,3195,3316,3...
.public _start .extern nesto123 .data a: .word 0x12345678 t: .long 0x12343 r: .char 34 .align .skip 1 .text _start: call r1, 0xffff call r2, 6 .data.ert b: .char 3 .text.ert add r1, r2 label1: ldch r2, 0x567