text
stringlengths
1
1.05M
NamesPointers:: ; entries correspond to GetName constants (see constants/text_constants.asm); MON_NAME is not handled by this table dba MoveNames ; MOVE_NAME dba ItemNames ; ITEM_NAME dbw 0, wPartyMonOT ; PARTY_OT_NAME dbw 0, wOTPartyMonOT ; ENEMY_OT_NAME dba TrainerClassNames ; TRAIN...
// Copyright lowRISC contributors. // Licensed under the Apache License, Version 2.0, see LICENSE for details. // SPDX-License-Identifier: Apache-2.0 // THIS FILE HAS BEEN GENERATED, DO NOT EDIT MANUALLY. COMMAND: // util/make_new_dif.py --mode=regen --only=autogen #include "sw/device/lib/dif/autogen/dif_aon_timer_au...
; size_t b_array_erase_range_callee(b_array_t *a, size_t idx_first, size_t idx_last) SECTION code_clib SECTION code_adt_b_array PUBLIC _b_array_erase_range_callee EXTERN asm_b_array_erase_range _b_array_erase_range_callee: pop hl pop de pop bc ex (sp),hl jp asm_b_array_erase_range
/* * Copyright (c) 2021, Idan Horowitz <idan.horowitz@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/AbstractOperations.h> #include <LibJS/Runtime/Error.h> #include <LibJS/Runtime/GlobalObject.h> #include <LibJS/Runtime/IteratorOperations.h> #include <LibJS/Runtime/Map.h> #inc...
//================================================================================================== /*! @file @copyright 2016 NumScale SAS @copyright 2016 J.T. Lapreste Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) ...
*** Requires revisitation, this would take a while to fully explain *** 0: kd> uf /c /o KiRetireDpcList nt!KiRetireDpcList (fffff806`3d0397b0) nt!KiRetireDpcList+0x4c (fffff806`3d0397fc): call to nt!memset (fffff806`3d1f1040) nt!KiRetireDpcList+0x1ef (fffff806`3d03999f): call to nt!KiExecuteAllDpcs (fffff8...
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode() : val(0), left(nullptr), right(nullptr) {} * TreeNode(int x) : val(x), left(nullptr), right(nullptr) {} * TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l...
bits 64 global cpuid_apic global cpuid_vendor_id global set_cpuid section .data cpuid_vendor_id times 13 db 0 cpuid_apic db 0 section .text set_cpuid: push rbp mov rbp, rsp push rbx call SetVendorID mov eax, 1 cpuid shr edx, 9 and edx, 1 mov rdi, cpuid_apic mov BYTE [rdi], cl ...
; A066804: Sum of diagonal elements and those below it for a square matrix of integers, starting with 1. ; 1,8,34,100,235,476,868,1464,2325,3520,5126,7228,9919,13300,17480,22576,28713,36024,44650,54740,66451,79948,95404,113000,132925,155376,180558,208684,239975,274660,312976,355168,401489,452200,507570,567876,633403,70...
//**.****|****.****|****.****|****.****|****.****|****.****|****.****|****.****| // * store_IC_skymap.cc * galprop package * 4/14/2000 //**"****!****"****!****"****!****"****!****"****!****"****!****"****!****"****| #include <cassert> #include <string> #include <cstring> #include <valarray> u...
/****************************************************************************** * Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source * Project (AJOSP) Contributors and others. * * SPDX-License-Identifier: Apache-2.0 * * All rights reserved. This program and the accompanying mater...
; A119996: Numerator of Sum_{k=1..n} 1/(Fibonacci(k)*Fibonacci(k+2)). ; 1,5,14,39,103,272,713,1869,4894,12815,33551,87840,229969,602069,1576238,4126647,10803703,28284464,74049689,193864605,507544126,1328767775,3478759199,9107509824,23843770273,62423800997,163427632718,427859097159,1120149658759,2932589879120,7677619978...
; A255671: Number of the column of the Wythoff array (A035513) that contains U(n), where U = A001950, the upper Wythoff sequence. ; Submitted by Christian Krause ; 2,4,2,2,6,2,4,2,2,4,2,2,8,2,4,2,2,6,2,4,2,2,4,2,2,6,2,4,2,2,4,2,2,10,2,4,2,2,6,2,4,2,2,4,2,2,8,2,4,2,2,6,2,4,2,2,4,2,2,6,2,4,2,2,4,2,2,8,2,4,2,2,6,2,4,2,2,4...
// Copyright 2017 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 "content/browser/devtools/render_frame_devtools_agent_host.h" #include "content/browser/frame_host/frame_tree_node.h" #include "content/browser/w...
// // Created by reut on 5/20/20. // #include "doctest.h" #include <iostream> #include <stdexcept> #include "DemoGame.hpp" #include "FootSoldier.hpp" #include "FootCommander.hpp" #include "Sniper.hpp" #include "SniperCommander.hpp" #include "Paramedic.hpp" #include "ParamedicCommander.hpp" #include <cassert> TEST_CA...
; Copyright (c) 2014, Daniel Lopez ;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 above copyright notice, this list of conditions and the following d...
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %rax push %rbx push %rcx push %rsi // Store lea addresses_normal+0x1addc, %rax nop nop nop xor $25392, %rcx movb $0x51, (%rax) nop nop nop cmp $32962, %rax // Store lea addresses_WC+0xef7c, %r...
; A185308: a(0)=0, a(1)=0; for n>1, a(n) = a(n-1) + n*a(n-2) + 1. ; Submitted by Jon Maiga ; 0,0,1,2,7,18,61,188,677,2370,9141,35212,144905,602662,2631333,11671264,53772593,252184082,1220090757,6011588316,30413403457,156656758094,825751634149,4428857070312,24246896289889,134968323047690,765387626584805,4409532348872436...
; ZX Spectrum emulator ; Instructions fetching ; (c) Freeman, September 2000, Prague ; ----------------------------------------------------------------------------- TableXlat MACRO TABLE lods MemIPC xor ah, ah add ax, ax xchg ax, di jmp word ptr [di+TABLE] ENDM ; ------------------------------...
/* Copyright 2016 Mitchell Young Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
; A082206: Digit sum of A082205(n). ; 1,4,7,10,11,14,17,18,21,24,25,28,31,32,35,38,39,42,45,46,49,52,53,56,59,60,63,66,67,70,73,74,77,80,81,84,87,88,91,94,95,98,101,102,105,108,109,112,115,116,119,122,123,126,129,130,133,136,137,140,143,144 mul $0,7 mov $1,$0 lpb $1 add $0,2 sub $1,1 mod $1,3 lpe div $0,3 add $0...
dc.w byte_4B36-Ani_TitleSonicFinger byte_4B36: dc.b 5, 4, 4, 4, 4, 4, 4, 0, 4, 1, 4, 0, 4, 1, 4, 0, 4, 1, 4, 4 dc.b 4, 4, 4, 4, 4, 4, 4, 4, 4, $FF even
; void *z80_otir(void *src, uint8_t port, uint8_t num) SECTION code_clib SECTION code_z80 PUBLIC z80_otir_callee EXTERN asm_z80_otir z80_otir_callee: pop hl pop de pop bc ex (sp),hl ld b,e jp asm_z80_otir
/* * Copyright 2018-2019 Autoware Foundation. 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 requi...
global load_segments section .data section .text bits 32 load_segments: jmp 0x08:.load_cs .load_cs: mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax ret
// Copyright 2013 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 "net/websockets/websocket_handshake_stream_create_helper.h" #include <string> #include <utility> #include <vector> #include "base/macros.h" #in...
; A022346: Fibonacci sequence beginning 0, 12. ; 0,12,12,24,36,60,96,156,252,408,660,1068,1728,2796,4524,7320,11844,19164,31008,50172,81180,131352,212532,343884,556416,900300,1456716,2357016,3813732,6170748,9984480,16155228,26139708,42294936,68434644,110729580,179164224,289893804,469058028,758951832,1228009860,19869616...
; A304293: Number of points of a Koblitz curve E: y^2 + x*y = x^3 + a*x^2 + 1 over a field with 2^n elements. ; Submitted by Christian Krause ; 0,4,8,4,16,44,56,116,288,508,968,2116,4144,8012,16472,33044,65088,130972,263144,523492,1047376,2099948,4193912,8383412,16783200,33558844,67092488,134225284,268460656,536830604,...
; A079705: 3p^2 where p runs through the primes. ; Submitted by Jamie Morken(s3) ; 12,27,75,147,363,507,867,1083,1587,2523,2883,4107,5043,5547,6627,8427,10443,11163,13467,15123,15987,18723,20667,23763,28227,30603,31827,34347,35643,38307,48387,51483,56307,57963,66603,68403,73947,79707,83667,89787,96123,98283,109443,1117...
#include "../cpudef.asm" move r1, 0b110 move r2, 0 move r3, 1 move r4, 2 shr r1, 0 if.ne r1, 0b110 error shr r1, r2 if.ne r1, 0b110 error shr r1, 1 if.ne r1, 0b011 error shr r1, r3 if.ne r1, 0b001 error move r1, 0b1100 shr r1, 2 if.ne r1, 0b0011 error move r1, 0b1100 shr r1, r4 if.ne r1, 0b0011...
/* * Copyright (c) 2018 The WebRTC 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 contribut...
; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: tcp_chktimeout SECTION code_clib PUBLIC tcp_chktimeout PUBLIC _tcp_chktimeout EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .tcp_chktimeout ._tcp_chktimeout ld a,r_tcp_chktimeout call_pk...
#include <stdio.h> #include <component1015/lib1.h> int component1015_1 () { printf("Hello world!\n"); return 0; }
/* * Copyright © <2010>, Intel Corporation. * * 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, merg...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1af53, %r12 nop nop nop cmp %r8, %r8 mov (%r12), %bx cmp %rcx, %rcx lea addresses_normal_ht+0x11523, %r13 clflush (%r13) mfence mov $0x6162636465666768, %r10 movq %...
; A141136: p(p(A028815(n)-1)-1)-1, where p(n)=n-th prime. ; 1,2,6,28,52,112,172,270,316,420,592,700,910,1060,1150,1290,1510,1782,1830,2212,2376,2472,2740,2998,3256,3630,3930,4078,4270,4390,4546,5350,5590,5866,6100,6658,6802,7186,7602,7828,8218,8520,8712,9310,9438,9732 seq $0,8578 ; Prime numbers at the beginning of th...
SECTION code_driver PUBLIC ide_soft_reset EXTERN __IO_IDE_CONTROL EXTERN ide_wait_ready EXTERN ide_write_byte ;------------------------------------------------------------------------------ ; Routines that talk with the IDE drive, these should be called by ; the main program. ; Uses AF, DE ; by writing to the __I...
; A154260: Numbers of the form m*(4*m +- 1)/2. ; 0,7,9,30,34,69,75,124,132,195,205,282,294,385,399,504,520,639,657,790,810,957,979,1140,1164,1339,1365,1554,1582,1785,1815,2032,2064,2295,2329,2574,2610,2869,2907,3180,3220,3507,3549,3850,3894,4209,4255,4584,4632,4975,5025,5382,5434,5805,5859,6244,6300,6699,6757,7170,7230...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <vector> #include <ngraph/opsets/opset3.hpp> #include "single_layer_tests/scatter_elements_update.hpp" #include "common_test_utils/test_constants.hpp" using namespace LayerTestsDefinitions; using namespace ngraph::opset3;...
;int open(far char *name, int flags, mode_t mode) ;returns handle to file ; ; Access is either ; ; O_RDONLY = 0 ; O_WRONLY = 1 Starts afresh?!?!? ; O_APPEND = 256 ; ;no sense to test number of opened files - the limit is 255... ;usually one is opened... ; ; $Id: open.asm,v 1.3 2016-06-23 20:31:34 dom Exp $ ; SECTI...
; int mtx_init(mtx_t *mtx, int type) SECTION code_clib SECTION code_threads_mutex PUBLIC mtx_init EXTERN asm_mtx_init mtx_init: pop af pop bc pop hl push hl push bc push af jp asm_mtx_init
/***************************************** * Copyright (C) 2008 by Filip Rooms * * filip.rooms@gmail.com * * http://www.filiprooms.be/ * * * *****************************************/ #include <QApplication> #include "AnisotropicDiffusionProce...
; A085552: n-th digit after decimal point of sqrt(n^2+4)-n)/2. ; Submitted by Jon Maiga ; 6,1,2,0,8,7,9,2,8,5,4,8,9,7,7,6,8,6,5,1,5,9,4,1,6,1,9,4,5,9,9,8,0,7,2,1,3,1,0,4,4,4,0,5,9,3,7,9,0,2,4,7,4,0,0,7,7,4,6,3,8,7,0,3,9,9,5,1,2,8,7,3,3,8,3,6,6,1,8,3,8,6,3,7,6,5,2,4,4,2,9,8,9,3,2,1,9,5,9,7 add $0,1 mov $2,1 mov $3,$0 m...
/* vim:expandtab:shiftwidth=2:tabstop=2:smarttab: * * Gearmand client and server library. * * Copyright (C) 2011 Data Differential, http://datadifferential.com/ * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fo...
; =============================================================== ; Sep 2014 ; =============================================================== ; ; void *p_list_prev(void *item) ; ; Return next item in list. ; ; =============================================================== SECTION code_clib SECTION code_adt_p_list ...
.size 8000 .text@48 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld b, 91 call lwaitly_b ld a, b1 ldff(40), a ld a, a6 ldff(4b), a ld c, 41 ld b, 03 lbegin_waitm3: ldff a, (c) and a, b cmp a, b jrnz lbegi...
; A229620: Incorrect version of A045949. ; 0,6,38,116,256,478,798,1236,1808,2534,3430,4516,5808,7326,9086,11108,13408,16006,18918,22164,25760,29726,34078,38836,44016,49638,55718,62276,69328,76894,84990,93636,102848,112646,123046,134068,145728,158046,171038,184724,199120,214246,230118,246756,264176,282398,301438,321316,...
;;; http://people.cs.georgetown.edu/~squier/Teaching/HardwareFundamentals/LC3-trunk/docs/LC3-assemblyCheatSheet.asm ;;;=========== LC3 Assembly Cheat Sheet ================================== ;;; Assembly language as defined by lc3as and lc3pre. ;;; This documents LC3 assembly language in as-an-example form. This file...
; draw pixel at xPos,yPos ; xPos + yPos * 32 + 512 ; xPos + yPos * #$20 + #$200 define xPos $00 define yPos $01 define screenLo $02 define screenHi $03 define maxPos $20 define color $01 ; white lda #$00 sta yPos yPosLoop: lda #$00 sta xPos xPosLoop: jsr drawPixel inc xPos lda xPo...
############################################################################### # 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...
; 显示文本 ;start: ; mov ax, 0xb800 ; mov ds, ax ; ; mov byte [0x00], 'A' ; mov byte [0x01], 0x0c ;黑底红字无闪烁 ; ; mov byte [0x02], 's' ; mov byte [0x03], 0x04 ; ; mov byte [0x04], 's' ; mov byte [0x05], 0x04 ; ; mov byte [0x06], 'e' ; mov byte [0x07], 0x04 ; ; mov byte [0x08], 'm' ; m...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2014-2017 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "transactionrecord.h" #include "base58.h" #include "consensus/c...
.MODEL SMALL .STACK 64 .DATA A DW ? B DW ? .CODE MAIN PROC CALL INDEC ; 1ST INPUT MOV DX,0 ;make sure no thing in DX MOV A,AX PUSH AX MOV AH,2 ;NEW LINE MOV DL,0DH INT 21H MOV DL,0AH INT 21H CALL INDEC ; 2ND INPUT MOV DX...
#include <hxcpp.h> #ifndef INCLUDED_flash_Lib #include <flash/Lib.h> #endif #ifndef INCLUDED_haxe_Log #include <haxe/Log.h> #endif #ifndef INCLUDED_haxe_Timer #include <haxe/Timer.h> #endif namespace haxe{ Void Timer_obj::__construct(Float time) { HX_STACK_PUSH("Timer::new","haxe/Timer.hx",108); { HX_STACK_LINE(110)...
; A000125: Cake numbers: maximal number of pieces resulting from n planar cuts through a cube (or cake): C(n+1,3)+n+1. ; 1,2,4,8,15,26,42,64,93,130,176,232,299,378,470,576,697,834,988,1160,1351,1562,1794,2048,2325,2626,2952,3304,3683,4090,4526,4992,5489,6018,6580,7176,7807,8474,9178,9920,10701,11522,12384,13288,14235,1...
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0xa7d, %rdi dec %rax mov (%rdi), %rsi nop nop nop cmp $21466, %rbp lea addresses_normal_ht+0x7fe1, %r9 nop inc %r8 movl $0x61626364, (%r9) xor %rax, %rax lea addresses_A_ht+0x5a8...
// Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2018 The amaterasu developers // Copyright (c) 2018 The amaterasu developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/license...
//######################### //Pekka Kana 2 //Copyright (c) 2003 Janne Kivilahti //######################### #pragma once #include "engine/types.hpp" void Effect_Circle_Star(double x, double y, u8 color); void Effect_Super(double x, double y, int w, int h); void Effect_Feathers(double x, double y); void Effect_Splash...
/* Copyright 2017 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
; A030106: Base 7 reversal of n (written in base 10). ; Coded manually 2021-03-02 by Simon Strandgaard, https://github.com/neoneye ; 0,1,2,3,4,5,6,1,8,15,22,29,36,43,2,9,16,23,30,37,44,3,10,17,24,31,38,45,4,11,18,25,32,39,46,5,12,19,26,33,40,47,6,13,20,27,34,41,48,1,50,99,148,197,246,295,8,57,106,155,204,253,302,15,64,...
; A070415: a(n) = 7^n mod 31. ; 1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,8,25,20,16,19,9,1,7,18,2,14,5,4,28,10,...
; Small C+ Maths Routines ; ; transcendental floating point routines ; PUBLIC atan EXTERN evenpol EXTERN hlsub EXTERN odd EXTERN sgn EXTERN fdiv EXTERN dload EXTERN fa PUBLIC __halfpi PUBLIC __pi .__pi ...
; A001966: v-pile counts for the 4-Wythoff game with i=2. ; Submitted by Jamie Morken(w4) ; 2,7,13,18,23,28,34,39,44,49,54,60,65,70,75,81,86,91,96,102,107,112,117,123,128,133,138,143,149,154,159,164,170,175,180,185,191,196,201,206,212,217,222,227,233,238,243,248,253,259,264,269,274,280,285,290,295,301,306,311,316,322,3...
; Listing generated by Microsoft (R) Optimizing Compiler Version 14.00.50727.42 TITLE c:\dig\dbg\author\code\chap24\VC8Win32\stdafx.cpp .686P .XMM include listing.inc .model flat INCLUDELIB OLDNAMES PUBLIC ___@@_PchSym_@00@UwrtUwytUzfgsliUxlwvUxszkCEUexIdrmDCUivovzhvUhgwzucOlyq@ ___@@_PchSym_@00@UwrtUwytUzfgsl...
#include "CustomParameterModel.h" #include "EditorDescripttionSetup.h" #pragma execution_character_set("utf-8") namespace FastCAEDesigner { CustomParameterModel::CustomParameterModel(QString nameEng, QString nameChn, QString iconName, int type, QObject *parent) :ModelBase(nameEng, nameChn, iconName, type...
#include <qpdf/QPDF_Name.hh> #include <string.h> #include <stdio.h> #include <qpdf/QUtil.hh> QPDF_Name::QPDF_Name(std::string const& name) : name(name) { } QPDF_Name::~QPDF_Name() { } std::string QPDF_Name::normalizeName(std::string const& name) { if (name.empty()) { return name; } std::string ...
; A128014: Central binomial coefficients C(2n,n) repeated. ; 1,1,2,2,6,6,20,20,70,70,252,252,924,924,3432,3432,12870,12870,48620,48620,184756,184756,705432,705432,2704156,2704156,10400600,10400600,40116600,40116600,155117520,155117520,601080390,601080390 div $0,2 mov $1,$0 add $1,$0 bin $1,$0
; A314838: Coordination sequence Gal.4.52.3 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,9,14,18,23,27,32,37,41,46,50,55,59,64,69,73,78,82,87,91,96,101,105,110,114,119,123,128,133,137,142,146,151,155,160,165,169,174,178,183,18...
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x19058, %rcx nop nop nop nop nop add %r13, %r13 movups (%rcx), %xmm1 vpextrq $0, %xmm1, %rbp nop nop nop nop nop sub $21135, %r15 lea addresses_UC_ht+0x51be, %rdx cmp %rbx, %r...
; * ; * General Z80 debugging functions ; * ; * Stefano 23/6/2009 ; * ; * TRUE if Z80 supports undocumented instructions. ; * extern int __LIB__ z80undoc(void); ; * ; * $Id: z80undoc.asm,v 1.3 2016-03-06 21:45:13 dom Exp $ ; * SECTION code_clib PUBLIC z80undoc PUBLIC _z80undoc z80undoc: _z80undoc: ;xor a ;ld h...
; NUL IO operations V2.01  1989 Tony Tebby QJUMP section nul xdef nul_io include 'dev8_keys_err' include 'dev8_keys_qlv' include 'dev8_keys_k' include 'dev8_iod_nul_data' ;+++ ; NUL device IO operations. ;--- nul_io move.w nlc_key(a0),d7 ; action key blt.s nli_nc add.w d0,d0 move.w nli_tab(pc,d0...
;/** ; * @file ; * ; * AGESA Family 10h Revision D support routines. ; * ; * @xrefitem bom "File Content Label" "Release Content" ; * @e project: AGESA ; * @e sub-project: CPU/F10 ; * @e \$Revision: 44323 $ @e \$Date: 2010-12-22 01:24:58 -0700 (Wed, 22 Dec 2010) $ ; */ ;*****************************************...
; simple clear screen with color ; by 5n4k3 [bits 16] [org 100h] [section .text] global _start jmp short _start ; data width db 80 height db 24 background db 10h foreground db 0eh welcome db "Welcome to the look of a commodore 64!",0dh,0ah,24h _start: ; setup segments mov ax, cs mov ds, ax mov es, ax call clr_s...
; Author: Matthew Healy <mhealy@mst.edu> ; Jaxson Johnston <jnjt37@mst.edu> ; Lukas Grbesa <lgqq3@mst.edu> ; Group: NULL ; Date: 29 November 2017 ; License: MIT License ; Description: This program simulates the functionality of a ; carry lookahead fast a...
; A190541: 7^n - 3^n. ; 0,4,40,316,2320,16564,116920,821356,5758240,40333924,282416200,1977149596,13840755760,96887416084,678218289880,4747547161036,33232887522880,232630384847044,1628413210489960,11398894023111676,79792262810827600,558545853622930804,3909821017201928440,27368747245937737516,191581231098136877920,13410...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1d9c6, %r9 nop nop nop nop add %rax, %rax mov $0x6162636465666768, %rdi movq %rdi, %xmm3 vmovups %ymm3, (%r9) nop nop nop dec %r10 lea addresses_A_ht+0x1d1c6, %rsi nop su...
; void dzx0_smart_rcs_callee(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC _dzx0_smart_rcs_callee EXTERN asm_dzx0_smart_rcs _dzx0_smart_rcs_callee: pop af pop hl pop de push af jp asm_dzx0_smart_rcs
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft %> <%docstring>migrate_pages(pid, maxnode, old_nodes, new_nodes) -> str Invokes the syscall migrate_pages. See 'man 2 migrate_pages' for more information. Arguments: pid(int): pid maxnode(unsigned): maxnode old_nodes...
%ifndef PRINT_BIN %define PRINT_BIN %include "include/printChar.asm" printBin: ;prints least significant byte of si in binary notation mov bh, 0x00 ;page 0 mov bl, 0x07 ;text attribute mov cx, si ;makes a working copy of si into bx xor dh,dh;setcounter cl to 0 .nextDig: ;for (int i=0;i<8;i++) mov ch, cl ...
pla pla pla pla pla pla pla pla
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x114f1, %rcx nop nop nop nop add %rbp, %rbp movb $0x61, (%rcx) nop nop nop nop cmp $47057, %r10 lea addresses_WT_ht+0x6978, %rdi nop nop nop xor %rcx, %rcx mov $0x61626364...
//============================================================================ // // SSSS tt lll lll // SS SS tt ll ll // SS tttttt eeee ll ll aaaa // SSSS tt ee ee ll ll aa // SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emula...
[ORG 0x00] [BITS 16] SECTION .text jmp $ times 510 - ( $ - $$ ) db 0x00 db 0x55 db 0xAA
@ 1 @ 111 @ 11111 @ 111 @ 1 .thumb .include "../../../../_FuncLib/_Definitions.h.s" .include "../../../../_FuncLib/MokhaRAMSpace.s" @(x,y,Direction) Func2_Absorption: push {r4-r7,lr} mov r4, r0 @Target.x mov r5, r1 @Target.y cmp r2, #4 blt Normal mov r2, #0 Normal: mov r6, r2 @Direction @...
; A171583: 10^n*(4+3*10^n)+3. ; Submitted by Jamie Morken(s2.) ; 10,343,30403,3004003,300040003,30000400003,3000004000003,300000040000003,30000000400000003,3000000004000000003,300000000040000000003,30000000000400000000003 mov $1,10 pow $1,$0 mul $1,3 add $1,2 pow $1,2 mov $0,$1 sub $0,25 div $0,3 add $0,10
.INCLUDE GRAFTYPES.TEXT .PROC PACKRGN,3 .REF SETSIZE ;----------------------------------------------------------------- ; ; PROCEDURE PackRgn(srcHandle: Handle; nPoints: INTEGER; dstRgn: RgnHandle); ; ; Converts a sorted array of inversion points into a region. ; Calls storage allocator to...
; int islessequal(float x, float y) SECTION code_fp_math48 PUBLIC cm48_sdccix_islessequal EXTERN am48_islessequal, cm48_sdccixp_dread2 cm48_sdccix_islessequal: call cm48_sdccixp_dread2 ; AC'= y ; AC = x jp am48_islessequal
############################################################################### # 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...
dnl mpn_sub_err1_n dnl Copyright 2009 Jason Moxham dnl This file is part of the MPIR Library. dnl The MPIR Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public License as published dnl by the Free Software Foundation; either version 2.1 of the ...
; A046079: Number of Pythagorean triangles with leg n. ; 0,0,1,1,1,1,1,2,2,1,1,4,1,1,4,3,1,2,1,4,4,1,1,7,2,1,3,4,1,4,1,4,4,1,4,7,1,1,4,7,1,4,1,4,7,1,1,10,2,2,4,4,1,3,4,7,4,1,1,13,1,1,7,5,4,4,1,4,4,4,1,12,1,1,7,4,4,4,1,10,4,1,1,13,4,1,4,7,1,7,4,4,4,1,4,13,1,2,7,7 add $0,1 dif $0,2 mov $2,$0 pow $2,2 lpb $0 mov $3,$2 ...
// // Negative test for BOOST_TEST_ALL_EQ // // Copyright (c) 2017 Bjorn Reese // // Distributed under 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 // #include <vector> #include <set> #include <boost/core/lightweight_te...
<% import collections import pwnlib.abi import pwnlib.constants import pwnlib.shellcraft import six %> <%docstring>sigtimedwait_time64(vararg_0, vararg_1, vararg_2, vararg_3, vararg_4) -> str Invokes the syscall sigtimedwait_time64. See 'man 2 sigtimedwait_time64' for more information. Arguments: vararg(int): va...
@include ;------------------------------------------------------------------------------- ; GIEPY some tweaks ... ;------------------------------------------------------------------------------- pushpc ;--------------------------------------- ; Patch goal tape init ; to get Extra Bits in $187b+x ;----------...
#ifndef wali_LLVMVALUE_SOURCE_GUARD #define wali_LLVMVALUE_SOURCE_GUARD 1 /*! * @author Nicholas Kidd */ #include "wali/Common.hpp" #include "wali/KeySource.hpp" namespace wali { class LLVMValueSource : public KeySource { public: LLVMValueSource( const llvm::Value *v ); virtual ~LLVMValueSourc...
.global s_prepare_buffers s_prepare_buffers: push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1cbe7, %rsi lea addresses_WT_ht+0x16637, %rdi nop nop nop dec %r14 mov $42, %rcx rep movsl nop nop nop add $23412, %rax lea addresses_A_ht+0x1cf7, %rsi lea addresses_WC_ht+0x15683, %rdi nop nop...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Default schedules. // //=============================================================================// #include "cbase.h" #include "ai_default.h" #include "soundent.h" #include "scripted.h" #include "ai_schedule.h" #include "a...
; A116523: a(0)=1, a(1)=1, a(n) = 17*a(n/2) for n=2,4,6,..., a(n) = 16*a((n-1)/2) + a((n+1)/2) for n=3,5,7,.... ; 0,1,17,33,289,305,561,817,4913,4929,5185,5441,9537,9793,13889,17985,83521,83537,83793,84049,88145,88401,92497,96593,162129,162385,166481,170577,236113,240209,305745,371281,1419857,1419873,1420129,1420385,14...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
;; z28r asm jump boot skipto 0x04 jump resethw skipto 0x08 jump cls skipto 0x0c jump pset skipto 0x10 jump pget skipto 0x14 jump rect skipto 0x18 jump pxCopy skipto 0x1c jump printChr skipto 0x20 jump printStr skipto 0x24 jump readLn skipto 0x28 jump strToInt skipto 0x2c jump intToStr skipto 0x30 jump strLen skipto 0x...
; =============================================================== ; Dec 2013 ; =============================================================== ; ; char *stpcpy(char * restrict s1, const char * restrict s2) ; ; Copy string s2 to s1, return ptr to terminating NUL in s1 ; ; ==============================================...