text
stringlengths
1
1.05M
; A133766: a(n) = (4*n+1)*(4*n+3)*(4*n+5). ; 15,315,1287,3315,6783,12075,19575,29667,42735,59163,79335,103635,132447,166155,205143,249795,300495,357627,421575,492723,571455,658155,753207,856995,969903,1092315,1224615,1367187,1520415,1684683,1860375 add $0,1 mul $0,2 mov $1,2 sub $1,$0 mul $0,2 bin $0,3 add $0,$1 sub $...
.cpu arm7tdmi .eabi_attribute 20, 1 @ Tag_ABI_FP_denormal .eabi_attribute 21, 1 @ Tag_ABI_FP_exceptions .eabi_attribute 23, 3 @ Tag_ABI_FP_number_model .eabi_attribute 24, 1 @ Tag_ABI_align8_needed .eabi_attribute 25, 1 @ Tag_ABI_align8_preserved .eabi_attribute 26, 1 @ Tag_ABI_enum_size .eabi_attribute 30, 4 @...
; A179607: Eight white kings and one red king on a 3 X 3 chessboard. G.f.: (1 + 2*x - 4*x^2)/(1 - 2*x - 8*x^2). ; 1,4,12,56,208,864,3392,13696,54528,218624,873472,3495936,13979648,55926784,223690752,894795776,3579117568,14316601344,57266143232,229065097216,916259340288,3665039458304,14660153638912,58640622944256 mov $...
; A168840: Number of reduced words of length n in Coxeter group on 19 generators S_i with relations (S_i)^2 = (S_i S_j)^20 = I. ; Submitted by Jamie Morken(s4) ; 1,19,342,6156,110808,1994544,35901792,646232256,11632180608,209379250944,3768826516992,67838877305856,1221099791505408,21979796247097344,395636332447752192,71...
; A107232: Expansion of (1+x*c(x^2))^3/sqrt(1-4*x^2), c(x) the g.f. of A000108. ; Submitted by Christian Krause ; 1,3,5,10,18,35,65,126,238,462,882,1716,3300,6435,12441,24310,47190,92378,179894,352716,688636,1352078,2645370,5200300,10192588,20058300,39373700,77558760,152443080,300540195,591385545,1166803110,2298248550 ...
; A174390: a(2n) = -n, a(2n+1) = 2n+4. ; 0,4,-1,6,-2,8,-3,10,-4,12,-5,14,-6,16,-7,18,-8,20,-9,22,-10,24,-11,26,-12,28,-13,30,-14,32,-15,34,-16,36,-17,38,-18,40,-19,42,-20,44,-21,46,-22,48,-23,50,-24,52,-25 mov $2,$0 mov $0,2 mov $1,$2 mov $4,6 mov $5,2 mov $6,4 lpb $0 mov $0,0 mov $2,9 sub $2,$1 sub $3,2 mov...
; A184636: floor(1/{(n^4+2*n)^(1/4)}), where {}=fractional part. ; 3,8,18,32,50,72,98,128,162,200,242,288,338,392,450,512,578,648,722,800,882,968,1058,1152,1250,1352,1458,1568,1682,1800,1922,2048,2178,2312,2450,2592,2738,2888,3042,3200,3362,3528,3698,3872,4050,4232,4418,4608,4802,5000,5202,5408,5618,5832,6050,6272,6498...
/* Copyright 2005-2014 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundat...
// Copyright 2019 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 "third_party/blink/renderer/modules/nfc/nfc_proxy.h" #include <utility> #include "third_party/blink/public/common/browser_interface_broker_prox...
; ; Clear Graphics Screen ; ; TIKI-100 version by Stefano Bodrato, Sept 2015 ; ; $Id: clg.asm,v 1.2 2016-07-02 09:01:36 dom Exp $ ; SECTION code_graphics PUBLIC clg PUBLIC _clg EXTERN generic_console_cls defc clg = generic_console_cls defc _clg = clg
/* file: spatial_average_pooling2d_layer_backward_dense_default_batch_fpt_dispatcher.cpp */ /******************************************************************************* * Copyright 2014-2017 Intel Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in c...
; A000584: Fifth powers: a(n) = n^5. ; 0,1,32,243,1024,3125,7776,16807,32768,59049,100000,161051,248832,371293,537824,759375,1048576,1419857,1889568,2476099,3200000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176,69343957,7923516...
; GDT gdt_start: gdt_null: dd 0x0 dd 0x0 gdt_code: dw 0xffff dw 0x0 db 0x0 db 10011010b db 11001111b db 0x0 gdt_data: dw 0xffff dw 0x0 db 0x0 db 10010010b db 11001111b db 0x0 gdt_end: gdt_descriptor: dw gdt_end - gdt_start - 1 dd gdt_start CODE_SEG...
;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; Licensed under the MIT License. ; ; Module Name: ; ; QgemmU8S8KernelAvx2.asm ; ; Abstract: ; ; This module implements the kernels for the quantized integer matrix/matrix ; multiply operation (QGEMM). ; ; This implementation uses AVX2 instruct...
; A033339: a(n) = floor(19/n). ; 19,9,6,4,3,3,2,2,2,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 add $0,1 mov $1,19 div $1,$0 mov $0,$1
; A306237: a(n) = primorial prime(n)#/prime(n - 1). ; Submitted by Jamie Morken(s1) ; 3,10,42,330,2730,39270,570570,11741730,281291010,6915878970,239378649510,8222980095330,319091739796830,14299762385778870,693386350578511590,36278497172720993190,1987938667108592728530,128824943460332246817690,8327475076517894939812170...
#include "stdafx.h" #include "Singleton.h"
#ifndef LOCIC_SEMANTICANALYSIS_REF_HPP #define LOCIC_SEMANTICANALYSIS_REF_HPP #include <locic/SemanticAnalysis/Context.hpp> namespace locic { namespace SemanticAnalysis { size_t getRefCount(const AST::Type* type); const AST::Type* getLastRefType(const AST::Type* type); const AST::Type* getSingleDere...
; A342413: a(n) = gcd(phi(n), A003415(n)), where A003415(n) is the arithmetic derivative of n, and phi is Euler totient function. ; Submitted by Simon Strandgaard ; 1,1,1,2,1,1,1,4,6,1,1,4,1,3,8,8,1,3,1,8,2,1,1,4,10,3,9,4,1,1,1,16,2,1,12,12,1,3,8,4,1,1,1,4,3,1,1,16,14,5,4,8,1,9,8,4,2,1,1,4,1,3,3,32,6,1,1,8,2,1,1,12,1,3...
// ----------------------------------------------------------------------------------------- // <copyright file="cloud_blob.cpp" company="Microsoft"> // Copyright 2013 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance w...
; A170354: Number of reduced words of length n in Coxeter group on 9 generators S_i with relations (S_i)^2 = (S_i S_j)^43 = I. ; 1,9,72,576,4608,36864,294912,2359296,18874368,150994944,1207959552,9663676416,77309411328,618475290624,4947802324992,39582418599936,316659348799488,2533274790395904,20266198323167232,16212958...
#include "VertexBufferLayout.hpp" template<> void VertexBufferLayout::Push<unsigned int>(unsigned int count) { m_Elements.push_back({ GL_UNSIGNED_INT, count, GL_FALSE }); m_Stride += count * VertexBufferElement::GetSizeOfType(GL_UNSIGNED_INT); } template<> void VertexBufferLayout::Push<unsigned char>(unsigned int c...
; ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights grant can be found ; in the file PATENTS. All contributing proje...
#pragma once #include <gates/in.hpp> #include <gates/out.hpp> #include <node.hpp> #include <schematic.hpp> namespace lg { /** * @brief a collection of gates, abstracted into a single node with inputs and outputs */ class circuit : public node { public: /** * @brief circuit constructor * * @param schem the i...
// Copyright (c) 2014-2019 The PaydayCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <crypto/aes.h> #include <crypto/chacha20.h> #include <crypto/poly1305.h> #include <crypto/hkdf_sha256_32.h> #incl...
$copy_mv X 21 $copy_mm Y X // both X and Y should now have 21 in them
; A158313: a(n) = 400 * n + 1. ; 401,801,1201,1601,2001,2401,2801,3201,3601,4001,4401,4801,5201,5601,6001,6401,6801,7201,7601,8001,8401,8801,9201,9601,10001,10401,10801,11201,11601,12001,12401,12801,13201,13601,14001,14401,14801,15201,15601,16001,16401,16801,17201,17601,18001,18401,18801,19201,19601,20001,20401,20801,2...
; BEGIN_LEGAL ; Intel Open Source License ; ; Copyright (c) 2002-2017 Intel Corporation. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; Redistributions of source code must retain the ab...
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
rol(16) g3<1>UD g2<0,1,0>UD g2.1<0,1,0>UD { align1 1H };
; A119944: First differences of A003418(n) = lcm(1..n). ; Submitted by Jon Maiga ; 0,1,4,6,48,0,360,420,1680,0,25200,0,332640,0,0,360360,11531520,0,220540320,0,0,0,5121436320,0,21416915520,0,53542288800,0,2248776129600,0,69872686884000,72201776446800,0,0,0 mov $5,$0 mov $7,2 lpb $7 mov $0,$5 sub $7,1 add $0,$7 ...
; A100156: Structured truncated tetrahedral numbers. ; 1,12,44,108,215,376,602,904,1293,1780,2376,3092,3939,4928,6070,7376,8857,10524,12388,14460,16751,19272,22034,25048,28325,31876,35712,39844,44283,49040,54126,59552,65329,71468,77980,84876,92167,99864,107978,116520,125501,134932,144824,155188,166035,177376,189222,201...
; float __fsadd_callee (float left, float right) SECTION code_clib SECTION code_math PUBLIC cm32_sccz80_fsadd_callee EXTERN m32_fsadd_callee ; add two sccz80 floats ; ; enter : stack = sccz80_float left, ret ; DEHL = sccz80_float right ; ; exit : DEHL = sccz80_float(left+right) ...
; A130260: Minimal index k of an even Fibonacci number A001906 such that A001906(k) = Fib(2k) >= n (the 'upper' even Fibonacci Inverse). ; 0,1,2,2,3,3,3,3,3,4,4,4,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,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...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
; A291943: a(0)=0; for n>0, a(n) = (2n)-th digit after the decimal point in the decimal expansion of 1/(2n+1). ; Submitted by Christian Krause ; 0,3,0,7,1,9,3,6,7,1,4,3,0,3,1,9,3,5,7,2,9,3,2,7,8,1,3,1,1,1,9,1,3,7,1,9,3,3,9,1,7,3,7,1,1,9,1,5,7,1,9,3,0,7,1,0,3,6,0,0,8,0,0,7,0,9,8,0,7,1,0,9,8,4,1,9,4,4,7,0,6,3,0,7,3,5,3,4...
;Title commands ADD,SUB,IND,DEC IDEAL Model SMALL STACK 256 DATASEG exCode DB 0 count DW 1 CODESEG Start: mov ax,@data mov ds,ax mov ax,4 mov bx,2 add ax,bx mov cx,8 add cx,[count]...
; A246447: The odd primes squared plus 1 and the composites squared minus 1. ; 10,15,26,35,50,63,80,99,122,143,170,195,224,255,290,323,362,399,440,483,530,575,624,675,728,783,842,899,962,1023,1088,1155,1224,1295,1370,1443,1520,1599,1682,1763,1850,1935,2024,2115,2210,2303,2400,2499,2600,2703,2810,2915,3024,3135,3248,336...
; void insertion_sort(void *base, size_t nmemb, size_t size, int (*compar)(const void *, const void *)) SECTION code_clib SECTION code_stdlib PUBLIC _insertion_sort_ EXTERN asm_insertion_sort _insertion_sort_: pop af pop ix pop de pop hl pop bc push bc push hl push de push hl pus...
; ; ; getkey() Wait for keypress ; SECTION code_clib PUBLIC fgetc_cons PUBLIC _fgetc_cons EXTERN getk EXTERN msleep EXTERN __CLIB_FGETC_CONS_DELAY fgetc_cons: _fgetc_cons: ld hl,__CLIB_FGETC_CONS_DELAY call msleep loop: call getk ld a,h or l jr z,loop ret
; ---------------------------------------------------------- ; General Purpose RAM Assignments ; ---------------------------------------------------------- cblock 0x1c InputM3 Input_TempM3 Input_TempM9 InputM9 ResultM3 Result_TempM3 Result_TempM9 ResultM9 Endc ;Macro Definitions ; -------------------------------------...
.model tiny .code start: push cs pop ds mov al, a ; al=a cmp al, b ; Сравнение mov c, al ; c=al jg m ; Если больше mov al, b ; al=b mov c, al ; c=al m: mov ax, 4c00h int 21h .data a db 20 b db 10 c db ? end start
; A189745: a(n) = 5*a(n-1) + a(n-2); with a(1)=5, a(2)=1. ; Submitted by Christian Krause ; 5,1,10,51,265,1376,7145,37101,192650,1000351,5194405,26972376,140056285,727253801,3776325290,19608880251,101820726545,528712512976,2745383291425,14255628970101,74023528141930,384373269679751,1995889876540685,10363822652383176,53...
; int mtx_timedlock(mtx_t *m, struct timespec *ts) SECTION code_clib SECTION code_threads_mutex PUBLIC mtx_timedlock EXTERN asm_mtx_timedlock mtx_timedlock: pop af pop bc pop hl push hl push bc push af jp asm_mtx_timedlock
; Test case: ld bc,4 loop1: inc hl dec bc ld a,b or c jr nz,loop1 ; this whole block should be optimized loop2: jr loop2
// Copyright 2019 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
; A227978: a(0)=1, a(1)=2; for n>1, a(n) = n*(2^n+4)/4. ; 1,2,4,9,20,45,102,231,520,1161,2570,5643,12300,26637,57358,122895,262160,557073,1179666,2490387,5242900,11010069,23068694,48234519,100663320,209715225,436207642,905969691,1879048220,3892314141,8053063710,16642998303,34359738400,70866960417,146028888098,300647710...
; size_t bv_priority_queue_max_size_fastcall(bv_priority_queue_t *q) SECTION code_clib SECTION code_adt_bv_priority_queue PUBLIC _bv_priority_queue_max_size_fastcall EXTERN asm_bv_priority_queue_max_size defc _bv_priority_queue_max_size_fastcall = asm_bv_priority_queue_max_size
;=============================================================================== ; Copyright 2014-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") co...
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <main>: printf(1, "%d %d %d %s\n", l, w, c, name); } 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: ...
/*========================================================================= Program: Visualization Toolkit Module: vtkGenericInterpolatedVelocityField.cxx Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
Name: Compress.asm Type: file Size: 14829 Last-Modified: '1992-07-01T15:00:00Z' SHA-1: 50462BD2E0F3DFC84FF3770389A54CA57AF41550 Description: null
; A010695: Period 2: repeat (2,5). ; Submitted by Christian Krause ; 2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2,5,2 mod $0,2 mul $0,3 add $0,2
; THIS IS AN AUTOGENERATED FILE ; WARNING: FOR MACOS ONLY ; nasm -f macho64 cipher.asm -o cipher.o && ld -o cipher.macho -macosx_version_min 10.7 -e start cipher.o && ./cipher.macho BITS 64 section .text global start start: push rbp mov rbp,rsp ; PRINT OUTPUT pus...
; A011924: Floor[n(n-1)(n-2)(n-3)/14]. ; 0,0,0,0,1,8,25,60,120,216,360,565,848,1225,1716,2340,3120,4080,5245,6644,8305,10260,12540,15180,18216,21685,25628,30085,35100,40716,46980,53940,61645,70148,79501,89760,100980,113220,126540,141001,156668,173605,191880,211560,232716,255420,279745,305768,333565,363216,394800,428400...
INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_l_sdcc PUBLIC __modslong_callee EXTERN l_divs_32_32x32 __modslong_callee: ; signed 32-bit mod ; ; enter : stack = divisor (32-bit), dividend (32-bit), ret ; ; exit : dehl = remainder ; dehl'= quotient pop af exx pop hl ...
; PROLOGUE(mpn_lshift3) ; mpn_lshift3 ; Copyright 2009 Jason Moxham ; This file is part of the MPIR Library. ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Foundation; either version 2...
; A321177: Heinz numbers of integer partitions that are the vertex-degrees of some set system with no singletons. ; Submitted by Jon Maiga ; 1,4,8,12,16,18,24,27,32,36,40 mov $2,$0 add $0,117961 mul $2,4 lpb $2 lpb $0 sub $2,1 add $0,$2 mod $0,10 lpe lpe mov $0,$2 add $0,1
#include <Arduino.h> #include "alpha_bot_lib.h" volatile uint8_t lEncoder; volatile uint8_t rEncoder; volatile uint16_t totalLeft; volatile uint16_t totalRight; void leftEncoder() { lEncoder++; totalLeft++; if (lEncoder == 20) { lEncoder = 0; } } void rightEncoder() { rEncoder++; tota...
msg db 'Hello, world!',0xa ;our dear string len equ $ - msg ;length of our dear string section .text global _start ;must be declared for linker (ld) _start: ;tell linker entry point ...
;***************************************************************************** ;* cabac-a.asm: x86 cabac ;***************************************************************************** ;* Copyright (C) 2008-2015 x264 project ;* ;* Authors: Loren Merritt <lorenm@u.washington.edu> ;* Fiona Glaser <fiona@x264.com>...
; A036360: Number of labeled connected functional digraphs. ; Submitted by Jon Maiga ; 1,12,153,2272,39225,776736,17398969,435538944,12058401393,366021568000,12090393761721,431832459644928,16585599200808937,681703972229640192,29858718555221585625,1388451967046195347456,68316647610168842824161 add $0,1 mov $2,$0 mov $4...
frame 4, 06 frame 5, 25 frame 4, 05 frame 6, 20 setrepeat 2 frame 3, 08 frame 6, 08 dorepeat 5 endanim
.section .data cmd: .string "/bin/sh" /* command string */ hand: .string "-c" /* command arguments string */ args: .string "ls -al" /* arguments string */ argv: .quad cmd /* array of command, command arguments and arguments */ .quad ...
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by Nisan and Schocken, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes...
; A102396: A mod 2 related Jacobsthal sequence. ; 0,1,1,1,1,1,1,3,1,1,1,3,1,3,3,5,1,1,1,3,1,3,3,5,1,3,3,5,3,5,5,11,1,1,1,3,1,3,3,5,1,3,3,5,3,5,5,11,1,3,3,5,3,5,5,11,3,5,5,11,5,11,11,21,1,1,1,3,1,3,3,5,1,3,3,5,3,5,5,11,1,3,3,5,3,5,5,11,3,5,5,11,5,11,11,21,1,3 cal $0,167275 ; Row sums of triangle A167274 (a variant of G...
; A015572: Expansion of x/(1 - 7*x - 12*x^2). ; Submitted by Jamie Morken(s2) ; 0,1,7,61,511,4309,36295,305773,2575951,21700933,182817943,1540136797,12974772895,109305051829,920832637543,7757489084749,65352415243759,550556775723301,4638126412988215,39073566199597117,329172480353038399,2773090156866434197,23361700862301...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of so...
Player_ReadControlsDual: lda $DC00 ora #%11100000 sta z_l lda $DC01 ora #%11100000 sta z_h rts ; lda #%01111111 ;Joy 1 ; sta $DC00 ; lda $DC01 ; sta (z_HL),y ; iny ; lda #%10111111 ;Joy 2 ; sta $DC00 ; lda $DC00 ; sta (z_HL),y ;$DC00 ;56320 Port A, keyboard matri...
section ".data" xdef pSnd_Interrupt5 pSnd_Interrupt5: move.l a0,interrupt_handler rts
#include<bits/stdc++.h> using namespace std; int main() { int N, X; string S; cin >> N >> X >> S; for(char c : S){ if(c == 'o') X++; else if(X) X--; } cout << X << endl; }
; A183041: Least number of knight's moves from (0,0) to (n,1) on infinite chessboard. ; 3,2,1,2,3,4,3,4,5,6,5,6,7,8,7,8,9,10,9,10,11,12,11,12,13,14,13,14,15,16,15,16,17,18,17,18,19,20,19,20,21,22,21,22,23,24,23,24,25,26,25,26,27,28,27,28,29,30,29,30,31,32,31,32,33,34,33,34,35,36 sub $0,1 sub $2,$0 add $0,2 mul $2,3 mo...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 016A94 move.w ($6a,A6), (A4)+ [base+6BFF, base+6C0F, base+6C2F, item+ 3] 016A98 move.w ($6e,A6), (A4)+ [base+6C00, base+6C10, base+6C30, item+6A] 016B66 move.w ($6a,A6), (A4)+ [123p+ 3, base+6BDF, base+6B...
;section text faltante ;SECTION TEXT COPY ZERO,OLDER COPY ONE,OLD INPUT 2LIMIT ;token invalido OUTPUT OLD FRONT: GO: LOAD OLDER ;2 rotulos na msm linha ADD OLD STORE NEW SUB LIMIT JMPP FINAL OUTPUT NEW COPY OLD,OLDER COPY NEW,OLD SRL NEW ;instrucao invalida FINAL: OUTPUT LIMIT ; stop faltante (tirar outros erros para v...
/* * Copyright (c) 2020 Abit More, and contributors. * * The MIT License * * 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 ...
dnl x86 mpn_lshift -- mpn left shift. dnl Copyright (C) 1992, 1994, 1996, 1999, 2000 Free Software Foundation, dnl Inc. dnl 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 dnl modify it under the terms of the GNU Lesser General Public Lic...
// pick the best void scale (Image& image, double xscale, double yscale); // explicit versions void nearest_scale (Image& image, double xscale, double yscale); void box_scale (Image& image, double xscale, double yscale); void bilinear_scale (Image& image, double xscale, double yscale); void bicubic_scale (Image& imag...
segment code ..start: mov ax,data mov ds,ax mov ax,stack mov ss,ax mov sp,stacktop ; salvar modo corrente de video(vendo como esta o modo de video da maquina) mov ah, 0Fh int 10h mov [modo_anterior], al ; alterar modo de video para grafico 640x480 16 cores ...
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_SE_DinoSpawnEntriesMountainCave_structs.hpp" namespace sdk { //--------------------------------------------------------------------------- //Classes //-----------------------------------------...
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 00495C move.l D0, (A4)+ 00495E move.b D0, ($63,A6) 004D3A move.l D0, (A4)+ 004D3C move.l D0, (A4)+ 01274C tst.b ($24,A3) 012750 beq $12758 [123p+ 24, enemy+24, etc+24, item+24] 01296A tst.b ...
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Printer Drivers FILE: correctDJ500C.asm AUTHOR: Dave Durran REVISION HISTORY: Name Date Description ---- ---- ----------- Dave 3/06/93 Ini...
; A010938: Binomial coefficient C(22,n). ; 1,22,231,1540,7315,26334,74613,170544,319770,497420,646646,705432,646646,497420,319770,170544,74613,26334,7315,1540,231,22,1 mov $1,22 bin $1,$0 mov $0,$1
/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "experimental/skrive/include/SkRive.h" #include "experimental/skrive/src/reader/StreamReader.h" #include "include/core/SkPaint.h" namespace skrive { namespace inter...
%include "io64.inc" section .text global CMAIN CMAIN: ;write your code here xor rax, rax ret section .bss a resb 1 b resw 2 c resd 1 d resq 3
; A034754: Dirichlet convolution of 3^(n-1) with phi(n). ; Submitted by Christian Krause ; 1,4,11,32,85,260,735,2224,6585,19780,59059,177472,531453,1595076,4783175,14351168,43046737,129147252,387420507,1162281440,3486785925,10460412292,31381059631,94143360944,282429536825,847289140932,2541865841523,7625599080960,228767...
\ Example 3.2 INCLUDE "../../lib/constants.asm" screen = &7E40 mode = 6 ORG &2000 .start LDA mode JSR screenmode LDX #0 LDY #0 JSR tab LDA #15 JSR printhex LDX #0 LDY #1 JSR tab LDA #&32 JSR printhex .finish RTS .screenmode INCLUDE "../../lib/screenmode.asm" ...
############################################################################### # 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...
SEGMENT BOOT: BRnzp ldr_str_test NOP NOP NOP NOP NOP NOP DSP: DATA2 DataSeg ; cache line boundary ldr_str_test: LDR R0, R0, DSP NOP NOP NOP NOP NOP LDR R1, R0, W LDR R3, R0, Y ; cache line boundary LDR R2, R0, X LDR R4, R0, Z NOP ST...
; A040309: Continued fraction for sqrt(328). ; 18,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36,9,36 sub $0,1 mod $0,2 sub $0,1 gcd $0,4 mul $0,9
lda {m2} sta {m1} lda {m2}+1 sta {m1}+1 lda #0 sta {m1}+2 sta {m1}+3
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2017 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistributions of so...
; A024653: n written in fractional base 9/5. ; Submitted by Jamie Morken(s2) ; 0,1,2,3,4,5,6,7,8,50,51,52,53,54,55,56,57,58,510,511,512,513,514,515,516,517,518,560,561,562,563,564,565,566,567,568,5120,5121,5122,5123,5124,5125,5126,5127,5128,5170,5171,5172,5173,5174,5175,5176,5177,5178 mov $3,1 lpb $0 mov $2,$0 div...
; This is rgat's DLL Launcher binary ; It loads a target DLL from a command line argument and runs and optional export ; It's designed to be lightweight to avoid cluttering up graphs with non-target instructions .data? extrn LoadLibraryA: PROC extrn GetStdHandle: PROC extrn GetProcAddress: PROC extr...
; uchar tshr_px2bitmask(uchar x) SECTION code_clib SECTION code_arch PUBLIC _tshr_px2bitmask_fastcall EXTERN _zx_px2bitmask_fastcall defc _tshr_px2bitmask_fastcall = _zx_px2bitmask_fastcall
/**************************************************************************************** * @author: kzvd4729 created: Feb/27/2018 21:26 * solution_verdict: Wrong answer on test 31 language: GNU C++14 * run...
OUTPUT "dir_reversepop.bin" nop push hl, bc ; should compile as `push hl` `push bc` pop hl, bc ; should compile as `pop bc` `pop hl` with --reversepop option
; Disassembly of the file "C:\Program Files\xeltek\WINSP580\bin\wmfirmware.bin" ; ; CPU Type: Z80 ; ; Created with dZ80 2.0 ; ; on Tuesday, 25 of May 2004 at 02:47 PM ; ; Z80 assembly notes ; 'sub a' is faster than 'ld a,00', 4 vs 7 ; PORTS ;26 controls port speed, 2-byte value ;2A serial port...
;/************************************************************************** ; * ; * XVID MPEG-4 VIDEO CODEC ; * - 3dne Quantization/Dequantization - ; * ; * Copyright (C) 2002-2003 Peter Ross <pross@xvid.org> ; * 2002-2008 Michael Militzer <michael@xvid.org> ; * 2002-2003 Pascal Massim...
#include <iostream> #include <string> using namespace std; class Node { public: int val; Node* next; Node(int num) { val = num; next = NULL; } }; class Queue { public: Node* front; Node* end; int size; Queue() { front = NULL; end = NULL; size = 0; } void push(int num) { Node* n = new Node(n...
org $0000 .main ; 割り込み関連の初期化 IM 1 DI ; VBLANKを待機 call wait_vblank ; パレットを初期化 ld bc, 12 ld hl, palette0_data ld de, $9400 ldir ; Bank 1 を Character Pattern Table ($A000) に転送 (DMA) ld a, $01 out ($c0), a ; FGの左上に "SPRITE TEST" を描画 ld bc, 11 ld hl, sprite...