text
stringlengths
1
1.05M
; A040520: Continued fraction for sqrt(544). ; 23,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11,3,46,3,11 seq $0,10156 ; Continued fraction for sqrt(78). mov $2,$0 mul $0,2 add $0,$2 pow $2,...
; ; Z88DK Graphics Functions ; ; Draw a "gfx profile" metadata stream - Stefano Bodrato 16/10/2009 ; ; void draw_profile(int dx, int dy, int scale, unsigned char *metapic); ; ; $Id: draw_profile_nostencil.asm,v 1.2 2015/01/23 07:07:31 stefano Exp $ ; INCLUDE "graphics/grafix.inc" PUBLIC...
; Set register D to "0001111" SET A, "0000" SET B, "1111" SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A SHL MOV_ALU_C_TO_AB A OR MOV_ALU_OUT D MOV F, D
; A327770: a(n) = (23 * 7^(2*n) + 1)/24. Sequence related to the properties of the partition function A000041 modulo a power of 7. ; 1,47,2301,112747,5524601,270705447,13264566901,649963778147,31848225129201,1560563031330847,76467588535211501,3746911838225363547,183598680073042813801,8996335323579097876247,440820430855...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>getgroups32(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall getgroups32. See 'man 2 getgroups32' for more information. Arguments: vararg(int): vararg Returns: long <...
;------------------------ loc_1F88E: dc.w $008A dc.w 0 dc.b "Foi" dc.b $FC ;------------------------ even ;------------------------ loc_1F896: dc.w $020A dc.w 0 dc.b "Zan" dc.b $FC ;------------------------ even ;------------------------ loc_1F89E: dc.w $038A dc.w 0 dc.b "Gra" dc.b $FC ;------------------...
INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_l PUBLIC l_btoul ; ascii binary string to unsigned long ; whitespace is not skipped ; char consumption stops on overflow ; ; enter : de = char *buffer ; ; exit : bc = & next char to interpret in buffer ; dehl = unsigned result (0...
/* * Automatically Generated from Mathematica. * Mon 25 Jun 2018 14:53:22 GMT-04:00 */ #ifndef J_RIGHTTOEBOTTOM_MEX_HH #define J_RIGHTTOEBOTTOM_MEX_HH #ifdef MATLAB_MEX_FILE // No need for external definitions #else // MATLAB_MEX_FILE #include "math2mat.hpp" #include "mdefs.hpp" namespace SymExpression { voi...
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
cpy #0 beq !e+ !l: cmp #$80 ror dey bne !l- !e:
############################################################################### # Copyright 2019 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
.data array: .word 3 2 1 alength: .word 3 .text li $a0, 0 # i loop la $v0, alength lw $s0, 0($v0) la $v1, array li $t0, 0 loop: lw $s1, 0($v1) slt $s5, $t0, $s1 beqz $s5, skipassign add $t0, $zero, $s1 skipassign: addi $a0, $a0, 1 addi $v1, $v1, 4 slt $s1, $a0, $s0 # i and length bnez $s1, loop ...
; $Id: bit_open_di.asm,v 1.7 2016/06/16 20:23:51 dom Exp $ ; ; Galaksija 1 bit sound functions ; ; Open sound and disable interrupts for exact timing ; ; Stefano Bodrato - 8/4/2008 ; SECTION code_clib PUBLIC bit_open_di PUBLIC _bit_open_di EXTERN __snd_tick EXTERN __bit_irqstatus ...
; A040482: Continued fraction for sqrt(505). ; 22,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2,44,2,8,2 seq $0,10201 ; Continued fraction for sqrt(142). lpb $0 pow $0,4 mod $0,34 lpe ...
SECTION code_fp_am9511 PUBLIC cam32_sdcc_f32_fam9511 PUBLIC cam32_sdcc_fam9511_f32 EXTERN cam32_sdcc_read1, asm_f32_am9511 .cam32_sdcc_f32_fam9511 call cam32_sdcc_read1 jp asm_f32_am9511 EXTERN cam32_sdcc_read1, asm_am9511_f32 .cam32_sdcc_fam9511_f32 call cam32_sdcc_read1 jp asm_am9511_f32
/* BAREOS® - Backup Archiving REcovery Open Sourced Copyright (C) 2000-2011 Free Software Foundation Europe e.V. Copyright (C) 2011-2016 Planets Communications B.V. Copyright (C) 2013-2016 Bareos GmbH & Co. KG This program is Free Software; you can redistribute it and/or modify it under the terms of...
; #################################################################### ; Rafael Corsi @ 2018 ; ; Escreve a letra R na tela ; #################################################################### ; carrega x"FF" em S (todos pxs em '1') leaw $0, %A movw %A, %D notw %D ; linha 1 leaw $18815, %A movw %D, (%A)...
// MusicXML Class Library // Copyright (c) by Matthew James Briggs // Distributed under the MIT License #include "../../core/elements/GroupName.h" #include "../../core/FromXElement.h" #include <iostream> namespace mx { namespace core { GroupName::GroupName() :myValue() ,myAttributes( s...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Implementation of entities that cause NPCs to participate in // scripted events. These entities find and temporarily possess NPCs // within a given search radius. // // Multiple scripts with the same targetname will start ...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1b0e0, %rdi nop cmp $8050, %rbp movb (%rdi), %r12b and %r10, %r10 lea addresses_UC_ht+0x1b5a0, %r14 nop nop nop nop nop cmp $1380, %rdx movl $0x61626364, (%r14) sub $7401, %...
test2: ld b, 20 ld c, 20 ld d, 50 ld e, 50 ld h, 30 ld l, 70 ld a, $D0 call l2_draw_triangle
// Copyright (c) 2011-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. #if defined(HAVE_CONFIG_H) #include "config/shiabit-config.h" #endif #include "optionsmodel.h" #include "shiabitunits.h" #i...
; A169170: Number of reduced words of length n in Coxeter group on 13 generators S_i with relations (S_i)^2 = (S_i S_j)^27 = I. ; 1,13,156,1872,22464,269568,3234816,38817792,465813504,5589762048,67077144576,804925734912,9659108818944,115909305827328,1390911669927936,16690940039135232,200291280469622784 add $0,1 mov $3...
; A033487: a(n) = n*(n+1)*(n+2)*(n+3)/4. ; 0,6,30,90,210,420,756,1260,1980,2970,4290,6006,8190,10920,14280,18360,23256,29070,35910,43890,53130,63756,75900,89700,105300,122850,142506,164430,188790,215760,245520,278256,314160,353430,396270,442890,493506,548340,607620,671580,740460,814506,893970,979110,1070190,1167480,127...
/* * Copyright (c) 2021 Samsung Electronics Co., Ltd. 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 limitation the rights *...
; float __hypot (float left, float right) SECTION code_clib SECTION code_fp_am9511 PUBLIC cam32_sdcc_hypot EXTERN cam32_sdcc_readr, asm_am9511_hypot .cam32_sdcc_hypot ; find the hypotenuse of two sdcc floats ; ; enter : stack = sdcc_float right, sdcc_float left, ret ; ; exit : DEHL = sdcc_flo...
############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and material ("Material") containe...
; A017471: a(n) = (11*n + 6)^11. ; 362797056,34271896307633,8293509467471872,317475837322472439,4882812500000000000,43513917611435838661,269561249468963094528,1287831418538085836267,5062982072492057196544,17103393581163134765625,51172646912339021398016,138624799340320978519423,345676575099245416998912,80361669864744786...
; A061142: Replace each prime factor of n with 2: a(n) = 2^bigomega(n), where bigomega = A001222, number of prime factors counted with multiplicity. ; 1,2,2,4,2,4,2,8,4,4,2,8,2,4,4,16,2,8,2,8,4,4,2,16,4,4,8,8,2,8,2,32,4,4,4,16,2,4,4,16,2,8,2,8,8,4,2,32,4,8,4,8,2,16,4,16,4,4,2,16,2,4,8,64,4,8,2,8,4,8,2,32,2,4,8,8,4,8,2,...
; uint8_t hbios_e_de_hl(uint16_t func_device, uint16_t arg, void * buffer) __z88dk_callee SECTION code_clib SECTION code_arch PUBLIC _hbios_e_de_hl_callee EXTERN asm_hbios_e ._hbios_e_de_hl_callee pop af pop bc pop de pop hl push af jp asm_hbios_e
; size_t wa_stack_capacity(wa_stack_t *s) SECTION code_clib SECTION code_adt_wa_stack PUBLIC _wa_stack_capacity EXTERN _w_array_capacity defc _wa_stack_capacity = _w_array_capacity
; A045534: Number of squarefree self-avoiding walks in 2 dimensions. ; 1,4,8,16,16,16,16,16,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 $3,$0 mul $0,6 sub $0,3 mul $0,2 mov $1,2 lpb $0 mov $2,$3 cmp $2...
; A249131: p(1,n), where the polynomial p(n,x) is defined in Comments; sum of the numbers in row n of the triangular array at A249130. ; Submitted by Jon Maiga ; 1,3,5,17,37,139,361,1473,4361,19091,62701,291793,1044205,5129307,19748177,101817089,417787921,2250495523,9770678101,54780588561,250194150581,1455367098923,695...
#include <jni.h> #include <string> extern "C" JNIEXPORT jstring JNICALL Java_me_zhehua_firerooster_MainActivity_stringFromJNI( JNIEnv *env, jobject /* this */) { std::string hello = "Hello from C++"; return env->NewStringUTF(hello.c_str()); }
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x603a, %rdx nop nop nop nop xor %rcx, %rcx mov (%rdx), %r15 nop nop sub %r11, %r11 lea addresses_normal_ht+0x9862, %r15 nop nop nop nop nop xor $2626, %rsi movb (%r15), %r8b and $39250,...
; A087292: Number of pairs of polynomials (f,g) in GF(3)[x] satisfying 1 <= deg(f) < =n, 1 <= deg(g) <= n and gcd(f,g) = 1. ; 0,24,384,4056,38400,351384,3179904,28671576,258201600,2324286744,20919997824,188284231896,1694570841600,15251175838104,137260697334144,1235346620381016,11118120616550400 mov $1,3 pow $1,$0 sub ...
; A008413: Coordination sequence for 5-dimensional cubic lattice. ; 1,10,50,170,450,1002,1970,3530,5890,9290,14002,20330,28610,39210,52530,69002,89090,113290,142130,176170,216002,262250,315570,376650,446210,525002,613810,713450,824770,948650,1086002,1237770,1404930,1588490,1789490,2009002,2248130,2508010,2789810,309473...
.386 _TEXT segment use32 para public 'CODE' public _DivideAsm public _yuzaadd _DivideAsm proc near assume cs:_TEXT mov eax, [esp + 4] mov ebx, [esp + 8] cdq idiv ebx ret _DivideAsm endp _yuzaadd proc near assume cs:_TEXT mov eax, [esp + 4] mov ebx, [e...
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : basic.asm ; Purpose : Basic Main Program ; Date : 16th August 2019 ; Author : Paul Robson (paul@robsons.org.uk) ;...
[bits 32] global kernel_sleep global kernel_shutdown [extern main] loadkernel: call main jmp $ kernel_sleep: push ebp mov ebp, esp mov ecx,dword [ebp+8] imul ecx,1000 kernel_shutdown: mov ax, 5300h xor bx, bx int 15h
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
; void _lldivu_(lldivu_t *ld, uint64_t numer, uint64_t denom) SECTION code_clib SECTION code_stdlib PUBLIC __lldivu_ EXTERN asm__lldivu __lldivu_: ld ix,4 add ix,sp jp asm__lldivu
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x19315, %rdi nop nop nop nop nop cmp $9509, %rbp vmovups (%rdi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %rbx nop nop add $58758, %r15 lea addresses_UC_ht+0x15...
;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies this distribution. Th...
; TKSROM: (128,256,512)KB PRG-ROM + 8KB PRG-RAM + 128KB CHR-ROM ; http://bootgod.dyndns.org:7777/search.php?keywords=TKSROM&kwtype=pcb ; Apparently only used for "Ys III: Wanderers from Ys" (J) ;------------------------------------------------------------------------------; ; number of 16K PRG-ROM banks ; Valid configu...
// This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually #pragma once #include <common/common.h> #include <_base_fld.hpp> START_ATF_NAMESPACE struct _UnitKeyItem_fld : _base_fld { int m_bExist; char m_strModel[64]; int m_nIconIDX; ...
; A035005: Number of possible queen moves on an n X n chessboard. ; 0,12,56,152,320,580,952,1456,2112,2940,3960,5192,6656,8372,10360,12640,15232,18156,21432,25080,29120,33572,38456,43792,49600,55900,62712,70056,77952,86420,95480,105152,115456,126412,138040,150360,163392,177156,191672,206960,223040,239932,257656,276232,...
; A065220: a(n) = Fibonacci(n) - n. ; 0,0,-1,-1,-1,0,2,6,13,25,45,78,132,220,363,595,971,1580,2566,4162,6745,10925,17689,28634,46344,75000,121367,196391,317783,514200,832010,1346238,2178277,3524545,5702853,9227430,14930316,24157780,39088131,63245947,102334115,165580100,267914254,433494394,701408689,1134903125,183631185...
;Converting file tapes_snaps_eproms/spectrum/sprite_chip/sonicboss_80x64.bmp with size 80X64 ;Sprite at 0,0 defb 0,0,0,0,0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 ;Sprite at 1,0 defb 0,0,0,0,0,0,0,0 defb 0,0,0,0 defb 0,0,0,0 de...
SECTION code_fp_math16 PUBLIC ___hlt_callee PUBLIC _f16_isless_callee EXTERN cm16_sdcc___lt_callee defc ___hlt_callee = cm16_sdcc___lt_callee defc _f16_isless_callee = cm16_sdcc___lt_callee
# file: macros.asm # syscall constants .eqv PRNT_INT_ID 1 # syscall ID for printing an int .eqv PRNT_STR_ID 4 # syscall ID for printing a string .eqv READ_INT_ID 5 # syscall ID for reading an int .eqv READ_STR_ID 8 # syscall ID for reading in a string .eqv EXIT_ID 10 # syscall ID for exiting a program # macro for...
; A007619: Wilson quotients: ((p-1)! + 1)/p where p is the n-th prime. ; Submitted by Jon Maiga ; 1,1,5,103,329891,36846277,1230752346353,336967037143579,48869596859895986087,10513391193507374500051862069,8556543864909388988268015483871,10053873697024357228864849950022572972973,19900372762143847179161250477954046201756...
; GeekOS setup code ; Copyright (c) 2001,2004 David H. Hovemeyer <daveho@cs.umd.edu> ; $Revision: 1.10 $ ; This is free software. You are permitted to use, ; redistribute, and modify it as specified in the file "COPYING". ; A lot of this code is adapted from Kernel Toolkit 0.2 ; and Linux version 2.2.x, so the follo...
; A170097: Number of reduced words of length n in Coxeter group on 40 generators S_i with relations (S_i)^2 = (S_i S_j)^37 = I. ; 1,40,1560,60840,2372760,92537640,3608967960,140749750440,5489240267160,214080370419240,8349134446350360,325616243407664040,12699033492898897560,495262306223057004840,19315229942699223188760 ...
0x00002160 nop; //---------------- 0x00002178 nop; //---------------- 0x00002190 xor.q D0,D0 0x000021a8 move.l 0x2150,A0 ; //1, 0x000021c0 move.b (A0),D0 0x000021d8 move.l 0x2140,A0 ; //0, 0x000021f0 move.L D0,(A0) 0x00002208 nop; //----------------
// Copyright (c) 2007-2009 Google Inc. // Copyright (c) 2006-2007 Jaiku Ltd. // Copyright (c) 2002-2006 Mika Raento and Renaud Petit // // This software is licensed at your choice under either 1 or 2 below. // // 1. MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of thi...
; A191413: a(n) = 3*n^2 - 2*n + 7. ; 7,8,15,28,47,72,103,140,183,232,287,348,415,488,567,652,743,840,943,1052,1167,1288,1415,1548,1687,1832,1983,2140,2303,2472,2647,2828,3015,3208,3407,3612,3823,4040,4263,4492,4727,4968,5215,5468,5727,5992,6263,6540,6823,7112,7407,7708,8015,8328,8647,8972,9303,9640,9983,10332,10687,110...
;----------------------------------------------------------------------------- ; EEPROM Interface Equates ;EE_SK equ 00000001B ;EEPROM shift clock (1 = high, 0 = low) ;EE_CS equ 00000010B ;EEPROM chip select (1 = high, 0 = low) EE_CS equ 00000001B ;EEPRO...
; A100255: Squares of pentagonal numbers: a(n) = (1/4)*n^2*(3*n-1)^2. ; 0,1,25,144,484,1225,2601,4900,8464,13689,21025,30976,44100,61009,82369,108900,141376,180625,227529,283024,348100,423801,511225,611524,725904,855625,1002001,1166400,1350244,1555009,1782225,2033476,2310400,2614689,2948089,3312400,3709476,4141225,4609...
db 0 ; species ID placeholder db 60, 85, 42, 91, 85, 42 ; hp atk def spd sat sdf db DARK, FLYING ; type db 30 ; catch rate db 107 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/murkrow/fr...
#ifndef AY8910_HH #define AY8910_HH #include "ResampledSoundDevice.hh" #include "FloatSetting.hh" #include "SimpleDebuggable.hh" #include "TclCallback.hh" #include "openmsx.hh" namespace openmsx { class AY8910Periphery; class DeviceConfig; /** This class implements the AY-3-8910 sound chip. * Only the AY-3-8910 i...
// Copyright (c) 2020 The Zenacoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <amount.h> #include <policy/feerate.h> #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/fuzz.h> #include <t...
; program : ; date : OCT, 2020 ; written by : ENES MERCAN ; scenerio : 2 leds on rb0 and rb1 will blink with 1 second time delay ; purpose : using timer0 ; ;---------------------------------------------------------------------- ; Note : ; Kritik aciklama : ; Goruldugu uzere programda 1 saniyede bir ledler...
%ifdef CONFIG { "RegData": { "RAX": "0x4142434445464749", "RBX": "0x5152535455565759", "RCX": "0x6162636465666769", "RDX": "0x7172737475767779", "R15": "0x49", "R14": "0x5759", "R13": "0x65666769", "R12": "0x7172737475767779" }, "MemoryRegions": { "0x100000000": "4096" } } %e...
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* * Main authors: * Christian Schulte <schulte@gecode.org> * * Copyright: * Christian Schulte, 2012 * * This file is part of Gecode, the generic constraint * development environment: * http://www.gecode.org * * Permission is ...
setrepeat 2 frame 0, 06 frame 3, 06 frame 4, 06 dorepeat 1 endanim
;***************************************************************************** ;* sad16-a.asm: x86 high depth sad functions ;***************************************************************************** ;* Copyright (C) 2010-2014 x264 project ;* ;* Authors: Oskar Arvidsson <oskar@irock.se> ;* Henrik Gramner <h...
; A086343: a(n) starts new run of consecutive values in A055938. ; 2,5,9,12,17,20,24,27,33,36,40,43,48,51,55,58,65,68,72,75,80,83,87,90,96,99,103,106,111,114,118,121,129,132,136,139,144,147,151,154,160,163,167,170,175,178,182,185,192,195,199,202,207,210,214,217,223,226,230 mov $1,$0 mul $1,2 lpb $0 add $1,$0 div $...
/* * Copyright (C) 2010-2012, Gostai S.A.S. * * This software is provided "as is" without warranty of any kind, * either expressed or implied, including but not limited to the * implied warranties of fitness for a particular purpose. * * See the LICENSE file for more information. */ #ifndef OBJECT_POSITION_HH ...
#include <Tanker/Trustchain/Actions/KeyPublish/ToUser.hpp> #include <Tanker/Serialization/Serialization.hpp> #include <Helpers/Buffers.hpp> #include <doctest/doctest.h> using namespace Tanker; using namespace Tanker::Trustchain; using namespace Tanker::Trustchain::Actions; TEST_CASE("Serialization test vectors") {...
dnl Intel Atom mpn_addlsh2_n/mpn_sublsh2_n -- rp[] = up[] +- (vp[] << 2). dnl Contributed to the GNU project by Marco Bodrato. dnl Copyright 2011 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it...
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
.size 8000 .text@40 ei jp l1000 .text@48 ld a, 07 ldff(0f), a ret .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld a, ff ldff(45), a ld b, 87 call lwaitly_b ld a, 40 ldff(41), a xor a, a ldff(0f), a ld a, 03 ldff(ff), a ei ld c, 0f ld b, 07 .text@1000 l1000: nop .text@1060 ld a, 91 ld...
;------------------------------------------------------------------------------ ; head.nasm - module header. ;------------------------------------------------------------------------------ module $librm %include "module.ah" exportdata ModuleInfo library $libc %define SHLIB_BASE 50100000h section .data ModuleInfo...
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ; Afisam un numar: se converteste la un sir de caractere format din cifrele numarului. ; Programul formeaza un sir de caractere dintr-un intreg pe 16 biti fara semn. ; Intregul CMM pe 16 biti este 65535 format din 5 cifre ;==...
/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors ...
; A230198: The number of multinomial coefficients over partitions with value equal to 8. ; 0,0,0,0,0,0,0,0,1,1,1,1,1,1,2,1,2,2,2,2,2,3,3,2,3,3,3,3,4,4,4,3,4,4,4,5,5,5,5,4,5,5,6,6,6,6,6,5,6,7,7,7,7,7,7,6,8,8,8,8,8,8,8,8,9,9,9,9,9,9,10,9,10,10,10,10,10,11,11,10,11,11,11,11,12,12,12,11 mov $2,$0 lpb $0 mod $0,8 add $...
; A157373: a(n) = 49*n^2 - 20*n + 2. ; 31,158,383,706,1127,1646,2263,2978,3791,4702,5711,6818,8023,9326,10727,12226,13823,15518,17311,19202,21191,23278,25463,27746,30127,32606,35183,37858,40631,43502,46471,49538,52703,55966,59327,62786,66343,69998,73751,77602,81551,85598,89743,93986,98327,102766,107303,111938,116671,12...
// Copyright (c) 2011-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 "utilstrencodings.h" #include "test/test_scope.h" #include <boost/test/unit_test.hpp> BOOST_FIXTURE_TEST_SUITE(bas...
; A017745: Binomial coefficients C(n,81). ; 1,82,3403,95284,2024785,34826302,504981379,6348337336,70625252863,706252528630,6426898010533,53752237906276,416579843773639,3012192716517082,20439879147794485,130815226545884704,793067310934426018,4571799792445514692,25144898858450330806,132341572939212267400,6683249433430219...
// (c) 2021 Okawo // This code is licensed under MIT license (see LICENSE for details) #include <iostream> #include "virtualreality.h" #include <string> #include <cmath> class MyPoser : public hvr::UduPoserTemplate { public: MyPoser(std::string udu) : UduPoserTemplate(udu) { hvr::Log("MyPoser started\n"); //m_...
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x14691, %r13 nop nop add $20802, %rdx mov $0x6162636465666768, %rsi movq %rsi, %xmm6 movups %xmm6, (%r13) nop nop nop nop nop add %rsi, %rsi lea addresses_WC_ht+0x17851, %rsi l...
DOSSEG .MODEL small .CODE PUBLIC _rotozoom _rotozoom PROC ARG buff:DWORD, x:BYTE, y:BYTE, xinc:WORD, yinc:WORD push bp mov bp, sp push di push si push ds mov si, [xinc] ; hard code buffer jumps in horizontal direction mov di, [yinc] xor bx, bx xor dx...
snake: .align 2 .space 1024 .eqv DISPLAY_ADDRESS 0x10040000 # this address is used for the bitmap display because 0x1001000 interferes with the location of strings .eqv DISPLAY_WIDTH 512 .eqv DISPLAY_HEIGHT 512 .eqv KEYBOARD_ADDRESS 0xFFFF0000 .eqv max_read 1600000 # max size of buffer .eqv BMP_BUFFER 0x10140000 ...
.include "..\..\..\Cpu\TestFiles\std.6502.asm" * = $0000 .init jmp (indirectAddress) * = $1234 indirectAddress .addr targetAddress * = $5678 targetAddress: .done .vectors
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2014-2015 Francois Beaune, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person ob...
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC Initialize_ModPow PUBLIC PMC_ModPow_X_X_X EXTRN AllocateBlock:PROC EXTRN DeallocateBlock:PROC EXTRN CheckBlockLight:PROC EXTRN AllocateNumber:PROC EXTRN DeallocateNumber:PR...
; A329846: Beatty sequence for (7+sqrt(29))/5. ; 2,4,7,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,49,52,54,56,59,61,64,66,69,71,74,76,79,81,84,86,89,91,94,96,99,101,104,106,108,111,113,116,118,121,123,126,128,131,133,136,138,141,143,146,148 mov $5,$0 add $5,5 mov $6,$5 sub $6,2 mov $2,$6 mul $2,2 sub $2,5 gcd $3,$...
SFX_SS_Anne_Horn_3_Ch4: duty 2 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 4, 0, 0, 0 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 15, 240, 0, 5 unknownsfx0x20 15, 242, 0, 5 endchannel SFX_SS_Anne_Horn_3_Ch5: duty 3 unknownsfx0x20 15, 240, 130, 4 un...
#include <babylon/materials/detail_map_configuration.h> #include <babylon/animations/ianimatable.h> #include <babylon/core/json_util.h> #include <babylon/engines/engine.h> #include <babylon/engines/scene.h> #include <babylon/materials/imaterial_detail_map_defines.h> #include <babylon/materials/material.h> #include <ba...
; A008610: Molien series of 4-dimensional representation of cyclic group of order 4 over GF(2) (not Cohen-Macaulay). ; Submitted by Jon Maiga ; 1,1,3,5,10,14,22,30,43,55,73,91,116,140,172,204,245,285,335,385,446,506,578,650,735,819,917,1015,1128,1240,1368,1496,1641,1785,1947,2109,2290,2470,2670,2870,3091,3311,3553,3795...
DATA SEGMENT MSG DB "HELLO WORLD$" MSG DB "ASSEMBLY LANGUAGE CSE331$" START: MOV AX, DATA MOV DS, AX LEA DX, MSG MOV AH, 9 INT 21H MOV AH, 4CH INT 21H END START
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1a7cb, %rsi lea addresses_D_ht+0x13c6b, %rdi nop nop nop cmp %r11, %r11 mov $106, %rcx rep movsw nop nop nop nop nop add $18446, %r9 lea addresses_WC_ht+0x1522b, %rsi lea addr...
; A023900: Dirichlet inverse of Euler totient function (A000010). ; Submitted by Jamie Morken(s4) ; 1,-1,-2,-1,-4,2,-6,-1,-2,4,-10,2,-12,6,8,-1,-16,2,-18,4,12,10,-22,2,-4,12,-2,6,-28,-8,-30,-1,20,16,24,2,-36,18,24,4,-40,-12,-42,10,8,22,-46,2,-6,4,32,12,-52,2,40,6,36,28,-58,-8,-60,30,12,-1,48,-20,-66,16,44,-24,-70,2,-72...
; 0 - GT leaw $SP,%A movw (%A),%A decw %A movw (%A),%S decw %A movw (%A),%A subw %A, %S, %S leaw $lbl18c6a28f82c9f6612117,%A jg %S nop leaw $0,%A movw %A,%D leaw $lbl97ddc1479c140f6cc1da,%A jmp nop lbl18c6a28f82c9f6612117: leaw $1,%A negw %A movw %A,%D leaw $lbl97ddc1479c140f6cc1da,%A jmp nop lbl97ddc1479c140f6cc1da: l...
MODULE joystick SECTION code_clib EXTERN joystick_sc PUBLIC joystick joystick: ld a,l ld hl,keys_cursors cp 1 jp z,joystick_sc ld hl,keys_1234 cp 2 jp z,joystick_sc ld hl,0 ret SECTION rodata_clib keys_cursors: defw $10df...
/* Boost Pool:基於記憶體池 ( Memory Pool ) 技術,用於快速分配相同大小的記憶體區塊,並有效的反覆分配、釋放其記憶體區塊。 boost::object_pool 為用於物件的記憶體池技術,其操作與運用技術與 pool 相同。 Ref : http://cplusplus.wikidot.com/cn:mempool-example-boost-pool */ #include <iostream> #include <boost/pool/object_pool.hpp> // 宣告類別 class Worker { public: Worker(int _id, int _count) :...
.size 8000 .text@48 ei jp lstatint .text@100 jp lbegin .data@143 80 .text@150 lbegin: ld c, 44 ld b, 90 lbegin_waitly90: ldff a, (c) cmp a, b jrnz lbegin_waitly90 ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_settile0data: ld a, 00 ld(hl++), a ld a, 7e ld(hl++), a dec b jrnz lbegin_settile0dat...
; A247327: Triangle read by rows: T(n,k) = sum of k-th row of n X n square filled with odd numbers 1 through 2*n^2-1 reading across rows left-to-right. ; Submitted by Jamie Morken(s1.) ; 1,4,12,9,27,45,16,48,80,112,25,75,125,175,225,36,108,180,252,324,396,49,147,245,343,441,539,637,64,192,320,448,576,704,832,960,81,243...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1706f, %rsi lea addresses_UC_ht+0x12daf, %rdi nop nop nop nop inc %r9 mov $31, %rcx rep movsb nop nop nop nop nop cmp $37044, %rsi lea addresses_WT_ht+0x3def, %r8 nop nop nop sub $57365...